Esempio n. 1
0
 /// <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>();
 }
Esempio n. 2
0
 public ChartAxisNoteSerializer(ChartAxisNotes <T> note)
     : base(note)
 {
     this.note = note;
 }