![]() | Steema Issues DatabaseNote: 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. |
| Summary: | [TV52014940] Logarithminc axis doesn't control fine the number of labels to draw w... | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Axis | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | CONFIRMED --- | ||
| Severity: | major | CC: | pawel.kaluza |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
The same problem occurs when we try to zoom chart with logarithmic scale. Before zoom: http://tinypic.com/view.php?pic=2v1xhcl&s=8 After zoom: http://tinypic.com/view.php?pic=2uzqwx0&s=8 |
Logarithminc axis doesn't control fine the number of labels to draw without overlapping Similar and probably related to TV52013473. uses Series, Math; procedure TForm1.FormCreate(Sender: TObject); var Series1: TFastLineSeries; x,y: extended; i: integer; begin Chart1.View3D:=false; Chart1.Legend.Visible:=false; Series1:=Chart1.AddSeries(TFastLineSeries.Create(self)) as TFastLineSeries; for i:=1 to 100 do begin x:=0.5*i; y:=power(x,i); Series1.AddXY(x,y); end; Chart1.Axes.Left.Logarithmic:=true; Chart1.Axes.Left.LabelsSeparation:=50; //això semblava un workaround en alguns casos, però aquí no fas res :-( // Chart1.Axes.Left.LogarithmicBase:=1E13; //workaround end; In NET it behaves different. If you try to draw the same values, the left axis labels are too long. So I do: tChart1.Axes.Left.Labels.ValueFormat = "00e-0"; And the result is quite different than in VCL. [created:2010-06-07T12:41:08.000+01:00 reported by:yeray@steema.com reported in version:9.0 (TeeChart VCL)]