Home forums Using CanvasJS Bubble Charts getting cut

This topic contains 3 replies, has 2 voices, and was last updated by  Bivek Singh 9 months, 1 week ago.

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

    veeru
    Member

    Hi,

    Few of my bubble charts getting cut both on X and Y axis and some in top too.
    Will canvasJS bubble chart not auto adjust and give the bubble without getting cut.

    For eg: if I have data point (0,10) I am able to see only half bubble as the remaining half gets under the negative X axis.
    Will canvasJS for bubble charts cannot auto adjust and show the full bubble?

    I can understand by finding the Xmin, Xmax.YMin and YMax of my datapoints I can set the minimum and maximum by extrapolating it but that is not working in all cases. So would like to know is there is in-house solution for the issue if not what could be the possible ways to not get the bubble truncated.

    Thanks,
    Veeru

    #14338

    Bivek Singh
    Moderator

    @veeru

    As the axes automatically start from the lowest value in dataPoints, if you want all of your bubbles in full, you’d have to change the minimum and maximum values. Please take a look at this jsFiddle.

    ——-
    Bivek Singh

    #14342

    veeru
    Member

    Thanks for the response.I am v1.8.0 and my chart has only render() and options. So nothing exposed apart from that.
    So how could I make this work without an upgarde to v1.9.0.

    #14345

    Bivek Singh
    Moderator

    @veeru

    Methods and properties were introduced in v1.9.6 so this can’t be done with older versions. Please download the latest version from here.

    ——
    Bivek Singh

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

You must be logged in to reply to this topic.