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;}
此屬性表示,坐標系是畫在曲線上,還是畫在曲線下
坐標系在曲線上的圖片
坐標系在曲線下的圖片