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 244

Summary: [TV52016272] Having a TLineSeries (doesn't happen with a TFastLineSeries), if you ...
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: major    
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2013-11-20 10:34:17 EST
Having a TLineSeries (doesn't happen with a TFastLineSeries), if you set a significant marks arrow, some extra space in the left axis is taken to fot the marks. However, no new axis labels are drawn in the new space.
This worked fine in v2012.05 but in v2012.06. See the images attached
uses Series, TeeConst;
procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.Title.Text.Text:=TeeMsg_Version;
  Chart1.View3D:=false;
  Chart1.Legend.Visible:=false;
  with Chart1.AddSeries(TLineSeries) do
  begin
    Add(0);
    Add(1000);
    Marks.ArrowLength:=35;
    Marks.Visible:=true;
  end;
end;
Probably the same:
Having a TLineSeries (doesn't happen with a TFastLineSeries) if you use the MaximumRound property si the Internal Maximum (IMaximum at TChartAxis.CalcRoundScales in TeEngine.pas) is modified, the new label isn't drawn.
procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.View3D:=false;
  Chart1.Legend.Visible:=false;
  with Chart1.AddSeries(TLineSeries) do
  begin
    Add(0);
    Add(945);
  end;
  Chart1.LeftAxis.MaximumRound:=true;
end;
http://www.teechart.net/support/viewtopic.php?f=3&t=13433&p=58757#p58757
 [created:2012-07-23T12:34:42.000+01:00 reported by:yeray@steema.com reported in version:2012.06.120613 (TeeChart VCL)]