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 466 - TBarSeries.MarksOnBar doesn't consider Marks.Angle
Summary: TBarSeries.MarksOnBar doesn't consider Marks.Angle
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: 131119
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-22 06:24 EST by narcís calvet
Modified: 2013-11-22 10:13 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 narcís calvet 2013-11-22 06:24:40 EST
Setting MarksOnBar to true and Marks.Angle:=90 in a TBarSeries, some marks are drawn overlapping the bottom axis. Below there's a simple code snippet reproducing this. For more details have a look at the forums thread in the URL field.

uses Series;

procedure TForm1.FormCreate(Sender: TObject);
var Series1 : TBarSeries;
begin

  Series1:=TBarSeries.Create(Self);
  Series1.FillSampleValues();
  Series1.MarksOnBar:=True;
  Series1.MarksLocation:=mlStart;
  Series1.Marks.Angle:=90;

  Chart1.AddSeries(Series1);
  Chart1.View3D:=False;
end;
Comment 1 david berneda 2013-11-22 10:13:38 EST
Fixed.
The code has also been improved to take into account when the Bar or HorizBar series axis is "Inverted".
Also when Marks are Transparent, the Marks.Margin values are applied.