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();
 }
Esempio n. 2
0
 public ChartAxisCrosshairSerializer(ChartAxisCrosshair crosshair)
     : base(crosshair)
 {
     this.crosshair = crosshair;
 }