Example #1
0
 private void Initialize()
 {
     Border     = new ChartElementBorder();
     Line       = new ChartLine();
     Type       = "ohlc";
     Aggregates = new ChartOHLCAggregates();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GaugeScaleBase" /> class.
 /// </summary>
 public GaugeScaleBase()
 {
     Ranges = new List<GaugeScaleRanges>();
     MajorTicks = new GaugeScaleTicks();
     MinorTicks = new GaugeScaleTicks();
     Line = new ChartLine();
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GaugeScaleBase" /> class.
 /// </summary>
 public GaugeScaleBase()
 {
     Ranges     = new List <GaugeScaleRanges>();
     MajorTicks = new GaugeScaleTicks();
     MinorTicks = new GaugeScaleTicks();
     Line       = new ChartLine();
 }
Example #4
0
 private void Initialize()
 {
     Stacked     = false;
     Labels      = new ChartPointLabels();
     Markers     = new ChartMarkers();
     Line        = new ChartLine();
     Orientation = ChartSeriesOrientation.Horizontal;
 }
Example #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChartNumericAxis{T}" /> class.
 /// </summary>
 /// <param name="chart">The chart.</param>
 public ChartNumericAxis(Chart <T> chart)
     : base(chart)
 {
     AxisCrossingValues = new List <double>();
     MajorGridLines     = new ChartLine();
     MinorGridLines     = new ChartLine();
     Labels             = new ChartAxisLabels();
 }
Example #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChartNumericAxis{T}" /> class.
 /// </summary>
 /// <param name="chart">The chart.</param>
 public ChartDateAxis(Chart <T> chart)
     : base(chart)
 {
     AxisCrossingValues = new List <DateTime>();
     MajorGridLines     = new ChartLine();
     MinorGridLines     = new ChartLine();
     Labels             = new ChartAxisLabels();
 }
Example #7
0
 /// <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)
 {
     Labels             = new ChartAxisLabels();
     MajorGridLines     = new ChartLine();
     MinorGridLines     = new ChartLine();
     AxisCrossingValues = new List <double>();
     AutoBaseUnitSteps  = new ChartAxisBaseUnitSteps();
     Select             = new ChartAxisSelection();
 }
Example #8
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>();
 }