score:1
Accepted answer
You can wrap the reflow
method and call your alignment function after the process.
(function(H) {
H.wrap(H.Chart.prototype, 'reflow', function(proceed) {
proceed.apply(this, Array.prototype.slice.call(arguments, 1));
console.log('after reflow');
});
})(Highcharts);
Live demo: http://jsfiddle.net/BlackLabel/kc1zdg28/
Docs: https://www.highcharts.com/docs/extending-highcharts/extending-highcharts
Source: stackoverflow.com
Related Query
- Highcharts - detect when render (or redraw) event is caused by a resize/reflow?
- Highcharts + Angularjs : Graph doesn't redraw when adding series from an external event
- Highcharts checkboxes multiply when window resize event fires
- php: laravel slow view render time when rendering javascript for highcharts
- Append onload or redraw event functions dynamically in Highcharts
- highcharts redraw and reflow not working
- force Highcharts redraw animation when changing graph type
- Highcharts: How to change or redraw a chart when a click event occurs on an another chart?
- Highcharts event handler after finishing redraw
- onclick event when part of highcharts funnel is clicked
- Highcharts : click event not detected after a redraw
- Highcharts Detect mouseOver event only in the colored area
- Why doesn't HighCharts render when I pull it in with Ajax?
- Highcharts chart resize on window resize event after setting a specific size
- Missing points in HighCharts when applying event to exported button
- Unable to do any other action than "alert" when triggering the click event on Highcharts (React Native)
- render a circle onclick event in highcharts
- Highcharts cloud issue with data source when duplicating chart
- get bot xAxis values when doing click event on highcharts
- Chart not render correctly when maximizing / restoring window or dragging resize bar (SmartGWT)
- Why Highcharts not render ploted images when exporting locally offline chart?
- How to reflow HighCharts when using highcharts-vue?
- Highcharts - how to prevent xAxis redraw when using addSeries?
- HighCharts - When I download csv, can I switch data source to new one?
- Highcharts line chart doesn't render when sql returns more than 121 rows
- Responsive Highcharts not sizing correctly until window resize
- Highcharts 3 cannot render more than 1000 points in one series
- Render Highcharts canvas as a PNG on the page
- Resize height with Highcharts
- Highcharts - manually trigger hover event on a point
More Query from same tag
- How to add icon on selected area in High charts map?
- How to swap x-axis and y-axis in highcharts
- Graph issue when y-axis has only '0' as values in highcharts
- on flag click get series (graph) it's on highstock?
- how to show PHP array in jQuery alert?
- addPoint with HIGHCHARTS (xAxis dateTime)
- Display Percentage Values on (highcharts) bubble chart
- NodeJS highchart save png
- How do I pass django context variables into javascript?
- Add additional data to point using DotNet.Highcharts
- Enabling markers for hover doesn't appear to work
- High Charts export-server not rending legend LabelFormatter
- Using PHP for Highchart Heatmap
- Live HighChart not displaying data
- Custom Highcharts Context Menu Button Appearing in Every Chart on Page
- highcharter - categories on the y axis
- Custom colors in R highcharter barplot
- How do I remove the pale line between events in a Highcharts columnrange chart?
- Highcharts polar with no y-axis plot lines
- Converted PHP code that built an array to JS and now highcharts doesn't work - what did I do wrong?
- HighCharts multiple axis not recognized
- Highcharts Time Series data from C# in a format required by HighCharts
- Add picture issue when exporting Highcharts to pdf - Highcharts warning: Invalid tagName
- Why does highchart not recognize my dates?
- Angular HighChart Update
- how to display chart in jquery?
- Highcharts - Pie Chart change slice colors dynamically
- How to adjust the spacing of grid lines in highcharts
- Highcharts x-axis labels not starting on bounds
- Is it possible to maintain the fillcolor when the y-axis is reversed?