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 286 - [TV52015927] Setting little ranges in the axes for the Area series and the THighLo...
Summary: [TV52015927] Setting little ranges in the axes for the Area series and the TH...
Status: RESOLVED FIXED
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: 2011-11-24 16:32 EST by yeray alonso
Modified: 2013-12-04 12:33 EST (History)
1 user (show)

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:36:24 EST
Setting little ranges in the axes for the Area series and the THighLowSeries they aren't drawn when they should.
They are actually correctly drawn with v8 and this code but not with v2011.04:
uses Chart, Series, ErrorBar;
procedure TForm1.FormCreate(Sender: TObject);
var Chart1: TChart;
begin
  Chart1:=TChart.Create(Self);
  Chart1.Parent:=Form1;
  Chart1.View3D:=false;
//  with Chart1.AddSeries(THighLowSeries) as THighLowSeries do
  with Chart1.AddSeries(TAreaSeries) as TAreaSeries do
  begin
    AddXY(-10000000,100);
    AddXY(10000000,100);
  end;
  Chart1.Axes.Bottom.SetMinMax(15,55);
  Chart1.Axes.Left.SetMinMax(0,200);
end;
http://www.teechart.net/support/viewtopic.php?f=3&t=12842&view=unread#unread [created:2011-11-24T16:32:18.000+01:00 reported by:yeray@steema.com reported in version:2011.04.41118 (TeeChart VCL)]
Comment 1 david berneda 2013-12-04 12:33:54 EST
Fixed. 
Area series now checks for overflow coordinates (like Line series does).

Check is done at Series.pas TryFixOverflowCoordinates local procedure.

For HighLow series I think the example code is not correct.
HighLow draws vertical lines at X position, and in the test code the X positions are outside the axes range.