value: Number

Sets the point where the stripLine has to be plotted or drawn along the axis X.


Default: null
Example: 20,30,100,50

var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
axisX:{
    stripLines: [{
        .
        value:12,
        .
    }]
},
 .
 .
});
chart.render();


Try it Yourself by Editing the Code below.

  Also See:    



If you have any questions, please feel free to ask in our forums.Ask Question

Comments 7

  1. I solved! axisX:{
    stripLines:[
    {
    value:1940
    },
    {
    value:1980
    }

    Now i want to put some tags inside the chart, someone help?

If you have any questions, please feel free to ask in our forums. Ask Question