on 02-22-2008 6:38 PM
Hi Jermy,
I can select the pen numner form selection event of the legend by using
document.<appletname>.getchartObject.getSelectedPen()
How can get the values assoiciated with that pen or legned ( i mean datalink vales ).
I have added one column in the datalink columns of the ichart template and i need that datlink values based on the legend selection.
How can i do that?
Thanks
Vansi
Vansi,
Leveraging the Script Assistant to help you with methods, and using the javascript alert statement are great ways to learn how the applet methods behave.
The .getDatalinkValue(PENNUMBER,POINTNUMBER,ATTRIBUTE) method has three inputs - you already know how to get the pennumber, and since your chart is Pie then the pointnumber should be 1 since you don't have a line chart or group bar chart. The attribute is a one-based index for all of your mapped datalink columns, so if you only have one of these then use a static 1.
Regards,
Jeremy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.