We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.

# Help with Essesntial charts to display aggregated values on y-axis

#### Replies:

73944 May 26,2008 08:31 PM UTC Aug 25,2014 06:42 PM UTC WinForms 2
 Subscribe to this post Tags: Chart
anand
Asked On May 26, 2008 08:31 PM UTC

hi,
I need to plot a graph on 2 coloumns from a dataset containing 20 cols. x-axis has date values and Y-axis and double values. there are n number of y-values for a corresponding x value. how can i show a graph so that one value of x will be plotted against a sum of all y-values at that point.

for ex.
x y
2/3 1000
2/3 3000
3/3 1000
3/3 4000
4/4 1000
5/5 3000

so i need a graph which ll be plotted on the foll points.
x y
2/3 4000(=1000+3000)
3/3 5000(=1000+4000)
4/4 1000
5/5 3000

J.Nagarajan [Syncfusion]
Replied On May 31, 2008 08:14 PM UTC

Hi ,

Please refer to the attached sample that demonstrates to plot the chart with DateTime on X axis and aggregated value on te Y axis.

http://websamples.syncfusion.com/samples/Chart.Windows/F73944/main.htm

In this sample the first DataGridView shows the random data values and second DataGridView shows the DateTime and the aggregated values. We can plot the chart by using the data values of second DataGridView.

Please refer to the sample and let me know if this helps.

Regards,
Nagaraj

LeRoy Miller
Replied On August 25, 2014 06:42 PM UTC

Is there an updated link for the example in the solution? I'm trying to accomplish a similar task on Windows Phone and am hoping a similar example would help.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.