![]() | 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: | [TV52012496] In circular gauges, naming of Geenline and Redline It may be better t... | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | narcís calvet <narcis> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | david, routeur01 |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
|
Description
narcís calvet
2013-11-20 09:59:52 EST
One way to implement this could be adding a new "Lines" property of type "TGaugeRangeCollection". Then, the current GreenLine property will be an alias to Lines[0] (the first range), and RedLine will be an alias to Lines[Lines.Count-1] (the last range). This will enable adding multiple extra line ranges with specific start and end limits, and customize their formatting properties, for example: var yellow : TGaugeSeriesPointer; yellow :=Gauge1.Lines.Add( 30,70 ); // from 30% to 70% yellow.Color := clYellow; This already exists in .NET:
public ColorLineCollection ColorLines
{
get { return colorLines; }
set { colorLines = value; }
}
Fixed. Added new Ranges collection property. Existing GreenLine corresponds to Ranges[0], and RedLine to Ranges[1]. |