okay, I am trying to follow the zingerChart Example from MM Flex dev
site and have created my own columnCHart, what I want to do is to pass
the mouseClickData to my webservice, specificaly the field
'displaygrd' so that the CFC can use this as an argument to get
employess out of DB I am not sure how to pass that data up to the
correct spot. 
when I click a data column i get this error:
"Array of input arguments did not contain a required parameter at
position 2"

Here is my code:
can anyone help?

<mx:WebService
wsdl="http://127.0.0.1:8300/components/getdata.cfc?wsdl";
id="getCountGrade1s">
<mx:operation name="getEmployees">
<mx:request>
<GRADCE1CNT></GRADCE1CNT>
<DISPLAYGRD></DISPLAYGRD>
</mx:request>
</mx:operation>
<mx:operation name="getGrade1s" >
<mx:request></mx:request>
</mx:operation>
</mx:WebService>
<mx:Panel title="Active Grades for D350" width="40%" height="50%"
xmlns:mx="http://www.macromedia.com/2003/mxml"; >
<mx:ColumnChart id="showpe"
dataProvider="{getCountGrade1s.getGrade1s.result}" showDataTips="true"
columnWidthRatio=".9"
mouseClickData="getCountGrade1s.getEmployees(event.hitData.element.yField,
event.hitData.item).send()" >
<mx:horizontalAxis>
<mx:CategoryAxis dataProvider="{getCountGrade1s.getGrade1s.result}"
categoryField="DISPLAYGRD" />
</mx:horizontalAxis>
<mx:verticalAxis>
<mx:LinearAxis name="Active" />
</mx:verticalAxis>
<mx:series>
<mx:Array>
<mx:ColumnSeries name="Grade(s)" yField="GRADE1CNT" >
<mx:fill>
<mx:LinearGradient angle="0">
<mx:entries>
<mx:Array>
<mx:GradientEntry ratio="30" color="#258BC8" />
<mx:GradientEntry ratio="80" color="#82C9EB" />
<mx:GradientEntry ratio="100" color="#258BC8" />
</mx:Array>
</mx:entries>
</mx:LinearGradient>
</mx:fill>
</mx:ColumnSeries>      
</mx:Array>
</mx:series> 
</mx:ColumnChart>






Reply via email to