Home Forums Chart Support Show only last X Points at live chart

Show only last X Points at live chart

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

    Hi,

    i have a chart with live data fetched by ajax/php. I want to show only the last x points (e.g. 50) of the series. I don´t want to have a “messed” chart after 1000 points. But it also should be possible to view the history of points (maybe horizontal scrollbar).

    Any ideas how to achive this?

    Thanks

    #27642

    @mwick,

    You can achieve your requirement using viewportMaximum and viewportMinimum as shown in this JSFiddle.

    —-
    Manoj Mohan
    Team CanvasJS

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

You must be logged in to reply to this topic.