![]() | 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: | Multiple Legends demo doesn't work well from v2014.10 | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Legend | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | boris.seve |
| Priority: | --- | ||
| Version: | 140220 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://www.teechart.net/support/viewtopic.php?p=65915#p65915 | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
|
Description
yeray alonso
2014-04-30 06:15:59 EDT
Can be fixed making TCustomChartLegend.CalcRect public and calling it in the AfterDraw event in the demo, after assigning Series2 and before DrawLegend:
if CheckBox1.Checked then
With Chart1.Legend do
begin
Top:=125;
Series:=Series2;
CalcRect;
DrawLegend;
CustomPosition:=False;
Series:=Series1;
end;
|