score:2
Accepted answer
option 1) Just make sure you still specify "renderTo:'container'" in the chart properties. Or, if you don't want to include in the initial chart code, add it to the options in your forceReset function.
option 2) in your forceReset function, use the same '$('#container').Highcharts...' syntax to call your chart, rather than switching back to the other syntax
example of option 2:
{{edit option 3:
- set options variable up front.
- call chart on page load using that variable.
- reload chart using that variable
Source: stackoverflow.com
Related Query
- Reset Chart To Initial Load Throws renderTo Error
- HighCharts Stock Chart error code 18
- Append React Highchart with Annotations after initial load of chart
- PDF having Highcharts (multiple series) chart generated using svg2pdf.js throws error
- Highcharts chart click event fired on click of the reset zoom button (bug?)
- highcharts organization chart is throwing error when loading module
- how to reset Highchart chart width in percentage on Button click
- Initializing Highstock.js throws a jQuery error in getComputedStyle
- creating a bar chart using Highcharts with React - getting an error that rendering div isn't found
- Issues using highcharts node export server from ClojureScript - "0x03 error when performing chart generation"
- Animation behave differently between initial load and dynamic data series replacement in Highcharts
- c# WPF Webbrowser with Highchart, Javascript from external source not working "An error has occurred in the script on this page"
- Error while creating the chart using highchart
- Java Script Type Error while adding Stock Chart to GWT SimplePanel
- Highcharts - bubble chart with titles at x- and y-Axis - Error #14
- Drawing Bubble Chart by using npm highcharts with error #17
- Prevent source to load twice
- Highcharts, have all but first series turned off on chart load
- Returning javascript in an ASP.NET ajax postback fails, but works fine on initial page load
- Highchart chart synchronisation showing console error while using highstock.js
- white border/line color set on hover for the bubbles in the bubble chart not being reset on mouse out from bubble
- How to make a chart with highcharts, load data from API
- ng2-highcharts chart update after load
- Highcharts display label for pie chart using html table as data source
- Wanted to plot only one spline at the chart load and further add other splines after loading
- HighCharts error #17 for pyramid chart angular2
- Strange character in the Highstock source code
- Chart is not rendered and throws script error, if yaxis contains null dateTime data and useUTC is false
- Pie chart taking more load time than line chart in highchart
- Unable to load Map Chart in Angular 7 using HighMaps 7
More Query from same tag
- Highcharts Shadow/Fill Graph
- Drilldown in highmaps - how to remove a series
- Highcharts reflow() after moving Y Axis to the opposite side
- Turning off point markers does not appear to work for Highcharts-ng
- Manually reordering Bar Chart in R Highchart
- Highcharts map drag & move on y axis?
- HIghcharts column graph with more than 50 data points
- How to place one highchart on top of another
- Animation from point in Highcharts
- HighCharts : Is it possible to customize the colors of individual series?
- changing intervals in X and Y axis in high chart (line chart)
- custom ticks based on selected range from rangeSelector in Highstock
- Highcharts column chart histogram show x range in tooltip
- call function onclick highchart
- Creating a Highchart with multiple series from a JSON file
- What is the problem with my highcharts code?
- Highchart is not working on Google chrome
- Including a chart and selection box as "widgets" in other webpages?
- Highcharts are not working through AJAX
- Change plotBand label after creation [highcharts]
- How to show time values in stacked column using High stock
- Highcharts: yAxis.height does not scale drawable area, causing graph to go off the chart
- Dynamically Adding A Chart into A Combo Highcharts?
- HighCharts: align rotated multiline label
- Highcharts: how to set legend label name after chart created?
- call hidden value to highchart
- Preprocess Highchart data using CSV file
- React Highcharts Jest testing error: `InvalidCharacterError`
- how to find out the Height dynamically in highcharts
- Highcharts isn't displaying the data