Home forums Using CanvasJS Spline chart line out of chart area issue

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by  avishka 2 months, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22854

    avishka
    Member

    My question is about this issue. Was this fixed where you don’t have to use the workaround?

    • This topic was modified 2 months, 2 weeks ago by  avishka.
    #22864

    Priyanka M S
    Member

    @avishka,

    As of now, the only available option to make the complete spline chart visible when the data include zero as y-values, is to set the axisY minimum and maximum accordingly as shown in the workaround. However, we will reconsider this use-case for our future releases.

    __
    Priyanka M S
    Team CanvasJS

    #22872

    avishka
    Member

    Thank you very much for getting back @priyanka.

    I am currently generating the maximum height dynamically based on the maximum value in the data. However this workaround causes a slight issue when displaying many types of data in the same chart. Usually by clicking on the legends you can isolate one or few types of data and the height would adjust automatically based on what is being shown. This is incredibly useful, when you have smaller data points which cannot be observed as accurately when larger data points are being show in the chart. This feature is lost because I am hard-coding the height.

    I certainly would like to hear from the team once this has been dealt with.

    Thank you again,
    Avishka

    • This reply was modified 2 months, 2 weeks ago by  avishka.
    • This reply was modified 2 months, 2 weeks ago by  avishka.
    #22878

    avishka
    Member

    The previous post didn’t get posted properly before.
    Sorry about the two replies.

    • This reply was modified 2 months, 2 weeks ago by  avishka.
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.