/// <summary>
 /// Initializes a new instance of the <see cref="ChartCategoryAxis{T}" /> class.
 /// </summary>
 /// <param name="chart">The chart.</param>
 public ChartCategoryAxis(Chart <T> chart)
     : base(chart)
 {
     MajorGridLines = new ChartLine();
     MinorGridLines = new ChartLine();
     Labels         = new ChartAxisLabels();
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChartAxisBase{T}" /> 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>();
     Title              = new ChartAxisTitle();
     AxisCrossingValues = new List <double>();
 }
 public ChartAxisLabelsBuilderTests()
 {
     labels = new ChartAxisLabels();
     builder = new ChartAxisLabelsBuilder(labels);
 }
 public ChartAxisLabelsSerializerTests()
 {
     labels = new ChartAxisLabels();
 }
 public ChartAxisLabelsSerializer(ChartAxisLabels axisLabels)
     : base(axisLabels)
 {
     this.axisLabels = axisLabels;
 }
 public ChartAxisLabelsSerializer(ChartAxisLabels axisLabels)
     : base(axisLabels)
 {
     this.axisLabels = axisLabels;
 }