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 Articles
- 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
- How to send json to highcharts from php
- can zoom be mixed with multiple y-axis in highstock
- Highcharts - Column Chart: Compare corresponding values to change color
- How Highstock determines date
- Flot - images in axis labels?
- Spline graph + column chart combo issue
- How to customize Highchart graph similar to linkedin "Who's viewed your profile > Viewers found you from LinkedIn.com"
- Plot Highchart Gauge with JSON Data
- Javascript basic issue regarding passing parameters
- Highcharts Pie dynamic series color
- How to disable certain option in the exporting option of Highcharts?
- In Highcharts, in 3D mode, is it posible to make right hand axis not pop out?
- Highcharts tick date formatting
- how to implement moving average in highchart
- rHighchart in R Shiny
- (Highcharts) Polygon-like shell in polar chart
- Rails collecting and rendering JSON data in to a Highcharts graph
- HighCharts set different xAxis labels
- Nodata message with React 0.13.3 and react-highcharts 3.0.0
- highchart is not displaying in django twitter bootstrap