/// <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(); }
/// <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(); Title = new ChartAxisTitle(); MajorTicks = new ChartAxisTicks(); MinorTicks = new ChartAxisTicks(); Crosshair = new ChartAxisCrosshair(); Notes = new ChartAxisNotes(); PlotBands = new List <ChartPlotBand>(); }
public ChartAxisTitleSerializer(ChartAxisTitle title) { this.title = title; }