Home › Forums › Chart Support › Problem when re-rendering chart (negative scale) › Reply To: Problem when re-rendering chart (negative scale)
Niklas,
After rendering the chart you can update it by changing/updating its options property. We do not suggest creating new chart each time. You can update chart as shown below.
`chartObject.options.data[0].dataPoints = [array]; chartObject.render(); `
and please refer to “Alternate way of setting / updating data” section of this article.
__ Anjali