Im searching for a solution for getting the Sum (total) for my YValues Collection per Page (the current page).
i tried with:
Code: Select all
g.Chart.Page.Chart.Series[0].YValues.Total;
Code: Select all
g.Chart.Page.Chart.Series[0].YValues.Total;
Code: Select all
double pageTotal = 0;
for (int i = tChart1[0].FirstVisibleIndex; i <= tChart1[0].LastVisibleIndex; i++)
{
pageTotal += tChart1[0].YValues[i];
}
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |