![]() | Steema Issues DatabaseNote: 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. |
| Summary: | Origin in Tower series broken | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Series | Assignee: | yeray alonso <yeray> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | --- | ||
| Version: | 20.170306 | ||
| Target Milestone: | v2017.20 | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | .teechart.net/support/viewtopic.php?f=1&t=16367 | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
Using a Tower Series, if you set an origin (ie 5), it isn't considered as expected. The vertical axis is rescaled accordingly but if you scroll down you see the origin of the tower is zero. uses TeeSurfa, TeeConst; var Chart1: TChart; procedure TForm1.FormCreate(Sender: TObject); var x, z: Integer; begin Caption:=TeeMsg_Version; Chart1:=TChart.Create(Self); Chart1.Parent:=Self; Chart1.Align:=alClient; Chart1.Canvas:=TGDIPlusCanvas.Create; Chart1.Aspect.Orthogonal:=False; Chart1.Chart3DPercent:=100; Chart1.Aspect.Zoom:=80; Chart1.Legend.Visible:=False; Chart1.Axes.Left.Increment:=1; Chart1.Axes.Left.SetMinMax(0, 17); with Chart1.AddSeries(TTowerSeries) as TTowerSeries do begin for x:=0 to 3 do for z:=0 to 3 do AddXYZ(x, 10+x+z, z); UseOrigin:=True; Origin:=5; end;