score:0
It looks like highcharts is actually setting all of the properties of the xAxis object to null for the duration of the callback. You shouldn't need to do this though you can probably just comment out the line giving the error and be fine
score:5
I know this is it bit late, just wanted to add my answer to future visitors.
Highchart doesn't allow to call setExtremes from inside the setExtremes eventhandler in order to avoid an endless loop. That's why you get the error.
You can, however, insert a timeout in order to work around this protection:
xAxis: {
events: {
setExtremes: function (e) {
if (e.trigger === "navigator") {
var c = this;
setTimeout(function() {
forceRebuildSeries(); //Get all data points
// Set Extremes (redisplay with new data points)
c.chart.xAxis[0].setExtremes(e.min, e.max);
}, 1);
}
}
}
}
Source: stackoverflow.com
Related Query
- How to setExtremes in xAxis event handler?
- How do I attach a click event handler to the whole HighCharts Gauge control?
- how to add onclick event handler inside highcharts tooltip
- How to draw a vertical line from a xAxis click event in Highcharts?
- How to add the years in xAxis date format while exporting? Also how to add the data source during the exporting?
- How do I attach a click event handler to null data points on HighMaps
- How do I detect a zoom event in highcharts?
- How do I add an event listener to a Highcharts object *AFTER* I've created it
- Highcharts : Chart with drilldown how to obtain click event of drill up button
- highcharts how to catch and insert logic in click reset zoom button event
- In high chart how to add event for label click
- How to draw HighChart XAxis dynamically
- How to pass custom data into Highcharts graph click event
- how to get chart object inside a point event function in Highcharts
- Access props and state of current component in React JS within an event handler
- how to set xAxis pointInterval(update: tickInterval) in highcharts
- How to set xAxis minimum and maximum values on Highstock?
- how to handle mouse over event in legend in highcharts?
- How to change Highcharts xAxis label color individually?
- Highcharts : How to fix labels to the top when xAxis rotation is 90°?
- How to hide Axes Crosshairs by onclick event in Highcharts
- How to call typescript function inside High chart click event
- HighCharts: Mouse click event is handled by both Series handler and Point handler
- How to start and end a dynamically generetad datetime highchart's xAxis on the first and last tick
- highcharts xAxis limit how far zoom in
- HighCharts: How to Determine on Click Event what Data Grouping the Chart is Currently In?
- How to catch the click event from the axis ticks jqplot, highcharts,flot
- How to attach click event function in Highcharts
- Highchart how to animate from the xaxis bottom line upward
- How to get/set highcharts xAxis step?
More Query from same tag
- How to add mean line in a boxplot made with highcharter?
- highlight a whole series when hovering with the mouse
- Issue with highCharts range selector date format?
- How to create js.Array inside js.Array in scalaJS for highcharts as specified in the documentation?
- How can I reverse the series order of a pyramid chart in Highcharts
- High Charts Data Table not filtering data by range selector
- How do I access series.data anywhere in .highcharts() function?
- How to create tooltip in highcharts map on click over a country...?
- Hiding axis labels in non-aggregate columns during drillown
- Highcharts annotations - how to draw rectangle by axis points?
- How to set custom width of a candlestick in highstock
- Callouts CSS implementation for highcharts not working
- Highcharts gradient fill how to?
- how can i change position of inputs in high charts high-stock?
- Plot Y axis data based on x axis values from a csv file : Highcharts
- Rails: Lazy_high_charts mapping issue
- How could I edit the color of the data elements in highchart graphic?
- highcharts different colors for selected columns
- How to create constant space between bars/columns in Highcharts?
- Highcharts Stacked Area: legend hover event
- Jumping on the x axis in Highcharts
- Fixing flag min/max on Highchart graph
- JavaScript Loop to setData method
- Why doesn't this simple Highcarts JS Fiddle example reset the XAxis with SetCategories call?
- cURL not fetching the expected POST response - error 405
- Get all series values when click on single line chart
- GWT Highchart comparing series
- Conflict between Google Polymer and Highcharts library
- Highchart EMA, Price & MACD plot
- how to add onclick event handler inside highcharts tooltip