Home Forums Chart Support Custom Label on Xaxis Reply To: Custom Label on Xaxis

#29694

Hello,

Please find the updated JS Fiddle accordingly.

http://jsfiddle.net/anindita5151/r3162x8L/14/

I must insert Striplines on the position of X-values fetched from st array , they are not hard-coded suggested for Chart division.
Please find the code snippet below:
var st=[]
var chart = new CanvasJS.Chart(“chartContainer”,{
axisX: {
labelAngle: -90,
stripLines: [{
value: st[0],showOnTop: true,
}, {
value:st[1], showOnTop: true,
} , … and so on… ,{value: st[n]}
]
},

Please suggest me.