A custom formatter function that returns stripLine’s label.
Notesvar  chart =  new  CanvasJS.Chart("container",
{
 .
 .
axisX:{
    stripLines: [{
        .
        value:12,
        labelFormatter: function ( e ) {
               return "$" + e.stripLine.value;  
         }  
        .
    }]
},
 .
 .
});
chart.render();
e: { // parameter sent to function
       chart,
       axis,
       stripLine
 }
Also See: