cancel
Showing results for 
Search instead for 
Did you mean: 

iChart event not functioning

Former Member
0 Kudos

Hi,

i tried to do iChart SelectionEvent as per in Help. but it is not function. it says error on page. i gave in applet part as

<PARAM NAME="SelectionEvent" VALUE="MyApplet_Selected">

and in script part

function MyApplet_Selected()

{

alert("Selected")

}

but is doesnt show anything. what is the problem?

- senthil

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

The event you've mapped to relates to clicking on the chart legend, not the chart item(s).

- Rick

jcgood25
Active Contributor
0 Kudos

The SelectionEvent only applies to clicking the pen names in the legend. Also make sure that MAYSCRIPT is not missing from the APPLET definition (I've seen where FrontPage sometimes strips this attribute).

Regards,

Jeremy Good

HariCS23
Contributor
0 Kudos

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

Former Member
0 Kudos

for the iChart try "ChartSelectionEvent"

as described in the help here:

http://help.sap.com/saphelp_xmii115/helpdata/en/Applet_Reference_Details/Illuminator_iChart_Referenc...

Give that a try and see if it works for you!

-


Note: If this answer was helpful please assign points. Thank You!