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 - [TV52016272] Having a TLineSeries (doesn't happen with a TFastLineSeries), if you ...
Summary: [TV52016272] Having a TLineSeries (doesn't happen with a TFastLineSeries), if...
Status: CONFIRMED
Alias: None
Product: VCL 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: 2012-07-23 13:34 EDT by yeray alonso
Modified: 2013-11-20 10:34 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 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)]