Home Forums Report Bugs Crowded display

Crowded display

Viewing 4 posts - 1 through 4 (of 4 total)
  • #18348

    I rendered the chart without data at begin.

    Then I set up the options and render again, the final look of the graph is like

    Screenshot from 2017 12 20 16 20 48

    Did I made something wrong on that?

    #18354

    @intijk

    It seems like you have set maximum and interval properties of axisX. Removing them should work fine. If this doesn’t suit your requirements, can you please create a jsfiddle reproducing the issue you are facing so that we can understand it better and help you out.


    Sanjoy Debnath
    Team CanvasJS

    #18637

    Hi @Sanjoy

    I found the issue.

    When I provide data like :
    [
    {
    “x”: 1,
    “y”: 1.0
    },
    {
    “x”: 2,
    “y”: 2.0
    }
    ]

    The auto scale would work perfectly, but when I use “x” value as string like:
    [
    {
    “x”: “1”,
    “y”: 1.0
    },
    {
    “x”: “2”,
    “y”: 2.0
    }
    ]

    It will still plot the point without issue, but the scale would have be wrong and crowd, I hope you find this bug well with my description.

    #18638

    @intijk,

    X-values can either be numeric or date-time/time-stamp, but not string. Please take a look at the page for more information.


    Sanjoy Debnath,
    Team CanvasJS

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

You must be logged in to reply to this topic.