Forum Replies Created by wendofire

Viewing 2 posts - 1 through 2 (of 2 total)
  • in reply to: minimum and maximum scatter chart issues #39183

    So basically your saying we should never set the minimum and maximum according to the data given otherwise it wont show properly.
    So in theory always such as -10% and +10% of the data given so we never get it clipped? Both on the x and y axis right?

    in reply to: minimum and maximum scatter chart issues #39180

    var chart = new CanvasJS.Chart(“chartContainer1”,
    {
    title:{
    text: “Basic Scatter Chart”
    },

    axisX:{
    minimum: -1,
    maximum: 50
    },
    data: [
    {
    type: “scatter”,
    dataPoints: [
    { y: 23, x: 0 },
    { y: 54, x: 1 },
    { y: 10, x: 2 },
    { y: 42, x: 1 },
    { y: 50, x: 50 }

    ]
    }
    ]
    });
    chart.render();

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