<< Click to Display Table of Contents >> VpeChartDataAddLegend |
Adds a new descriptive string for a column to the legend.
void VpeChartDataAddLegend(
VpeHandle hDoc,
VpeHandle hData,
LPCSTR legend
)
VpeHandle hDoc
Document Handle
VpeHandle hData
handle of ChartData object
LPCSTR legend
legend string
Example:
VpeHandle hData
hData = VpeChartDataCreate(hDoc, 2, 4)
VpeChartDataAddLegend(hDoc, hData, "Apples")
VpeChartDataAddLegend(hDoc, hData, "Bananas")
Creates a ChartData object with two columns, titled "Apples" and "Bananas" in the legend.