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 Editing The Code

  Also See:    


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

7 Comments

  1. Thiago says:

    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