Click here to Skip to main content
15,915,702 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I am using a Gridview and Microsoft .Net charts in my usercontrol.

I am filling the Gridview with the result set that I am getting from the Store Procedure. I am manually calculating the sum of the Column values in the Grid's RowDataBound Event.

Now I dont know how to set the value of the footer of one column to YValueMembers of chart series.

Can anyone please help me how to assign static value to the y-axis of chart series.
Its urgent.
Posted
Updated 17-Mar-11 11:26am
v2
Comments
Sunasara Imdadhusen 18-Mar-11 0:53am    
Have you Chart control inside the Grid?

1 solution

Is it possible to calculate the sum of the column values to a separate collection, rather than the footer of the Grid. Then just bind the YValueMembers to it?
 
Share this answer
 
Comments
Dalek Dave 18-Mar-11 18:07pm    
Good advice

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900