Skip to content

WpfPlot has slower framerate during mouse interactions in version 4.1 #761

@riquich

Description

@riquich

Hi, I admire and appreciate the effort put into this library and so I wanted to point out two things I noticed about 4.1 beta.

First is that the plots seems to stutter when panning in circular/cross directions, this might not be a major issue but I wanted to inform anyway since it might be root of other issues in the future. This problem is not present in the last public release (4.0.x).

Below I placed two gifs, with each containing signalplotconst containing 16k samples each. upper one is from 4.0.x and lower one is from 4.1.6. The stuttering is not present in 4.0.x. I tried to play with configuration of plot but it led to no avail. X axis labels have datetime formatting applied. I forgot to include rendering time but it cycles around 4-10ms. For bigger datasizes the stutters tend to occur more.

Second thing is that in version 4.1 rightclick event seems to be tied to automatic contextmenu generation so it cannot be overridden. Even if it is overridden, the behavior given in lower gif occurs. I believe making rightclick event configurable would be better in terms of user point of view.

Gifs themselves might look sluggish due to my encoder but you can assume the movements are near-fluid.

Gif related to 4.0
scottplot40

Gif related to 4.1.6
scottplot41

Thank you very much

Metadata

Metadata

Assignees

No one assigned

    Labels

    BUGunexpected behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions