回复 11楼撸码的帖子
你好。
很抱歉没有理解你的意思。
如果你是指绘制点并且使用Connected为true连接点的话,可以使用Chart3DPointSeries创建点,并设置Connected为true,即可将一条序列的点连接。
代码参考
- C1.Win.C1Chart3D.Chart3DPointSeries series = new C1.Win.C1Chart3D.Chart3DPointSeries();
- series.Connected = true;
- C1.Win.C1Chart3D.Chart3DPoint p1 = new C1.Win.C1Chart3D.Chart3DPoint(0, 0, 0.2);
- C1.Win.C1Chart3D.Chart3DPoint p2 = new C1.Win.C1Chart3D.Chart3DPoint(0, 0.4, 1);
- C1.Win.C1Chart3D.Chart3DPoint p3 = new C1.Win.C1Chart3D.Chart3DPoint(0, 1, 0);
- series.Points = new C1.Win.C1Chart3D.Chart3DPoint[] {p1,p2,p3 };
- C1.Win.C1Chart3D.Chart3DDataSetPoint ds = new C1.Win.C1Chart3D.Chart3DDataSetPoint();
- ds.SeriesCollection.Add(series);
- c1Chart3D1.ChartGroups[0].ChartData.Set = ds;
- c1Chart3D1.ChartGroups[0].ChartType = C1.Win.C1Chart3D.Chart3DTypeEnum.Scatter;
- this.c1Chart3D1.ChartGroups[0].ChartData.Layout = C1.Win.C1Chart3D.DataLayoutEnum.PointData;
复制代码 |