score:1
Accepted answer
Workaround with swapping stacking property on render
event:
chart: {
type: 'bar',
events: {
render: function() {
var chart = this,
series = chart.series[0],
options = chart.options,
stacking = options.plotOptions.series.stacking;
if (stacking === 'normal' && series.type === 'line') {
chart.update({
plotOptions: {
series: {
stacking: ''
}
}
});
} else if (stacking === '' && series.type === 'bar') {
chart.update({
plotOptions: {
series: {
stacking: 'normal'
}
}
});
}
}
}
}
Source: stackoverflow.com
Related Query
- Odd Scale Change When Updating Chart Type
- change datalabels color in a HighCharts chart when hovering without updating the series
- How to change scrollbar position when switching chart type in highcharts
- highcharts jquery dynamic change chart type column to bar
- HighCharts Dynamically Change Chart Type
- Which chart type should i choose to show change in values between 2 dates?
- Highcharts, Can you change the chart type for drilldowns?
- Change chart type and redraw with multiple series in Highcharts
- jQuery Highcharts: change chart type using dropdown list
- Change chart type with drilldown series
- Highcharts: How to change or redraw a chart when a click event occurs on an another chart?
- How to show open, close, high and low in tooltip when the chart type is 'line' in highstocks?
- how to dynamically change chart type in highstock stock chart?
- Wrong data display when i set multiple series type in highstock chart
- highcharts change chart type using dropdown for multiple series
- Highcharts - Dynamically change chart type with on radio buttons click
- Highchart change the chart type in drilldown
- Highcharts:Legend and title overlap pie chart when updating data
- Highcharts - Change value of text box when drilling down through chart
- Highcharts, no animation when updating number of series in chart
- Highchart, dynamically change the chart type
- Highcharts change chart type on drop down Jquery
- Highcharts: Change hover style in line chart when hovering over legend
- Hightcharts - Not showing column datalabels when chart type is column
- x-axis, y-axis lines does not appear, when I include 3D chart library of HighChart in my code
- How to stop resetting zoom when switches to other chart type in highcharts
- Get notice when a Highcharts chart is change after change the window size
- Change type of points of highchart's scatter chart
- How to change bar chart colors when is weekend?
- Highcharts cloud issue with data source when duplicating chart
More Query from same tag
- Dynamically update highchart series in meteor
- How to make drill down in stacked Column Line chart in Highchart
- Highcharts tooltip custom CSS turning the caret/arrow white
- HighCharts is it possible to pass an object to pointer config of Gauge chart?
- Auto-refresh Json data in Highcharts
- array.prototype.foreach called on null or undefined highcharts
- How to get the highlighted point from shared tooltip formatter, Highcharts
- database, servlet, json , javascript and highchart pie chart
- Dates are overlapped in Highchart's areachart
- Highcharts: print chart without designated button
- Highstocks, chart.series[0].data is empty in afterSetExtremes()
- Add dynamic data to line chart from mysql database with highcharts
- Dynamic add series and categories for highchart drill down chart
- Enable scrollbar using highcharts.js
- Restoring GridstackJS Panels with Content (e.g. Highcharts)
- Equal distance between points highcharts
- How do I display category names instead of point.y in Highcharts scatterplot?
- highchart, TypeError: obj is null
- Highcharts double y axis constant 0 value on both sides
- remove inline styles from svg in highcharts
- Changing bar width with pointPadding in Highcharts
- Drawing radar charts using Highcharts in Angular2
- How to add point images to a map using javascript?
- highchart print chart/chart context menu un-clickable
- Angular / Jquery selectors result an error when running Protractor
- Adding marker points for highcharts map
- Does HighCharts have a fundamental minimum height before it's rendering behaviour changes?
- fixing label overlapping in second level of grouped categories plugin used in highchart
- Highcharts xaxis datetime zoom
- HighCharts - Show categories in x axis intead of the value of x in Bubble Chart