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

#26876

Dear Manoj.

Thanks a lot for your for your rapid response, that solves completely my problem. I only have completed the the DATE with the specif time when the “stripLines” must start and end.

The final code is:


stripLines:[{
startValue: new Date(2019,08,13,15,0),// for 2019-08-13 at 15:00 h
endValue: new Date(2019,08,18,21,45), // for 2019-08-18 at 21:45 h
label: “In the 40s”
}]

it works perfec.

Thank you again.

jvmorín