score:19
Accepted answer
use the aftersetextremes event:
xaxis: {
categories: ['jan', 'feb', 'mar', 'apr', 'may', 'jun',
'jul', 'aug', 'sep', 'oct', 'nov', 'dec'],
events: {
aftersetextremes: function(event){
if (this.getextremes().datamin < event.min)
alert("zoomed in!");
}
}
}
here's a working example: http://jsfiddle.net/rcdfw/
Source: stackoverflow.com
Related Query
- Execute function after zoom highcharts
- Highcharts zoom issue after upgrading to jQuery 1.8
- Rescale Y-axis in Highcharts after zoom while maintaining zoomType=x behavior
- Highchart export, execute function after completion
- Get max value and label in series after zoom in JS HighCharts
- javascript, change default position after zoom on highcharts maps
- highcharts tooltip not working after zoom
- highcharts - zoom issue after changing series data
- highcharts series remove function deletes all original series data (even after stored in new variable)
- Execute a function after rendering of Graph completes
- Highcharts custom indicator does not affect y axis range after zoom
- In Highcharts after zoom in and zoom out some of the x-axis values are not display
- Highcharts y-axis labels removed after zoom out
- Python: Read data from Highcharts after setExtreme
- Highcharts :Uncaught TypeError: $(...).highcharts is not a function
- highcharts hide zoom reset button, call zoom reset programmatically
- Automatically zooming in on highcharts after loading
- Get Highcharts Series Data after Load
- Change Highcharts tooltip formatter from chart Object , after chart is rendered
- Highcharts loading animation after setdata
- Highcharts saying undefined is not a function when trying to add a new chart
- Highcharts 'Reset Zoom' after calling setExtremes
- Possible to connect the zoom on two Highcharts graphs?
- Highcharts chart click event fired on click of the reset zoom button (bug?)
- highcharts how to catch and insert logic in click reset zoom button event
- Highcharts bars are half missing after drillup
- Highcharts not displaying data at some zoom levels
- Uncaught TypeError: e.doDrilldown is not a function - Highcharts
- Render Highcharts after user updated labels
- Uncaught TypeError: undefined is not a function - Highcharts - MVC
More Query from same tag
- Highcharts - three series using left Y axis and the fourth using the right Y axis
- Network chart nodes relation nodes merging -> highcharts
- Google Line Chart: drag to adjust value
- Data parsing from mysql into highchart with json
- Highcharts: How to shrink bubble radius on legend item hover?
- Is it possible with Chart js or which chart Library can provide this type of chart?
- how to develop custom chart with box annotations as like attached image
- Dynamic number of highcharter plots
- How to draw on charts?
- Highcharts: show multiple days data on same chart making them overlpa each other to comparison
- Highcharts maps (even samples) don't work
- Convert datetime to timestamp milliseconds adding +1 month
- Highchart connector custom style
- Padding between X-Axis labels in Highchart
- Showing multiple Tooltips in highcharts simultaneously
- JavaScript/Hightables - Add unique items with time and output percentage
- Invalid datalabels position in latest version
- Highcharts pie donut with gradient
- Highstock csv date issue
- How to attach click event function in Highcharts
- Is there a limit on Highcharts series size?
- Setting rounded corners on an image using Highcharts Renderer
- Plotting a Highcharts Heat map from irregular data
- Change shape color in Highmaps programmatically
- Highcharts don't show data after remove
- Inserting mouseover event to custom label created with SVGRenderer, highcharts
- Highcharts Gauge Chart display value at tickPositions:
- Highcharts networkgraph datalabels on hover
- Negative values in the data not showing in highcharts linechart
- Highchart changing crosshair color depending on value of y-axis