javascript - Setting C3.JS X axis and text - Stack Overflow

Is it possible to set the X-axis ticks and text separate from the column data values with C3.JS charts?

Is it possible to set the X-axis ticks and text separate from the column data values with C3.JS charts?

I have data being loaded for a 24hr period but where the time stamps may be for any time in that period. I have been requested to provide X-axis tick labels for only every 90 minute interval.

Is it possible to set the X-axis ticks and text separate from the column data values with C3.JS charts?

I have data being loaded for a 24hr period but where the time stamps may be for any time in that period. I have been requested to provide X-axis tick labels for only every 90 minute interval.

Share Improve this question asked Feb 28, 2017 at 10:42 Matt WMatt W 12.5k29 gold badges140 silver badges240 bronze badges 2
  • So you want to set axis-x-tick-values separately from axis-x-tick-labels? – Deividas Commented Feb 28, 2017 at 10:56
  • More accurately I would say I want to set the ticks and tick labels explicitly, separate from the data. – Matt W Commented Feb 28, 2017 at 10:58
Add a ment  | 

1 Answer 1

Reset to default 1

You can set axis-x-tick-values separately from data labels.

An example form the docs:

http://c3js/samples/axes_x_tick_values.html

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745605656a4635656.html

相关推荐

  • javascript - Setting C3.JS X axis and text - Stack Overflow

    Is it possible to set the X-axis ticks and text separate from the column data values with C3.JS charts?

    3小时前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信