Home Forums Report Bugs Bubble Chart

Bubble Chart

Viewing 2 posts - 1 through 2 (of 2 total)
  • #14262

    In the bubble chart, both bubble, and x-axis data are cropped. Refer Screenshot.

    #14272

    @mahi2000,

    It happens because bubbles require some space to represent itself and axisX actually starts from the value of first dataPoint and ends at value of last dataPoint. If you don’t want to clip the bubbles, you can change minimum and maximum values of axisX. This new changed value depends upon the size of first and last bubble size.

    var min = chart.axisX[0].get("minimum");
    var max = chart.axisX[0].get("maximum");
    chart.axisX[0].set("minimum", min - 1);
    chart.axisX[0].set("maximum", max + 1);

    You can check with subtracting and adding different values instead of 1 to meet your requirement.

    ——
    Bivek Singh

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

You must be logged in to reply to this topic.