Home Forums Chart Support Performance impact of viewportMinimum or minimum parameter

Performance impact of viewportMinimum or minimum parameter

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

    Hi,

    These two parameter is shown to show values in one graph in different ranges. I want to learn about the impact of these two parameter over performance. Could you give the more detail description of these two parameter purpose. Which one provides best performance while live rending huge data in specific interval. for example, live data updating each second, clients deal with last 1 min data.
    1 – First Usage
    ….
    axisX:{
    viewportMinimum: new Date() – 1 * 60 * 1000,
    interval: 1,
    intervalType: “minute”
    },
    ….

    2- Second usage:
    —-
    axisX:{
    minimum: new Date() – 1 * 60 * 1000,
    viewportMinimum: new Date() – 1 * 60 * 1000,
    interval: 1,
    intervalType: “minute”
    }

    #22843

    @dkefeli,

    minimum property sets the minimum of the axis i.e. values smaller than the minimum will be clipped and can’t be panned. viewportMinimum allows you to set the minimum of the viewport (the visible range of the axis)and zoom into a region programmatically. In both the instances, only a certain region of the chart is made visible and rendered. And hence there shouldn’t be performance impact.

    __
    Priyanka M S
    Team CanvasJS

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

You must be logged in to reply to this topic.