Chart3DControl 之SurfaceSeriesView问题

在做项目的时候会遇到需要画三维图,因为想要3维图,所以Series3D.View设置为SurfaceSeriesView,但是,在实际项目中,发现所得到的图跟实际的点相差很大,以下就是界面上添加的点。

            PointsDCollection.Add(new Point3D(1, 1, 1));
            PointsDCollection.Add(new Point3D(1, 1, 2));
            PointsDCollection.Add(new Point3D(1, 1, 3));
            PointsDCollection.Add(new Point3D(1, 1, 4));
            PointsDCollection.Add(new Point3D(1, 1, 5));
            PointsDCollection.Add(new Point3D(1, 1, 6));
            PointsDCollection.Add(new Point3D(1, 1, 7));
            PointsDCollection.Add(new Point3D(1, 1, 8));
            PointsDCollection.Add(new Point3D(1, 1, 9));
            PointsDCollection.Add(new Point3D(2, 1, 1));
            PointsDCollection.Add(new Point3D(2, 1, 2));
            PointsDCollection.Add(new Point3D(2, 1, 3));
            PointsDCollection.Add(new Point3D(2, 1, 4));
            PointsDCollection.Add(new Point3D(2, 1, 5));
            PointsDCollection.Add(new Point3D(2, 1, 6));
            PointsDCollection.Add(new Point3D(2, 1, 7));
            PointsDCollection.Add(new Point3D(2, 1, 8));
            PointsDCollection.Add(new Point3D(2, 1, 9));
            PointsDCollection.Add(new Point3D(3, 1, 1));
            PointsDCollection.Add(new Point3D(3, 1, 2));
            PointsDCollection.Add(new Point3D(3, 1, 3));
            PointsDCollection.Add(new Point3D(3, 1, 4));
            PointsDCollection.Add(new Point3D(3, 1, 5));
            PointsDCollection.Add(new Point3D(3, 1, 6));
            PointsDCollection.Add(new Point3D(3, 1, 7));
            PointsDCollection.Add(new Point3D(3, 1, 8));
            PointsDCollection.Add(new Point3D(3, 1, 9));
            PointsDCollection.Add(new Point3D(4, 2, 1));
            PointsDCollection.Add(new Point3D(4, 2, 2));
            PointsDCollection.Add(new Point3D(4, 2, 3));
            PointsDCollection.Add(new Point3D(4, 2, 4));
            PointsDCollection.Add(new Point3D(4, 2, 5));
            PointsDCollection.Add(new Point3D(4, 2, 6));
            PointsDCollection.Add(new Point3D(4, 2, 7));
            PointsDCollection.Add(new Point3D(4, 2, 8));
            PointsDCollection.Add(new Point3D(4, 2, 9));

可以看到X,Y轴的区间没有问题,但是轴正确的区间应该是0-9,而界面上只显示0-4.8,数据被后台进行了处理,具体原因还未知,欢迎大佬指点。

当Series3D.View设置为Point3DSeriesView等到的图如下

很明显,以上显示的数据正常。

查了官方文件都没有查到具体原因,如果有遇到相识问题的朋友,欢迎指导。

Demo链接:https://pan.baidu.com/s/19LUzAVCOOZo3VFUs5MzFeA 
提取码:2vlc 

 

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值