Home › forums › Using CanvasJS › guide line
This topic contains 6 replies, has 2 voices, and was last updated by Sunil Urs 5 years, 1 month ago.
Is there a way using CanvasJS to draw a guide line on any graph ? Something like a median, on a stackedBar type, for example.
As of now there is no separate element for doing that. But you can use Combination Charts to do the same. Just add a line chart and disable markers by setting markerSize to 0.
Many thanks. I was looking to that solution, but I said to ask, maybe there is a simpler solution.
Yep… this combination does not work for me.
For stackedBar and line… I get this message in the console:
You cannot combine “line” with bar chart
Yes, bar charts cannot be combined with other chart types. You can use stackedColumn if that works for you. Trendlines have been planned for version 1.3. If you can post some picture depicting what you are looking for, that would be helpful.
This is the graph I need:
http://s8.postimg.org/uluylkr7p/median.jpg (just an example).
I think it’s very useful for any graph, because you can clearly see where everything stands.
This is no rush for me, I can wait a future release. I really like your library, because is so simple and smooth to use. I’ve tried before a few, but were not so easy to use, or were buggy.
Am Glad that you liked CanvasJS. I was planning for something similar… It’ll be available in v1.3 – around a month.
You must be logged in to reply to this topic.