<< Click to Display Table of Contents >> ChartDataAddLegend |
[VCL only]
Adds a new descriptive string for a column to the legend.
method void VPE.ChartDataAddLegend(
pointer hData,
string Legend
)
pointer hData
handle to ChartData object
string Legend
legend string
Example:
hData: Pointer
hData = Doc.ChartDataCreate(2, 4)
Doc.ChartDataAddLegend(hData, "Apples")
Doc.ChartDataAddLegend(hData, "Bananas")
Creates a ChartData object with two columns, titled "Apples" and "Bananas" in the legend.