Home forums Using CanvasJS Show current time in X axis in stackedcolumn Reply To: Show current time in X axis in stackedcolumn

#22649

Vishwas R
Keymaster

@adjmpw,

X-Value can either be numeric or a dateTime value. But in the pen that you have shared x-value seems to be string as curTime() returns a string. You can use labels instead of x-value in this case. Please take a look at this updated pen.


Vishwas R
Team CanvasJS