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

  Also See:    


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

19 Comments

      • Ketan Dudhane says:

        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

        • Sanjoy says:

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

          • Ketan Dudhane says:

            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

        • Vishwas R says:

          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. Ketan Dudhane says:

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

    • Vishwas R says:

      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