![]() | 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: | Legend Inverted property paints bottom of sorted list rather than top | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | christopher ireland <chris> |
| Component: | Legend | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | --- | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
| Attachments: |
non-inverted legend
inverted legend corrected legend |
||
Created attachment 942 [details]
inverted legend
The issue here is that the non-inverted legends paints values from the top of the sorted list, whereas the inverted legends paints values from the bottom of the sorted list. If the inverted legend was also to paint values from the top of the sorted list, it would look like the attachment 'corrected legend' Created attachment 943 [details]
corrected legend
|
Created attachment 941 [details] non-inverted legend Non-inverted legend (see attachment) private void InitializeChart() { var line = new Line(_tChart.Chart); for (int i = 0; i < 100; i++) { line.Add(i); } //_tChart.Legend.Inverted = true; } Inverted legend (see attachment): private void InitializeChart() { var line = new Line(_tChart.Chart); for (int i = 0; i < 100; i++) { line.Add(i); } _tChart.Legend.Inverted = true; }