Home › forums › Using CanvasJS › Create an arrow on chart
Tagged: arrow, auto, chart, Column
This topic contains 5 replies, has 2 voices, and was last updated by Indranil Deo 1 year, 2 months ago.
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.
Can you please provide a pictorial representation, so that we can understand your requirement better.
Hi, here’s a sample of what I would love to see on my chart.
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.
Please take a look at this example.
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
Please create a sample project reproducing the issue along with sample data, so that we can understand it better and help you out.
You must be logged in to reply to this topic.