Ejemplo n.º 1
0
        public Page7()
        {
            dashChart = new ChartView();
            dashChart.WidthRequest  = 400;
            dashChart.HeightRequest = 300;

            dashChart.Chart.Aspect.View3D = false;
            Steema.TeeChart.Styles.TagCloud series = new Steema.TeeChart.Styles.TagCloud();
            dashChart.Chart.Series.Add(series);
            series.FillSampleValues(20);

            // TagCloud
            dashChart.Chart.Panel.Color            = Color.White;
            dashChart.Chart.Panel.Gradient.Visible = false;
            dashChart.Chart.Footer.Text            = "TagCloud";
            dashChart.Chart.Footer.Alignment       = TextAlignment.End;
            dashChart.Chart.Footer.Font.Size       = 12;
            dashChart.Chart.Footer.Font.Color      = Color.Navy;
            dashChart.Chart.Footer.Visible         = true;
            dashChart.Chart.Title.Visible          = false;
            //dashChart.Chart.Title.Font.Name = "";
            dashChart.Chart.Legend.Visible = false;

            Content = new StackLayout
            {
                Children =
                {
                    dashChart
                },
                VerticalOptions   = LayoutOptions.CenterAndExpand,
                HorizontalOptions = LayoutOptions.CenterAndExpand,
            };
        }
        public Page7()
        {
            // NavigationPage.SetHasNavigationBar(this, false);

            dashChart = new Chart();
            dashChart.Aspect.View3D = false;
            Steema.TeeChart.Styles.TagCloud series = new Steema.TeeChart.Styles.TagCloud();
            dashChart.Series.Add(series);
            series.FillSampleValues(20);

            // TagCloud
            dashChart.Panel.Color            = Color.White;
            dashChart.Panel.Gradient.Visible = false;
            dashChart.Footer.Text            = "TagCloud";
            dashChart.Footer.Alignment       = TextAlignment.End;
            dashChart.Footer.Font.Size       = 12;
            dashChart.Footer.Font.Color      = Color.Navy;
            dashChart.Footer.Visible         = true;
            dashChart.Title.Visible          = false;
            //dashBoard0.Title.Font.Name = "";
            dashChart.Legend.Visible = false;

            DashView6 = new ChartView
            {
                VerticalOptions   = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,
            };
            DashView6.Model = dashChart;

            Content = new StackLayout
            {
                Children =
                {
                    DashView6
                }
            };
        }
Ejemplo n.º 3
0
 private void button1_Click(object sender, EventArgs e)
 {
     tagCloud1.FillSampleValues();
 }
Ejemplo n.º 4
0
 private void InitializeChart()
 {
     tChart1.Series.Add(tagCloud1 = new Steema.TeeChart.Styles.TagCloud());
     tagCloud1.FillSampleValues();
 }