Hi Akash,
Indeed thanks a lot for your help.
I am now struggeling to color the line. Dashed is ok, width is ok but I am not able to color the line itseld. I manage to color the dot at the end of the line but the line keeps being in red.
Would you know why?
And is there a way to keep the label shown on the right of the chart as well?
Here is my code:
yaxis[0].referenceLine.push({
label: "Max",
value: max.value,
style: {
marker: {
"stroke-dasharray": "4 - 2",
"stroke-width": 5,
fill: "#17c01f",
},
},
});