Skip to content

LiveChartViewModel.AutoScaleY() method

Defined in

Type: LiveChartViewModel Namespace: CrissCross.WPF.Plot Assembly: CrissCross.WPF.Plot.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

public static Action<RenderPack> AutoScaleY()

View source

Summary: Creates an action that automatically adjusts the Y-axis range of a plot to fit its data within the specified RenderPack.

Returns: Action -- An Action that, when invoked, rescales the Y-axis of the plot contained in the provided RenderPack to encompass all visible data.

Remarks

This method is useful for ensuring that all data points are visible along the Y-axis after data changes or updates. The X-axis range is not affected by this action.