Difference: CDLegendSetKeyTemplate (2 vs. 3)

Revision 32011-12-20 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="CDChartDirectorDesignerAPI"

.LEGEND SET TEMPLATE

Line: 17 to 17
 
The default template is "{dataSetName}", which means the name of the data set will be used as the legend text. The legend key text can be modified to include other information. For example, in a pie chart, "{label}: {value}" means the legend text will consist of the sector label followed by the sector value.
Changed:
<
<
As of this writing, you must enclose the template text in quotations, otherwise the chart will not render. For example, set it to "{label}: {value}", not {label}: {value}.
>
>
If you are using CDML in your template, we recommend that you enclose the template text in quotations, otherwise there is a chance that some characters might be interpreted literally instead of as CDML.
  Please refer to Parameter Substitution and Formatting in the Chart Director documentation for all available parameters and how to format them.
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback