C# 将滚动页面工具添加到TeeChart会缩小整个图表

C# 将滚动页面工具添加到TeeChart会缩小整个图表,c#,wpf,teechart,C#,Wpf,Teechart,我正在尝试向tchart添加一个滚动寻呼机,如示例代码中所示(但对于WPF),我得到了一个非常奇怪的结果 在我添加滚动寻呼机之前。 之后 如果您有任何想法,我们将不胜感激 我们可以重现该问题,因此我们将其添加到公共追踪器: 注意,我们正在进行修复。我们可以重现该问题,因此我们将其添加到公共跟踪器: 注意,我们正在进行修复。完整代码示例在这里:完整代码示例在这里:对不起,我不知道票是从哪里来的对不起,我不知道票是从哪里来的 Chart.Series.Clear(); Chart.Heade

我正在尝试向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;