有个问题请教一下,当我使用 Line of the Point 样式并显示标记时,x 轴会有问题。在注释代码时(lineSeries5.Add(5, 1,"ghgh");), x轴正常显示为数字1,2.....,但是当我使用这段代码时(lineSeries5.Add(5, 1,"ghgh");),x轴变成'ghgh',不知道如何解决这个问题。我的目的是显示我想在标记中显示的内容,但不应更改 x 轴。期待您的帮助,非常感谢!
private Steema.TeeChart.WPF.Styles.Points lineSeries5;
this.lineSeries5 = new Steema.TeeChart.WPF.Styles.Points();
this.tChart1.Series.Add(this.lineSeries5);
lineSeries5.Marks.Visible = true;
lineSeries5.Marks.Transparent = true;
lineSeries5.Pointer.Style = Steema.TeeChart.WPF.Styles.PointerStyles.Nothing;
**lineSeries5.Add(5, 1,"ghgh");**
lineSeries5.Add(9, 3);