Home forums Using CanvasJS Create an arrow on chart

Tagged: , , ,

This topic contains 5 replies, has 2 voices, and was last updated by  Indranil Deo 1 month, 3 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #16047

    celtas6655
    Member

    Hi there, I want to add an arrow on my chart, or on the Y axis and force it to change to point up or down whether my value on chart is bigger than target or smaller.

    Kind regards,
    Michal

    #16052

    Indranil Deo
    Member

    @celtas6655,

    Can you please provide a pictorial representation, so that we can understand your requirement better.

    __________
    Indranil Deo,
    Team CanvasJS

    #16054

    celtas6655
    Member

    Hi, here’s a sample of what I would love to see on my chart.
    https://imgur.com/a/NvhzA
    Those charts are already generated, I just want to have this arrow on the middle, which will point up if my percentage is lower than the golden dotted line, and point down if values are higher than already mentioned golden dotted line.

    Kind regards

    • This reply was modified 2 months, 1 week ago by  celtas6655.
    #16071

    Indranil Deo
    Member

    @celtas6655,

    Please take a look at this example.

    ___________
    Indranil Deo,
    Team CanvasJS

    #16142

    celtas6655
    Member

    Thank you so much for the reply, that’s exactly what I want, but I can’t get it to work with my chart generated with the use of PHP from excel file.
    Here’s the code in JSFiddle, the chart worked before I added the code with pointing arrow, but I placed there the whole code
    https://jsfiddle.net/hsywdwqn/

    #17212

    Indranil Deo
    Member

    @celtas6655,

    Please create a sample project reproducing the issue along with sample data, so that we can understand it better and help you out.

    __________
    Indranil Deo,
    Team CanvasJS

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

You must be logged in to reply to this topic.