Skip to content

SP5 Winforms: Not possible to invert Y-axis in on a signal plot #4085

@Jofstera

Description

@Jofstera

Hi everyone, I am trying to recreate this graph in SP5 Winforms.

image

As you can see it is a vertically orientated signal plot with an inverted y-axis. The data should also be updated in real-time.
I did some digging and found some relevant documentation

https://scottplot.net/cookbook/5.0/SignalXY/SignalXYVerticalInvertedY/

However this code does not work on Winforms

// invert the vertical axis
myPlot.Axes.SetLimitsY(5000, 0);

The class ScottPlot.Winforms.FormsPlot does not contain have the attributes Axes.SetLimitsY

Something like this for Winforms would be ideal
#1194 (comment)

This is also related #3253 (comment) (basically the feature request in point 1).

I am happy to have a look at the source code myself if someone could point me in the right direction.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions