Sorting Problem
Posted: Tue Dec 26, 2006 8:42 am
Dear Sir
How do i sort multi-series correctly? for example
The Chart contain 2 bar series and value as below
TChart1.Series(0).Add(12, "A1", TChart1.Series(0).Color)
TChart1.Series(0).Add(65, "A2", TChart1.Series(0).Color)
TChart1.Series(0).Add(77, "A3", TChart1.Series(0).Color)
TChart1.Series(0).Add(242, "A4", TChart1.Series(0).Color)
TChart1.Series(1).Add(4, "A1", TChart1.Series(0).Color)
TChart1.Series(1).Add(76, "A2", TChart1.Series(0).Color)
TChart1.Series(1).Add(34, "A3", TChart1.Series(0).Color)
TChart1.Series(1).Add(2, "A4", TChart1.Series(0).Color)
How to i sort the TChart series as below the result
A4(242,2) , A2(65,76), A2(77,34), A1(12,4)
Eric
How do i sort multi-series correctly? for example
The Chart contain 2 bar series and value as below
TChart1.Series(0).Add(12, "A1", TChart1.Series(0).Color)
TChart1.Series(0).Add(65, "A2", TChart1.Series(0).Color)
TChart1.Series(0).Add(77, "A3", TChart1.Series(0).Color)
TChart1.Series(0).Add(242, "A4", TChart1.Series(0).Color)
TChart1.Series(1).Add(4, "A1", TChart1.Series(0).Color)
TChart1.Series(1).Add(76, "A2", TChart1.Series(0).Color)
TChart1.Series(1).Add(34, "A3", TChart1.Series(0).Color)
TChart1.Series(1).Add(2, "A4", TChart1.Series(0).Color)
How to i sort the TChart series as below the result
A4(242,2) , A2(65,76), A2(77,34), A1(12,4)
Eric