Home Forums Chart Support Add extra information on spline

Add extra information on spline

Viewing 4 posts - 1 through 4 (of 4 total)
  • #25317

    bux

    Hello !

    I search a solution to do the following: i would like add textual information on my chart, example: Stars are these extra information. On mouseover on second star, a text display:

    example

    What i should use to do that ? Note: these additional data can be elsewhere than the curve.

    thank’s for your time !

    • This topic was modified 4 years, 10 months ago by bux. Reason: typo
    #25336

    @bux,

    Please take a look at this JSFiddle.

    ___________
    Indranil Deo,
    Team CanvasJS

    #25342

    bux

    Thank’s for this example !

    But i was mostly thinking about display this from javascript data (like grabed from http api).

    #25357

    @bux,

    You can pass the x-value, y-value and the toolTipText through a JSON API, use the same(x-value, y-value) to position the image/marker over the chart and add the toolTipText to it. Please take a look at this updated JSFiddle.

    ___________
    Indranil Deo,
    Team CanvasJS

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

You must be logged in to reply to this topic.