score:1
This is a very general question, but 'undo' in the meaning of a special option is not available from the API.
However, there are many options which can be used for removing old and adding new data. In your example, you can use the remove()
and addSeries()
methods to achieve that.
Demo: https://jsfiddle.net/BlackLabel/tyvbk62s/
API References: https://api.highcharts.com/class-reference/Highcharts.Series#remove https://api.highcharts.com/class-reference/Highcharts.Chart#addSeries
You can also consider using localStorage
as a place for storing chart.options
.
Example demo: http://jsfiddle.net/BlackLabel/9b3cx178/
Source: stackoverflow.com
Related Query
- Do we have undo option in high charts?
- Plot Option in High Charts
- How could we plot graphical representation using High Charts where one x-axis value have multiple y-axis value
- High charts remove dots from the line graph
- World map paths data in react high charts
- How do I get remove of 'data table' option from High chart export
- knockoutJS dynamic chart with high charts
- change legend color high charts based on data
- Highcharts pie charts can have url links
- High Charts fails to add series dynamically
- How to set the x value for High Charts error bar
- High charts logarithmic scale?
- High Charts - mouse over event on any part of graph
- How to generate multiple high charts in ng-repeat
- dynamically creating the values for high charts
- Resize High Charts based on grid layout width and height using react
- Laravel 5.5 Console TV Bar Chart High Charts multipleDatasets and label
- Check all charts for data and hide ones that have none
- High charts queue chart updates after ajax with multiple charts in firefox
- high charts consuming high CPU
- Convert the y-axis values to Millions in dual axis high charts
- Dynamically setting xAxis rotation in high charts API
- Click event on bar high charts in angular 2
- High charts - Increasing the space between chart and title
- High Charts not working
- Is it possible to reparent the high charts legend?
- Is there a way to scale the custom marker of a high charts scatter chart?
- Is there a reliable way to have a 1 month auto generated tick interval with high charts?
- Activity gauge High Chart with Range option
- Use of DotNet HighCharts dll to make charts in code behind
More Query from same tag
- HighCharts - Negative $ currency values
- HighCharts - Make the pie chart 100% of the div
- Displaying excess number of columns in heat map in highcharts
- Highcharts export charts as image on serverside with php
- How to specify a start point on highcharts stacked bar charts
- How to display yearly values on xAxis in Highcharts
- Remove whitespace from highcharts gauge chart?
- Is there a way to calculate custom label position on a Highcharts Activity Gauge?
- Highmaps support for zip5
- Using HighCharts setData for multiple variables?
- Node JS, Highcharts Memory usage keeps climbing
- highcharts not plotting json string containing x,y pairs (string, float). how to fix?
- Highcharts: change graph when radio button selected
- Highcharts - On and Off over Time
- Highcharts - Grid line height
- Remove SVG rendered path on Legend Item Click
- Highcharts: Credits on multiple lines
- How to bind data to line chart in highcharts in MVC3?
- Is there any way to fill bubbles partially in highcharts bubble chart?
- Line chart from external csv-file
- Line chart cannot change color use functions
- Show tooltip of a column chart programmatically in StockChart (highchart)
- Add symbol to custom legend layout - Highcharts React
- Drill Down (Highcharts) not working with dynamic data in Angular
- Highchart word cloud in custom shape
- line is not visiable in HighChart
- highchart - how to deal with flags overlapping problem?
- Highcharts-spline chart's spline disappears and appears on hover
- How to render x-axis labels in Highcharts without the decimal points?
- In Highcharts x-axis -how to set tickmark for unequal numerical (not datetime) data