Getting max and min values from TGantt Chart
Posted: Wed Oct 22, 2014 11:19 am
Hi,
I'm adding a TGantt Chart to a TChart using
1) How do I find the maximum and minmum StartDate?
2) How do I find the maximum and minmum EndDate?
3) How do I find the maximum and minmum Values? (using the definition, "Ganttseries.Add(startDate,EndDate,y,Color.red)", how to find max and min "y")
I have tried to use the code below to find max y
But it gives me an exception error
I'm adding a TGantt Chart to a TChart using
Code: Select all
Steema.TeeChart.Styles.Gantt Ganttseries = new Steema.TeeChart.Styles.Gantt(tChart1.Chart);
this.tChart1.Series.Add(Ganttseries);
2) How do I find the maximum and minmum EndDate?
3) How do I find the maximum and minmum Values? (using the definition, "Ganttseries.Add(startDate,EndDate,y,Color.red)", how to find max and min "y")
I have tried to use the code below to find max y
Code: Select all
Ganttseries.ValuesLists.Max();