![]() | 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: | ColorLine draw out of bound Chart when AllowDrag is false | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | sandra pazos <sandra> |
| Component: | Tools | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | david |
| Priority: | --- | ||
| Version: | 131119 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
The TeeChartFor.Net bug number is [id447] Fixed. When AllowDrag is True, scrolling outside the chart will force the color line position to be inside, so it will be always visible. When AllowDrag is False, the color line will not be painted if its outside the axis Min to Max range. |
When you there is a ColorLine tool in a Chart with AllowDrag property to false, if you scroll the Chart the ColorLine is drawn out of bounds of Chart. TForm1 = class(TForm) Chart1: TChart; Series1: TFastLineSeries; ChartTool1: TColorLineTool; procedure FormCreate(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; implementation {$R *.dfm} procedure TForm1.FormCreate(Sender: TObject); begin Series1.FillSampleValues(100); ChartTool1.Axis := Chart1.Axes.Left; ChartTool1.Value := Series1.YValue[3]; ChartTool1.AllowDrag := False; ChartTool1.NoLimitDrag := False; end; The same problem occurs in TeeChartFor.Net.