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 2589 - Wrong bottom axis labels when the axis range is very small
Summary: Wrong bottom axis labels when the axis range is very small
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Axis (show other bugs)
Version: 37.230130
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: david berneda
URL: https://www.steema.com/support/viewto...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-20 07:27 EST by yeray alonso
Modified: 2023-02-20 08:08 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 2023-02-20 07:27:42 EST
In the following example, the left axis shows labels from -0.8 to 0.8.
However, the bottom axis shows a single label at 0.
The customer expected both axes to show a similar set of labels.

uses Chart, TeeGDIPlus, TeEngine, Series;

procedure TForm1.FormCreate(Sender: TObject);
var Chart1: TChart;
begin
  Chart1:=TChart.Create(Self);
  Chart1.Parent:=Self;
  Chart1.View3D:=False;

  Chart1.AddSeries(TLineSeries);

  Chart1.Axes.Left.SetMinMax(-0.855,0.855);
  Chart1.Axes.Bottom.SetMinMax(-0.855,0.855);
end;
Comment 1 yeray alonso 2023-02-20 07:28:41 EST
Fixed the 18/02/2023 with commit d3a61d8
Comment 2 yeray alonso 2023-02-20 08:08:09 EST
Just added an extra check for XValues (with HasNoMandatoryValues method to support horizontal series), in commit 89c7b79.