TeeChart的坐标轴

TeeChart一共有六个坐标轴,一下是默认值


tChart1.Axes.Bottom.Visible = true;//横轴
tChart1.Axes.Left.Visible = true;//纵轴

tChart1.Axes.Right.Visible = true;
tChart1.Axes.Top.Visible = true;

tChart1.Axes.Depth.Visible = false;//底部纵深
tChart1.Axes.DepthTop.Visible = false;//顶部纵深

 

 

//Right和Top纯属酱油的,当前是没有使用的,无论是true还是false,看不出变化[可能需要另外绑定数据]

tChart1.Axes.Right.Visible = true;
tChart1.Axes.Top.Visible = true;

 

tChart1.Axes.Depth.Visible = true;//底部纵深
tChart1.Axes.DepthTop.Visible = true;//顶部纵深

//将底部纵深置为true之后,可以看到,横轴多了深度,多了虚线,右侧还有一个bar1

 

//再看一下,顶部纵深,会发现Y轴顶部有bar1,同时,坐标轴有了纵深

 

 

坐标轴的属性

Minimum :Sets Axis Minimum value. //最小值
Maximum :Sets Axis Maximum value. //最大值
Increment :Is the minimum step between axis labels. Can use DateTimeSteps for date-time axis.//步长[TeeChart不存在最小步长和最大步长一说]

 

 

坐标轴的网格属性

this.chart.Axes.Bottom.Grid.Visible = false;

一共有六个网格线,如果是三维立体的话,网格线构成的应该是一个个的小立方体

 

Steema.TeeChart.Axes.DrawBehind Property

//Draw axes behind or in front of Series.

public Boolean DrawBehind {get; set;}

此属性表示,坐标系是画在曲线上,还是画在曲线下

坐标系在曲线上的图片

坐标系在曲线下的图片

作者:Chuck Lu    GitHub    
posted @   ChuckLu  阅读(4713)  评论(1编辑  收藏  举报
编辑推荐:
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
点击右上角即可分享
微信分享提示