Class ValueAxesSettings

ValueAxesSettings settings set 's settings for all ValueAxes. If you change a property after the chart is initialized, you should call stockChart.validateNow() method in order for it to work. If there is no default value specified, default value of ValueAxis class will be used.

Index

Properties

Properties

public autoGridCount: boolean

Specifies whether number for gridCount is specified automatically, according to the axis size.

default

true

public axisAlpha: number

Axis opacity.

public axisColor: string

Axis color.

public axisThickness: number

Thickness of the axis.

public color: string

Label color.

public dashLength: number

Length of a dash. By default, the grid line is not dashed.

public fillAlpha: number

Fill opacity. Every second space between grid lines can be filled with color.

public fillColor: string

Fill color. Every second space between grid lines can be filled with color. Set fillAlpha to a value greater than 0 to see the fills.

public gridAlpha: number

Opacity of grid lines.

public gridColor: string

Color of grid lines.

public gridCount: number

Approximate number of grid lines. autoGridCount should be set to false, otherwise this property will be ignored.

public gridThickness: number

Thickness of grid lines.

public includeGuidesInMinMax: boolean

Specifies whether guide values should be included when calculating min and max of the axis.

public includeHidden: boolean

If true, the axis will include hidden graphs when calculating min and max values.

public inside: boolean

Specifies whether values should be placed inside or outside plot area. In case you set this to false, you'll have to adjust marginLeft or marginRight in PanelsSettings in order labels to be visible.

default

true

public integersOnly: boolean

Specifies whether values on axis can only be integers or both integers and doubles.

public labelFrequency: number

Frequency at which labels should be placed.

public labelsEnabled: boolean

Specifies whether value labels are displayed.

public logarithmic: boolean

Set to true if value axis is logarithmic, false otherwise.

public offset: number

The distance of the axis to the plot area, in pixels. Useful if you have more then one axis on the same side.

public position: string

Position of the value axis. Possible values are "left" and "right".

public reversed: boolean

Set to true if value axis is reversed (smaller values on top), false otherwise.

public showFirstLabel: boolean

Specifies if first label of value axis should be displayed.

public showLastLabel: boolean

Specifies if last label of value axis should be displayed.

public stackType: string

Stacking mode of the axis. Possible values are: "none", "regular", "100%", "3d".

public tickLength: number

Tick length.

public unit: string

Unit which will be added to the value label.

public unitPosition: string

Position of the unit. Possible values are "left" or "right".