public DigitalGaugeChart(ChartView BaseChart)
        {
            digitalGauge   = new NumericGauge();
            this.BaseChart = BaseChart;
            digitalGauge.FillSampleValues();

            BaseChart.Chart.Header.Visible = false;

            BaseChart.Chart.Series.Add(digitalGauge);

            digitalGauge.GaugeColorPalette           = null;
            digitalGauge.Markers[0].UsePalette       = false;
            digitalGauge.Markers[1].Active           = false;
            digitalGauge.Markers[2].Active           = false;
            digitalGauge.FaceBrush.Gradient.Visible  = false;
            digitalGauge.FaceBrush.ForegroundColor   = Color.FromRgb(40, 40, 40);
            digitalGauge.FaceBrush.Color             = Color.FromRgb(40, 40, 40);
            digitalGauge.FaceBrush.Solid             = true;
            digitalGauge.FaceBrush.Visible           = true;
            digitalGauge.Markers[0].Active           = true;
            digitalGauge.Markers[0].UsePalette       = false;
            digitalGauge.Markers[0].Shape.Color      = Color.FromRgb(40, 40, 40);
            digitalGauge.Markers[0].Shape.Font.Color = Color.Red;
            digitalGauge.Markers[0].TextAlign        = TextAlignment.End;
            digitalGauge.Markers[0].Centered         = true;
            digitalGauge.TextMarker.Shape.Font.Color = Color.White;
            digitalGauge.FaceBrush.Visible           = false;
            digitalGauge.Markers[0].Shape.Font.Size  = 40;
            digitalGauge.Markers[0].Position         = AnnotationPositions.LeftTop;
        }
        public NumericGaugeChart(ChartView BaseChart)
        {
            numericGauge   = new NumericGauge();
            this.BaseChart = BaseChart;

            numericGauge.FillSampleValues();

            BaseChart.Chart.Series.Add(numericGauge);
            BaseChart.Chart.Header.Visible = false;

            numericGauge.GaugeColorPalette           = null;
            numericGauge.FaceBrush.Gradient.Visible  = false;
            numericGauge.FaceBrush.ForegroundColor   = Color.FromRgb(8, 81, 137);
            numericGauge.FaceBrush.Color             = Color.FromRgb(8, 81, 137);
            numericGauge.FaceBrush.Solid             = true;
            numericGauge.FaceBrush.Visible           = true;
            numericGauge.Markers[0].Active           = true;
            numericGauge.Markers[1].Active           = true;
            numericGauge.Markers[2].Active           = true;
            numericGauge.Markers[0].UsePalette       = false;
            numericGauge.Markers[1].UsePalette       = false;
            numericGauge.Markers[2].UsePalette       = false;
            numericGauge.Markers[0].Shape.Color      = Color.FromRgb(8, 81, 137);
            numericGauge.Markers[1].Shape.Color      = Color.FromRgb(8, 81, 137);
            numericGauge.Markers[2].Shape.Color      = Color.FromRgb(8, 81, 137);
            numericGauge.Markers[0].Shape.Font.Color = Color.White;
            numericGauge.Markers[1].Shape.Font.Color = Color.White;
            numericGauge.Markers[2].Shape.Font.Color = Color.White;
            numericGauge.Markers[0].TextAlign        = TextAlignment.End;
            numericGauge.Markers[1].TextAlign        = TextAlignment.Center;
            numericGauge.Markers[2].TextAlign        = TextAlignment.Center;
            numericGauge.TextMarker.Shape.Font.Color = Color.White;
        }