Skip to content

Performance problems when iteratively adding points #1

@xpromache

Description

@xpromache

I'm using the InvientCharts with Vaadin and I want to make a line chart to which I add a new data point each second.
The problem is that the InvientCharts.addPoint operation takes around 0.5ms x number of points in the graph. Also the getPoints takes around the same time. So by the time i have a few hundreds points in the graph, the thing becomes unusable.
I need to be able to store a few thousands points.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions