我LineSeries
使用series.Points.AddRange
.
然后将该系列添加到PlotModel
.
当我这样做时plotModel.Series(0).
,没有Points
可以从中选择点的属性。我该怎么做呢?
事实证明,该Series
属性是一个泛型系列,它没有Points
(这是有道理的,因为其他类型的系列可能没有)的概念。
要Points
退出,您需要将 转换Series
为 a LineSeries
:
CType(PlotModel.Series(0), LineSeries).Points
((LineSeries)PlotModel.Series(0)).Points
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句