コード例 #1
0
 /// <summary>
 /// Set the display units on the axis. This is for value axis.
 /// </summary>
 /// <param name="BuiltInUnit">Built-in unit types.</param>
 /// <param name="ShowDisplayUnitsLabel">True to show the display units label on the chart. False otherwise.</param>
 public void SetDisplayUnits(C.BuiltInUnitValues BuiltInUnit, bool ShowDisplayUnitsLabel)
 {
     this.BuiltInUnitValues = BuiltInUnit;
     this.ShowDisplayUnitsLabel = ShowDisplayUnitsLabel;
 }
コード例 #2
0
 /// <summary>
 /// Set the major unit for date axes.
 /// </summary>
 /// <param name="MajorUnit">A positive value. Suggested range is 1 to 999999999 (both inclusive).</param>
 /// <param name="MajorTimeUnit">The time unit.</param>
 public void SetDateMajorUnit(int MajorUnit, C.TimeUnitValues MajorTimeUnit)
 {
     this.iMajorUnit = MajorUnit;
     this.vMajorTimeUnit = MajorTimeUnit;
 }
コード例 #3
0
 /// <summary>
 /// Set the minor unit for date axes.
 /// </summary>
 /// <param name="MinorUnit">A positive value. Suggested range is 1 to 999999999 (both inclusive).</param>
 /// <param name="MinorTimeUnit">The time unit.</param>
 public void SetDateMinorUnit(int MinorUnit, C.TimeUnitValues MinorTimeUnit)
 {
     this.iMinorUnit = MinorUnit;
     this.vMinorTimeUnit = MinorTimeUnit;
 }
コード例 #4
0
ファイル: SLChart.cs プロジェクト: rahmatsyaparudin/KP_Raport
 /// <summary>
 /// Show the chart legend.
 /// </summary>
 /// <param name="Position">Position of the legend. Default is Right.</param>
 /// <param name="Overlay">True if the legend overlaps the plot area. False otherwise.</param>
 public void ShowChartLegend(C.LegendPositionValues Position, bool Overlay)
 {
     this.ShowLegend = true;
     this.Legend.LegendPosition = Position;
     this.Legend.Overlay = Overlay;
 }