<< Click to Display Table of Contents >> AddLegend |
[ActiveX, .NET, Java, PHP, etc., method of the TVPEChartData object]
Adds a new descriptive string for a column to the legend.
method void TVPEChartData.AddLegend(
string Legend
)
string Legend
legend string
Example:
dim Data as TVPEChartData
Data = Doc.ChartDataCreate(2, 4)
Data.AddLegend("Apples")
Data.AddLegend("Bananas")
Creates a ChartData object with two columns, titled "Apples" and "Bananas" in the legend.