Home forums Using CanvasJS stripLines in a xValueType: "dateTime" line chart Reply To: stripLines in a xValueType: "dateTime" line chart

#26891

Hello.

Is there any way to rotate the label inside a “stripLines”? I mean, the default orientation inside the “stripLines” is vertical, but in some cases, I would like to show it horizontaly.

I have tried (unsuccessfully) to do it using “labelAngle: 0” and “labelAutoFit: true”.

This is part of my script:

`stripLines:[{
startValue: new Date(2019,08,12,15,0),
endValue: new Date(2019,08,13,21,45),
color:”#d8d8d8″,
opacity: 0.3,
label: “Flowing to B.P.”,
labelAngle: 50,
labelAutoFit: true,
},`

Thanks in advance for your help.

Regards.