Home forums Using CanvasJS guide line

This topic contains 6 replies, has 2 voices, and was last updated by  Sunil Urs 3 years, 6 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #4650

    oviboy
    Participant

    Hi,
    Is there a way using CanvasJS to draw a guide line on any graph ? Something like a median, on a stackedBar type, for example.

    Regards,

    #4651

    Sunil Urs
    Keymaster

    Hi,

    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.

    #4652

    oviboy
    Participant

    Many thanks. I was looking to that solution, but I said to ask, maybe there is a simpler solution.

    Regards,

    #4653

    oviboy
    Participant

    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

    #4659

    Sunil Urs
    Keymaster

    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.

    #4660

    oviboy
    Participant

    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.

    #4661

    Sunil Urs
    Keymaster

    Am Glad that you liked CanvasJS. I was planning for something similar… It’ll be available in v1.3 – around a month.

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

You must be logged in to reply to this topic.