首页 > 代码库 > TeeChart的坐标轴

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,同时,坐标轴有了纵深

 

TeeChart的坐标轴