score:2
Did you try code in this manner so it will automatically handle chart resizing on window resize.
// create the chart
var chart = Highcharts.chart('container', {
chart: {
events: {
redraw: function () {
var label = this.renderer.label('The chart was just redrawn', 100, 120)
.attr({
fill: Highcharts.getOptions().colors[0],
padding: 10,
r: 5,
zIndex: 8
})
.css({
color: '#FFFFFF'
})
.add();
setTimeout(function () {
label.fadeOut();
}, 1000);
}
}
},
xAxis: {
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
},
series: [{
data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
}]
});
Source: stackoverflow.com
Related Query
- Highchart - Redraw Chart after Window is resized
- highchart chart redraw method is not refreshing the chart
- Highchart Axis Update/ chart redraw
- Update Series Array on HighChart after editing chart
- redraw pie chart in highchart
- Highcharts: redraw chart after changing options
- my highchart is currently is not working with pie spline chart in updating after rendering chart
- How to get chart min and max values after Drag zooming in highChart chart?
- Highcharts chart resize on window resize event after setting a specific size
- In Highcharts, how to redraw chart after legend item width resized?
- x-axis, y-axis lines does not appear, when I include 3D chart library of HighChart in my code
- Get notice when a Highcharts chart is change after change the window size
- Update Series Array on HighChart after editing the chart
- highchart drill down break bar chart after change title
- Append React Highchart with Annotations after initial load of chart
- Width of embedded HighChart within jQuery dialog only 100% after resizing window screen
- HighChart to show multiple chart after drill down?
- redraw funnel chart in highchart when a segment is removed?
- Redraw Highcharts Organization Chart after collapse
- Highcharts chart didn't redraw after vue data changed
- highcharts image not resized after window resize
- Remove Export and print button plugin on highchart chart
- How to export a Highchart chart to PDF thanks to a button outside the chart?
- Change Highcharts tooltip formatter from chart Object , after chart is rendered
- How to create a new Highstock chart with new Highchart and not jquery?
- Highchart Area Range chart with gradient that follows the line
- Highcharts: how to set legend label name after chart created?
- Highcharts - column chart redraw animation
- how to reset Highchart chart width in percentage on Button click
- Highchart in new window
More Query from same tag
- Gradient Fill on Line Chart (Highcharts)
- How do I export the current styling of a HighChart series chart to PNG, JPG or PDF?
- setting for line graphs for graph charts
- Type 'number' has no properties in common with type 'XrangePointOptionsObject'.ts - React
- Add data dynamically to the top level in highcharts when drilling up
- Range Selector date always goes to 1970-01-01 in Highcharts.Chart()
- Plotting multiple series from JSON php import to Highcharts
- Highcharts PDF export arabic file name
- Highcharts color issue when using Boost module
- Maximum bar width in Highcharts column charts
- highcharts-vue gives error about the highcharts HTML element
- Highcharts stuck on panning
- How to plot AM,PM labels in HighChart?
- React Highcharts v9.2 Solid Gauge Rounded Ends
- Highcharts click function update series and cancel previous update
- Highcharts Bar Chart Zoom not working
- Highcharts: negative value in hebrew
- Highcharts - Automatic min/max range is not set correctly for 'area' and 'column' fill types
- Y-Axis Highchart
- Wkhtmltopdf + Highcart export issue
- HighMaps with drilledDown
- Returning MySQL table values from PHP script to Javascript function - Live Graphing
- adapting text to highchart tooltip max width
- Highchart chinese colon display incorrect when exporting
- Uncaught ReferenceError: chart is not defined when using two charts
- Highcharts - manually trigger hover event on a point
- High Charts not honouring the label format
- Highcharts - Updating a chart's option after initial render
- How can I use chart tooltip formatter in react-highcharts?
- high chart data grouping is not considering all the values while zooming