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 1930 - UsePartnerAxis, PartnerAxis do not limit the grid lines
Summary: UsePartnerAxis, PartnerAxis do not limit the grid lines
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Axis (show other bugs)
Version: 22.170619
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: yeray alonso
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-20 06:56 EDT by yeray alonso
Modified: 2017-10-20 06:58 EDT (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 yeray alonso 2017-10-20 06:56:37 EDT
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;