Exemple #1
0
        private void ConfigureBarChart(bool threed, bool stacked, bool hundred, BarAppearanceEnum shape)
        {
            ResetChart();
            c1Chart1.ChartArea.Inverted = true;
            ChartGroup g = c1Chart1.ChartGroups.Group0;

            g.ChartType      = Chart2DTypeEnum.Bar;
            g.Bar.Appearance = shape;
            g.Use3D          = threed;
            g.Stacked        = stacked;
            g.Is100Percent   = hundred;
        }
Exemple #2
0
        private void ConfigureColumnChart(bool threed, bool stacked, bool hundred, bool multirow, BarAppearanceEnum shape)
        {
            ResetChart();
            ChartGroup g = c1Chart1.ChartGroups.Group0;

            g.ChartType      = Chart2DTypeEnum.Bar;
            g.Bar.Appearance = shape;
            g.Bar.MultiRow   = multirow;
            g.Use3D          = threed;
            g.Stacked        = stacked;
            g.Is100Percent   = hundred;
        }