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. Image for the cookie policy date

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

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


2 Replies

J. J.Nagarajan Syncfusion Team 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



LM LeRoy Miller 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.


Loader.
Live Chat Icon For mobile
Up arrow icon