cancel
Showing results for 
Search instead for 
Did you mean: 

Set ValueColumns in Javascript

Former Member
0 Kudos

Sorry for the newbe question. I have seen a similar post to this but nothing works.

I want to change the value column displayed in an iSPCChart using Javascript. I return two values in the query and want the user to be able to flip back and forth in the same chart.

I have tried:

document.overall.getChartObject().setPropertyValue("ValueColumns", "out1");

where overall is the applet.

but it does not work. I am using an iSPCChart.

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

"The Other Brother" - that's funny.

Former Member
0 Kudos

Hello OB,

To set value columns, you would use the SPCChart object method

document.iSPCChart.getChartObject().setValueColumns().

I would highly recommend MII training if you have not yet done so. The Script Assistant, packaged with the MII Wizards, is available for version 12.0 as a download on the SDN. The Script Assistant is the "master" reference for the various applet and object methods.

Kind Regards,

Diana Hoppe