![]() | 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: | UsePartnerAxis, PartnerAxis do not limit the grid lines | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Axis | Assignee: | yeray alonso <yeray> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | --- | ||
| Version: | 22.170619 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://www.teechart.net/support/viewtopic.php?f=3&t=16699 | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
In 2D the partner axes limit their grids. It doesn't work in 3D. uses Series; procedure TForm1.FormCreate(Sender: TObject); var ser: TFastLineSeries; begin Chart1.Legend.Visible:=False; //Chart1.View3D:=False; with Chart1.Axes.Bottom do begin StartPosition:= 20.0; EndPosition:= 80.0; PositionPercent:= 20; Axis.Color:= clBlue; UsePartnerAxis:=True; PartnerAxis:=Chart1.Axes.Left; end; with Chart1.Axes.Left do begin StartPosition:= 20.0; EndPosition:= 80.0; PositionPercent:= 20; Axis.Color:= clRed; UsePartnerAxis:=True; PartnerAxis:=Chart1.Axes.Bottom; end;; ser:= TFastLineSeries.Create(Chart1); chart1.AddSeries(ser); ser.FillSampleValues(100); end;