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

patternboxtech picture patternboxtech  ·  4Comments

jstone-ponderosa picture jstone-ponderosa  ·  3Comments

alantygel picture alantygel  ·  3Comments

aishwaryak picture aishwaryak  ·  4Comments

unlight picture unlight  ·  3Comments