예제 #1
0
        /// <summary>
        /// Draws the column chart.
        /// </summary>
        internal override void Draw()
        {
            ChartRendererInfo cri = (ChartRendererInfo)this.rendererParms.RendererInfo;

            LegendRenderer lr = GetLegendRenderer();

            lr.Draw();

            WallRenderer wr = new WallRenderer(this.rendererParms);

            wr.Draw();

            GridlinesRenderer glr = new BarGridlinesRenderer(this.rendererParms);

            glr.Draw();

            PlotAreaBorderRenderer pabr = new PlotAreaBorderRenderer(this.rendererParms);

            pabr.Draw();

            PlotAreaRenderer renderer = GetPlotAreaRenderer();

            renderer.Draw();

            DataLabelRenderer dlr = new BarDataLabelRenderer(this.rendererParms);

            dlr.Draw();

            if (cri.xAxisRendererInfo.axis != null)
            {
                AxisRenderer xar = new VerticalXAxisRenderer(this.rendererParms);
                xar.Draw();
            }

            if (cri.yAxisRendererInfo.axis != null)
            {
                AxisRenderer yar = GetYAxisRenderer();
                yar.Draw();
            }
        }
예제 #2
0
        /// <summary>
        /// Draws the pie chart.
        /// </summary>
        internal override void Draw()
        {
            LegendRenderer lr = new PieLegendRenderer(this.rendererParms);

            lr.Draw();

            WallRenderer wr = new WallRenderer(this.rendererParms);

            wr.Draw();

            PlotAreaBorderRenderer pabr = new PlotAreaBorderRenderer(this.rendererParms);

            pabr.Draw();

            PlotAreaRenderer renderer = GetPlotAreaRenderer();

            renderer.Draw();

            DataLabelRenderer dlr = new PieDataLabelRenderer(this.rendererParms);

            dlr.Draw();
        }