Skip to content

Add a property 'ScaleY' , similar with the 'OffsetY', for the Signal class. #2642

@MyZQL

Description

@MyZQL

Feature Suggestion

Feature description:
I want to dynamically set a plot scale (i.e. multiply 'ys' by a specific number before rendering) for a Signal without modifying its raw data 'ys', but currently it seems there is no built-in method to make it.
Code example:

// a code sample may improve communication
var plt = new ScottPlot.Plot();
var signal = plt.AddSignal(dataY);
signal.OffsetY = 10.0;
signal.ScaleY = 5.0;
plt.Refresh();

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