Skip navigation
Currently Being Moderated

Creating charts

Mar 1, 2013 6:02 AM

Tags: #array #tables #datagrid #graphs #charts #columnchart

hello, I am having problems creating charts from data that is stored in a Datagrid( i have managed to create charts from data that is stored normally)

 

The problem arises when i have to populate these charts from data that is being stored into the datagrid

 

Somebody has an idea how this has to be done?

 

These are the datafields of the datagrid where the values are being inputted form the user.

 

  <s:GridColumn width="200" dataField="Sequ" headerText="Combinations"></s:GridColumn>

                                        <s:GridColumn dataField="row" headerText="Row"></s:GridColumn>

                                        <s:GridColumn dataField="mach" headerText="Machines"></s:GridColumn>

                                        <s:GridColumn dataField="prod" headerText="Parts Prouduced"></s:GridColumn>

                                        <s:GridColumn dataField="cost" headerText="Cost"></s:GridColumn>

                          <s:GridColumn dataField="lqq" headerText="Avg Parts Waiting in System"></s:GridColumn>

                                        <s:GridColumn dataField="wqq" headerText="Time in queue"></s:GridColumn>

                              </s:ArrayList>

 

 

. What has to be done to put them in the chart such as i want to plot sequ and row

 

Thanks for your help

 
Replies
  • Currently Being Moderated
    Mar 1, 2013 10:22 AM   in reply to Gug88

    Have you tried MyChart.dataprovider =  MyDataGrid.dataprovider

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points