|
Adding additional fields for bar layer tooltip |
Posted by jcagumbay on May-11-2011 22:34 |
|
Hi,
I have a multi bar charts, (side and stacked) and I want to add a tooltip for each bar. Now, I want to add extra field so that I can use it in {fieldN} formatting. How can I add extra fields so that I can assign any value in each bar (different values in each dataset)? Thank you so much!
Jey Boy |
Re: Adding additional fields for bar layer tooltip |
Posted by Peter Kwan on May-12-2011 01:44 |
|
Hi jcagumbay,
You may use:
$layer->addExtraField($extraToolTipsForDataSet0);
$layer->addExtraField($extraToolTipsForDataSet1);
$layer->addExtraField($extraToolTipsForDataSet2);
$layer->addExtraField($extraToolTipsForDataSet3);
Then in your image map, you may use {dsdiField0} to represent the extra tooltips.
Hope this can help.
Regards
Peter Kwan |
Re: Adding additional fields for bar layer tooltip |
Posted by jcagumbay on May-12-2011 18:08 |
|
Hi Peter,
It works perfectly. Thank you so much.
Jey Boy |
|