Hi!
Is it possible to recreate my chart in HighCharts? Obviously creating the columns is not an issue, but I don't know how to add the orange lines. They also represent an amount of money.
Thanks for any help!
Code: Select all
chart: {
type: 'column',
events: {
load() {
var chart = this,
points = chart.series[0].points,
lineWidth = 0.8; //column percent
points.forEach((point) => {
chart.renderer.rect(
point.plotX + chart.plotLeft - (lineWidth / 2) * point.shapeArgs.width, //x
chart.plotHeight + chart.plotTop - point.shapeArgs.height + 10, //y
lineWidth * point.shapeArgs.width, //width
5 //height
)
.add()
.attr({
fill: 'red',
zIndex: 3
})
})
}
}
},