ChartDirector 6.0 (Perl Edition)

XYChart.syncYAxis


Usage

syncYAxis([ slope [, 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