バージョン

Axis プロパティ (UltraChart)

チャートの軸のすべての書式プロパティへのアクセスに使用できる Appearance オブジェクトを返します。
シンタックス
'宣言
 
Public Property Axis As ChartGridAppearance
public ChartGridAppearance Axis {get; set;}
解説
このオブジェクトを使用して、チャートのX軸、Y軸およびZ軸(使用可能な場合)にアクセスできます。
使用例
Set Various Properties of the Axis
'All axis are accessed using Chart.Axis.AxisLetter
     'Avaliable Axis Names
     'X,Y,X2,Y2,Z, example Chart.Axis.X

     'Color behind the plane in 3D charts
     UltraChart1.Axis.BackColor = Color.Beige
     'Determines the height/width of the axis
     UltraChart1.Axis.X.Extent = 75
     'Set the color of the respective Axis
     UltraChart1.Axis.Y.LineColor = Color.Red
     'set the line drawstyle for the axis line
     UltraChart1.Axis.Z.LineDrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.DashDot
     'set the endpoint style of the line
     UltraChart1.Axis.Z.LineEndCapStyle = Infragistics.UltraChart.Shared.Styles.LineCapStyle.ArrowAnchor
     'determines the base for the log function, example, Lgbase=10, produces 1,10,100,1000.  Logbase=2 produces 1,2,4,8
     UltraChart1.Axis.Y.LogBase = 10
     'set whether the axis is linear or a logarithmic scale
     UltraChart1.Axis.Y.NumericAxisType = Infragistics.UltraChart.Shared.Styles.NumericAxisType.Linear
     'sets the maximum value displayed on the axis
     UltraChart1.Axis.Y.RangeMax = 100
     'set the minimum value displayed on the axis
     UltraChart1.Axis.Y.RangeMin = 0
     'set whether to autoscale the axis based on values or to use custom set RangeMin/Mx
     UltraChart1.Axis.Z.RangeType = Infragistics.UltraChart.Shared.Styles.AxisRangeType.Custom


     'sets the style of the intervals, percentages or hardcoded numbers
     UltraChart1.Axis.Z.TickmarkStyle = Infragistics.UltraChart.Shared.Styles.AxisTickStyle.DataInterval

     'sets the interval of the tickmarks when using interval style
     UltraChart1.Axis.Z.TickmarkInterval = 5
     'sets the percentage value when using percentage tickmark style
     UltraChart1.Axis.Z.TickmarkPercentage = 10
     'determines whether the axis is visible or not
     UltraChart1.Axis.Z.Visible = True
// all axis are accessed using Chart.Axis.AxisLetter
       // avaliable Axis Names
       // x,Y,X2,Y2,Z, example Chart.Axis.X

       // color behind the plane in 3D charts
       UltraChart1.Axis.BackColor = Color.Beige;
       // determines the height/width of the axis
       UltraChart1.Axis.X.Extent = 75;
       // set the color of the respective Axis
       UltraChart1.Axis.Y.LineColor = Color.Red;
       // set the line drawstyle for the axis line
       UltraChart1.Axis.Z.LineDrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.DashDot;
       // set the endpoint style of the line
       UltraChart1.Axis.Z.LineEndCapStyle = Infragistics.UltraChart.Shared.Styles.LineCapStyle.ArrowAnchor;
       // determines the base for the log function, example, Lgbase=10, produces 1,10,100,1000.  Logbase=2 produces 1,2,4,8
       UltraChart1.Axis.Y.LogBase = 10;
       // set whether the axis is linear or a logarithmic scale
       UltraChart1.Axis.Y.NumericAxisType = Infragistics.UltraChart.Shared.Styles.NumericAxisType.Linear;
       // sets the maximum value displayed on the axis
       UltraChart1.Axis.Y.RangeMax = 100;
       // set the minimum value displayed on the axis
       UltraChart1.Axis.Y.RangeMin = 0;
       // set whether to autoscale the axis based on values or to use custom set RangeMin/Mx
       UltraChart1.Axis.Z.RangeType = Infragistics.UltraChart.Shared.Styles.AxisRangeType.Custom;


       // sets the style of the intervals, percentages or hardcoded numbers
       UltraChart1.Axis.Z.TickmarkStyle = Infragistics.UltraChart.Shared.Styles.AxisTickStyle.DataInterval;

       // sets the interval of the tickmarks when using interval style
       UltraChart1.Axis.Z.TickmarkInterval = 5;
       // sets the percentage value when using percentage tickmark style
       UltraChart1.Axis.Z.TickmarkPercentage = 10;
       // determines whether the axis is visible or not
       UltraChart1.Axis.Z.Visible = True;
参照