VpeChartDataAddYLabel

<< Click to Display Table of Contents >>

Navigation:  Charts >

VpeChartDataAddYLabel

Previous pageReturn to chapter overviewNext page

Adds a new Y-Label to the chart. By default, the y-axis is labeled automatically. With VpeSetChartYLabelState() you can switch to user defined labels and then add Y-Labels to the chart.

Each label that would automatically be drawn can be replaced with this method.

void VpeChartDataAddYLabel(

VpeHandle hDoc,

VpeHandle hData,

LPCSTR ylabel

)

VpeHandle hDoc

Document Handle

VpeHandle hData

handle of ChartData object

LPCSTR ylabel

string of label to add

Remarks:

You can control if and on what position y-labels are drawn with the following properties:

VpeSetChartYLabelState()

VpeSetChartYGridStep()

VpeSetChartYLabelStep()

VpeSetChartYLabelDivisor()

VpeChartDataSetMinimum()

VpeChartDataSetMaximum()