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

Summary: TBarSeries.MarksOnBar doesn't consider Marks.Angle
Product: VCL TeeChart Reporter: narcís calvet <narcis>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: enhancement CC: david
Priority: ---    
Version: 131119   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=1&t=14522&start=0
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

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.