Home forums Using CanvasJS Hover effect – vertical line over datapoint

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  Kathy 3 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #15438

    Kathy
    Member

    Hello,

    Just got license. Like the library and documentation very much. We would like to create a 1 pixel wide vertical stroke going from the top to the bottom of the canvas as a datapoint hover effect like so:

    hover effect

    My searches of your documentation and StackOverflow have not come up with anything close. Is it possible in CanvasJS?

    Thank you,

    • This topic was modified 3 months, 3 weeks ago by  Kathy. Reason: corrected img path
    #15440

    Bivek Singh
    Moderator

    Hi Kathy,

    You can add stripLine for drawing a vertical line along axisX. Please, take a look at this jsFiddle.

    —-
    Bivek Singh,
    Team CanvasJS

    #15444

    Kathy
    Member

    Thank you!!

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

You must be logged in to reply to this topic.