コード例 #1
0
ファイル: ChartAxisBase.cs プロジェクト: wanaxe/Study
 /// <summary>
 /// Initializes a new instance of the <see cref="ChartAxisBase{T, TValue}" /> class.
 /// </summary>
 /// <param name="chart">The chart.</param>
 public ChartAxisBase(Chart <T> chart)
 {
     Chart          = chart;
     MajorGridLines = new ChartLine();
     MinorGridLines = new ChartLine();
     Line           = new ChartLine();
     Labels         = new ChartAxisLabels();
     PlotBands      = new List <ChartPlotBand <TValue> >();
     Title          = new ChartAxisTitle();
     MajorTicks     = new ChartAxisTicks();
     MinorTicks     = new ChartAxisTicks();
     Crosshair      = new ChartAxisCrosshair();
     Notes          = new ChartAxisNotes <TValue>();
 }
コード例 #2
0
 public ChartAxisNoteSerializer(ChartAxisNotes <T> note)
     : base(note)
 {
     this.note = note;
 }