Can the depth only be integer values. If I pass numbers with decimal values the Tower chart looks wrong.
eg .Add(1,2.2,3.5)
eg .Add(2,2.8,4.0)
eg .Add(3,-1.4,4.5)
3,4,5 works fine with all towers square (1x1), but with decimal places .5 the tower 3D is a mess. with towers still seem to be 1x1. the gap in the depth is not irregular its always the same the irregular property doesnt help.
Problems with tower series
here are example values
depth 8 8.5 9 9.5 10
X Y Values
30 -6.68 -11.18 -6.32 -10.71 -7.88
31 -8.46 -11.26 -10.68 -9.93 -8.85
32 -10.09 -7.64 -10.73 -10.98 -7.51
33 -8.95 -10.74 -11.57 -12.10 -6.42
34 -6.68 -11.56 -10.34 -10.92 -7.72
35 -8.96 -10.16 -9.54 -10.51 -5.59
36 -11.33 -10.58 -8.60 -8.11 -6.37
37 -12.30 -8.95 -8.82 -8.85 -7.29
38 -12.03 -9.07 -7.34 -3.79 -5.66
39 -12.29 -8.74 -7.03 -3.61 -4.27
40 -11.73 -11.64 -6.83 -4.83 -3.10
X Y Values
30 -6.68 -11.18 -6.32 -10.71 -7.88
31 -8.46 -11.26 -10.68 -9.93 -8.85
32 -10.09 -7.64 -10.73 -10.98 -7.51
33 -8.95 -10.74 -11.57 -12.10 -6.42
34 -6.68 -11.56 -10.34 -10.92 -7.72
35 -8.96 -10.16 -9.54 -10.51 -5.59
36 -11.33 -10.58 -8.60 -8.11 -6.37
37 -12.30 -8.95 -8.82 -8.85 -7.29
38 -12.03 -9.07 -7.34 -3.79 -5.66
39 -12.29 -8.74 -7.03 -3.61 -4.27
40 -11.73 -11.64 -6.83 -4.83 -3.10
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Luke,
Code below works fine for me here using latest TeeChart for .NET v3 release available at the client area. Which TeeChart version are you using?
Thanks in advance.
Code below works fine for me here using latest TeeChart for .NET v3 release available at the client area. Which TeeChart version are you using?
Code: Select all
public Form1()
{
InitializeComponent();
InitializeChart();
}
private void InitializeChart()
{
Steema.TeeChart.Styles.Tower tower1 = new Steema.TeeChart.Styles.Tower(tChart1.Chart);
tower1.Add(1, 2.2, 3.5);
tower1.Add(2, 2.8, 4.0);
tower1.Add(3, -1.4, 4.5);
}
Best Regards,
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 |
Steema.TeeChart.Styles.Tower t1 = new Steema.TeeChart.Styles.Tower(tChart1.Chart);
t1.Add(38, -16.64, 7);
t1.Add(39, -14.23, 7);
t1.Add(40, -14.96, 7);
t1.Add(38, -13.11, 7.5);
t1.Add(39, -14.78, 7.5);
t1.Add(40, -15.52, 7.5);
t1.Add(38, -12.03, ;
t1.Add(39, -12.29, ;
t1.Add(40, -11.73, ;
tChart1.Aspect.View3D = true;
tChart1.Aspect.Chart3DPercent = 100;
tChart1.Aspect.Zoom = 75;
tChart1.Aspect.Rotation = 297;
tChart1.Aspect.Elevation = 350;
tChart1.Legend.Visible = false;
tChart1.Axes.Depth.Visible = true;
and when you do this. I have latest version. I have added 3 sets of points with same x value. but chart only shows 2. the depth of the third column also goes from 6.5 to 7.5.
t1.Add(38, -16.64, 7);
t1.Add(39, -14.23, 7);
t1.Add(40, -14.96, 7);
t1.Add(38, -13.11, 7.5);
t1.Add(39, -14.78, 7.5);
t1.Add(40, -15.52, 7.5);
t1.Add(38, -12.03, ;
t1.Add(39, -12.29, ;
t1.Add(40, -11.73, ;
tChart1.Aspect.View3D = true;
tChart1.Aspect.Chart3DPercent = 100;
tChart1.Aspect.Zoom = 75;
tChart1.Aspect.Rotation = 297;
tChart1.Aspect.Elevation = 350;
tChart1.Legend.Visible = false;
tChart1.Axes.Depth.Visible = true;
and when you do this. I have latest version. I have added 3 sets of points with same x value. but chart only shows 2. the depth of the third column also goes from 6.5 to 7.5.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Luke,
Ok, thanks for the information. I've been able to reproduce the issue here and added it (TF02013366) to the defect list to be fixed for next releases.
Ok, thanks for the information. I've been able to reproduce the issue here and added it (TF02013366) to the defect list to be fixed for next releases.
Best Regards,
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 |