![]() | 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: | Text Size in TMapSeries's Marks, in GDI | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | ||
| Priority: | High | ||
| Version: | 140512 | ||
| Target Milestone: | v2016.19 | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://www.teechart.net/support/viewtopic.php?f=3&t=15008&p=66551#p66551 | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
Put a TChart and a TeeCommander on a form and the code below. From v2014.11, the text looks a bit bigger in GDI and not correctly matching the shape rectangle. Also, if you open the editor and move the slice for the Mark Font Size, you'll see it is completely buggy: You set a bigger size and the font looks smaller, and the mark shape doesn't fit the text at all. uses TeeMapSeries, TeCanvas; procedure TForm1.FormCreate(Sender: TObject); begin Chart1.Canvas:=TTeeCanvas3D.Create; Chart1.View3D:=false; Chart1.Legend.Visible:=false; with Chart1.AddSeries(TMapSeries) as TMapSeries do begin Marks.Visible:=true; with Shapes.Add() do begin Text := 'line 1'+sLineBreak+'line 2'+sLineBreak+'line 3'; Points.AddArray([0, 0, 1, 1], [0, 1, 1, 0]); end; end; end;