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 1974 - Legend rectangle bounds to consider the longest text for each column
Summary: Legend rectangle bounds to consider the longest text for each column
Status: CONFIRMED
Alias: None
Product: HTML5 JavaScript TeeChart
Classification: Unclassified
Component: Legend (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-23 05:31 EST by yeray alonso
Modified: 2018-01-23 05:31 EST (History)
0 users

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 yeray alonso 2018-01-23 05:31:13 EST
When you have the legend aligned to the bottom (or top) and one of the texts is longer than the rest (ie when one of the series has a long title) the legend looks weird.

It can be seen in this example:

https://jsfiddle.net/Norike/903u1beo/

The problem is the long string is taken as the width for all the columns, incorrectly assuming all the columns in the legend have the same width.