![]() | 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: | MarksOnBar not correctly centred when using TBarSeries and MarksLocation is mlCenter | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | --- | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://www.teechart.net/support/viewtopic.php?f=3&t=15994#p71148 | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
| Attachments: | screenshot | ||
Created attachment 577 [details] screenshot Having a TBarSeries with MarksLocation as mlCenter, the mark is almost in the centre, but if you look it closely you'll see it is a few pixels displaced. You can see it if you have a bar smaller than the rest, so the bar bounds is similar to the mark bounds: uses Series; procedure TForm1.FormCreate(Sender: TObject); begin Chart1.View3D:=false; with Chart1.AddSeries(TBarSeries) as TBarSeries do begin FillSampleValues(); YValue[2]:=MaxYValue/10; MarksOnBar:=true; MarksLocation:=mlCenter; end; end;