Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 382 - [TF02013366] Can the depth only be integer values. If I pass numbers with decimal ...
Summary: [TF02013366] Can the depth only be integer values. If I pass numbers with dec...
Status: CONFIRMED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: unspecified
Hardware: All All
: Normal major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-01 17:32 EDT by narcís calvet
Modified: 2013-11-20 11:26 EST (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description narcís calvet 2013-11-20 11:26:42 EST
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.

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. Code to reproduce:

	public Form1()
	{
	InitializeComponent();
	InitializeChart();
	}

	private void InitializeChart()
	{
	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, 8);
	t1.Add(39, -12.29, 8);
	t1.Add(40, -11.73, 8);

	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;
	} [created:2008-09-01T16:32:52.000+01:00 reported by:narcis@steema.com reported in version:Build 3.5.3146.24804 (TeeChart for .NET)]