![]() | 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: | TChartScrollBar with THorizBarSeries doesn't allow dragging to the minimum | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Other Components | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | CONFIRMED --- | ||
| Severity: | enhancement | CC: | anthony.moyer |
| Priority: | --- | ||
| Version: | 20.170306 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://www.teechart.net/support/viewtopic.php?f=3&t=16347 | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
Using the following code, if you drag the TChartScrollBar to the bottom, the left axis scrolls to show the bar at pos 5, but there more values below. uses Chart, TeeScroB, Series; var Chart1: TChart; ScrollBar1: TChartScrollBar; horizBar1: THorizBarSeries; procedure TForm1.FormCreate(Sender: TObject); begin Chart1 := TChart.Create(Self); Chart1.Parent := Self; Chart1.Align := alClient; horizBar1:=Chart1.AddSeries(THorizBarSeries) as THorizBarSeries; horizBar1.FillSampleValues(20); horizBar1.AutoBarSize:=True; Chart1.Axes.Left.SetMinMax(0, 5); ScrollBar1 := TChartScrollBar.Create(Self); ScrollBar1.Parent := Self; ScrollBar1.Align := alRight; ScrollBar1.Kind := sbVertical; ScrollBar1.Width := 17; ScrollBar1.Min := 0; ScrollBar1.Max := 100; ScrollBar1.Chart := Chart1; ScrollBar1.RecalcPosition(); end;