Reputation: 444
I tried, combination chart bar and line (ultimately need to develop using react-highcharts)
I have one challenge, need to display highest value drawn line with vertical y-axis
Do we have any option to draw lines(1) for single spline(2) in Highscharts ?
refer image for 1 and 2 (attached image is using excel developed by BA)
Upvotes: 0
Views: 642
Reputation: 11633
You can add a dummy column series with the same data as spline to create those lines.
{
type: 'column',
data: [49.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4],
showInLegend: false,
enableMouseTracking: false,
states: {
inactive: {
opacity: 1
}
},
pointWidth: 1,
color: 'rgb(230, 230, 230)'
}
Demo: https://jsfiddle.net/BlackLabel/tfqrv296/
Upvotes: 2