/// <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();
 }
Exemple #2
0
 private void Initialize()
 {
     Stacked     = false;
     Labels      = new ChartPointLabels();
     Markers     = new ChartMarkers();
     Line        = new ChartLine();
     Orientation = ChartSeriesOrientation.Horizontal;
 }
 /// <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 ChartLineSerializer(ChartLine line)
 {
     this.line = line;
 }
 public ChartLineSerializer(ChartLine line)
 {
     this.line = line;
 }