Exemplo n.º 1
0
        public override void AwakeFromNib()
        {
            base.AwakeFromNib();

            OverviewContainerView.AddSubview(overview);
            BarChartContainerView.AddSubview(barChart);
            overview.Frame = OverviewContainerView.Bounds;
            barChart.Frame = BarChartContainerView.Bounds;
        }
Exemplo n.º 2
0
        public override void AwakeFromNib()
        {
            base.AwakeFromNib();

            OverviewContainerView.AddSubview(overview);
            BarChartContainerView.AddSubview(barChart);
            overview.Frame = OverviewContainerView.Bounds;
            barChart.Frame = BarChartContainerView.Bounds;

            EmptyStateTitleLabel.Text       = Resources.ReportsEmptyStateTitle;
            EmptyStateDescriptionLabel.Text = Resources.ReportsEmptyStateDescription;
        }
Exemplo n.º 3
0
        public override void AwakeFromNib()
        {
            base.AwakeFromNib();

            OverviewContainerView.AddSubview(overview);
            BarChartContainerView.AddSubview(barChart);
            overview.Frame = OverviewContainerView.Bounds;
            barChart.Frame = BarChartContainerView.Bounds;

            EmptyStateTitleLabel.Text       = Resources.ReportsEmptyStateTitle;
            EmptyStateDescriptionLabel.Text = Resources.ReportsEmptyStateDescription;

            PieChartBackground.BackgroundColor = TraitCollection.HorizontalSizeClass == UIUserInterfaceSizeClass.Regular
                ? ColorAssets.CellBackground
                : UIColor.Clear;
        }