Reputation: 14139
I have a chart with numerical values on the X-axis, and I would like to "shift" its contents to the right, i.e. I want to increment each of the X-axis values by 1. I know that, in theory, I can just remove my current chart and make another one with the augmented X-axis, but is there another way without that step, somehow dynamically editing the axis values?
Upvotes: 0
Views: 52
Reputation: 4769
you need to use add point method. refer http://api.highcharts.com/highcharts#Series.addPoint
chart.series[0].addPoint();
demo fiddle from highchart API
Upvotes: 1