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;}

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

坐标系在曲线上的图片

坐标系在曲线下的图片

posted @ 2014-09-03 15:11  ChuckLu  阅读(4629)  评论(1编辑  收藏  举报