Series.Count == 0 ?
Posted: Thu Apr 15, 2004 5:00 am
Hello seniors,
I have a problem when I use the TeeChart and the WebChart to draw a "C" shape curve. Could you help me?
I had drawn a "C" shape curve by "Line Series" or "Fast Line Series" correctly by the TeeChart and the WebChart (Old version). Recently, I installed the last version (1.1.1544.23908), but my curve is damaged at the same time. It seems to cause by the new feature, auto sorting.
For example, I want to draw a line from 1 to 2, 3, 4, 5, 6, 7 and 8 sequentially. Although the old chart works fine, the new version draw 4 to 3, 5, 2, 6, 1, 7 and 8. The new version is smart! But how can I draw what I want now? Could you tell me?
What I want:
5-6-7
/ \
/ 8
4 1
\ /
3-2
What I get:
5 6 7
4 / \ / \ / \
V V V 8
3 2 1
By the way, I have tried to do use the "Point 3D Series" to draw what I want in WebChart. But I can't get any series by because the is always zero! The "Count" indicates that I have 14 "Line Series", "Fast Line Series" or "Points Series" primarily. But I get 0 after I add a "Point 3D Series". How does it happen? Is it a bug? Or I use them in wrong way?
Thanks for your help in advance!
Albert
My environment:
Windows Server 2003 Enterprise Edition Version 5.2 (Build 3790.srv03_rtm.030324-2048)
VS.net 2003 Version 7.1.3088
MS.net Framework Version 1.1.4322
TeeChart.net Version 1.1.1544.23908
I have a problem when I use the TeeChart and the WebChart to draw a "C" shape curve. Could you help me?
I had drawn a "C" shape curve by "Line Series" or "Fast Line Series" correctly by the TeeChart and the WebChart (Old version). Recently, I installed the last version (1.1.1544.23908), but my curve is damaged at the same time. It seems to cause by the new feature, auto sorting.
For example, I want to draw a line from 1 to 2, 3, 4, 5, 6, 7 and 8 sequentially. Although the old chart works fine, the new version draw 4 to 3, 5, 2, 6, 1, 7 and 8. The new version is smart! But how can I draw what I want now? Could you tell me?
What I want:
5-6-7
/ \
/ 8
4 1
\ /
3-2
What I get:
5 6 7
4 / \ / \ / \
V V V 8
3 2 1
By the way, I have tried to do use the "Point 3D Series" to draw what I want in WebChart. But I can't get any series by
Code: Select all
"this.WebChart1.Chart.Series[n]"
Code: Select all
"this.WebChart1.Chart.Series.Count"
Thanks for your help in advance!
Albert
My environment:
Windows Server 2003 Enterprise Edition Version 5.2 (Build 3790.srv03_rtm.030324-2048)
VS.net 2003 Version 7.1.3088
MS.net Framework Version 1.1.4322
TeeChart.net Version 1.1.1544.23908