Help with Bar series
Posted: Mon Jul 14, 2008 2:28 pm
Hi,
I'm having a problem with getting a Bar series chart to display as expected with a certain set of data and would like a little help.
I've uploaded the file TeeChartBugTest.zip to your upload area.
This contains a sample app with data and some bitmaps.
The bitmap in expected.jpg is what i would like and the bitmap in actual.jpg is what i get. it seems to be chopping off the first 2 x points and several of the end x points.
The data I'm adding using the Add(double,double) method is effectivly this:
x, y
3, -0.0375
4, -0.0275
5, -0.0225
6, -0.0200
7, -0.0225
8, -0.0200
9, -0.0175
10, -0.0175
11, -0.0175
12, -0.0175
13, -0.0175
14, -0.0175
15, -0.0175
16, -0.0175
17, -0.0175
18, -0.0175
19, -0.0175
20, -0.0175
21, -0.0175
22, -0.0175
23, -0.0175
24, -0.0175
25, -0.0175
26, -0.0175
27, -0.0175
28, -0.0175
29, -0.0175
30, -0.0175
40, -0.0175
50, -0.0125
60, -0.0125
80, -0.0125
100, -0.0125
120, -0.0125
130, -0.0125
Any ideas about what i'm doing wrong
Thanks
Andy
I'm having a problem with getting a Bar series chart to display as expected with a certain set of data and would like a little help.
I've uploaded the file TeeChartBugTest.zip to your upload area.
This contains a sample app with data and some bitmaps.
The bitmap in expected.jpg is what i would like and the bitmap in actual.jpg is what i get. it seems to be chopping off the first 2 x points and several of the end x points.
The data I'm adding using the Add(double,double) method is effectivly this:
x, y
3, -0.0375
4, -0.0275
5, -0.0225
6, -0.0200
7, -0.0225
8, -0.0200
9, -0.0175
10, -0.0175
11, -0.0175
12, -0.0175
13, -0.0175
14, -0.0175
15, -0.0175
16, -0.0175
17, -0.0175
18, -0.0175
19, -0.0175
20, -0.0175
21, -0.0175
22, -0.0175
23, -0.0175
24, -0.0175
25, -0.0175
26, -0.0175
27, -0.0175
28, -0.0175
29, -0.0175
30, -0.0175
40, -0.0175
50, -0.0125
60, -0.0125
80, -0.0125
100, -0.0125
120, -0.0125
130, -0.0125
Any ideas about what i'm doing wrong
Thanks
Andy