ChartDirector 5.1 (.NET Edition)

XYChart.syncYAxis


Usage

[VB] Public Sub syncYAxis([ slope As Double [, intercept As Double ]])
[C#] public void syncYAxis([ double slope [, double intercept ]]);

Description

Sets a linear formula to synchronize the secondary y-axis scale to the primary y-axis scale.

The formula is in the format:

y2 = y1 * slope + intercept

This method is usually used if the two y-axes represent the same measurement using different units. Examples including temperature in Celsius and in Fahrenheit, and length in meters and feet.

Arguments

ArgumentDefaultDescription
slope1The slope parameter for the formula linking the secondary y-axis to the primary y-axis.
intercept0The intercept parameter for the formula linking the secondary y-axis to the primary y-axis.

Return Value

None