C3: timeseries cuts off last date on the x-axis

Created on 10 Feb 2015  路  4Comments  路  Source: c3js/c3

you can see on the c3 site also.
http://c3js.org/samples/timeseries.html

All 4 comments

+1, seeing this behavior too.

Please use padding.right to set enough value to show it.
I don't think the padding should be calculated by tick text because its position and width will be change according to the data loaded in the chart and the domain currently shown.

Let me close at the moment.

Just as a general note to anyone else looking for a solution to this problem:
I couldn't get (forgive the coffeescript) this to work

x:
  type: 'timeseries'
  padding:
    right: 6

so instead I put the padding on the chart

c3.generate
  padding:
    right: 6
Was this page helpful?
0 / 5 - 0 ratings

Related issues

snkashis picture snkashis  路  4Comments

Saikat-Sinha picture Saikat-Sinha  路  3Comments

MarcusJT picture MarcusJT  路  4Comments

ivarkallejarv picture ivarkallejarv  路  3Comments

aishwaryak picture aishwaryak  路  4Comments