Skip to content

Applies to

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

public void YAxesSetup((IList<string> yNames, IList<string> hexColors) data)

View source

Summary: Configures the Y-axes of the plot using the specified axis names and colors. Existing Y-axes are removed and replaced with new right-side axes corresponding to the provided data.

Parameters

NameTypeDescription
data(IList yNames, IList hexColors)A tuple containing the list of Y-axis names and the list of hexadecimal color strings to apply to each axis label. Both lists must have the same number of elements.

Remarks

The method always hides the left Y-axis and creates new right-side axes for each entry in the provided lists. Each axis label is assigned the corresponding color from the hexColors list. If the input lists differ in length, only pairs up to the shortest list are used.