showOnTop: Boolean

stripLine is displayed on top of dataPoints when showOnTop is set to true.


Default: false
Example: true, false

var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
axisX:{
    stripLines: [{
        .
        showOnTop: true,
        .
    }]
},
 .
 .
});
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 19

      • Hi Sanjoy,

        We would like to purchase the library but because of this issue the decision is stuck.

        Prompt response will be appreciated.

        Regards,
        Ketan Dudhane

        • We are currently fixing the issue and will send you an intermediate build in couple of days.

          • Hi Vishwas/Sanjoy,

            My Team is testing this and we would have response for you by EOD today.

            In the mean time, I would like to know that if I am to buy the license for this, would this fix be part of license copy?

            Regards,
            Ketan Dudhane

        • Ketan Dudhane,

          We have just released v1.8.5 Beta-1 which supports axis-reversal and the bug fixed. Please refer to the release blog for more information.

  1. This works for us. Please let us know if the this would be part of licensed version that I would like to purchase

    • Ketan,

      Yes, it will be part of licensed version. We will be releasing it in our next version, in a week or two. Till then you can use the intermediate build provided.

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