ChartDirector 7.1 (.NET Edition)

BaseChart.addExtraField2


Usage

[C#]public void addExtraField2({double | DateTime}[] numbers);
[VB]Public Sub addExtraField2(numbers() As {Double | DateTime})

Description

Adds an array of numbers/dates to be used as an extra field in various places.

This method merely stores the data inside the chart object. The Parameter Substitution and Formatting mechanism will determine how the data are to be used.

A common use for extra fields is to specify extra information (such as a custom serial number for the data points) to be displayed on data labels or on tool tips, or to supply extra query parameters in clickable charts. All these are achieved by specifying the extra field on the data label template or image map templates during parameter substitution.

Arguments

ArgumentDefaultDescription
numbers(Mandatory)An array of numbers/dates to be stored inside the chart object.

Return Value

None