Home forums Using CanvasJS Custom String label in Yaxis Reply To: Custom String label in Yaxis

#15099

sivasankari
Member

Thanks Vishwas for your timely response.. It works for me too. Please guide me for displaying values of hour as label continuously in x-axis. Currently I am getting labels of x-axis based on dynamic data where labels are displaying intermittently . My code is :
axisX:
{
title: “Commit Time”,
titleFontSize: 10,
titleFontColor:”Brown”,
interval:1,
intervalType: “hour”,
valueFormatString: “hh TT”

},

in x-axis i am getting only 11,21,10 labels. But I need x-axis labels as 00,01,02,03,04,….,24. Please guide me with example