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 54

Summary: Text in DataTable overlapping
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: ToolsAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: enhancement CC: david
Priority: High    
Version: 131016   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: project to reproduce the situation

Description yeray alonso 2013-10-25 11:33:42 EDT
Created attachment 7 [details]
project to reproduce the situation

In some circumstances the texts in the TDataTable overlap each other.

Seen here:
http://www.teechart.net/support/viewtopic.php?f=3&t=14424
Comment 1 david berneda 2013-10-31 05:04:08 EDT
This must be improved, and there are two solutions at least:

1) Automatically resize the cell's text font size to fix the cell width.
This will draw very small texts when pixel space is very small.

2) Discard cells automatically.
Do not display all cells, only the ones that can fit.
The problem here is to calculate the exact cell positions / width (spanning more than one cell).

btw: Cells in the attachment are centered-aligned (they should be right-aligned as contents is numeric).  This should be fixed too.