Home forums Using CanvasJS Custom Label on Xaxis Reply To: Custom Label on Xaxis

#29677

Thank you.
I tried with Striplines as you have provided in this JSFiddle but striplines are not hardcoded for my case.
They are coming from some array and I want to put them accordingly by traversing a for loop against that array.
Pleas let me know how to add striplines following array like this:

axisX: {
labelAngle: -90,
stripLines: [
for(i=0; i<st.length; i++){value: st[i]}
so that it can take the values as following:
{
value: st[0]
},
{
value: st[1]
}, … and so on… ,{value: st[n]]
},

Please help me…Thanks in Advance!