Home forums Using CanvasJS Adding Striplines to realtime chart

This topic contains 1 reply, has 2 voices, and was last updated by  Vishwas R 2 weeks, 6 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14145

    Can we add strip lines to real time chart. i have asked this question earlier and i was provided this example of how to use strip lines to achieve major & minor axis:
    http://jsfiddle.net/canvasjs/356vk1ga/1/

    Now i am trying to implement the same in realtime chart. here is my jsfiddle. i could come this far, but i would need smaller lines as well.
    http://jsfiddle.net/356vk1ga/14/

    can you help us how to achieve the same..?

    also, how to make only the line move, not the background graph..
    Apprecaite your help on this.

    Thanks Rajendra

    #14183

    Vishwas R
    Keymaster

    Rajendra,

    Instead of shifting dps once its length becomes 500, you can just keep shifting y-value keeping x-values constant from 1-500. In this case, x-vlaues remains same and the stripLines stay at same values, just y-values keeps updating/shifting.


    Vishwas R

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.