cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

pass variable into ValueColumn of SPC Chart

Former Member
0 Kudos
153

I need to pass the ValueColumn field into the chart. How do I do this. I think I have it set up properly, but I can not get data unless I manually set it up in the display template, which I do not want to do. What do I need to do to make this work? The Title works fine.

<tr>

<td>

<applet name='Chart1' codebase='/Illuminator/Classes' code='iSPCChart' archive='illum8.zip' width='775' height='350' mayscript>

<param name='DisplayTemplate' value='../FR/dspFR_ATD_Production_SPC'>

<param name='QueryTemplate' value='../FR/qryFR_ATD_Production_SPC'>

<param name='ValueColumns' value='Pitch'>

<param name='Title' value='Pitch Data'>

<param name='Param.1' value='%'>

<param name='Param.2' value='%'>

<param name='Param.3' value='%'>

<param name='Param.4' value='%'>

</applet>

</td>

</tr>

View Entire Topic
Former Member
0 Kudos

Your code looks to be correct, although you should probably have double quotes around the attribute values (<param name="ValueColumns" value="Pitch">). I doubt that is what is causing the issue.

If you get the raw data for the chart (data detail), do you have a column called "Pitch"? "Pitch" isn't an alias or anything is it?

Former Member
0 Kudos

I noticed that in the code I had it spelled out 'Pitch' and my field name is 'PITCH'. Once I made the change everything worked fine. Thanks for the help!!

Former Member
0 Kudos

no problem - darn case sensitivity! ;*)