전체 차트를 축소하고 나는를 추가하기 전에 나는 아주 이상한 결과내가 예제 코드에서 같은 TChart입니다에 스크롤 호출기를 추가하려고 (하지만 WPF에 대한)하고
Chart.Series.Clear();
Chart.Header.Text = "Plot";
Chart.Axes.Automatic = true;
Chart.Legend.TopLeftPos = 0;
Chart.Axes.Bottom.Labels.DateTimeFormat = "HH:mm:ss";
Chart.Axes.Bottom.Labels.LabelsAsLocalTime = true;
Chart.Legend.LegendStyle = Steema.TeeChart.WPF.LegendStyles.Series;
FastLine series = new FastLine();
Chart.Series.Add(series);
series.FillSampleValues(1000);
Chart.Tools.Add(_scrollPager = new ScrollPager());
Chart.Tools.Add(_nearestPoint = new NearestPoint());
Chart.Tools.Add(_annotate = new Annotation());
_scrollPager.Series = series;
_nearestPoint.Series = series;
_nearestPoint.Brush.Color = _scrollPager.PointerHighlightColor;
_nearestPoint.DrawLine = false;
_nearestPoint.Size = 6;
_nearestPoint.Direction = NearestPointDirection.Horizontal;
_annotate.Position = AnnotationPositions.RightTop;
_annotate.Text = "YValue:";
_annotate.Shape.Shadow.Visible = false;
_annotate.Shape.Font.Color = Chart.Header.Font.Color;
_annotate.Shape.Color = _scrollPager.PointerHighlightColor;
_annotate.Shape.Pen.Visible = false;
_annotate.TextAlign = TextAlignment.Center;
후 모든 아이디어는 기꺼이받을 것입니다! 우리는 공공 추적기에 추가 있도록
전체 코드 샘플은 다음 위치에 있습니다. https://www.dropbox.com/s/voghqgxfbo5hup4/ScrollPagerTest.zip?dl=0 – SlimCheney