Пример #1
0
 private void AxisSettings(Steema.TeeChart.Chart chart)
 {
     chart.Axes.Bottom.AxisPen.Width         = 3;
     chart.Axes.Bottom.AxisPen.Visible       = true;
     chart.Axes.Bottom.AxisPen.Color         = Color.FromRgb(100, 100, 100);
     chart.Axes.Left.AxisPen.Color           = Color.FromRgb(100, 100, 100);
     chart.Axes.Bottom.Labels.Font.Color     = Color.FromRgb(100, 100, 100);
     chart.Axes.Left.Labels.Font.Color       = Color.FromRgb(100, 100, 100);
     chart.Axes.Bottom.Grid.Visible          = false;
     chart.Axes.Bottom.MinimumOffset         = 60;
     chart.Axes.Bottom.MaximumOffset         = 80;
     chart.Axes.Left.MinimumOffset           = 50;
     chart.Axes.Left.MaximumOffset           = 50;
     chart.Axes.Bottom.Ticks.Visible         = false;
     chart.Axes.Bottom.Ticks.Length          = 5;
     chart.Axes.Left.Labels.Font.Size        = 12;
     chart.Axes.Bottom.Labels.Font.Size      = 11;
     chart.Axes.Bottom.Ticks.Length          = 12;
     chart.Axes.Left.Increment               = chart.Axes.Left.Maximum / 5;
     chart.Axes.Left.MinorTicks.Visible      = true;
     chart.Axes.Left.MinorTicks.Width        = 1;
     chart.Axes.Left.MinorTicks.Length       = 12;
     chart.Axes.Left.MinorTicks.Transparency = 100;
     chart.Axes.Left.Grid.Color              = Color.FromRgb(170, 170, 170);
     chart.Axes.Bottom.Labels.AutoSize       = false;
     chart.Axes.Bottom.Labels.CustomSize     = 35;
 }
Пример #2
0
 private void TitleSettings(Steema.TeeChart.Chart chart)
 {
     chart.Header.Font.Color            = Color.Black;
     chart.Header.Font.Size             = 18;
     chart.Axes.Left.Title.Font.Color   = Color.FromRgb(80, 80, 80);
     chart.Axes.Left.Title.Font.Size    = 14;
     chart.Axes.Bottom.Title.Font.Color = Color.FromRgb(80, 80, 80);
     chart.Axes.Left.Title.Font.Size    = 14;
     if (chart.Title.Text.Length > 34)
     {
         chart.Title.Font.Size = 12;
     }
     else if (chart.Title.Text.Length > 26)
     {
         chart.Title.Font.Size = 14;
     }
     else
     {
         chart.Title.Font.Size = 18;
     }
 }
        public ScrollerChart()
        {
            this.tChart1     = new Steema.TeeChart.Chart();
            this.line1       = new Steema.TeeChart.Styles.Line();
            this.annotation1 = new Steema.TeeChart.Tools.Annotation();
            this.annotation2 = new Steema.TeeChart.Tools.Annotation();
            //this.marksTip1 = new Steema.TeeChart.Tools.MarksTip();
            //this.scrollPager1 = new Steema.TeeChart.Tools.ScrollPager();
            // tChart1
            this.tChart1.Aspect.ColorPaletteIndex          = 21;
            this.tChart1.Aspect.View3D                     = false;
            this.tChart1.Axes.Bottom.Automatic             = false;
            this.tChart1.Axes.Bottom.AutomaticMaximum      = false;
            this.tChart1.Axes.Bottom.AutomaticMinimum      = false;
            this.tChart1.Axes.Bottom.AxisPen.Color         = Color.Gray;
            this.tChart1.Axes.Bottom.AxisPen.Width         = 1;
            this.tChart1.Axes.Bottom.Grid.Visible          = false;
            this.tChart1.Axes.Bottom.Labels.DateTimeFormat = "HH:mm";
            this.tChart1.Axes.Bottom.Maximum               = 0D;
            this.tChart1.Axes.Bottom.Minimum               = 0D;
            this.tChart1.Axes.Bottom.MinorTicks.Visible    = false;
            this.tChart1.Axes.Bottom.Title.Caption         = "Bottom Axis";
            this.tChart1.Axes.Bottom.Title.Lines           = new string[] { "Bottom Axis" };
            this.tChart1.Axes.Bottom.Title.Visible         = false;
            this.tChart1.Axes.Left.Automatic               = false;
            this.tChart1.Axes.Left.AutomaticMaximum        = false;
            this.tChart1.Axes.Left.AutomaticMinimum        = false;
            this.tChart1.Axes.Left.AxisPen.Color           = Color.Gray;
            this.tChart1.Axes.Left.AxisPen.Width           = 1;
            this.tChart1.Axes.Left.Labels.Separation       = 100;
            this.tChart1.Axes.Left.Maximum                 = 1.41D;
            this.tChart1.Axes.Left.Minimum                 = 1.2D;
            this.tChart1.Axes.Left.MinorTicks.Visible      = false;
            this.tChart1.Axes.Left.Title.Caption           = "$ 000s";
            this.tChart1.Axes.Left.Title.Lines             = new string[] { "$ 000s" };
            this.tChart1.Axes.Left.Title.Visible           = false;
            this.tChart1.Footer.Font.Brush.Color           = Color.Blue;
            this.tChart1.Header.Font.Brush.Color           = Color.Gray;
            this.tChart1.Header.Font.Size                  = 16;
            this.tChart1.Header.Lines                  = new string[] { "Sales figures" };
            this.tChart1.Header.Visible                = false;
            this.tChart1.Legend.Visible                = false;
            this.tChart1.Panel.Brush.Color             = Color.White;
            this.tChart1.Panel.Brush.Gradient.EndColor = Color.White;
            this.tChart1.Panel.Brush.Gradient.Visible  = false;
            this.tChart1.Panel.MarginTop               = 12D;
            this.tChart1.Panning.Allow                 = Steema.TeeChart.ScrollModes.Horizontal;
            this.tChart1.Series.Add(this.line1);
            this.tChart1.Tools.Add(this.annotation1);
            this.tChart1.Tools.Add(this.annotation2);
            //this.tChart1.Tools.Add(this.marksTip1);
            //this.tChart1.Tools.Add(this.scrollPager1);
            this.tChart1.Walls.Back.Brush.Gradient.EndColor = Color.White;
            this.tChart1.Walls.Back.Visible = false;
            this.tChart1.Zoom.Direction     = Steema.TeeChart.ZoomDirections.None;
            this.tChart1.AfterDraw         += tChart1_AfterDraw;
            // line1
            this.line1.Brush.Color        = Color.FromRgb(((int)(((byte)(220)))), ((int)(((byte)(92)))), ((int)(((byte)(5)))));
            this.line1.Color              = Color.FromRgb(((int)(((byte)(220)))), ((int)(((byte)(92)))), ((int)(((byte)(5)))));
            this.line1.ColorEach          = false;
            this.line1.LinePen.Color      = Color.FromRgb(((int)(((byte)(132)))), ((int)(((byte)(55)))), ((int)(((byte)(3)))));
            this.line1.LinePen.Width      = 2;
            this.line1.Pointer.SizeDouble = 0D;
            this.line1.Pointer.SizeUnits  = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.line1.Title              = "USD to Euro";
            this.line1.XValues.DateTime   = true;
            this.line1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            // annotation1
            this.annotation1.AutoSize                   = true;
            this.annotation1.Callout.ArrowHead          = Steema.TeeChart.Styles.ArrowHeadStyles.None;
            this.annotation1.Callout.ArrowHeadDirection = Steema.TeeChart.Styles.ArrowHeadDirection.FromPoint;
            this.annotation1.Callout.ArrowHeadSize      = 8;
            this.annotation1.Callout.Brush.Color        = Color.Black;
            this.annotation1.Callout.Distance           = 0;
            this.annotation1.Callout.Draw3D             = false;
            this.annotation1.Callout.SizeDouble         = 0D;
            this.annotation1.Callout.SizeUnits          = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.annotation1.Callout.XPosition          = 0;
            this.annotation1.Callout.YPosition          = 0;
            this.annotation1.Callout.ZPosition          = 0;
            this.annotation1.Left                 = 61;
            this.annotation1.Shape.Bottom         = 45;
            this.annotation1.Shape.CustomPosition = true;
            this.annotation1.Shape.Font.Size      = 18;
            this.annotation1.Shape.Left           = 61;
            this.annotation1.Shape.Right          = 408;
            this.annotation1.Shape.Top            = 8;
            this.annotation1.Shape.Transparent    = true;
            this.annotation1.Text                 = "US Dollar against the Euro";
            this.annotation1.Top = 8;
            // annotation2
            this.annotation2.AutoSize                   = true;
            this.annotation2.Callout.ArrowHead          = Steema.TeeChart.Styles.ArrowHeadStyles.None;
            this.annotation2.Callout.ArrowHeadDirection = Steema.TeeChart.Styles.ArrowHeadDirection.FromPoint;
            this.annotation2.Callout.ArrowHeadSize      = 8;
            this.annotation2.Callout.Brush.Color        = Color.Black;
            this.annotation2.Callout.Distance           = 0;
            this.annotation2.Callout.Draw3D             = false;
            this.annotation2.Callout.SizeDouble         = 0D;
            this.annotation2.Callout.SizeUnits          = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.annotation2.Callout.XPosition          = 0;
            this.annotation2.Callout.YPosition          = 0;
            this.annotation2.Callout.ZPosition          = 0;
            this.annotation2.Left                 = 56;
            this.annotation2.Shape.Bottom         = 62;
            this.annotation2.Shape.CustomPosition = true;
            this.annotation2.Shape.Left           = 56;
            this.annotation2.Shape.Right          = 308;
            this.annotation2.Shape.Top            = 43;
            this.annotation2.Shape.Transparent    = true;
            this.annotation2.Shape.Font.Color     = Color.FromRgb(0, 51, 102);
            this.annotation2.Text                 = "  2012 - 2013 Source: Steema Software SL";
            this.annotation2.Top = 43;
            // scrollPager1
            //this.scrollPager1.DivisionRatio = 8D;

            //this.SizeChanged += new System.EventHandler(this.Tools_ScrollPager_SizeChanged);

            tChart1.Panel.Gradient.Visible = false;
            tChart1.Panel.MarginTop        = 12;

            double[] vals = { 1.234, 1.233, 1.235, 1.241, 1.241, 1.244, 1.239, 1.220, 1.222, 1.224, 1.228, 1.242, 1.241, 1.239, 1.244, 1.238, 1.233, 1.250, 1.253,
                              1.250, 1.249, 1.240, 1.241, 1.248, 1.240, 1.247, 1.246, 1.247, 1.257, 1.268, 1.265, 1.263, 1.262, 1.268, 1.267, 1.264, 1.271, 1.274,
                              1.265, 1.275, 1.279, 1.285, 1.292, 1.301, 1.304, 1.317, 1.325, 1.323, 1.321, 1.309, 1.312, 1.308, 1.303, 1.300, 1.301, 1.306, 1.298,
                              1.302, 1.301, 1.306, 1.314, 1.312, 1.308, 1.300, 1.300, 1.305, 1.312, 1.330, 1.321, 1.319, 1.317, 1.316, 1.312, 1.313, 1.307, 1.306,
                              1.309, 1.302, 1.297, 1.290, 1.300, 1.290, 1.289, 1.284, 1.282, 1.286, 1.288, 1.289, 1.290, 1.292, 1.290, 1.297, 1.304, 1.310, 1.311,
                              1.306, 1.308, 1.315, 1.316, 1.321, 1.325, 1.306, 1.302, 1.308, 1.314, 1.323, 1.324, 1.330, 1.330, 1.338, 1.335, 1.334, 1.335, 1.341,
                              1.338, 1.333, 1.342, 1.328, 1.316, 1.316, 1.324, 1.321, 1.320, 1.340, 1.351, 1.348, 1.342, 1.342, 1.352, 1.345, 1.350, 1.345, 1.347,
                              1.355, 1.358, 1.357, 1.365, 1.369, 1.376, 1.377, 1.362, 1.367, 1.366, 1.354, 1.350, 1.351, 1.360, 1.353, 1.351, 1.348, 1.348, 1.356,
                              1.341, 1.337, 1.335, 1.318, 1.322, 1.328, 1.322, 1.314, 1.317, 1.319, 1.313, 1.322, 1.314, 1.315, 1.319, 1.310, 1.317, 1.304, 1.308,
                              1.303, 1.307, 1.304, 1.320, 1.303, 1.295, 1.293, 1.298, 1.293, 1.296, 1.305, 1.311, 1.316, 1.321, 1.320, 1.323, 1.321, 1.318, 1.331,
                              1.319, 1.321, 1.319, 1.318, 1.314, 1.317, 1.316, 1.320, 1.320, 1.329, 1.323, 1.324, 1.321, 1.325, 1.329, 1.317, 1.312, 1.314, 1.303,
                              1.300, 1.300, 1.298, 1.302, 1.304, 1.297, 1.307, 1.307, 1.305, 1.299, 1.309, 1.318, 1.316, 1.319, 1.323, 1.323, 1.338, 1.334, 1.341,
                              1.344, 1.351, 1.347, 1.347, 1.347, 1.353, 1.337, 1.338, 1.327, 1.321, 1.315, 1.319, 1.319, 1.319, 1.310, 1.313, 1.303, 1.296, 1.302,
                              1.293, 1.320, 1.321, 1.321, 1.321, 1.327, 1.323, 1.327, 1.328, 1.332, 1.330, 1.341, 1.340, 1.340, 1.338, 1.341, 1.335, 1.341, 1.355,
                              1.360, 1.363, 1.350, 1.345, 1.344, 1.339, 1.346, 1.346, 1.346, 1.353, 1.347, 1.347, 1.350, 1.350, 1.350, 1.339, 1.336, 1.351, 1.346,
                              1.346, 1.330, 1.325, 1.382, 1.338, 1.343, 1.340, 1.352, 1.350, 1.351, 1.367, 1.367, 1.368, 1.364, 1.361 };

            long[] dates = { 13420512, 13421376, 13423968, 13424832, 13425696, 13426560, 13427424, 13428288, 13430016, 13430880,
                             13432608, 13433472, 13436064, 13436928, 13437792, 13438656, 13439520, 13442112, 13442976, 13443840,
                             13444704, 13445568, 13448160, 13449024, 13450752, 13451616, 13454208, 13455072, 13455936, 13456800,
                             13457664, 13460256, 13461120, 13461984, 13462848, 13463712, 13466304, 13467168, 13468032, 13468896,
                             13469760, 13470624, 13472352, 13474080, 13474944, 13475808, 13478400, 13479264, 13480128, 13480992,
                             13481856, 13484448, 13485312, 13486176, 13487040, 13487904, 13490496, 13491360, 13492224, 13493088,
                             13493952, 13496544, 13497408, 13498272, 13499136, 13502592, 13503456, 13504320, 13505184, 13506048,
                             13508640, 13509504, 13510368, 13511232, 13512096, 13515552, 13516416, 13518144, 13520736, 13521600,
                             13522464, 13523328, 13524192, 13526784, 13527648, 13528512, 13529376, 13530240, 13532832, 13533696,
                             13534560, 13535424, 13536288, 13538880, 13539744, 13540608, 13541472, 13542336, 13544928, 13545792,
                             13546656, 13548384, 13550976, 13551840, 13552704, 13553568, 13554432, 13557024, 13557888, 13558752,
                             13559616, 13560480, 13563072, 13565664, 13566528, 13569120, 13570848, 13571712, 13572576, 13575168,
                             13576032, 13576896, 13577760, 13578624, 13581216, 13582080, 13582944, 13583808, 13584672, 13587264,
                             13588128, 13588992, 13589856, 13590720, 13593312, 13594176, 13595040, 13595904, 13596768, 13599360,
                             13600224, 13601088, 13601952, 13602816, 13605408, 13606272, 13607136, 13608000, 13608864, 13611456,
                             13612320, 13613184, 13614048, 13614912, 13617504, 13618368, 13619232, 13620096, 13620960, 13623552,
                             13624416, 13625280, 13626144, 13627008, 13629600, 13630464, 13631328, 13632192, 13633056, 13635648,
                             13636512, 13637376, 13638240, 13639104, 13641696, 13642560, 13643424, 13644288, 13648608, 13649472,
                             13650336, 13651200, 13653792, 13654656, 13655520, 13656384, 13657248, 13659840, 13660704, 13661568,
                             13662432, 13663296, 13665888, 13666752, 13667616, 13668480, 13669344, 13671936, 13672800, 13674528,
                             13675392, 13677984, 13678848, 13679712, 13680576, 13681440, 13684032, 13684896, 13685760, 13686624,
                             13687488, 13690080, 13690944, 13691808, 13692672, 13693536, 13696128, 13696992, 13697856, 13698720,
                             13699584, 13702176, 13703040, 13703904, 13704768, 13705632, 13708224, 13709088, 13709952, 13710816,
                             13711680, 13714272, 13715136, 13716000, 13716864, 13717728, 13721184, 13722048, 13722912, 13723776,
                             13726368, 13727232, 13728096, 13728960, 13729824, 13732416, 13733280, 13734144, 13735008, 13735872,
                             13738464, 13739328, 13740192, 13741056, 13741920, 13744512, 13745376, 13746240, 13747968, 13750560,
                             13751424, 13752288, 13753152, 13754016, 13756608, 13757472, 13758336, 13759200, 13760064, 13762656,
                             13763520, 13764384, 13766112, 13768704, 13769568, 13770432, 13771296, 13772160, 13774752, 13775616,
                             13776480, 13777344, 13778208, 13780800, 13781664, 13782528, 13783392, 13784256, 13786848, 13787712,
                             13789440, 13790304, 13792896, 13793760, 13794624, 13795488, 13796352, 13798944, 13799808, 13800672 };


            tChart1[0].Title = "USD to Euro";
            tChart1[0].Add(vals);

            double[] avgDates = new double[tChart1.Series[0].Count];

            for (int t = 0; t < tChart1.Series[0].Count; t++)
            {
                System.DateTime dtDateTime = new DateTime(1970, 1, 1, 0, 0, 0, 0, System.DateTimeKind.Utc);
                dtDateTime = dtDateTime.AddSeconds(dates[t] * 100).ToLocalTime();

                double tmpVal = dtDateTime.Millisecond;    // dtDateTime.ToFileTimeUtc();
                avgDates[t] = tmpVal;
                tChart1.Series[0].XValues.Value[t] = avgDates[t];
            }

            //config some series appearance characteristics
            //for (int i = 0; i < 1; i++)
            //{
            //tChart1.Series(i).asLine.Pointer.Visible = true;
            //tChart1.Series(i).asLine.Pointer.HorizontalSize = 4;
            //tChart1.Series(i).asLine.Pointer.VerticalSize = 4;
            //tChart1.Series(i).asLine.Pointer.Style = TeeChart.EPointerStyle.psCircle;
            //tChart1.Series(i).asLine.Pointer.Pen.Width = 2;
            //tChart1.Series(i).asLine.Pointer.Shadow.Visible=false;
            //line1.LinePen.Width = 2;
            //}

            //Axes
            tChart1.Axes.Left.Title.Caption            = "$ 000s";
            tChart1.Axes.Left.Labels.RoundFirstLabel   = true;
            tChart1.Axes.Left.Title.Visible            = false;
            tChart1.Axes.Bottom.Labels.RoundFirstLabel = true;
            tChart1.Axes.Bottom.Title.Caption          = "Bottom Axis";
            tChart1.Axes.Bottom.Title.Font.Size        = 20;
            tChart1.Axes.Bottom.Title.Visible          = false;
            tChart1.Axes.Bottom.Labels.DateTimeFormat  = "dd/MM/yy";
            tChart1.Axes.Left.SetMinMax(1.2, 1.41);
            tChart1.Axes.Left.Grid.Width      = 1;
            tChart1.Axes.Bottom.AxisPen.Width = 1;
            tChart1.Axes.Bottom.SetMinMax(tChart1[0].XValues.Value[50], tChart1[0].XValues.Value[250]);
            tChart1.Axes.Bottom.Grid.Visible    = false;
            tChart1.Series[0].XValues.DateTime  = true;
            tChart1.Axes.Left.Labels.Separation = 100;

            //Title
            tChart1.Header.Visible = false;

            //Legend
            tChart1.Legend.Visible = false;

            tChart1.Axes.Left.StartPosition = 10;

            /*// annotation (alternative title) //
             * Steema.TeeChart.Tools.Annotation ann1 = new Steema.TeeChart.Tools.Annotation();
             * tChart1.Tools.Add(ann1); //   TeeChart.EToolClass.tcAnnotate);
             * ann1.Shape.Font.Size  =20;
             * ann1.Text = "US Dollar against the Euro";
             * ann1.Shape.Transparent = true;
             *
             * // annotation (alternative title)
             * Steema.TeeChart.Tools.Annotation ann2 = new Steema.TeeChart.Tools.Annotation();
             * tChart1.Tools.Add(ann2);
             * ann2.Text = "  2012 - 2013 Source: Steema Software SL";
             * ann2.Shape.Transparent = true;
             *
             * tChart1.Draw();  //get positions
             *
             * ann1.Left = tChart1.Axes.Bottom.CalcXPosValue(tChart1.Axes.Bottom.Minimum);
             * ann1.Top = 8;
             * ann2.Left = tChart1.Axes.Bottom.CalcXPosValue(tChart1.Axes.Bottom.Minimum);
             * ann2.Top = 38;*/

            //tooltip
            Steema.TeeChart.Tools.MarksTip marks = new Steema.TeeChart.Tools.MarksTip();
            tChart1.Tools.Add(marks);

            tChart1.Zoom.Active   = false;
            tChart1.Panning.Allow = Steema.TeeChart.ScrollModes.Horizontal;

            //scroller

            /*
             * scroller = new Steema.TeeChart.Tools.ScrollPager();
             * tChart1.Tools.Add(scroller);
             * scroller.Series = line1;
             * scroller.SubChartTChart.Panel.Gradient.Visible = false;
             * scroller.SubChartTChart.Walls.Back.Visible = false;
             * scroller.SubChartTChart.Axes.Left.Visible = false;
             * scroller.SubChartTChart.Axes.Bottom.Labels.DateTimeFormat = "MM/yy";
             *
             * axStartValue = tChart1.Series[0].XValues[70];
             * axEndValue = tChart1.Series[0].XValues[tChart1.Series[0].Count - 70];
             *
             * scroller.SubChartTChart.Footer.Font.Italic = true;
             * scroller.SubChartTChart.Footer.Text = "         Showing data from " + DateTime.FromOADate(axStartValue).ToLongDateString() + " to "
             + DateTime.FromOADate(axEndValue).ToLongDateString();
             + scroller.SubChartTChart.Footer.Visible = true;
             + scroller.SubChartTChart.Panel.Color = Color.White;
             + scroller.SubChartTChart.Footer.Alignment = TextAlignment.Start;
             + scroller.DivisionRatio = 8;
             + scroller.StartLinePointer.Visible = false;
             + scroller.EndLinePointer.Visible = false;
             */

            this.tChart1.Aspect.ZoomText = true;

            chartView = new ChartView
            {
                VerticalOptions   = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,
                WidthRequest      = 25,
                HeightRequest     = 25
            };
            chartView.Model = tChart1;

            Content = new StackLayout
            {
                Children =
                {
                    chartView
                }
            };
        }
Пример #4
0
        public MultiPies()
        {
            this.tChart6 = new Steema.TeeChart.Chart();
            this.bar3    = new Steema.TeeChart.Styles.Bar();
            this.tChart5 = new Steema.TeeChart.Chart();
            this.bar2    = new Steema.TeeChart.Styles.Bar();
            this.tChart4 = new Steema.TeeChart.Chart();
            this.tChart3 = new Steema.TeeChart.Chart();
            this.pie3    = new Steema.TeeChart.Styles.Pie();
            this.tChart2 = new Steema.TeeChart.Chart();
            this.pie2    = new Steema.TeeChart.Styles.Pie();
            this.tChart1 = new Steema.TeeChart.Chart();
            this.pie1    = new Steema.TeeChart.Styles.Pie();
            this.tChart7 = new Steema.TeeChart.Chart();
            this.bar4    = new Steema.TeeChart.Styles.Bar();
            this.bar5    = new Steema.TeeChart.Styles.Bar();
            this.label1  = new Label();
            this.bar1    = new Steema.TeeChart.Styles.Bar();
            // tChart6
            this.tChart6.Aspect.Elevation                  = 315;
            this.tChart6.Aspect.ElevationFloat             = 315D;
            this.tChart6.Aspect.Orthogonal                 = false;
            this.tChart6.Aspect.Perspective                = 0;
            this.tChart6.Aspect.Rotation                   = 360;
            this.tChart6.Aspect.RotationFloat              = 360D;
            this.tChart6.Aspect.View3D                     = false;
            this.tChart6.Axes.Bottom.Visible               = false;
            this.tChart6.Axes.Left.AxisPen.Color           = Color.FromRgb(((int)(((byte)(192)))), ((int)(((byte)(191)))), ((int)(((byte)(191)))));
            this.tChart6.Axes.Left.AxisPen.Width           = 1;
            this.tChart6.Axes.Left.Grid.Visible            = false;
            this.tChart6.Axes.Left.Increment               = 20D;
            this.tChart6.Axes.Left.Labels.Font.Brush.Color = Color.FromRgb(((int)(((byte)(128)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.tChart6.Axes.Left.MinorTicks.Visible      = false;
            this.tChart6.Footer.Font.Brush.Color           = Color.Gray;
            this.tChart6.Header.Font.Brush.Color           = Color.Gray;
            this.tChart6.Header.Lines                  = new string[] { "Evening Class" };
            this.tChart6.Header.Visible                = false;
            this.tChart6.Legend.Visible                = false;
            this.tChart6.Panel.Brush.Color             = Color.White;
            this.tChart6.Panel.Brush.Gradient.EndColor = Color.White;
            this.tChart6.Panel.MarginBottom            = 6D;
            this.tChart6.Series.Add(this.bar3);
            this.tChart6.Walls.Back.Brush.Gradient.EndColor = Color.White;
            this.tChart6.Walls.Visible = false;
            // bar3
            this.bar3.BarRound             = Steema.TeeChart.Styles.BarRounding.AtValue;
            this.bar3.Brush.Color          = Color.FromRgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
            this.bar3.Color                = Color.FromRgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
            this.bar3.ColorEach            = true;
            this.bar3.Marks.Arrow.Visible  = false;
            this.bar3.Marks.ArrowLength    = -24;
            this.bar3.Marks.Pen.Visible    = false;
            this.bar3.Marks.Shadow.Visible = false;
            this.bar3.Marks.Style          = Steema.TeeChart.Styles.MarksStyles.Value;
            this.bar3.Pen.Color            = Color.FromRgb(((int)(((byte)(41)))), ((int)(((byte)(61)))), ((int)(((byte)(98)))));
            this.bar3.Title                = "bar1";
            this.bar3.XValues.DataMember   = "X";
            this.bar3.XValues.Order        = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            this.bar3.YValues.DataMember   = "Bar";
            // tChart5
            this.tChart5.Aspect.Elevation                  = 315;
            this.tChart5.Aspect.ElevationFloat             = 315D;
            this.tChart5.Aspect.Orthogonal                 = false;
            this.tChart5.Aspect.Perspective                = 0;
            this.tChart5.Aspect.Rotation                   = 360;
            this.tChart5.Aspect.RotationFloat              = 360D;
            this.tChart5.Aspect.View3D                     = false;
            this.tChart5.Axes.Bottom.Visible               = false;
            this.tChart5.Axes.Left.AxisPen.Color           = Color.FromRgb(((int)(((byte)(192)))), ((int)(((byte)(191)))), ((int)(((byte)(191)))));
            this.tChart5.Axes.Left.AxisPen.Width           = 1;
            this.tChart5.Axes.Left.Grid.Visible            = false;
            this.tChart5.Axes.Left.Increment               = 20D;
            this.tChart5.Axes.Left.Labels.Font.Brush.Color = Color.FromRgb(((int)(((byte)(128)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.tChart5.Axes.Left.MinorTicks.Visible      = false;
            this.tChart5.Footer.Font.Brush.Color           = Color.Gray;
            this.tChart5.Header.Font.Brush.Color           = Color.Gray;
            this.tChart5.Header.Lines                  = new string[] { "Afternoon Class" };
            this.tChart5.Header.Visible                = false;
            this.tChart5.Legend.Visible                = false;
            this.tChart5.Panel.Brush.Color             = Color.White;
            this.tChart5.Panel.Brush.Gradient.EndColor = Color.White;
            this.tChart5.Panel.MarginBottom            = 6D;
            this.tChart5.Series.Add(this.bar2);
            this.tChart5.Walls.Back.Brush.Gradient.EndColor = Color.White;
            this.tChart5.Walls.Visible = false;
            // bar2
            this.bar2.BarRound             = Steema.TeeChart.Styles.BarRounding.AtValue;
            this.bar2.Brush.Color          = Color.FromRgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
            this.bar2.Color                = Color.FromRgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
            this.bar2.ColorEach            = true;
            this.bar2.Marks.Arrow.Visible  = false;
            this.bar2.Marks.ArrowLength    = -24;
            this.bar2.Marks.Pen.Visible    = false;
            this.bar2.Marks.Shadow.Visible = false;
            this.bar2.Marks.Style          = Steema.TeeChart.Styles.MarksStyles.Value;
            this.bar2.Pen.Color            = Color.FromRgb(((int)(((byte)(41)))), ((int)(((byte)(61)))), ((int)(((byte)(98)))));
            this.bar2.Title                = "bar1";
            this.bar2.XValues.DataMember   = "X";
            this.bar2.XValues.Order        = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            this.bar2.YValues.DataMember   = "Bar";
            // tChart4
            this.tChart4.Aspect.Elevation                  = 315;
            this.tChart4.Aspect.ElevationFloat             = 315D;
            this.tChart4.Aspect.Orthogonal                 = false;
            this.tChart4.Aspect.Perspective                = 0;
            this.tChart4.Aspect.Rotation                   = 360;
            this.tChart4.Aspect.RotationFloat              = 360D;
            this.tChart4.Aspect.View3D                     = false;
            this.tChart4.Axes.Bottom.Visible               = false;
            this.tChart4.Axes.Left.AxisPen.Width           = 1;
            this.tChart4.Axes.Left.Grid.Visible            = false;
            this.tChart4.Axes.Left.Increment               = 20D;
            this.tChart4.Axes.Left.Labels.Font.Brush.Color = Color.Gray;
            this.tChart4.Axes.Left.MinorTicks.Visible      = false;
            this.tChart4.Footer.Font.Brush.Color           = Color.Gray;
            this.tChart4.Header.Font.Brush.Color           = Color.Gray;
            this.tChart4.Header.Lines                  = new string[] { "Morning Class" };
            this.tChart4.Header.Visible                = false;
            this.tChart4.Legend.Visible                = false;
            this.tChart4.Panel.Brush.Color             = Color.White;
            this.tChart4.Panel.Brush.Gradient.EndColor = Color.White;
            this.tChart4.Panel.MarginBottom            = 6D;
            this.tChart4.Series.Add(this.bar1);
            this.tChart4.Walls.Back.Brush.Gradient.EndColor = Color.White;
            this.tChart4.Walls.Visible = false;
            // tChart3
            this.tChart3.Aspect.Elevation              = 315;
            this.tChart3.Aspect.ElevationFloat         = 315D;
            this.tChart3.Aspect.Orthogonal             = false;
            this.tChart3.Aspect.Perspective            = 0;
            this.tChart3.Aspect.Rotation               = 360;
            this.tChart3.Aspect.RotationFloat          = 360D;
            this.tChart3.Aspect.View3D                 = false;
            this.tChart3.Footer.Font.Brush.Color       = Color.Blue;
            this.tChart3.Header.Font.Brush.Color       = Color.Gray;
            this.tChart3.Header.Lines                  = new string[] { "Evening Class" };
            this.tChart3.Legend.Visible                = false;
            this.tChart3.Panel.Brush.Color             = Color.White;
            this.tChart3.Panel.Brush.Gradient.EndColor = Color.White;
            this.tChart3.Series.Add(this.pie3);
            this.tChart3.Walls.Back.Brush.Gradient.EndColor = Color.White;
            // pie3
            this.pie3.Brush.Color    = Color.FromRgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
            this.pie3.Circled        = true;
            this.pie3.Color          = Color.FromRgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
            this.pie3.ExplodeBiggest = 5;
            this.pie3.ExplodedSlice.Add(0);
            this.pie3.ExplodedSlice.Add(5);
            this.pie3.Frame.Circled = true;
            this.pie3.Frame.FrameElementPercents = new double[] {
                25D,
                60D,
                15D
            };
            this.pie3.Frame.OuterBand.Gradient.UseMiddle = false;
            this.pie3.LabelMember         = "Labels";
            this.pie3.Marks.Visible       = false;
            this.pie3.MarksPie.LegSize    = 0;
            this.pie3.MarksPie.VertCenter = false;
            this.pie3.MultiPie            = Steema.TeeChart.Styles.MultiPies.Automatic;
            this.pie3.OtherSlice.Style    = Steema.TeeChart.Styles.PieOtherStyles.None;
            this.pie3.OtherSlice.Text     = "";
            this.pie3.OtherSlice.Value    = 0D;
            this.pie3.RotationAngle       = 91;
            pie3.FillSampleValues(2);
            this.pie3.Title = "pie1";
            this.pie3.UniqueCustomRadius = true;
            this.pie3.XValues.DataMember = "Angle";
            this.pie3.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            this.pie3.YValues.DataMember = "Pie";
            // tChart2
            this.tChart2.Aspect.Elevation              = 315;
            this.tChart2.Aspect.ElevationFloat         = 315D;
            this.tChart2.Aspect.Orthogonal             = false;
            this.tChart2.Aspect.Perspective            = 0;
            this.tChart2.Aspect.Rotation               = 360;
            this.tChart2.Aspect.RotationFloat          = 360D;
            this.tChart2.Aspect.View3D                 = false;
            this.tChart2.Footer.Font.Brush.Color       = Color.Blue;
            this.tChart2.Header.Font.Brush.Color       = Color.Gray;
            this.tChart2.Header.Lines                  = new string[] { "Afternoon Class" };
            this.tChart2.Legend.Visible                = false;
            this.tChart2.Panel.Brush.Color             = Color.White;
            this.tChart2.Panel.Brush.Gradient.EndColor = Color.White;
            this.tChart2.Series.Add(this.pie2);
            this.tChart2.Walls.Back.Brush.Gradient.EndColor = Color.White;
            // pie2
            this.pie2.Brush.Color    = Color.FromRgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
            this.pie2.Circled        = true;
            this.pie2.Color          = Color.FromRgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
            this.pie2.ExplodeBiggest = 5;
            this.pie2.ExplodedSlice.Add(5);
            this.pie2.Frame.Circled = true;
            this.pie2.Frame.FrameElementPercents = new double[] {
                25D,
                60D,
                15D
            };
            this.pie2.Frame.OuterBand.Gradient.UseMiddle = false;
            this.pie2.LabelMember         = "Labels";
            this.pie2.Marks.Visible       = false;
            this.pie2.MarksPie.LegSize    = 0;
            this.pie2.MarksPie.VertCenter = false;
            this.pie2.MultiPie            = Steema.TeeChart.Styles.MultiPies.Automatic;
            this.pie2.OtherSlice.Style    = Steema.TeeChart.Styles.PieOtherStyles.None;
            this.pie2.OtherSlice.Text     = "";
            this.pie2.OtherSlice.Value    = 0D;
            this.pie2.RotationAngle       = 91;
            pie2.FillSampleValues(2);
            this.pie2.Title = "pie1";
            this.pie2.UniqueCustomRadius = true;
            this.pie2.XValues.DataMember = "Angle";
            this.pie2.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            this.pie2.YValues.DataMember = "Pie";
            // tChart1
            this.tChart1.Aspect.Elevation              = 315;
            this.tChart1.Aspect.ElevationFloat         = 315D;
            this.tChart1.Aspect.Orthogonal             = false;
            this.tChart1.Aspect.Perspective            = 0;
            this.tChart1.Aspect.Rotation               = 360;
            this.tChart1.Aspect.RotationFloat          = 360D;
            this.tChart1.Aspect.View3D                 = false;
            this.tChart1.Footer.Font.Brush.Color       = Color.Blue;
            this.tChart1.Header.Font.Brush.Color       = Color.Gray;
            this.tChart1.Header.Lines                  = new string[] { "Morning Class" };
            this.tChart1.Legend.Visible                = false;
            this.tChart1.Panel.Brush.Color             = Color.White;
            this.tChart1.Panel.Brush.Gradient.EndColor = Color.White;
            this.tChart1.Series.Add(this.pie1);
            this.tChart1.Walls.Back.Brush.Gradient.EndColor = Color.White;
            // pie1
            this.pie1.Brush.Color    = Color.FromRgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
            this.pie1.Circled        = true;
            this.pie1.Color          = Color.FromRgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
            this.pie1.ExplodeBiggest = 5;
            this.pie1.ExplodedSlice.Add(5);
            this.pie1.Frame.Circled = true;
            this.pie1.Frame.FrameElementPercents = new double[] {
                25D,
                60D,
                15D
            };
            this.pie1.Frame.OuterBand.Gradient.UseMiddle = false;
            this.pie1.LabelMember         = "Labels";
            this.pie1.Marks.Visible       = false;
            this.pie1.MarksPie.LegSize    = 0;
            this.pie1.MarksPie.VertCenter = false;
            this.pie1.MultiPie            = Steema.TeeChart.Styles.MultiPies.Automatic;
            this.pie1.OtherSlice.Style    = Steema.TeeChart.Styles.PieOtherStyles.None;
            this.pie1.OtherSlice.Text     = "";
            this.pie1.OtherSlice.Value    = 0D;
            this.pie1.RotationAngle       = 91;
            pie1.FillSampleValues(2);
            this.pie1.Title = "pie1";
            this.pie1.UniqueCustomRadius = true;
            this.pie1.XValues.DataMember = "Angle";
            this.pie1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            this.pie1.YValues.DataMember = "Pie";
            // tChart7
            this.tChart7.Footer.Font.Brush.Color       = Color.Blue;
            this.tChart7.Header.Visible                = false;
            this.tChart7.Legend.Alignment              = Steema.TeeChart.LegendAlignments.Top;
            this.tChart7.Legend.Font.Brush.Color       = Color.Gray;
            this.tChart7.Legend.Font.Name              = "Segoe UI";
            this.tChart7.Legend.Font.Size              = 14;
            this.tChart7.Legend.Pen.Visible            = false;
            this.tChart7.Legend.Transparent            = true;
            this.tChart7.Panel.Bevel.Outer             = Steema.TeeChart.Drawing.BevelStyles.None;
            this.tChart7.Panel.Brush.Color             = Color.White;
            this.tChart7.Panel.Brush.Gradient.EndColor = Color.White;
            this.tChart7.Panel.MarginBottom            = 0D;
            this.tChart7.Panel.MarginTop               = 6D;
            this.tChart7.Series.Add(this.bar4);
            this.tChart7.Series.Add(this.bar5);
            this.tChart7.Walls.Back.Brush.Gradient.EndColor = Color.White;
            // bar4
            this.bar4.BarRound           = Steema.TeeChart.Styles.BarRounding.AtValue;
            this.bar4.Brush.Color        = Color.FromRgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
            this.bar4.Color              = Color.FromRgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
            this.bar4.ColorEach          = false;
            this.bar4.Marks.Visible      = false;
            this.bar4.Pen.Color          = Color.FromRgb(((int)(((byte)(41)))), ((int)(((byte)(61)))), ((int)(((byte)(98)))));
            this.bar4.Pen.Visible        = false;
            this.bar4.Title              = "Women";
            this.bar4.XValues.DataMember = "X";
            this.bar4.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            this.bar4.YValues.DataMember = "Bar";
            // bar5
            this.bar5.BarRound           = Steema.TeeChart.Styles.BarRounding.AtValue;
            this.bar5.Brush.Color        = Color.FromRgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
            this.bar5.Color              = Color.FromRgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
            this.bar5.ColorEach          = false;
            this.bar5.Marks.Visible      = false;
            this.bar5.Pen.Color          = Color.FromRgb(((int)(((byte)(146)))), ((int)(((byte)(94)))), ((int)(((byte)(32)))));
            this.bar5.Pen.Visible        = false;
            this.bar5.Title              = "Men";
            this.bar5.XValues.DataMember = "X";
            this.bar5.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            this.bar5.YValues.DataMember = "Bar";
            // label1
            this.label1.Text = "Women are more likely to attend the day classes while men are more commonly found" +
                               " in the evening class";
            // bar1
            this.bar1.BarRound             = Steema.TeeChart.Styles.BarRounding.AtValue;
            this.bar1.Brush.Color          = Color.FromRgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
            this.bar1.Color                = Color.FromRgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
            this.bar1.ColorEach            = true;
            this.bar1.Marks.Arrow.Visible  = false;
            this.bar1.Marks.ArrowLength    = -24;
            this.bar1.Marks.Pen.Visible    = false;
            this.bar1.Marks.Shadow.Visible = false;
            this.bar1.Marks.Style          = Steema.TeeChart.Styles.MarksStyles.Value;
            this.bar1.Pen.Color            = Color.FromRgb(((int)(((byte)(41)))), ((int)(((byte)(61)))), ((int)(((byte)(98)))));
            this.bar1.Title                = "bar1";
            this.bar1.XValues.DataMember   = "X";
            this.bar1.XValues.Order        = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            this.bar1.YValues.DataMember   = "Bar";

            bar1.Add(pie1.YValues[0]);
            bar1.Add(pie1.YValues[1]);
            bar2.Add(pie2.YValues[0]);
            bar2.Add(pie2.YValues[1]);
            bar3.Add(pie3.YValues[0]);
            bar3.Add(pie3.YValues[1]);

            tChart1.Panel.Gradient.Visible = false;
            tChart2.Panel.Gradient.Visible = false;
            tChart3.Panel.Gradient.Visible = false;
            tChart4.Panel.Gradient.Visible = false;
            tChart5.Panel.Gradient.Visible = false;
            tChart6.Panel.Gradient.Visible = false;
            tChart7.Panel.Gradient.Visible = false;

            tChart4[0].Marks.FontSeriesColor = true;
            tChart5[0].Marks.FontSeriesColor = true;
            tChart6[0].Marks.FontSeriesColor = true;

            chartView1 = new ChartView
            {
                VerticalOptions   = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,
                WidthRequest      = 25,
                HeightRequest     = 25
            };
            chartView1.Model = tChart1;

            chartView2 = new ChartView
            {
                VerticalOptions   = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,
                WidthRequest      = 25,
                HeightRequest     = 25
            };
            chartView2.Model = tChart2;

            chartView3 = new ChartView
            {
                VerticalOptions   = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,
                WidthRequest      = 25,
                HeightRequest     = 25
            };
            chartView3.Model = tChart3;

            chartView4 = new ChartView
            {
                VerticalOptions   = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,
                WidthRequest      = 25,
                HeightRequest     = 25
            };
            chartView4.Model = tChart4;

            chartView5 = new ChartView
            {
                VerticalOptions   = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,
                WidthRequest      = 25,
                HeightRequest     = 25
            };
            chartView5.Model = tChart5;

            chartView6 = new ChartView
            {
                VerticalOptions   = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,
                WidthRequest      = 25,
                HeightRequest     = 25
            };
            chartView6.Model = tChart6;

            chartView7 = new ChartView
            {
                VerticalOptions   = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,
                WidthRequest      = 25,
                HeightRequest     = 25
            };
            chartView7.Model = tChart7;


            Grid grid = new Grid
            {
                VerticalOptions = LayoutOptions.FillAndExpand,
                Padding         = 5,
                RowDefinitions  =
                {
                    new RowDefinition {
                        Height = new GridLength(1, GridUnitType.Star)
                    },
                    new RowDefinition {
                        Height = new GridLength(1, GridUnitType.Star)
                    }
                },
                ColumnDefinitions =
                {
                    new ColumnDefinition {
                        Width = new GridLength(1, GridUnitType.Star)
                    },
                    new ColumnDefinition {
                        Width = new GridLength(1, GridUnitType.Star)
                    },
                    new ColumnDefinition {
                        Width = new GridLength(1, GridUnitType.Star)
                    }
                }
            };

            //grid.Children.Add(chartView7, 0, 3, 0, 1);
            grid.Children.Add(chartView1, 0, 0);
            grid.Children.Add(chartView2, 1, 0);
            grid.Children.Add(chartView3, 2, 0);
            grid.Children.Add(chartView4, 0, 1);
            grid.Children.Add(chartView5, 1, 1);
            grid.Children.Add(chartView6, 2, 1);

            // Build the page.
            this.Content = grid;
        }
Пример #5
0
        public MultiDonuts()
        {
            Steema.TeeChart.Animations.EasingFunctions.BounceEase bounceEase1 = new Steema.TeeChart.Animations.EasingFunctions.BounceEase();
            Steema.TeeChart.Animations.EasingFunctions.CircleEase circleEase1 = new Steema.TeeChart.Animations.EasingFunctions.CircleEase();
            this.tChart4             = new Steema.TeeChart.Chart();
            this.donut4              = new Steema.TeeChart.Styles.Donut();
            this.tChart3             = new Steema.TeeChart.Chart();
            this.donut3              = new Steema.TeeChart.Styles.Donut();
            this.tChart2             = new Steema.TeeChart.Chart();
            this.donut2              = new Steema.TeeChart.Styles.Donut();
            this.tChart1             = new Steema.TeeChart.Chart();
            this.donut1              = new Steema.TeeChart.Styles.Donut();
            this.label1              = new Label();
            this.label2              = new Label();
            this.tChart5             = new Steema.TeeChart.Chart();
            this.horizBar1           = new Steema.TeeChart.Styles.HorizBar();
            this.chartPartAnimation1 = new Steema.TeeChart.Animations.ChartPartAnimation();
            this.chartPartAnimation2 = new Steema.TeeChart.Animations.ChartPartAnimation();

            // tChart4
            this.tChart4.Aspect.ColorPaletteIndex      = 14;
            this.tChart4.Aspect.Elevation              = 315;
            this.tChart4.Aspect.Orthogonal             = false;
            this.tChart4.Aspect.Perspective            = 0;
            this.tChart4.Aspect.Rotation               = 360;
            this.tChart4.Aspect.View3D                 = false;
            this.tChart4.Footer.Font.Bold              = true;
            this.tChart4.Footer.Font.Brush.Color       = Color.Gray;
            this.tChart4.Footer.Lines                  = new string[] { "WHILE SHOPPING" };
            this.tChart4.Footer.Visible                = true;
            this.tChart4.Header.Visible                = false;
            this.tChart4.Legend.Alignment              = Steema.TeeChart.LegendAlignments.Bottom;
            this.tChart4.Legend.Font.Bold              = true;
            this.tChart4.Legend.Font.Brush.Color       = Color.FromRgb(((int)(((byte)(243)))), ((int)(((byte)(234)))), ((int)(((byte)(141)))));
            this.tChart4.Legend.Font.Name              = "Segoe UI";
            this.tChart4.Legend.Font.Size              = 24;
            this.tChart4.Legend.FontSeriesColor        = true;
            this.tChart4.Legend.LegendStyle            = Steema.TeeChart.LegendStyles.LastValues;
            this.tChart4.Legend.Symbol.Visible         = false;
            this.tChart4.Legend.TopLeftPos             = 5;
            this.tChart4.Legend.Transparent            = true;
            this.tChart4.Legend.VertSpacing            = -10;
            this.tChart4.Panel.Brush.Color             = Color.White;
            this.tChart4.Panel.Brush.Gradient.EndColor = Color.White;
            this.tChart4.Panel.Brush.Gradient.Visible  = false;
            this.tChart4.Panel.Brush.ImageMode         = Steema.TeeChart.Drawing.ImageMode.Center;
            this.tChart4.Panel.ImageMode               = Steema.TeeChart.Drawing.ImageMode.Center;
            this.tChart4.Panel.MarginBottom            = 2D;
            this.tChart4.Series.Add(this.donut4);
            this.tChart4.SubFooter.Font.Brush.Color         = Color.Gray;
            this.tChart4.Walls.Back.Brush.Gradient.EndColor = Color.White;
            // donut4
            this.donut4.AutoPenColor  = false;
            this.donut4.Brush.Color   = Color.FromRgb(((int)(((byte)(242)))), ((int)(((byte)(192)))), ((int)(((byte)(93)))));
            this.donut4.Circled       = true;
            this.donut4.Color         = Color.FromRgb(((int)(((byte)(243)))), ((int)(((byte)(234)))), ((int)(((byte)(141)))));
            this.donut4.DonutPercent  = 60;
            this.donut4.Frame.Circled = true;
            this.donut4.Frame.FrameElementPercents = new double[] {
                25D,
                60D,
                15D
            };
            this.donut4.Frame.OuterBand.Gradient.UseMiddle = false;
            this.donut4.Frame.Width         = 4;
            this.donut4.LabelMember         = "Labels";
            this.donut4.Marks.Visible       = false;
            this.donut4.MarksPie.LegSize    = 0;
            this.donut4.MarksPie.VertCenter = false;
            this.donut4.MultiPie            = Steema.TeeChart.Styles.MultiPies.Automatic;
            this.donut4.OtherSlice.Style    = Steema.TeeChart.Styles.PieOtherStyles.None;
            this.donut4.OtherSlice.Text     = "";
            this.donut4.OtherSlice.Value    = 0D;
            this.donut4.Pen.Color           = Color.FromRgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.donut4.Pen.Width           = 3;
            this.donut4.RotationAngle       = 91;
            this.donut4.Title = "donut1";
            this.donut4.UniqueCustomRadius = true;
            this.donut4.XValues.DataMember = "Angle";
            this.donut4.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            this.donut4.YValues.DataMember = "Pie";
            // tChart3
            this.tChart3.Aspect.ColorPaletteIndex      = 14;
            this.tChart3.Aspect.Elevation              = 315;
            this.tChart3.Aspect.Orthogonal             = false;
            this.tChart3.Aspect.Perspective            = 0;
            this.tChart3.Aspect.Rotation               = 360;
            this.tChart3.Aspect.RotationFloat          = 360D;
            this.tChart3.Aspect.View3D                 = false;
            this.tChart3.Footer.Font.Bold              = true;
            this.tChart3.Footer.Font.Brush.Color       = Color.Gray;
            this.tChart3.Footer.Lines                  = new string[] { "WHILE HAVING DINNER" };
            this.tChart3.Footer.Visible                = true;
            this.tChart3.Header.Visible                = false;
            this.tChart3.Legend.Alignment              = Steema.TeeChart.LegendAlignments.Bottom;
            this.tChart3.Legend.Font.Bold              = true;
            this.tChart3.Legend.Font.Brush.Color       = Color.FromRgb(((int)(((byte)(243)))), ((int)(((byte)(234)))), ((int)(((byte)(141)))));
            this.tChart3.Legend.Font.Name              = "Segoe UI";
            this.tChart3.Legend.Font.Size              = 24;
            this.tChart3.Legend.FontSeriesColor        = true;
            this.tChart3.Legend.LegendStyle            = Steema.TeeChart.LegendStyles.LastValues;
            this.tChart3.Legend.Symbol.Visible         = false;
            this.tChart3.Legend.TopLeftPos             = 5;
            this.tChart3.Legend.Transparent            = true;
            this.tChart3.Legend.VertSpacing            = -10;
            this.tChart3.Panel.Brush.Color             = Color.White;
            this.tChart3.Panel.Brush.Gradient.EndColor = Color.White;
            this.tChart3.Panel.Brush.Gradient.Visible  = false;
            this.tChart3.Panel.Brush.ImageMode         = Steema.TeeChart.Drawing.ImageMode.Center;
            this.tChart3.Panel.ImageMode               = Steema.TeeChart.Drawing.ImageMode.Center;
            this.tChart3.Panel.MarginBottom            = 2D;
            this.tChart3.Series.Add(this.donut3);
            this.tChart3.SubFooter.Font.Brush.Color         = Color.Gray;
            this.tChart3.Walls.Back.Brush.Gradient.EndColor = Color.White;
            // donut3
            this.donut3.AutoPenColor  = false;
            this.donut3.Brush.Color   = Color.FromRgb(((int)(((byte)(242)))), ((int)(((byte)(192)))), ((int)(((byte)(93)))));
            this.donut3.Circled       = true;
            this.donut3.Color         = Color.FromRgb(((int)(((byte)(243)))), ((int)(((byte)(234)))), ((int)(((byte)(141)))));
            this.donut3.DonutPercent  = 60;
            this.donut3.Frame.Circled = true;
            this.donut3.Frame.FrameElementPercents = new double[] {
                25D,
                60D,
                15D
            };
            this.donut3.Frame.OuterBand.Gradient.UseMiddle = false;
            this.donut3.Frame.Width         = 4;
            this.donut3.LabelMember         = "Labels";
            this.donut3.Marks.Visible       = false;
            this.donut3.MarksPie.LegSize    = 0;
            this.donut3.MarksPie.VertCenter = false;
            this.donut3.MultiPie            = Steema.TeeChart.Styles.MultiPies.Automatic;
            this.donut3.OtherSlice.Style    = Steema.TeeChart.Styles.PieOtherStyles.None;
            this.donut3.OtherSlice.Text     = "";
            this.donut3.OtherSlice.Value    = 0D;
            this.donut3.Pen.Color           = Color.FromRgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.donut3.Pen.Width           = 3;
            this.donut3.RotationAngle       = 91;
            this.donut3.Title = "donut1";
            this.donut3.UniqueCustomRadius = true;
            this.donut3.XValues.DataMember = "Angle";
            this.donut3.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            this.donut3.YValues.DataMember = "Pie";
            // tChart2
            this.tChart2.Aspect.ColorPaletteIndex      = 14;
            this.tChart2.Aspect.Elevation              = 315;
            this.tChart2.Aspect.Orthogonal             = false;
            this.tChart2.Aspect.Perspective            = 0;
            this.tChart2.Aspect.Rotation               = 360;
            this.tChart2.Aspect.RotationFloat          = 360D;
            this.tChart2.Aspect.View3D                 = false;
            this.tChart2.Footer.Font.Bold              = true;
            this.tChart2.Footer.Font.Brush.Color       = Color.Gray;
            this.tChart2.Footer.Lines                  = new string[] { "WHILE COMMUTING" };
            this.tChart2.Footer.Visible                = true;
            this.tChart2.Header.Visible                = false;
            this.tChart2.Legend.Alignment              = Steema.TeeChart.LegendAlignments.Bottom;
            this.tChart2.Legend.Font.Bold              = true;
            this.tChart2.Legend.Font.Brush.Color       = Color.FromRgb(((int)(((byte)(243)))), ((int)(((byte)(234)))), ((int)(((byte)(141)))));
            this.tChart2.Legend.Font.Name              = "Segoe UI";
            this.tChart2.Legend.Font.Size              = 24;
            this.tChart2.Legend.FontSeriesColor        = true;
            this.tChart2.Legend.LegendStyle            = Steema.TeeChart.LegendStyles.LastValues;
            this.tChart2.Legend.Symbol.Visible         = false;
            this.tChart2.Legend.TopLeftPos             = 5;
            this.tChart2.Legend.Transparent            = true;
            this.tChart2.Legend.VertSpacing            = -10;
            this.tChart2.Panel.Brush.Color             = Color.White;
            this.tChart2.Panel.Brush.Gradient.EndColor = Color.White;
            this.tChart2.Panel.Brush.Gradient.Visible  = false;
            this.tChart2.Panel.Brush.ImageMode         = Steema.TeeChart.Drawing.ImageMode.Center;
            this.tChart2.Panel.ImageMode               = Steema.TeeChart.Drawing.ImageMode.Center;
            this.tChart2.Panel.MarginBottom            = 2D;
            this.tChart2.Series.Add(this.donut2);
            this.tChart2.SubFooter.Font.Brush.Color         = Color.Gray;
            this.tChart2.Walls.Back.Brush.Gradient.EndColor = Color.White;
            // donut2
            this.donut2.AutoPenColor  = false;
            this.donut2.Brush.Color   = Color.FromRgb(((int)(((byte)(242)))), ((int)(((byte)(192)))), ((int)(((byte)(93)))));
            this.donut2.Circled       = true;
            this.donut2.Color         = Color.FromRgb(((int)(((byte)(243)))), ((int)(((byte)(234)))), ((int)(((byte)(141)))));
            this.donut2.DonutPercent  = 60;
            this.donut2.Frame.Circled = true;
            this.donut2.Frame.FrameElementPercents = new double[] {
                25D,
                60D,
                15D
            };
            this.donut2.Frame.OuterBand.Gradient.UseMiddle = false;
            this.donut2.Frame.Width         = 4;
            this.donut2.LabelMember         = "Labels";
            this.donut2.Marks.Visible       = false;
            this.donut2.MarksPie.LegSize    = 0;
            this.donut2.MarksPie.VertCenter = false;
            this.donut2.MultiPie            = Steema.TeeChart.Styles.MultiPies.Automatic;
            this.donut2.OtherSlice.Style    = Steema.TeeChart.Styles.PieOtherStyles.None;
            this.donut2.OtherSlice.Text     = "";
            this.donut2.OtherSlice.Value    = 0D;
            this.donut2.Pen.Color           = Color.FromRgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.donut2.Pen.Width           = 3;
            this.donut2.RotationAngle       = 91;
            this.donut2.Title = "donut1";
            this.donut2.UniqueCustomRadius = true;
            this.donut2.XValues.DataMember = "Angle";
            this.donut2.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            this.donut2.YValues.DataMember = "Pie";
            // tChart1
            this.tChart1.Animations.Add(this.chartPartAnimation2);
            this.tChart1.Aspect.ColorPaletteIndex      = 21;
            this.tChart1.Aspect.Elevation              = 315;
            this.tChart1.Aspect.Orthogonal             = false;
            this.tChart1.Aspect.Perspective            = 0;
            this.tChart1.Aspect.Rotation               = 360;
            this.tChart1.Aspect.RotationFloat          = 360D;
            this.tChart1.Aspect.View3D                 = false;
            this.tChart1.Footer.Font.Bold              = true;
            this.tChart1.Footer.Font.Brush.Color       = Color.Gray;
            this.tChart1.Footer.Lines                  = new string[] { "LATE AT NIGHT IN BED" };
            this.tChart1.Footer.Visible                = true;
            this.tChart1.Header.Visible                = false;
            this.tChart1.Legend.Alignment              = Steema.TeeChart.LegendAlignments.Bottom;
            this.tChart1.Legend.Font.Bold              = true;
            this.tChart1.Legend.Font.Brush.Color       = Color.FromRgb(((int)(((byte)(243)))), ((int)(((byte)(234)))), ((int)(((byte)(141)))));
            this.tChart1.Legend.Font.Name              = "Segoe UI";
            this.tChart1.Legend.Font.Size              = 24;
            this.tChart1.Legend.FontSeriesColor        = true;
            this.tChart1.Legend.LegendStyle            = Steema.TeeChart.LegendStyles.LastValues;
            this.tChart1.Legend.Symbol.Visible         = false;
            this.tChart1.Legend.TopLeftPos             = 5;
            this.tChart1.Legend.Transparent            = true;
            this.tChart1.Legend.VertSpacing            = -10;
            this.tChart1.Panel.Brush.Color             = Color.White;
            this.tChart1.Panel.Brush.Gradient.EndColor = Color.White;
            this.tChart1.Panel.Brush.Gradient.Visible  = false;
            this.tChart1.Panel.Brush.ImageMode         = Steema.TeeChart.Drawing.ImageMode.Center;
            this.tChart1.Panel.ImageMode               = Steema.TeeChart.Drawing.ImageMode.Center;
            this.tChart1.Panel.MarginBottom            = 2D;
            this.tChart1.Series.Add(this.donut1);
            this.tChart1.SubFooter.Font.Brush.Color         = Color.Gray;
            this.tChart1.Walls.Back.Brush.Gradient.EndColor = Color.White;
            // donut1
            this.donut1.AutoPenColor  = false;
            this.donut1.Brush.Color   = Color.FromRgb(((int)(((byte)(255)))), ((int)(((byte)(172)))), ((int)(((byte)(0)))));
            this.donut1.Circled       = true;
            this.donut1.Color         = Color.FromRgb(((int)(((byte)(243)))), ((int)(((byte)(234)))), ((int)(((byte)(141)))));
            this.donut1.DonutPercent  = 60;
            this.donut1.Frame.Circled = true;
            this.donut1.Frame.FrameElementPercents = new double[] {
                25D,
                60D,
                15D
            };
            this.donut1.Frame.OuterBand.Gradient.UseMiddle = false;
            this.donut1.Frame.Width         = 4;
            this.donut1.LabelMember         = "Labels";
            this.donut1.Marks.Visible       = false;
            this.donut1.MarksPie.LegSize    = 0;
            this.donut1.MarksPie.VertCenter = false;
            this.donut1.MultiPie            = Steema.TeeChart.Styles.MultiPies.Automatic;
            this.donut1.OtherSlice.Style    = Steema.TeeChart.Styles.PieOtherStyles.None;
            this.donut1.OtherSlice.Text     = "";
            this.donut1.OtherSlice.Value    = 0D;
            this.donut1.Pen.Color           = Color.FromRgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.donut1.Pen.Width           = 3;
            this.donut1.RotationAngle       = 91;
            this.donut1.Title = "donut1";
            this.donut1.UniqueCustomRadius = true;
            this.donut1.XValues.DataMember = "Angle";
            this.donut1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            this.donut1.YValues.DataMember = "Pie";
            // label1
            this.label1.Text = "Ericson consumerLab.   2014";
            // label2
            this.label2.Text = "Where do customers watch mobile video content ?";
            // tChart5
            this.tChart5.Animations.Add(this.chartPartAnimation1);
            this.tChart5.Aspect.ColorPaletteIndex          = 14;
            this.tChart5.Aspect.View3D                     = false;
            this.tChart5.Axes.Bottom.AxisPen.Visible       = false;
            this.tChart5.Axes.Bottom.Grid.Visible          = false;
            this.tChart5.Axes.Bottom.MinorTicks.Visible    = false;
            this.tChart5.Axes.Bottom.Visible               = false;
            this.tChart5.Axes.Left.AxisPen.Color           = Color.Gray;
            this.tChart5.Axes.Left.AxisPen.Width           = 1;
            this.tChart5.Axes.Left.Grid.Visible            = false;
            this.tChart5.Axes.Left.Labels.Font.Brush.Color = Color.Gray;
            this.tChart5.Axes.Left.Labels.Font.Name        = "Segoe UI";
            this.tChart5.Axes.Left.Labels.Font.Size        = 16;
            this.tChart5.Axes.Left.MinorTicks.Visible      = false;
            this.tChart5.Footer.Font.Brush.Color           = Color.Blue;
            this.tChart5.Header.Visible                    = false;
            this.tChart5.Legend.Visible                    = false;
            this.tChart5.Panel.Brush.Color                 = Color.White;
            this.tChart5.Panel.Brush.Gradient.EndColor     = Color.White;
            this.tChart5.Series.Add(this.horizBar1);
            this.tChart5.Walls.Back.Brush.Gradient.EndColor = Color.White;
            this.tChart5.Walls.Back.Visible = false;
            // horizBar1
            this.horizBar1.BarHeightPercent       = 90;
            this.horizBar1.BarRound               = Steema.TeeChart.Styles.BarRounding.AtValue;
            this.horizBar1.BarStyle               = Steema.TeeChart.Styles.BarStyles.RoundRectangle;
            this.horizBar1.Brush.Color            = Color.FromRgb(((int)(((byte)(243)))), ((int)(((byte)(234)))), ((int)(((byte)(141)))));
            this.horizBar1.Color                  = Color.FromRgb(((int)(((byte)(243)))), ((int)(((byte)(234)))), ((int)(((byte)(141)))));
            this.horizBar1.ColorEach              = false;
            this.horizBar1.Marks.Brush.Visible    = false;
            this.horizBar1.Marks.Font.Brush.Color = Color.Gray;
            this.horizBar1.Marks.Style            = Steema.TeeChart.Styles.MarksStyles.Value;
            this.horizBar1.Marks.Transparent      = true;
            this.horizBar1.Pen.Color              = Color.FromRgb(((int)(((byte)(146)))), ((int)(((byte)(140)))), ((int)(((byte)(85)))));
            this.horizBar1.Pen.Visible            = false;
            this.horizBar1.Title                  = "horizBar1";
            this.horizBar1.ValueFormat            = "## %";
            this.horizBar1.XValues.DataMember     = "X";
            this.horizBar1.YValues.DataMember     = "Bar";
            this.horizBar1.YValues.Order          = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            // chartPartAnimation1
            this.chartPartAnimation1.Axis           = null;
            bounceEase1.EasingMode                  = Steema.TeeChart.Animations.EasingFunctions.EasingMode.EaseOut;
            this.chartPartAnimation1.EasingFunction = bounceEase1;
            this.chartPartAnimation1.EasingMode     = Steema.TeeChart.Animations.EasingFunctions.EasingMode.EaseOut;
            this.chartPartAnimation1.Fade           = Steema.TeeChart.Animations.TransformFade.None;
            this.chartPartAnimation1.RotateMax      = 0F;
            this.chartPartAnimation1.RotateMin      = 0F;
            this.chartPartAnimation1.Series         = null;
            this.chartPartAnimation1.Speed          = 1000;
            this.chartPartAnimation1.Target         = Steema.TeeChart.ChartClickedPartStyle.Series;
            this.chartPartAnimation1.ZoomStyle      = Steema.TeeChart.Animations.TransformZoom.None;
            // chartPartAnimation2
            this.chartPartAnimation2.Axis           = null;
            circleEase1.EasingMode                  = Steema.TeeChart.Animations.EasingFunctions.EasingMode.EaseIn;
            this.chartPartAnimation2.EasingFunction = circleEase1;
            this.chartPartAnimation2.EasingMode     = Steema.TeeChart.Animations.EasingFunctions.EasingMode.EaseIn;
            this.chartPartAnimation2.Fade           = Steema.TeeChart.Animations.TransformFade.In;
            this.chartPartAnimation2.RotateMax      = 360F;
            this.chartPartAnimation2.RotateMin      = 0F;
            this.chartPartAnimation2.Series         = null;
            this.chartPartAnimation2.Speed          = 1000;
            this.chartPartAnimation2.Target         = Steema.TeeChart.ChartClickedPartStyle.Series;
            this.chartPartAnimation2.TranslateStyle = Steema.TeeChart.Animations.TransformTranslate.None;
            this.chartPartAnimation2.ZoomStyle      = Steema.TeeChart.Animations.TransformZoom.None;

            tChart1.Panel.Gradient.Visible = false;
            tChart2.Panel.Gradient.Visible = false;
            tChart3.Panel.Gradient.Visible = false;
            tChart4.Panel.Gradient.Visible = false;
            tChart5.Panel.Gradient.Visible = false;

            this.tChart1.Aspect.ZoomText = true;
            this.tChart2.Aspect.ZoomText = true;
            this.tChart3.Aspect.ZoomText = true;
            this.tChart4.Aspect.ZoomText = true;
            this.tChart5.Aspect.ZoomText = true;

            initChart();

            chartView1 = new ChartView
            {
                VerticalOptions   = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,
                WidthRequest      = 25,
                HeightRequest     = 25
            };
            chartView1.Model = tChart1;

            chartView2 = new ChartView
            {
                VerticalOptions   = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,
                WidthRequest      = 25,
                HeightRequest     = 25
            };
            chartView2.Model = tChart2;

            chartView3 = new ChartView
            {
                VerticalOptions   = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,
                WidthRequest      = 25,
                HeightRequest     = 25
            };
            chartView3.Model = tChart3;

            chartView4 = new ChartView
            {
                VerticalOptions   = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,
                WidthRequest      = 25,
                HeightRequest     = 25
            };
            chartView4.Model = tChart4;

            chartView5 = new ChartView
            {
                VerticalOptions   = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,
                WidthRequest      = 25,
                HeightRequest     = 25
            };
            chartView5.Model = tChart5;

            Grid grid = new Grid
            {
                VerticalOptions = LayoutOptions.FillAndExpand,
                Padding         = 5,
                RowDefinitions  =
                {
                    new RowDefinition {
                        Height = new GridLength(1, GridUnitType.Star)
                    },
                    new RowDefinition {
                        Height = new GridLength(1, GridUnitType.Star)
                    }
                },
                ColumnDefinitions =
                {
                    new ColumnDefinition {
                        Width = new GridLength(1, GridUnitType.Star)
                    },
                    new ColumnDefinition {
                        Width = new GridLength(1, GridUnitType.Star)
                    },
                    new ColumnDefinition {
                        Width = new GridLength(1, GridUnitType.Star)
                    },
                    new ColumnDefinition {
                        Width = new GridLength(1, GridUnitType.Star)
                    }
                }
            };

            grid.Children.Add(chartView1, 0, 0);
            grid.Children.Add(chartView2, 1, 0);
            grid.Children.Add(chartView3, 2, 0);
            grid.Children.Add(chartView4, 3, 0);
            grid.Children.Add(chartView5, 0, 4, 1, 2);

            // Build the page.
            this.Content = grid;
        }
        public ProductShipments()
        {
            this.tChart1    = new Steema.TeeChart.Chart();
            this.points1    = new Steema.TeeChart.Styles.Points();
            this.points2    = new Steema.TeeChart.Styles.Points();
            this.line1      = new Steema.TeeChart.Styles.Line();
            this.average1   = new Steema.TeeChart.Functions.Average();
            this.smoothing1 = new Steema.TeeChart.Functions.Smoothing();
            this.line2      = new Steema.TeeChart.Styles.Line();
            // tChart1
            this.tChart1.Aspect.Elevation                    = 350;
            this.tChart1.Aspect.Perspective                  = 55;
            this.tChart1.Aspect.View3D                       = false;
            this.tChart1.Axes.Bottom.AxisPen.Visible         = false;
            this.tChart1.Axes.Bottom.AxisPen.Width           = 0;
            this.tChart1.Axes.Bottom.Grid.Visible            = false;
            this.tChart1.Axes.Bottom.Labels.Font.Brush.Color = Color.Gray;
            this.tChart1.Axes.Bottom.Labels.Font.Size        = 24;
            this.tChart1.Axes.Bottom.MinorTicks.Visible      = false;
            this.tChart1.Axes.Bottom.Ticks.Color             = Color.FromRgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
            this.tChart1.Axes.Depth.Title.Font.Size          = 13;
            this.tChart1.Axes.DepthTop.Title.Font.Size       = 13;
            this.tChart1.Axes.Left.AxisPen.Visible           = false;
            this.tChart1.Axes.Left.AxisPen.Width             = 0;
            this.tChart1.Axes.Left.Labels.Font.Brush.Color   = Color.Gray;
            this.tChart1.Axes.Left.Labels.Font.Size          = 24;
            this.tChart1.Axes.Left.MinimumOffset             = 10;
            this.tChart1.Axes.Left.MinorTicks.Visible        = false;
            this.tChart1.Axes.Left.Ticks.Color               = Color.FromRgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
            this.tChart1.Axes.Left.Ticks.Length              = 7;
            this.tChart1.Axes.Right.AxisPen.Width            = 0;
            this.tChart1.Axes.Right.Grid.Visible             = false;
            this.tChart1.Axes.Right.Labels.Font.Brush.Color  = Color.Gray;
            this.tChart1.Axes.Right.Labels.Font.Size         = 31;
            this.tChart1.Axes.Right.MinorTicks.Visible       = false;
            this.tChart1.Axes.Right.Ticks.Visible            = false;
            this.tChart1.Footer.Font.Brush.Color             = Color.Blue;
            this.tChart1.Header.Alignment                    = TextAlignment.Start;
            this.tChart1.Header.Font.Brush.Color             = Color.Gray;
            this.tChart1.Header.Font.Shadow.Brush.Color      = Color.Gray;
            this.tChart1.Header.Font.Shadow.SmoothBlur       = 2;
            this.tChart1.Header.Font.Size                    = 33;
            this.tChart1.Header.Lines                  = new string[] { "Product shipments" };
            this.tChart1.Legend.Font.Size              = 19;
            this.tChart1.Legend.Pen.Visible            = false;
            this.tChart1.Legend.Shadow.Visible         = false;
            this.tChart1.Panel.Bevel.Outer             = Steema.TeeChart.Drawing.BevelStyles.None;
            this.tChart1.Panel.Bevel.Width             = 2;
            this.tChart1.Panel.BevelWidth              = 2;
            this.tChart1.Panel.Brush.Color             = Color.White;
            this.tChart1.Panel.Brush.Gradient.EndColor = Color.White;
            this.tChart1.Panel.Brush.Gradient.Visible  = false;
            this.tChart1.Series.Add(this.points1);
            this.tChart1.Series.Add(this.points2);
            this.tChart1.Series.Add(this.line1);
            this.tChart1.Series.Add(this.line2);
            this.tChart1.Walls.Back.Brush.Gradient.EndColor     = Color.White;
            this.tChart1.Walls.Back.Pen.Visible                 = false;
            this.tChart1.Walls.Bottom.Brush.Gradient.EndColor   = Color.Silver;
            this.tChart1.Walls.Bottom.Brush.Gradient.StartColor = Color.Gray;
            this.tChart1.Walls.Bottom.Brush.Gradient.Visible    = true;
            this.tChart1.Walls.Bottom.Pen.Color                 = Color.Gray;
            this.tChart1.Walls.Bottom.Transparent               = true;
            this.tChart1.Walls.Left.Brush.Gradient.EndColor     = Color.Silver;
            this.tChart1.Walls.Left.Brush.Gradient.StartColor   = Color.Gray;
            this.tChart1.Walls.Left.Brush.Gradient.Visible      = true;
            this.tChart1.Walls.Left.Pen.Color    = Color.Gray;
            this.tChart1.Walls.Left.Transparent  = true;
            this.tChart1.Walls.Right.Transparent = true;
            this.tChart1.Walls.Visible           = false;
            // points1
            this.points1.Color               = Color.FromRgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
            this.points1.ColorEach           = false;
            this.points1.LinePen.Color       = Color.FromRgb(((int)(((byte)(41)))), ((int)(((byte)(61)))), ((int)(((byte)(98)))));
            this.points1.Pointer.Brush.Color = Color.FromRgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
            this.points1.Pointer.Brush.Gradient.StartColor = Color.FromRgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
            this.points1.Pointer.SizeDouble = 0D;
            this.points1.Pointer.SizeUnits  = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.points1.Title = "points1";
            this.points1.XValues.DataMember = "X";
            this.points1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            this.points1.YValues.DataMember = "Y";
            // points2
            this.points2.Color               = Color.FromRgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
            this.points2.ColorEach           = false;
            this.points2.LinePen.Color       = Color.FromRgb(((int)(((byte)(146)))), ((int)(((byte)(94)))), ((int)(((byte)(32)))));
            this.points2.Pointer.Brush.Color = Color.FromRgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
            this.points2.Pointer.Brush.Gradient.StartColor = Color.FromRgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
            this.points2.Pointer.SizeDouble = 0D;
            this.points2.Pointer.SizeUnits  = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.points2.Title = "points2";
            this.points2.XValues.DataMember = "X";
            this.points2.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            this.points2.YValues.DataMember = "Y";
            // line1
            this.line1.Brush.Color = Color.FromRgb(((int)(((byte)(241)))), ((int)(((byte)(76)))), ((int)(((byte)(20)))));
            this.line1.Color       = Color.FromRgb(((int)(((byte)(241)))), ((int)(((byte)(76)))), ((int)(((byte)(20)))));
            this.line1.ColorEach   = false;
            this.line1.DataSource  = new object[] {
                ((object)(this.points1)),
                ((object)(this.points2))
            };
            this.line1.Function           = this.average1;
            this.line1.LinePen.Color      = Color.FromRgb(((int)(((byte)(145)))), ((int)(((byte)(46)))), ((int)(((byte)(12)))));
            this.line1.Pointer.SizeDouble = 0D;
            this.line1.Pointer.SizeUnits  = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.line1.Title         = "line1";
            this.line1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            // average1
            this.average1.Period = 2D;
            // smoothing1
            this.smoothing1.Factor = 8;
            this.smoothing1.Period = 1D;
            // line2
            this.line2.Brush.Color        = Color.FromRgb(((int)(((byte)(78)))), ((int)(((byte)(151)))), ((int)(((byte)(168)))));
            this.line2.Color              = Color.FromRgb(((int)(((byte)(78)))), ((int)(((byte)(151)))), ((int)(((byte)(168)))));
            this.line2.ColorEach          = false;
            this.line2.LinePen.Color      = Color.FromRgb(((int)(((byte)(47)))), ((int)(((byte)(91)))), ((int)(((byte)(101)))));
            this.line2.LinePen.Width      = 2;
            this.line2.Pointer.SizeDouble = 0D;
            this.line2.Pointer.SizeUnits  = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.line2.Title              = "line2";
            this.line2.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;

            int[] Yarr1 = new int[] { 5, 3, 2, 7, 1, 6, 4, 5, 1, 0, 10, 7, 11, 15, 12, 21, 17, 15, 19, 24, 21, 11, 15, 21, 19, 17, 20, 23 };
            int[] Yarr2 = new int[] { 7, 1, 5, 1, 0, 10, 6, 3, 2, 7, 11, 4, 5, 3, 4, 5, 1, 5, 11, 15, 16, 14, 14, 13, 12, 15, 17, 19 };

            DateTime[] Xarr = new DateTime[] { new DateTime(2012, 9, 1), new DateTime(2012, 9, 15), new DateTime(2012, 10, 1), new DateTime(2012, 10, 15), new DateTime(2012, 11, 1)
                                               , new DateTime(2012, 11, 15), new DateTime(2012, 12, 1), new DateTime(2012, 12, 15), new DateTime(2013, 1, 1), new DateTime(2013, 1, 15)
                                               , new DateTime(2013, 2, 1), new DateTime(2013, 2, 15), new DateTime(2013, 3, 1), new DateTime(2013, 3, 15)
                                               , new DateTime(2013, 4, 1), new DateTime(2013, 4, 15), new DateTime(2013, 5, 1), new DateTime(2013, 5, 15), new DateTime(2013, 6, 1)
                                               , new DateTime(2013, 6, 15), new DateTime(2013, 7, 1), new DateTime(2013, 7, 15), new DateTime(2013, 8, 1), new DateTime(2013, 8, 15)
                                               , new DateTime(2013, 9, 1), new DateTime(2013, 9, 15), new DateTime(2013, 10, 1), new DateTime(2013, 10, 15) };

            tChart1.Panel.Gradient.Visible = false;
            tChart1.Walls.Back.Visible     = false;

            tChart1[0].Title = "Apples";
            tChart1[1].Title = "Pears";
            tChart1[2].Title = "Average";
            tChart1[0].Add(Xarr, Yarr1);
            tChart1[1].Add(Xarr, Yarr2);

            tChart1[0].XValues.DateTime = true;
            tChart1[1].XValues.DateTime = true;

            points1.Pointer.Style       = Steema.TeeChart.Styles.PointerStyles.Circle;
            points2.Pointer.Style       = Steema.TeeChart.Styles.PointerStyles.Circle;
            points1.Pointer.Pen.Visible = false;
            points2.Pointer.Pen.Visible = false;

            line1.LinePen.Visible = false;
            line1.Legend.Visible  = false;
            line1.CheckDataSource();

            line2.DataSource = line1;
            line2.Smoothed   = true;
            line2.CheckDataSource();

            tChart1.Header.Font.Size    = 16;
            tChart1.SubHeader.Font.Size = 10;
            tChart1.SubHeader.Alignment = TextAlignment.Start;

            this.tChart1.Aspect.ZoomText = true;

            chartView = new ChartView
            {
                VerticalOptions   = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,
                WidthRequest      = 50,
                HeightRequest     = 50
            };
            chartView.Model = tChart1;

            Content = new StackLayout
            {
                Children =
                {
                    chartView
                }
            };
        }
        public ChartDashPage(string dash)
        {
            InitializeComponent();

            Steema.TeeChart.Chart chart1 = new Steema.TeeChart.Chart();
            Steema.TeeChart.Chart chart2 = new Steema.TeeChart.Chart();

            ChartView chartView1 = new ChartView
            {
                VerticalOptions   = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,
                WidthRequest      = 400,
                HeightRequest     = dash.Equals(AppResources.DashDigital) ? 150 : 250
            };

            ChartView chartView2 = new ChartView
            {
                VerticalOptions   = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,

                WidthRequest  = 400,
                HeightRequest = dash.Equals(AppResources.DashDigital) ? 200 : 250
            };

            ChartView chartView3 = new ChartView
            {
                VerticalOptions   = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,

                WidthRequest  = 400,
                HeightRequest = 150
            };


            InitializeChart(chart1);
            InitializeChart(chart2);

            if (dash.Equals(AppResources.DashGeographic))
            {
                DoDashGeographic(chart1, chart2, Color.White);
            }
            else if (dash.Equals(AppResources.DashDigital))
            {
                Steema.TeeChart.Chart chart3 = new Steema.TeeChart.Chart();
                InitializeChart(chart3);

                DoDashDigital(chart1, chart2, chart3, Color.White);

                chartView3.Model = chart3;
            }
            else if (dash.Equals(AppResources.DashExposure))
            {
                DoDashExposure(chart1, chart2, Color.White);
            }
            else if (dash.Equals(AppResources.DashTrend))
            {
                DoDashTrend(chart1, chart2);
            }

            chartView1.Model = chart1;
            chartView2.Model = chart2;

            if (dash.Equals(AppResources.DashDigital))
            {
                Content = new StackLayout
                {
                    Children = { chartView1, chartView3, chartView2 }
                };
            }
            else
            {
                Content = new StackLayout
                {
                    Children = { chartView1, chartView2 }
                };
            }
        }
        public PieSalesFigures()
        {
            this.tChart3       = new Steema.TeeChart.Chart();
            this.numericGauge2 = new Steema.TeeChart.Styles.NumericGauge();
            this.tChart2       = new Steema.TeeChart.Chart();
            this.numericGauge1 = new Steema.TeeChart.Styles.NumericGauge();
            this.tChart1       = new Steema.TeeChart.Chart();
            this.pie1          = new Steema.TeeChart.Styles.Pie();
            // tChart3
            this.tChart3.Aspect.ColorPaletteIndex            = 19;
            this.tChart3.Aspect.Elevation                    = 350;
            this.tChart3.Aspect.ElevationFloat               = 350D;
            this.tChart3.Aspect.Perspective                  = 55;
            this.tChart3.Aspect.View3D                       = false;
            this.tChart3.Axes.Bottom.AxisPen.Visible         = false;
            this.tChart3.Axes.Bottom.AxisPen.Width           = 0;
            this.tChart3.Axes.Bottom.Grid.Color              = Color.FromRgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221)))));
            this.tChart3.Axes.Bottom.Grid.Visible            = false;
            this.tChart3.Axes.Bottom.Labels.Font.Brush.Color = Color.Gray;
            this.tChart3.Axes.Bottom.Labels.Font.Name        = "Verdana";
            this.tChart3.Axes.Bottom.Labels.Font.Size        = 24;
            this.tChart3.Axes.Bottom.MinorTicks.Length       = 1;
            this.tChart3.Axes.Bottom.MinorTicks.Visible      = false;
            this.tChart3.Axes.Bottom.Ticks.Color             = Color.FromRgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
            this.tChart3.Axes.Bottom.Ticks.Length            = 20;
            this.tChart3.Axes.Bottom.Title.Font.Name         = "Verdana";
            this.tChart3.Axes.Depth.Title.Font.Name          = "Verdana";
            this.tChart3.Axes.Depth.Title.Font.Size          = 13;
            this.tChart3.Axes.DepthTop.Title.Font.Name       = "Verdana";
            this.tChart3.Axes.DepthTop.Title.Font.Size       = 13;
            this.tChart3.Axes.Left.AxisPen.Visible           = false;
            this.tChart3.Axes.Left.AxisPen.Width             = 0;
            this.tChart3.Axes.Left.Grid.Color                = Color.FromRgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221)))));
            this.tChart3.Axes.Left.Labels.Font.Brush.Color   = Color.Gray;
            this.tChart3.Axes.Left.Labels.Font.Name          = "Verdana";
            this.tChart3.Axes.Left.Labels.Font.Size          = 24;
            this.tChart3.Axes.Left.MinorTicks.Visible        = false;
            this.tChart3.Axes.Left.Ticks.Color               = Color.FromRgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
            this.tChart3.Axes.Left.Ticks.Length              = 7;
            this.tChart3.Axes.Left.Title.Font.Name           = "Verdana";
            this.tChart3.Axes.Right.AxisPen.Width            = 0;
            this.tChart3.Axes.Right.Grid.Visible             = false;
            this.tChart3.Axes.Right.Labels.Font.Brush.Color  = Color.Gray;
            this.tChart3.Axes.Right.Labels.Font.Name         = "Verdana";
            this.tChart3.Axes.Right.Labels.Font.Size         = 31;
            this.tChart3.Axes.Right.MinorTicks.Visible       = false;
            this.tChart3.Axes.Right.Ticks.Visible            = false;
            this.tChart3.Axes.Right.Title.Font.Name          = "Verdana";
            this.tChart3.Axes.Top.Title.Font.Name            = "Verdana";
            this.tChart3.Footer.Font.Brush.Color             = Color.Blue;
            this.tChart3.Header.Alignment                    = TextAlignment.Start;
            this.tChart3.Header.Font.Bold                    = true;
            this.tChart3.Header.Font.Brush.Color             = Color.Black;
            this.tChart3.Header.Font.Name                    = "Verdana";
            this.tChart3.Header.Font.Shadow.Brush.Color      = Color.Gray;
            this.tChart3.Header.Font.Shadow.SmoothBlur       = 2;
            this.tChart3.Header.Font.Size                    = 47;
            this.tChart3.Header.Lines                    = new string[] { "" };
            this.tChart3.Header.Visible                  = false;
            this.tChart3.Legend.Font.Name                = "Verdana";
            this.tChart3.Legend.Font.Size                = 19;
            this.tChart3.Legend.Pen.Visible              = false;
            this.tChart3.Legend.Shadow.Visible           = false;
            this.tChart3.Legend.Visible                  = false;
            this.tChart3.Panel.Bevel.Outer               = Steema.TeeChart.Drawing.BevelStyles.None;
            this.tChart3.Panel.Bevel.Width               = 2;
            this.tChart3.Panel.BevelWidth                = 2;
            this.tChart3.Panel.Brush.Color               = Color.FromRgb(((int)(((byte)(255)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
            this.tChart3.Panel.Brush.Gradient.EndColor   = Color.White;
            this.tChart3.Panel.Brush.Gradient.StartColor = Color.Silver;
            this.tChart3.Panel.Brush.Gradient.Visible    = false;
            this.tChart3.Series.Add(this.numericGauge2);
            this.tChart3.Walls.Back.Brush.Gradient.EndColor     = Color.White;
            this.tChart3.Walls.Back.Pen.Visible                 = false;
            this.tChart3.Walls.Bottom.Brush.Gradient.EndColor   = Color.Silver;
            this.tChart3.Walls.Bottom.Brush.Gradient.StartColor = Color.Gray;
            this.tChart3.Walls.Bottom.Brush.Gradient.Visible    = true;
            this.tChart3.Walls.Bottom.Pen.Color                 = Color.Gray;
            this.tChart3.Walls.Bottom.Transparent               = true;
            this.tChart3.Walls.Left.Brush.Color                 = Color.White;
            this.tChart3.Walls.Left.Brush.Gradient.EndColor     = Color.Silver;
            this.tChart3.Walls.Left.Brush.Gradient.StartColor   = Color.Gray;
            this.tChart3.Walls.Left.Brush.Gradient.Visible      = true;
            this.tChart3.Walls.Left.Pen.Color    = Color.Gray;
            this.tChart3.Walls.Left.Transparent  = true;
            this.tChart3.Walls.Right.Transparent = true;
            // numericGauge2
            this.numericGauge2.Color     = Color.FromRgb(((int)(((byte)(229)))), ((int)(((byte)(181)))), ((int)(((byte)(51)))));
            this.numericGauge2.ColorEach = false;
            this.numericGauge2.ColorLineEndValues.Add(0D);
            this.numericGauge2.ColorLineEndValues.Add(0D);
            this.numericGauge2.ColorLineStartValues.Add(0D);
            this.numericGauge2.ColorLineStartValues.Add(0D);
            this.numericGauge2.Frame.Circled     = false;
            this.numericGauge2.GaugeColorPalette = new Color[] {
                Color.FromRgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40))))),
                Color.FromRgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))),
                Color.FromRgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))),
                Color.FromRgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(130))))),
                Color.FromRgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(130))))),
                Color.FromRgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(130))))),
                Color.FromRgb(((int)(((byte)(100)))), ((int)(((byte)(40)))), ((int)(((byte)(40))))),
                Color.Transparent,
                Color.FromRgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))),
                Color.FromRgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))),
                Color.Transparent,
                Color.FromRgb(((int)(((byte)(30)))), ((int)(((byte)(200)))), ((int)(((byte)(30))))),
                Color.FromRgb(((int)(((byte)(200)))), ((int)(((byte)(115)))), ((int)(((byte)(60))))),
                Color.FromRgb(((int)(((byte)(200)))), ((int)(((byte)(115)))), ((int)(((byte)(60))))),
                Color.FromRgb(((int)(((byte)(200)))), ((int)(((byte)(115)))), ((int)(((byte)(60))))),
                Color.FromRgb(((int)(((byte)(150)))), ((int)(((byte)(50)))), ((int)(((byte)(10))))),
                Color.FromRgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))),
                Color.FromRgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))),
                Color.Transparent,
                Color.FromRgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))),
                Color.FromRgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40))))),
                Color.FromRgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))),
                Color.FromRgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))),
                Color.FromRgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))))
            };
            this.numericGauge2.GreenLine.Brush.Gradient.UseMiddle = false;
            this.numericGauge2.GreenLine.Position   = 0;
            this.numericGauge2.GreenLine.SizeDouble = 0D;
            this.numericGauge2.GreenLine.SizeUnits  = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.numericGauge2.GreenLine.Spiralled  = false;
            this.numericGauge2.GreenLine.VertSize   = 5;
            this.numericGauge2.GreenLine.Visible    = true;
            this.numericGauge2.GreenLineEndValue    = 0D;
            this.numericGauge2.GreenLineStartValue  = 0D;
            this.numericGauge2.Hand.Brush.Color     = Color.FromRgba(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(76)))));
            this.numericGauge2.Hand.Position        = 0;
            this.numericGauge2.Hand.SizeDouble      = 0D;
            this.numericGauge2.Hand.SizeUnits       = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.numericGauge2.Hand.Spiralled       = false;
            this.numericGauge2.Hand.Visible         = true;
            this.numericGauge2.Legend.Visible       = false;
            this.numericGauge2.Maximum = double.PositiveInfinity;
            this.numericGauge2.Minimum = 0D;
            this.numericGauge2.MinorTicks.Brush.Color = Color.Transparent;
            this.numericGauge2.MinorTicks.HorizSize   = 1;
            this.numericGauge2.MinorTicks.Position    = 0;
            this.numericGauge2.MinorTicks.SizeDouble  = 0D;
            this.numericGauge2.MinorTicks.SizeUnits   = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.numericGauge2.MinorTicks.Spiralled   = false;
            this.numericGauge2.MinorTicks.VertSize    = 1;
            this.numericGauge2.MinorTicks.Visible     = true;
            this.numericGauge2.RedLine.Position       = 0;
            this.numericGauge2.RedLine.SizeDouble     = 0D;
            this.numericGauge2.RedLine.SizeUnits      = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.numericGauge2.RedLine.Spiralled      = false;
            this.numericGauge2.RedLine.VertSize       = 5;
            this.numericGauge2.RedLine.Visible        = true;
            this.numericGauge2.RedLineEndValue        = 0D;
            this.numericGauge2.RedLineStartValue      = 0D;
            this.numericGauge2.ShowInLegend           = false;
            this.numericGauge2.Ticks.Brush.Color      = Color.Transparent;
            this.numericGauge2.Ticks.Position         = 0;
            this.numericGauge2.Ticks.SizeDouble       = 0D;
            this.numericGauge2.Ticks.SizeUnits        = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.numericGauge2.Ticks.Spiralled        = false;
            this.numericGauge2.Ticks.VertSize         = 20;
            this.numericGauge2.Ticks.Visible          = true;
            this.numericGauge2.Title              = "numericGauge1";
            this.numericGauge2.Value              = 980.18847917215362D;
            this.numericGauge2.ValueFormat        = "N";
            this.numericGauge2.XValues.DataMember = "X";
            this.numericGauge2.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            this.numericGauge2.YValues.DataMember = "Y";
            // tChart2
            this.tChart2.Aspect.Chart3DPercent    = 0;
            this.tChart2.Aspect.ClipPoints        = false;
            this.tChart2.Aspect.ColorPaletteIndex = 19;
            this.tChart2.Aspect.Elevation         = 350;
            this.tChart2.Aspect.ElevationFloat    = 350D;
            this.tChart2.Aspect.Orthogonal        = false;
            this.tChart2.Aspect.Perspective       = 55;
            this.tChart2.Aspect.View3D            = false;
            this.tChart2.Aspect.Zoom                         = 293;
            this.tChart2.Aspect.ZoomFloat                    = 293D;
            this.tChart2.Axes.Bottom.AxisPen.Visible         = false;
            this.tChart2.Axes.Bottom.AxisPen.Width           = 0;
            this.tChart2.Axes.Bottom.Grid.Color              = Color.FromRgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221)))));
            this.tChart2.Axes.Bottom.Grid.Visible            = false;
            this.tChart2.Axes.Bottom.Labels.Font.Brush.Color = Color.Gray;
            this.tChart2.Axes.Bottom.Labels.Font.Name        = "Verdana";
            this.tChart2.Axes.Bottom.Labels.Font.Size        = 24;
            this.tChart2.Axes.Bottom.MinorTicks.Length       = 1;
            this.tChart2.Axes.Bottom.MinorTicks.Visible      = false;
            this.tChart2.Axes.Bottom.Ticks.Color             = Color.FromRgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
            this.tChart2.Axes.Bottom.Ticks.Length            = 20;
            this.tChart2.Axes.Bottom.Title.Font.Name         = "Verdana";
            this.tChart2.Axes.Depth.Title.Font.Name          = "Verdana";
            this.tChart2.Axes.Depth.Title.Font.Size          = 13;
            this.tChart2.Axes.DepthTop.Title.Font.Name       = "Verdana";
            this.tChart2.Axes.DepthTop.Title.Font.Size       = 13;
            this.tChart2.Axes.Left.AxisPen.Visible           = false;
            this.tChart2.Axes.Left.AxisPen.Width             = 0;
            this.tChart2.Axes.Left.Grid.Color                = Color.FromRgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221)))));
            this.tChart2.Axes.Left.Labels.Font.Brush.Color   = Color.Gray;
            this.tChart2.Axes.Left.Labels.Font.Name          = "Verdana";
            this.tChart2.Axes.Left.Labels.Font.Size          = 24;
            this.tChart2.Axes.Left.MinorTicks.Visible        = false;
            this.tChart2.Axes.Left.Ticks.Color               = Color.FromRgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
            this.tChart2.Axes.Left.Ticks.Length              = 7;
            this.tChart2.Axes.Left.Title.Font.Name           = "Verdana";
            this.tChart2.Axes.Right.AxisPen.Width            = 0;
            this.tChart2.Axes.Right.Grid.Visible             = false;
            this.tChart2.Axes.Right.Labels.Font.Brush.Color  = Color.Gray;
            this.tChart2.Axes.Right.Labels.Font.Name         = "Verdana";
            this.tChart2.Axes.Right.Labels.Font.Size         = 31;
            this.tChart2.Axes.Right.MinorTicks.Visible       = false;
            this.tChart2.Axes.Right.Ticks.Visible            = false;
            this.tChart2.Axes.Right.Title.Font.Name          = "Verdana";
            this.tChart2.Axes.Top.Title.Font.Name            = "Verdana";
            this.tChart2.Axes.Visible                        = false;
            this.tChart2.Footer.Font.Brush.Color             = Color.Blue;
            this.tChart2.Header.Alignment                    = TextAlignment.Start;
            this.tChart2.Header.Font.Bold                    = true;
            this.tChart2.Header.Font.Brush.Color             = Color.Black;
            this.tChart2.Header.Font.Name                    = "Verdana";
            this.tChart2.Header.Font.Shadow.Brush.Color      = Color.Gray;
            this.tChart2.Header.Font.Shadow.SmoothBlur       = 2;
            this.tChart2.Header.Font.Size                    = 47;
            this.tChart2.Header.Lines                        = new string[] { "" };
            this.tChart2.Header.Visible                      = false;
            this.tChart2.Legend.Font.Name                    = "Verdana";
            this.tChart2.Legend.Font.Size                    = 19;
            this.tChart2.Legend.Pen.Visible                  = false;
            this.tChart2.Legend.Shadow.Visible               = false;
            this.tChart2.Legend.Visible                      = false;
            this.tChart2.Panel.Bevel.Outer                   = Steema.TeeChart.Drawing.BevelStyles.None;
            this.tChart2.Panel.Bevel.Width                   = 2;
            this.tChart2.Panel.BevelWidth                    = 2;
            this.tChart2.Panel.Brush.Color                   = Color.FromRgb(((int)(((byte)(51)))), ((int)(((byte)(181)))), ((int)(((byte)(229)))));
            this.tChart2.Panel.Brush.Gradient.EndColor       = Color.White;
            this.tChart2.Panel.Brush.Gradient.StartColor     = Color.Silver;
            this.tChart2.Panel.Brush.Gradient.Visible        = false;
            this.tChart2.Panel.MarginBottom                  = 0D;
            this.tChart2.Panel.MarginLeft                    = 0D;
            this.tChart2.Panel.MarginRight                   = 0D;
            this.tChart2.Panel.MarginTop                     = 0D;
            this.tChart2.Series.Add(this.numericGauge1);
            this.tChart2.Walls.Back.Brush.Gradient.EndColor     = Color.White;
            this.tChart2.Walls.Back.Pen.Visible                 = false;
            this.tChart2.Walls.Bottom.Brush.Gradient.EndColor   = Color.Silver;
            this.tChart2.Walls.Bottom.Brush.Gradient.StartColor = Color.Gray;
            this.tChart2.Walls.Bottom.Brush.Gradient.Visible    = true;
            this.tChart2.Walls.Bottom.Pen.Color                 = Color.Gray;
            this.tChart2.Walls.Bottom.Transparent               = true;
            this.tChart2.Walls.Left.Brush.Color                 = Color.White;
            this.tChart2.Walls.Left.Brush.Gradient.EndColor     = Color.Silver;
            this.tChart2.Walls.Left.Brush.Gradient.StartColor   = Color.Gray;
            this.tChart2.Walls.Left.Brush.Gradient.Visible      = true;
            this.tChart2.Walls.Left.Pen.Color    = Color.Gray;
            this.tChart2.Walls.Left.Transparent  = true;
            this.tChart2.Walls.Right.Transparent = true;
            this.tChart2.Walls.Visible           = false;
            // numericGauge1
            this.numericGauge1.Color     = Color.FromRgb(((int)(((byte)(229)))), ((int)(((byte)(181)))), ((int)(((byte)(51)))));
            this.numericGauge1.ColorEach = false;
            this.numericGauge1.ColorLineEndValues.Add(0D);
            this.numericGauge1.ColorLineEndValues.Add(0D);
            this.numericGauge1.ColorLineStartValues.Add(0D);
            this.numericGauge1.ColorLineStartValues.Add(0D);
            this.numericGauge1.Frame.Circled     = false;
            this.numericGauge1.GaugeColorPalette = new Color[] {
                Color.FromRgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40))))),
                Color.FromRgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))),
                Color.FromRgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))),
                Color.FromRgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(130))))),
                Color.FromRgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(130))))),
                Color.FromRgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(130))))),
                Color.FromRgb(((int)(((byte)(100)))), ((int)(((byte)(40)))), ((int)(((byte)(40))))),
                Color.Transparent,
                Color.FromRgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))),
                Color.FromRgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))),
                Color.Transparent,
                Color.FromRgb(((int)(((byte)(30)))), ((int)(((byte)(200)))), ((int)(((byte)(30))))),
                Color.FromRgb(((int)(((byte)(200)))), ((int)(((byte)(115)))), ((int)(((byte)(60))))),
                Color.FromRgb(((int)(((byte)(200)))), ((int)(((byte)(115)))), ((int)(((byte)(60))))),
                Color.FromRgb(((int)(((byte)(200)))), ((int)(((byte)(115)))), ((int)(((byte)(60))))),
                Color.FromRgb(((int)(((byte)(150)))), ((int)(((byte)(50)))), ((int)(((byte)(10))))),
                Color.FromRgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))),
                Color.FromRgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))),
                Color.Transparent,
                Color.FromRgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))),
                Color.FromRgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40))))),
                Color.FromRgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))),
                Color.FromRgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))),
                Color.FromRgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))))
            };
            //this.numericGauge1.GreenLine.Brush.Gradient.Sigma = true;
            //this.numericGauge1.GreenLine.Brush.Gradient.SigmaFocus = 0F;
            this.numericGauge1.GreenLine.Brush.Gradient.UseMiddle = false;
            this.numericGauge1.GreenLine.Position   = 0;
            this.numericGauge1.GreenLine.SizeDouble = 0D;
            this.numericGauge1.GreenLine.SizeUnits  = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.numericGauge1.GreenLine.Spiralled  = false;
            this.numericGauge1.GreenLine.VertSize   = 5;
            this.numericGauge1.GreenLine.Visible    = true;
            this.numericGauge1.GreenLineEndValue    = 0D;
            this.numericGauge1.GreenLineStartValue  = 0D;
            this.numericGauge1.Hand.Brush.Color     = Color.FromRgba(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(76)))));
            this.numericGauge1.Hand.Position        = 0;
            this.numericGauge1.Hand.SizeDouble      = 0D;
            this.numericGauge1.Hand.SizeUnits       = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.numericGauge1.Hand.Spiralled       = false;
            this.numericGauge1.Hand.Visible         = true;
            this.numericGauge1.Legend.Visible       = false;
            this.numericGauge1.Maximum = double.PositiveInfinity;
            this.numericGauge1.Minimum = 0D;
            this.numericGauge1.MinorTicks.Brush.Color = Color.Transparent;
            this.numericGauge1.MinorTicks.HorizSize   = 1;
            this.numericGauge1.MinorTicks.Position    = 0;
            this.numericGauge1.MinorTicks.SizeDouble  = 0D;
            this.numericGauge1.MinorTicks.SizeUnits   = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.numericGauge1.MinorTicks.Spiralled   = false;
            this.numericGauge1.MinorTicks.VertSize    = 1;
            this.numericGauge1.MinorTicks.Visible     = true;
            this.numericGauge1.RedLine.Position       = 0;
            this.numericGauge1.RedLine.SizeDouble     = 0D;
            this.numericGauge1.RedLine.SizeUnits      = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.numericGauge1.RedLine.Spiralled      = false;
            this.numericGauge1.RedLine.VertSize       = 5;
            this.numericGauge1.RedLine.Visible        = true;
            this.numericGauge1.RedLineEndValue        = 0D;
            this.numericGauge1.RedLineStartValue      = 0D;
            this.numericGauge1.ShowInLegend           = false;
            this.numericGauge1.Ticks.Brush.Color      = Color.Transparent;
            this.numericGauge1.Ticks.Position         = 0;
            this.numericGauge1.Ticks.SizeDouble       = 0D;
            this.numericGauge1.Ticks.SizeUnits        = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.numericGauge1.Ticks.Spiralled        = false;
            this.numericGauge1.Ticks.VertSize         = 20;
            this.numericGauge1.Ticks.Visible          = true;
            this.numericGauge1.Title              = "numericGauge1";
            this.numericGauge1.Value              = 478.53749267688835D;
            this.numericGauge1.ValueFormat        = "N";
            this.numericGauge1.XValues.DataMember = "X";
            this.numericGauge1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            this.numericGauge1.YValues.DataMember = "Y";
            // tChart1
            this.tChart1.Aspect.ColorPaletteIndex            = 19;
            this.tChart1.Aspect.Elevation                    = 315;
            this.tChart1.Aspect.ElevationFloat               = 315D;
            this.tChart1.Aspect.Orthogonal                   = false;
            this.tChart1.Aspect.Perspective                  = 0;
            this.tChart1.Aspect.Rotation                     = 360;
            this.tChart1.Aspect.RotationFloat                = 360D;
            this.tChart1.Aspect.View3D                       = false;
            this.tChart1.Axes.Bottom.AxisPen.Visible         = false;
            this.tChart1.Axes.Bottom.AxisPen.Width           = 0;
            this.tChart1.Axes.Bottom.Grid.Color              = Color.FromRgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221)))));
            this.tChart1.Axes.Bottom.Grid.Visible            = false;
            this.tChart1.Axes.Bottom.Labels.Font.Brush.Color = Color.Gray;
            this.tChart1.Axes.Bottom.Labels.Font.Name        = "Verdana";
            this.tChart1.Axes.Bottom.Labels.Font.Size        = 24;
            this.tChart1.Axes.Bottom.MinorTicks.Visible      = false;
            this.tChart1.Axes.Bottom.Ticks.Color             = Color.FromRgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
            this.tChart1.Axes.Bottom.Title.Font.Name         = "Verdana";
            this.tChart1.Axes.Depth.Title.Font.Name          = "Verdana";
            this.tChart1.Axes.Depth.Title.Font.Size          = 13;
            this.tChart1.Axes.DepthTop.Title.Font.Name       = "Verdana";
            this.tChart1.Axes.DepthTop.Title.Font.Size       = 13;
            this.tChart1.Axes.Left.AxisPen.Visible           = false;
            this.tChart1.Axes.Left.AxisPen.Width             = 0;
            this.tChart1.Axes.Left.Grid.Color                = Color.FromRgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221)))));
            this.tChart1.Axes.Left.Labels.Font.Brush.Color   = Color.Gray;
            this.tChart1.Axes.Left.Labels.Font.Name          = "Verdana";
            this.tChart1.Axes.Left.Labels.Font.Size          = 24;
            this.tChart1.Axes.Left.MinorTicks.Visible        = false;
            this.tChart1.Axes.Left.Ticks.Color               = Color.FromRgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
            this.tChart1.Axes.Left.Ticks.Length              = 7;
            this.tChart1.Axes.Left.Title.Font.Name           = "Verdana";
            this.tChart1.Axes.Right.AxisPen.Width            = 0;
            this.tChart1.Axes.Right.Grid.Visible             = false;
            this.tChart1.Axes.Right.Labels.Font.Brush.Color  = Color.Gray;
            this.tChart1.Axes.Right.Labels.Font.Name         = "Verdana";
            this.tChart1.Axes.Right.Labels.Font.Size         = 31;
            this.tChart1.Axes.Right.MinorTicks.Visible       = false;
            this.tChart1.Axes.Right.Ticks.Visible            = false;
            this.tChart1.Axes.Right.Title.Font.Name          = "Verdana";
            this.tChart1.Axes.Top.Title.Font.Name            = "Verdana";
            this.tChart1.Footer.Font.Brush.Color             = Color.Blue;
            this.tChart1.Header.Font.Brush.Color             = Color.Silver;
            this.tChart1.Header.Font.Name                    = "Segoe UI";
            this.tChart1.Header.Font.Shadow.Brush.Color      = Color.FromRgb(((int)(((byte)(131)))), ((int)(((byte)(131)))), ((int)(((byte)(131)))));
            this.tChart1.Header.Font.Shadow.SmoothBlur       = 2;
            this.tChart1.Header.Font.Size                    = 23;
            this.tChart1.Header.Lines                    = new string[] { "Percentage of world population" };
            this.tChart1.Legend.Alignment                = Steema.TeeChart.LegendAlignments.Bottom;
            this.tChart1.Legend.Font.Brush.Color         = Color.Silver;
            this.tChart1.Legend.Font.Name                = "Segoe UI";
            this.tChart1.Legend.Font.Size                = 19;
            this.tChart1.Legend.Pen.Visible              = false;
            this.tChart1.Legend.Shadow.Visible           = false;
            this.tChart1.Legend.Transparent              = true;
            this.tChart1.Panel.Bevel.Outer               = Steema.TeeChart.Drawing.BevelStyles.None;
            this.tChart1.Panel.Bevel.Width               = 2;
            this.tChart1.Panel.BevelWidth                = 2;
            this.tChart1.Panel.Brush.Color               = Color.White;
            this.tChart1.Panel.Brush.Gradient.EndColor   = Color.White;
            this.tChart1.Panel.Brush.Gradient.StartColor = Color.Silver;
            this.tChart1.Panel.Brush.Gradient.Visible    = false;
            this.tChart1.Panel.MarginRight               = 18D;
            this.tChart1.Series.Add(this.pie1);
            this.tChart1.SubHeader.Font.Brush.Color        = Color.Silver;
            this.tChart1.SubHeader.Font.Name               = "Segoe UI";
            this.tChart1.SubHeader.Font.Shadow.Brush.Color = Color.Gray;
            this.tChart1.SubHeader.Font.Size               = 14;
            this.tChart1.SubHeader.Lines   = new string[] { "actively using social media" };
            this.tChart1.SubHeader.Visible = true;
            this.tChart1.Walls.Back.Brush.Gradient.EndColor     = Color.White;
            this.tChart1.Walls.Back.Pen.Visible                 = false;
            this.tChart1.Walls.Bottom.Brush.Gradient.EndColor   = Color.Silver;
            this.tChart1.Walls.Bottom.Brush.Gradient.StartColor = Color.Gray;
            this.tChart1.Walls.Bottom.Brush.Gradient.Visible    = true;
            this.tChart1.Walls.Bottom.Pen.Color                 = Color.Gray;
            this.tChart1.Walls.Bottom.Transparent               = true;
            this.tChart1.Walls.Left.Brush.Color                 = Color.White;
            this.tChart1.Walls.Left.Brush.Gradient.EndColor     = Color.Silver;
            this.tChart1.Walls.Left.Brush.Gradient.StartColor   = Color.Gray;
            this.tChart1.Walls.Left.Brush.Gradient.Visible      = true;
            this.tChart1.Walls.Left.Pen.Color    = Color.Gray;
            this.tChart1.Walls.Left.Transparent  = true;
            this.tChart1.Walls.Right.Transparent = true;
            // pie1
            this.pie1.Brush.Color   = Color.FromRgb(((int)(((byte)(0)))), ((int)(((byte)(153)))), ((int)(((byte)(102)))));
            this.pie1.Circled       = true;
            this.pie1.Color         = Color.FromRgb(((int)(((byte)(229)))), ((int)(((byte)(181)))), ((int)(((byte)(51)))));
            this.pie1.Frame.Circled = true;
            this.pie1.Frame.FrameElementPercents = new double[] {
                25D,
                60D,
                15D
            };
            this.pie1.Frame.OuterBand.Gradient.UseMiddle = false;
            this.pie1.LabelMember            = "Labels";
            this.pie1.Marks.Arrow.Color      = Color.FromRgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.pie1.Marks.Brush.Color      = Color.FromRgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(128)))));
            this.pie1.Marks.Font.Brush.Color = Color.FromRgb(((int)(((byte)(0)))), ((int)(((byte)(153)))), ((int)(((byte)(102)))));
            this.pie1.Marks.Font.Name        = "Segoe UI";
            this.pie1.Marks.Font.Size        = 14;
            this.pie1.Marks.FontSeriesColor  = true;
            this.pie1.Marks.Pen.Visible      = false;
            this.pie1.Marks.Shadow.Visible   = false;
            this.pie1.Marks.ShapeStyle       = Steema.TeeChart.Drawing.TextShapeStyle.RoundRectangle;
            this.pie1.MarksPie.LegSize       = 0;
            this.pie1.MarksPie.VertCenter    = false;
            this.pie1.MultiPie           = Steema.TeeChart.Styles.MultiPies.Automatic;
            this.pie1.OtherSlice.Color   = Color.Transparent;
            this.pie1.OtherSlice.Style   = Steema.TeeChart.Styles.PieOtherStyles.None;
            this.pie1.OtherSlice.Text    = "";
            this.pie1.OtherSlice.Value   = 0D;
            this.pie1.Title              = "pie1";
            this.pie1.UniqueCustomRadius = true;
            this.pie1.XValues.DataMember = "Angle";
            this.pie1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            this.pie1.YValues.DataMember = "Pie";
            this.tChart1.Panel.Color     = Color.FromRgb(0, 0, 230);

            pie1.Add(19, "Facebook");
            pie1.Add(14, "Tencent");
            pie1.Add(9, "WhatsApp");
            pie1.Add(5, "LinkedIn");
            pie1.Add(4, "Twitter");

            pie1.MarksPie.LegSize      = 20;
            pie1.Marks.FontSeriesColor = true;

            tChart2.Panel.Gradient.Visible = false;
            tChart3.Panel.Gradient.Visible = false;

            //numericGauges
            setGauge(numericGauge1);
            numericGauge1.Markers[1].Text = "Highest";
            numericGauge1.Markers[2].Text = "Facebook";

            setGauge(numericGauge2);
            numericGauge2.Markers[1].Text = "Lowest";
            numericGauge2.Markers[2].Text = "Twitter";

            this.tChart1.Aspect.ZoomText = true;
            this.tChart2.Aspect.ZoomText = true;
            this.tChart3.Aspect.ZoomText = true;

            chartView1 = new ChartView
            {
                VerticalOptions   = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,
                WidthRequest      = 25,
                HeightRequest     = 25
            };
            chartView1.Model = tChart1;

            chartView2 = new ChartView
            {
                VerticalOptions   = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,
                WidthRequest      = 25,
                HeightRequest     = 25
            };
            chartView2.Model = tChart2;

            chartView3 = new ChartView
            {
                VerticalOptions   = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,
                WidthRequest      = 25,
                HeightRequest     = 25
            };
            chartView3.Model = tChart3;

            Content = new StackLayout
            {
                Children =
                {
                    chartView1
                }
            };
        }
        public WebAnalytics()
        {
            this.tChart3     = new Steema.TeeChart.Chart();
            this.donut3      = new Steema.TeeChart.Styles.Donut();
            this.annotation3 = new Steema.TeeChart.Tools.Annotation();
            this.tChart2     = new Steema.TeeChart.Chart();
            this.donut2      = new Steema.TeeChart.Styles.Donut();
            this.annotation2 = new Steema.TeeChart.Tools.Annotation();
            this.tChart4     = new Steema.TeeChart.Chart();
            this.line1       = new Steema.TeeChart.Styles.Line();
            this.line2       = new Steema.TeeChart.Styles.Line();
            this.line3       = new Steema.TeeChart.Styles.Line();
            this.cursorTool1 = new Steema.TeeChart.Tools.CursorTool();
            this.annotation4 = new Steema.TeeChart.Tools.Annotation();
            this.cursorTool2 = new Steema.TeeChart.Tools.CursorTool();
            this.annotation6 = new Steema.TeeChart.Tools.Annotation();
            this.cursorTool3 = new Steema.TeeChart.Tools.CursorTool();
            this.annotation8 = new Steema.TeeChart.Tools.Annotation();
            this.tChart1     = new Steema.TeeChart.Chart();
            this.donut1      = new Steema.TeeChart.Styles.Donut();
            this.annotation1 = new Steema.TeeChart.Tools.Annotation();
            this.textSource1 = new Steema.TeeChart.Data.TextSource();

            // tChart3
            this.tChart3.Aspect.Elevation               = 315;
            this.tChart3.Aspect.Orthogonal              = false;
            this.tChart3.Aspect.Perspective             = 0;
            this.tChart3.Aspect.Rotation                = 360;
            this.tChart3.Aspect.View3D                  = false;
            this.tChart3.Footer.Font.Brush.Color        = Color.Gray;
            this.tChart3.Header.Visible                 = false;
            this.tChart3.Legend.Visible                 = false;
            this.tChart3.Panel.Bevel.Outer              = Steema.TeeChart.Drawing.BevelStyles.None;
            this.tChart3.Panel.Brush.Color              = Color.White;
            this.tChart3.Panel.Brush.Gradient.EndColor  = Color.White;
            this.tChart3.Panel.Brush.Gradient.UseMiddle = false;
            this.tChart3.Series.Add(this.donut3);
            this.tChart3.Tools.Add(this.annotation3);
            this.tChart3.Walls.Back.Brush.Gradient.EndColor = Color.White;

            // donut3
            this.donut3.Brush.Color   = Color.FromRgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
            this.donut3.Circled       = true;
            this.donut3.Color         = Color.FromRgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
            this.donut3.DonutPercent  = 95;
            this.donut3.Frame.Circled = true;
            this.donut3.Frame.FrameElementPercents = new double[] {
                25D,
                60D,
                15D
            };
            this.donut3.Frame.OuterBand.Gradient.UseMiddle = false;
            this.donut3.LabelMember         = "Labels";
            this.donut3.Marks.Visible       = false;
            this.donut3.MarksPie.LegSize    = 0;
            this.donut3.MarksPie.VertCenter = false;
            this.donut3.MultiPie            = Steema.TeeChart.Styles.MultiPies.Automatic;
            this.donut3.OtherSlice.Style    = Steema.TeeChart.Styles.PieOtherStyles.None;
            this.donut3.OtherSlice.Text     = "";
            this.donut3.OtherSlice.Value    = 0D;
            this.donut3.RotationAngle       = 180;
            this.donut3.Shadow.Height       = 3;
            this.donut3.Shadow.Width        = 3;
            this.donut3.Title = "Series0";
            this.donut3.UniqueCustomRadius = true;
            this.donut3.XValues.DataMember = "Angle";
            this.donut3.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            this.donut3.YValues.DataMember = "Pie";

            // annotation3
            this.annotation3.AutoSize                   = true;
            this.annotation3.Callout.ArrowHead          = Steema.TeeChart.Styles.ArrowHeadStyles.None;
            this.annotation3.Callout.ArrowHeadDirection = Steema.TeeChart.Styles.ArrowHeadDirection.FromPoint;
            this.annotation3.Callout.ArrowHeadSize      = 8;
            this.annotation3.Callout.Brush.Color        = Color.Black;
            this.annotation3.Callout.Distance           = 0;
            this.annotation3.Callout.Draw3D             = false;
            this.annotation3.Callout.SizeDouble         = 0D;
            this.annotation3.Callout.SizeUnits          = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.annotation3.Callout.XPosition          = 0;
            this.annotation3.Callout.YPosition          = 0;
            this.annotation3.Callout.ZPosition          = 0;
            this.annotation3.Position                   = Steema.TeeChart.Tools.AnnotationPositions.Center;
            this.annotation3.Shape.Font.Name            = "Segoe UI";
            this.annotation3.Shape.Font.Size            = 29;
            this.annotation3.Shape.Lines                = new string[] { "$1500" };
            this.annotation3.Shape.Transparent          = true;
            this.annotation3.Text = "$1500";

            // tChart2
            this.tChart2.Aspect.Elevation               = 315;
            this.tChart2.Aspect.Orthogonal              = false;
            this.tChart2.Aspect.Perspective             = 0;
            this.tChart2.Aspect.Rotation                = 360;
            this.tChart2.Aspect.View3D                  = false;
            this.tChart2.Footer.Font.Brush.Color        = Color.Gray;
            this.tChart2.Header.Visible                 = false;
            this.tChart2.Legend.Visible                 = false;
            this.tChart2.Panel.Bevel.Outer              = Steema.TeeChart.Drawing.BevelStyles.None;
            this.tChart2.Panel.Brush.Color              = Color.White;
            this.tChart2.Panel.Brush.Gradient.EndColor  = Color.White;
            this.tChart2.Panel.Brush.Gradient.UseMiddle = false;
            this.tChart2.Series.Add(this.donut2);
            this.tChart2.Tools.Add(this.annotation2);
            this.tChart2.Walls.Back.Brush.Gradient.EndColor = Color.White;

            // donut2
            this.donut2.Brush.Color   = Color.FromRgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
            this.donut2.Circled       = true;
            this.donut2.Color         = Color.FromRgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
            this.donut2.DonutPercent  = 95;
            this.donut2.Frame.Circled = true;
            this.donut2.Frame.FrameElementPercents = new double[] {
                25D,
                60D,
                15D
            };
            this.donut2.Frame.OuterBand.Gradient.UseMiddle = false;
            this.donut2.LabelMember         = "Labels";
            this.donut2.Marks.Visible       = false;
            this.donut2.MarksPie.LegSize    = 0;
            this.donut2.MarksPie.VertCenter = false;
            this.donut2.MultiPie            = Steema.TeeChart.Styles.MultiPies.Automatic;
            this.donut2.OtherSlice.Style    = Steema.TeeChart.Styles.PieOtherStyles.None;
            this.donut2.OtherSlice.Text     = "";
            this.donut2.OtherSlice.Value    = 0D;
            this.donut2.RotationAngle       = 247;
            this.donut2.Shadow.Height       = 3;
            this.donut2.Shadow.Width        = 3;
            this.donut2.Title = "Series0";
            this.donut2.UniqueCustomRadius = true;
            this.donut2.XValues.DataMember = "Angle";
            this.donut2.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            this.donut2.YValues.DataMember = "Pie";
            // annotation2
            this.annotation2.AutoSize                   = true;
            this.annotation2.Callout.ArrowHead          = Steema.TeeChart.Styles.ArrowHeadStyles.None;
            this.annotation2.Callout.ArrowHeadDirection = Steema.TeeChart.Styles.ArrowHeadDirection.FromPoint;
            this.annotation2.Callout.ArrowHeadSize      = 8;
            this.annotation2.Callout.Brush.Color        = Color.Black;
            this.annotation2.Callout.Distance           = 0;
            this.annotation2.Callout.Draw3D             = false;
            this.annotation2.Callout.SizeDouble         = 0D;
            this.annotation2.Callout.SizeUnits          = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.annotation2.Callout.XPosition          = 0;
            this.annotation2.Callout.YPosition          = 0;
            this.annotation2.Callout.ZPosition          = 0;
            this.annotation2.Position                   = Steema.TeeChart.Tools.AnnotationPositions.Center;
            this.annotation2.Shape.Font.Name            = "Segoe UI";
            this.annotation2.Shape.Font.Size            = 29;
            this.annotation2.Shape.Lines                = new string[] { "3390" };
            this.annotation2.Shape.Transparent          = true;
            this.annotation2.Text = "3390";

            // tChart4
            this.tChart4.Aspect.View3D = false;
            this.tChart4.Axes.Bottom.MinorTicks.Visible = false;
            this.tChart4.Axes.Left.Grid.Visible         = false;
            this.tChart4.Axes.Left.Increment            = 20D;
            this.tChart4.Axes.Left.MinorTicks.Visible   = false;
            this.tChart4.Footer.Font.Brush.Color        = Color.Blue;
            this.tChart4.Header.Visible                 = false;
            this.tChart4.Legend.Alignment               = Steema.TeeChart.LegendAlignments.Bottom;
            this.tChart4.Legend.Transparent             = true;
            this.tChart4.Panel.Bevel.Outer              = Steema.TeeChart.Drawing.BevelStyles.None;
            this.tChart4.Panel.Brush.Color              = Color.White;
            this.tChart4.Panel.Brush.Gradient.EndColor  = Color.White;
            this.tChart4.Panel.Brush.Gradient.UseMiddle = false;
            this.tChart4.Series.Add(this.line1);
            this.tChart4.Series.Add(this.line2);
            this.tChart4.Series.Add(this.line3);
            this.tChart4.Tools.Add(this.cursorTool1);
            this.tChart4.Tools.Add(this.annotation4);
            this.tChart4.Tools.Add(this.cursorTool2);
            this.tChart4.Tools.Add(this.annotation6);
            this.tChart4.Tools.Add(this.cursorTool3);
            this.tChart4.Tools.Add(this.annotation8);
            this.tChart4.Walls.Back.Brush.Gradient.EndColor = Color.White;
            this.tChart4.Walls.Back.Visible = false;
            this.tChart4.AfterDraw         += new Steema.TeeChart.PaintChartEventHandler(this.tChart4_AfterDraw);

            // line1
            this.line1.Brush.Color         = Color.FromRgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
            this.line1.Color               = Color.FromRgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
            this.line1.ColorEach           = false;
            this.line1.ColorMember         = "Colors";
            this.line1.LinePen.Color       = Color.FromRgb(((int)(((byte)(41)))), ((int)(((byte)(61)))), ((int)(((byte)(98)))));
            this.line1.LinePen.Width       = 4;
            this.line1.Pointer.Pen.Visible = false;
            this.line1.Pointer.SizeDouble  = 0D;
            this.line1.Pointer.SizeUnits   = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.line1.Pointer.Style       = Steema.TeeChart.Styles.PointerStyles.Circle;
            this.line1.Title               = "Speed";
            this.line1.XValues.DataMember  = "X";
            this.line1.XValues.Order       = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            this.line1.YValues.DataMember  = "Y";

            // line2
            this.line2.Brush.Color         = Color.FromRgb(((int)(((byte)(6)))), ((int)(((byte)(191)))), ((int)(((byte)(89)))));
            this.line2.Color               = Color.FromRgb(((int)(((byte)(6)))), ((int)(((byte)(191)))), ((int)(((byte)(89)))));
            this.line2.ColorEach           = false;
            this.line2.LinePen.Color       = Color.FromRgb(((int)(((byte)(146)))), ((int)(((byte)(94)))), ((int)(((byte)(32)))));
            this.line2.LinePen.Width       = 4;
            this.line2.Pointer.Pen.Visible = false;
            this.line2.Pointer.SizeDouble  = 0D;
            this.line2.Pointer.SizeUnits   = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.line2.Pointer.Style       = Steema.TeeChart.Styles.PointerStyles.Circle;
            this.line2.Title               = "Time";
            this.line2.XValues.DataMember  = "X";
            this.line2.XValues.Order       = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            this.line2.YValues.DataMember  = "Y";

            // line3
            this.line3.Brush.Color         = Color.FromRgb(((int)(((byte)(238)))), ((int)(((byte)(17)))), ((int)(((byte)(34)))));
            this.line3.Color               = Color.FromRgb(((int)(((byte)(238)))), ((int)(((byte)(17)))), ((int)(((byte)(34)))));
            this.line3.ColorEach           = false;
            this.line3.ColorMember         = "Colors";
            this.line3.LinePen.Color       = Color.FromRgb(((int)(((byte)(146)))), ((int)(((byte)(94)))), ((int)(((byte)(32)))));
            this.line3.LinePen.Width       = 4;
            this.line3.Pointer.Pen.Visible = false;
            this.line3.Pointer.SizeDouble  = 0D;
            this.line3.Pointer.SizeUnits   = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.line3.Pointer.Style       = Steema.TeeChart.Styles.PointerStyles.Circle;
            this.line3.Title               = "Visitors";
            this.line3.XValues.DataMember  = "X";
            this.line3.XValues.Order       = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            this.line3.YValues.DataMember  = "Y";

            // cursorTool1
            this.cursorTool1.FollowMouse = true;
            this.cursorTool1.Pen.Color   = Color.Gray;
            this.cursorTool1.Series      = this.line1;
            this.cursorTool1.Style       = Steema.TeeChart.Tools.CursorToolStyles.Vertical;
            this.cursorTool1.Change     += new Steema.TeeChart.Tools.CursorChangeEventHandler(this.cursorTool1_Change);

            // annotation4
            this.annotation4.AutoSize                   = true;
            this.annotation4.Callout.ArrowHead          = Steema.TeeChart.Styles.ArrowHeadStyles.None;
            this.annotation4.Callout.ArrowHeadDirection = Steema.TeeChart.Styles.ArrowHeadDirection.FromPoint;
            this.annotation4.Callout.ArrowHeadSize      = 8;
            this.annotation4.Callout.Brush.Color        = Color.Black;
            this.annotation4.Callout.Distance           = 0;
            this.annotation4.Callout.Draw3D             = false;
            this.annotation4.Callout.SizeDouble         = 0D;
            this.annotation4.Callout.SizeUnits          = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.annotation4.Callout.XPosition          = 0;
            this.annotation4.Callout.YPosition          = 0;
            this.annotation4.Callout.ZPosition          = 0;
            this.annotation4.Left                   = 56;
            this.annotation4.Shape.Bottom           = 212;
            this.annotation4.Shape.Brush.Color      = Color.FromRgb(((int)(((byte)(238)))), ((int)(((byte)(17)))), ((int)(((byte)(34)))));
            this.annotation4.Shape.CustomPosition   = true;
            this.annotation4.Shape.Font.Brush.Color = Color.White;
            this.annotation4.Shape.Left             = 56;
            this.annotation4.Shape.Lines            = new string[] { "0" };
            this.annotation4.Shape.Pen.Visible      = false;
            this.annotation4.Shape.Right            = 75;
            this.annotation4.Shape.Shadow.Visible   = false;
            this.annotation4.Shape.ShapeStyle       = Steema.TeeChart.Drawing.TextShapeStyle.RoundRectangle;
            this.annotation4.Shape.Top              = 194;
            this.annotation4.Shape.Visible          = false;
            this.annotation4.Text                   = "0";
            this.annotation4.Top = 194;

            // cursorTool2
            this.cursorTool2.FollowMouse = true;
            this.cursorTool2.Pen.Color   = Color.Gray;
            this.cursorTool2.Series      = this.line2;
            this.cursorTool2.Style       = Steema.TeeChart.Tools.CursorToolStyles.Vertical;

            // annotation6
            this.annotation6.AutoSize                   = true;
            this.annotation6.Callout.ArrowHead          = Steema.TeeChart.Styles.ArrowHeadStyles.None;
            this.annotation6.Callout.ArrowHeadDirection = Steema.TeeChart.Styles.ArrowHeadDirection.FromPoint;
            this.annotation6.Callout.ArrowHeadSize      = 8;
            this.annotation6.Callout.Brush.Color        = Color.Black;
            this.annotation6.Callout.Distance           = 0;
            this.annotation6.Callout.Draw3D             = false;
            this.annotation6.Callout.SizeDouble         = 0D;
            this.annotation6.Callout.SizeUnits          = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.annotation6.Callout.XPosition          = 0;
            this.annotation6.Callout.YPosition          = 0;
            this.annotation6.Callout.ZPosition          = 0;
            this.annotation6.Left                   = -19;
            this.annotation6.Shape.Bottom           = 212;
            this.annotation6.Shape.Brush.Color      = Color.FromRgb(((int)(((byte)(238)))), ((int)(((byte)(17)))), ((int)(((byte)(34)))));
            this.annotation6.Shape.CustomPosition   = true;
            this.annotation6.Shape.Font.Brush.Color = Color.White;
            this.annotation6.Shape.Left             = -19;
            this.annotation6.Shape.Lines            = new string[] { "-0,458" };
            this.annotation6.Shape.Pen.Visible      = false;
            this.annotation6.Shape.Right            = 29;
            this.annotation6.Shape.Shadow.Visible   = false;
            this.annotation6.Shape.ShapeStyle       = Steema.TeeChart.Drawing.TextShapeStyle.RoundRectangle;
            this.annotation6.Shape.Top              = 194;
            this.annotation6.Shape.Visible          = false;
            this.annotation6.Text                   = "-0,458";
            this.annotation6.TextAlign              = TextAlignment.Center;
            this.annotation6.Top = 194;

            // cursorTool3
            this.cursorTool3.FollowMouse = true;
            this.cursorTool3.Pen.Color   = Color.Gray;
            this.cursorTool3.Series      = this.line3;
            this.cursorTool3.Style       = Steema.TeeChart.Tools.CursorToolStyles.Vertical;

            // annotation8
            this.annotation8.AutoSize                   = true;
            this.annotation8.Callout.ArrowHead          = Steema.TeeChart.Styles.ArrowHeadStyles.None;
            this.annotation8.Callout.ArrowHeadDirection = Steema.TeeChart.Styles.ArrowHeadDirection.FromPoint;
            this.annotation8.Callout.ArrowHeadSize      = 8;
            this.annotation8.Callout.Brush.Color        = Color.Black;
            this.annotation8.Callout.Distance           = 0;
            this.annotation8.Callout.Draw3D             = false;
            this.annotation8.Callout.SizeDouble         = 0D;
            this.annotation8.Callout.SizeUnits          = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.annotation8.Callout.XPosition          = 0;
            this.annotation8.Callout.YPosition          = 0;
            this.annotation8.Callout.ZPosition          = 0;
            this.annotation8.Left                   = -19;
            this.annotation8.Shape.Bottom           = 212;
            this.annotation8.Shape.Brush.Color      = Color.FromRgb(((int)(((byte)(238)))), ((int)(((byte)(17)))), ((int)(((byte)(34)))));
            this.annotation8.Shape.CustomPosition   = true;
            this.annotation8.Shape.Font.Brush.Color = Color.White;
            this.annotation8.Shape.Left             = -19;
            this.annotation8.Shape.Lines            = new string[] { "-0,458" };
            this.annotation8.Shape.Pen.Visible      = false;
            this.annotation8.Shape.Right            = 29;
            this.annotation8.Shape.Shadow.Visible   = false;
            this.annotation8.Shape.ShapeStyle       = Steema.TeeChart.Drawing.TextShapeStyle.RoundRectangle;
            this.annotation8.Shape.Top              = 194;
            this.annotation8.Shape.Visible          = false;
            this.annotation8.Text                   = "-0,458";
            this.annotation8.TextAlign              = TextAlignment.Center;
            this.annotation8.Top = 194;

            // tChart1
            this.tChart1.Aspect.Elevation               = 315;
            this.tChart1.Aspect.Orthogonal              = false;
            this.tChart1.Aspect.Perspective             = 0;
            this.tChart1.Aspect.Rotation                = 360;
            this.tChart1.Aspect.View3D                  = false;
            this.tChart1.Footer.Font.Brush.Color        = Color.Gray;
            this.tChart1.Header.Visible                 = false;
            this.tChart1.Legend.Visible                 = false;
            this.tChart1.Panel.Bevel.Outer              = Steema.TeeChart.Drawing.BevelStyles.None;
            this.tChart1.Panel.Brush.Color              = Color.White;
            this.tChart1.Panel.Brush.Gradient.EndColor  = Color.White;
            this.tChart1.Panel.Brush.Gradient.UseMiddle = false;
            this.tChart1.Series.Add(this.donut1);
            this.tChart1.Tools.Add(this.annotation1);
            this.tChart1.Walls.Back.Brush.Gradient.EndColor = Color.White;

            // donut1
            this.donut1.Brush.Color   = Color.FromRgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
            this.donut1.Circled       = true;
            this.donut1.Color         = Color.FromRgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
            this.donut1.DonutPercent  = 95;
            this.donut1.Frame.Circled = true;
            this.donut1.Frame.FrameElementPercents = new double[] {
                25D,
                60D,
                15D
            };
            this.donut1.Frame.OuterBand.Gradient.UseMiddle = false;
            this.donut1.LabelMember         = "Labels";
            this.donut1.Marks.Visible       = false;
            this.donut1.MarksPie.LegSize    = 0;
            this.donut1.MarksPie.VertCenter = false;
            this.donut1.MultiPie            = Steema.TeeChart.Styles.MultiPies.Automatic;
            this.donut1.OtherSlice.Style    = Steema.TeeChart.Styles.PieOtherStyles.None;
            this.donut1.OtherSlice.Text     = "";
            this.donut1.OtherSlice.Value    = 0D;
            this.donut1.RotationAngle       = 180;
            this.donut1.Shadow.Height       = 3;
            this.donut1.Shadow.Width        = 3;
            this.donut1.Title = "Series0";
            this.donut1.UniqueCustomRadius = true;
            this.donut1.XValues.DataMember = "Angle";
            this.donut1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            this.donut1.YValues.DataMember = "Pie";

            // annotation1
            this.annotation1.AutoSize                   = true;
            this.annotation1.Callout.ArrowHead          = Steema.TeeChart.Styles.ArrowHeadStyles.None;
            this.annotation1.Callout.ArrowHeadDirection = Steema.TeeChart.Styles.ArrowHeadDirection.FromPoint;
            this.annotation1.Callout.ArrowHeadSize      = 8;
            this.annotation1.Callout.Brush.Color        = Color.Black;
            this.annotation1.Callout.Distance           = 0;
            this.annotation1.Callout.Draw3D             = false;
            this.annotation1.Callout.SizeDouble         = 0D;
            this.annotation1.Callout.SizeUnits          = Steema.TeeChart.Styles.PointerSizeUnits.Pixels;
            this.annotation1.Callout.XPosition          = 0;
            this.annotation1.Callout.YPosition          = 0;
            this.annotation1.Callout.ZPosition          = 0;
            this.annotation1.Position                   = Steema.TeeChart.Tools.AnnotationPositions.Center;
            this.annotation1.Shape.Font.Name            = "Segoe UI";
            this.annotation1.Shape.Font.Size            = 29;
            this.annotation1.Shape.Lines                = new string[] { "$750" };
            this.annotation1.Shape.Transparent          = true;
            this.annotation1.Text = "$750";

            tChart1.Panel.Gradient.Visible = false;
            tChart2.Panel.Gradient.Visible = false;
            tChart3.Panel.Gradient.Visible = false;
            tChart4.Panel.Gradient.Visible = false;

            donut1.Clear();
            donut1.Add(750, Color.FromRgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163))))));
            donut1.Add(250, Color.Transparent);
            donut1.Pen.Visible = false;

            donut2.Clear();
            donut2.Add(3390, Color.Green);
            donut2.Add(2510, Color.Transparent);
            donut2.Pen.Visible = false;

            donut3.Clear();
            donut3.Add(1500, Color.Red);
            donut3.Add(500, Color.Transparent);
            donut3.Pen.Visible = false;
            donut3.Pen.Color   = Color.White;

            double[] vals1 = new double[] { 220, 150, 135, 190, 210, 200 };
            double[] vals2 = new double[] { 100, 70, 100, 150, 110, 24 };
            double[] vals3 = new double[] { 100, 130, 80, 130, 126, 240 };

            line1.Smoothed = true;
            line2.Smoothed = true;
            line3.Smoothed = true;
            line1.Add(vals1);
            line2.Add(vals2);
            line3.Add(vals3);

            annotation4.Shape.Font.Brush.Color = line1.Color;
            annotation6.Shape.Font.Brush.Color = line2.Color;
            annotation8.Shape.Font.Brush.Color = line3.Color;
            cursorTool1_Change(tChart4, new Steema.TeeChart.Tools.CursorChangeEventArgs());

            this.tChart1.Aspect.ZoomText = true;
            this.tChart2.Aspect.ZoomText = true;
            this.tChart3.Aspect.ZoomText = true;
            this.tChart4.Aspect.ZoomText = true;


            chartView1 = new ChartView
            {
                VerticalOptions   = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,
                WidthRequest      = 25,
                HeightRequest     = 25
            };
            chartView1.Model = tChart1;

            chartView2 = new ChartView
            {
                VerticalOptions   = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,
                WidthRequest      = 25,
                HeightRequest     = 25
            };
            chartView2.Model = tChart2;

            chartView3 = new ChartView
            {
                VerticalOptions   = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,
                WidthRequest      = 25,
                HeightRequest     = 25
            };
            chartView3.Model = tChart3;

            chartView4 = new ChartView
            {
                VerticalOptions   = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,
                WidthRequest      = 25,
                HeightRequest     = 25
            };
            chartView4.Model = tChart4;

            Grid grid = new Grid
            {
                VerticalOptions = LayoutOptions.FillAndExpand,
                Padding         = 5,
                RowDefinitions  =
                {
                    new RowDefinition {
                        Height = new GridLength(1, GridUnitType.Star)
                    },
                    new RowDefinition {
                        Height = new GridLength(1, GridUnitType.Star)
                    }
                },
                ColumnDefinitions =
                {
                    new ColumnDefinition {
                        Width = new GridLength(1, GridUnitType.Star)
                    },
                    new ColumnDefinition {
                        Width = new GridLength(1, GridUnitType.Star)
                    },
                    new ColumnDefinition {
                        Width = new GridLength(1, GridUnitType.Star)
                    }
                }
            };

            grid.Children.Add(chartView1, 0, 0);
            grid.Children.Add(chartView2, 1, 0);
            grid.Children.Add(chartView3, 2, 0);
            grid.Children.Add(chartView4, 0, 3, 1, 2);

            // Build the page.
            this.Content = grid;
        }