ChartDirector 5.1 (.NET Edition)

FinanceChart.setYAxisStyle


Usage

[VB] Public Sub setYAxisStyle(font As String, fontSize As Double, fontColor As Integer, axisMargin As Integer)
[C#] public void setYAxisStyle(string font, double fontSize, int fontColor, int axisMargin);

Description

Sets y-axis label style. The default is Arial 8 pt black color, with 14 pixels margin.

Arguments

ArgumentDefaultDescription
font(Mandatory)The font of the axis labels.
fontSize(Mandatory)The font size of the axis labels in points.
fontColor(Mandatory)The color of the axis labels.
axisMargin(Mandatory)The margin at the top of the y-axis in pixels (to leave space for the legend box).

Return Value

None