ASE Home Page Products Download Purchase Support About ASE
ChartDirector General
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Line chart
Posted by Nadia on May-15-2009 05:57
Hi,

I have two array, i want to use one array for make the line chart and the other for
data label of the same line chart.

How do you do?

  Re: Line chart
Posted by Peter Kwan on May-16-2009 00:03
Hi Nadia,

You may use Layer.addExtraField to add extra information to any layer. For example (in PHP):

$layer = $c->addLineLayer($myData, .......);
$layer->addExtraField($myOtherArray);

#show the extra field as the data label
$layer->setDataLabelFormat("{field0}");

Hope this can help.

Regards
Peter Kwan

  Re: Line chart
Posted by Nadia on May-16-2009 00:32
Peter Kwan wrote:

Hi Nadia,

You may use Layer.addExtraField to add extra information to any layer. For example (in PHP):

$layer = $c->addLineLayer($myData, .......);
$layer->addExtraField($myOtherArray);

#show the extra field as the data label
$layer->setDataLabelFormat("{field0}");

Hope this can help.

Regards
Peter Kwan


Thanks,

I use the information (in asp)

call layer.addExtraField(myData)

call layer.setDataLabelFormat("{field0}");