SRGraphLabelBlock::AddLabelIndex

void SRGraphLabelBlock::AddLabelIndex(LPCTSTR LabelText, int nIndex, int nCode)

Adds or updates a label at a specified zero-based index

Defined in: SRGraphLabelBlock.cpp

Parameters

LabelText

Text to place in the label

nIndex

Zero-based index of the label to add or update

nCode

Country code of the label

Remarks

To improve speed, the display components use a semi-permanent system of labels for x, y, and z axis labels. By reclaiming and reusing label blocks rather than creating and destroying them at every draw cycle, a significant increase in redraw speed is attained.