Skip to content Skip to sidebar Skip to footer

How Do I Redraw Only The Highchart With New API That Depends On My Select Option Parameter?

im trying to figure out if its possible to redraw the chart based on my parameter that will only call an specific API? here's the look of my chart upon load. https://imgur.com/a/u

Solution 1:

To dynamically change chart options you can use chart.update() method where new options like series.data, chart.title, axis options etc can be passed. When only data needs to be changed you can use series.setData() or series.update(). Check demo and docs posted below to learn more about it.

Demo:

API reference:


Post a Comment for "How Do I Redraw Only The Highchart With New API That Depends On My Select Option Parameter?"