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

此屬性表示,坐標系是畫在曲線上,還是畫在曲線下

坐標系在曲線上的圖片

坐標系在曲線下的圖片


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM