Skip to content

LiveChartViewModel.AutoScaleAll() 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> AutoScaleAll()

View source

Summary: Creates an action that automatically adjusts all axes in a plot to fit the current data.

Returns: Action -- An Action that, when invoked, rescales all axes of the plot contained in the specified RenderPack to display all data points.

Remarks

Use this action to ensure that all plot axes are scaled to include the full range of data. This is useful after adding, removing, or modifying data in the plot to guarantee that all content is visible.