Exemplo n.º 1
0
        /// <summary>
        /// Draws the column chart.
        /// </summary>
        internal override void Draw()
        {
            ChartRendererInfo cri = (ChartRendererInfo)_rendererParms.RendererInfo;

            LegendRenderer lr = new ColumnLikeLegendRenderer(_rendererParms);

            lr.Draw();

            WallRenderer wr = new WallRenderer(_rendererParms);

            wr.Draw();

            GridlinesRenderer glr = new ColumnLikeGridlinesRenderer(_rendererParms);

            glr.Draw();

            PlotAreaBorderRenderer pabr = new PlotAreaBorderRenderer(_rendererParms);

            pabr.Draw();

            PlotAreaRenderer renderer = GetPlotAreaRenderer();

            renderer.Draw();

            DataLabelRenderer dlr = new ColumnDataLabelRenderer(_rendererParms);

            dlr.Draw();

            if (cri.xAxisRendererInfo._axis != null)
            {
                AxisRenderer xar = new HorizontalXAxisRenderer(_rendererParms);
                xar.Draw();
            }

            if (cri.yAxisRendererInfo._axis != null)
            {
                AxisRenderer yar = GetYAxisRenderer();
                yar.Draw();
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// Draws the column chart.
        /// </summary>
        internal override void Draw()
        {
            CombinationRendererInfo cri = (CombinationRendererInfo)_rendererParms.RendererInfo;
            cri.seriesRendererInfos = cri._commonSeriesRendererInfos;

            LegendRenderer lr = new ColumnLikeLegendRenderer(_rendererParms);
            lr.Draw();

            WallRenderer wr = new WallRenderer(_rendererParms);
            wr.Draw();

            GridlinesRenderer glr = new ColumnLikeGridlinesRenderer(_rendererParms);
            glr.Draw();

            PlotAreaBorderRenderer pabr = new PlotAreaBorderRenderer(_rendererParms);
            pabr.Draw();

            PlotAreaRenderer renderer;
            if (cri._areaSeriesRendererInfos != null)
            {
                cri.seriesRendererInfos = cri._areaSeriesRendererInfos;
                renderer = new AreaPlotAreaRenderer(_rendererParms);
                renderer.Draw();
            }
            if (cri._columnSeriesRendererInfos != null)
            {
                cri.seriesRendererInfos = cri._columnSeriesRendererInfos;
                //TODO Check for Clustered- or StackedPlotAreaRenderer
                renderer = new ColumnClusteredPlotAreaRenderer(_rendererParms);
                renderer.Draw();
            }
            if (cri._lineSeriesRendererInfos != null)
            {
                cri.seriesRendererInfos = cri._lineSeriesRendererInfos;
                renderer = new LinePlotAreaRenderer(_rendererParms);
                renderer.Draw();
            }

            // Draw data labels.
            if (cri._columnSeriesRendererInfos != null)
            {
                cri.seriesRendererInfos = cri._columnSeriesRendererInfos;
                DataLabelRenderer dlr = new ColumnDataLabelRenderer(_rendererParms);
                dlr.Draw();
            }

            // Draw axes.
            cri.seriesRendererInfos = cri._commonSeriesRendererInfos;
            if (cri.xAxisRendererInfo._axis != null)
            {
                AxisRenderer xar = new HorizontalXAxisRenderer(_rendererParms);
                xar.Draw();
            }
            if (cri.yAxisRendererInfo._axis != null)
            {
                AxisRenderer yar = new VerticalYAxisRenderer(_rendererParms);
                yar.Draw();
            }
        }
Exemplo n.º 3
0
        /// <summary>
        /// Draws the column chart.
        /// </summary>
        internal override void Draw()
        {
            CombinationRendererInfo cri = (CombinationRendererInfo)_rendererParms.RendererInfo;

            cri.seriesRendererInfos = cri._commonSeriesRendererInfos;

            LegendRenderer lr = new ColumnLikeLegendRenderer(_rendererParms);

            lr.Draw();

            WallRenderer wr = new WallRenderer(_rendererParms);

            wr.Draw();

            GridlinesRenderer glr = new ColumnLikeGridlinesRenderer(_rendererParms);

            glr.Draw();

            PlotAreaBorderRenderer pabr = new PlotAreaBorderRenderer(_rendererParms);

            pabr.Draw();

            PlotAreaRenderer renderer;

            if (cri._areaSeriesRendererInfos != null)
            {
                cri.seriesRendererInfos = cri._areaSeriesRendererInfos;
                renderer = new AreaPlotAreaRenderer(_rendererParms);
                renderer.Draw();
            }
            if (cri._columnSeriesRendererInfos != null)
            {
                cri.seriesRendererInfos = cri._columnSeriesRendererInfos;
                //TODO Check for Clustered- or StackedPlotAreaRenderer
                renderer = new ColumnClusteredPlotAreaRenderer(_rendererParms);
                renderer.Draw();
            }
            if (cri._lineSeriesRendererInfos != null)
            {
                cri.seriesRendererInfos = cri._lineSeriesRendererInfos;
                renderer = new LinePlotAreaRenderer(_rendererParms);
                renderer.Draw();
            }

            // Draw data labels.
            if (cri._columnSeriesRendererInfos != null)
            {
                cri.seriesRendererInfos = cri._columnSeriesRendererInfos;
                DataLabelRenderer dlr = new ColumnDataLabelRenderer(_rendererParms);
                dlr.Draw();
            }

            // Draw axes.
            cri.seriesRendererInfos = cri._commonSeriesRendererInfos;
            if (cri.xAxisRendererInfo._axis != null)
            {
                AxisRenderer xar = new HorizontalXAxisRenderer(_rendererParms);
                xar.Draw();
            }
            if (cri.yAxisRendererInfo._axis != null)
            {
                AxisRenderer yar = new VerticalYAxisRenderer(_rendererParms);
                yar.Draw();
            }
        }
    /// <summary>
    /// Draws the column chart.
    /// </summary>
    internal override void Draw()
    {
      ChartRendererInfo cri = (ChartRendererInfo)this.rendererParms.RendererInfo;
      
      LegendRenderer lr = new ColumnLikeLegendRenderer(this.rendererParms);
      lr.Draw();

      WallRenderer wr = new WallRenderer(this.rendererParms);
      wr.Draw();

      GridlinesRenderer glr = new ColumnLikeGridlinesRenderer(this.rendererParms);
      glr.Draw();

      PlotAreaBorderRenderer pabr = new PlotAreaBorderRenderer(this.rendererParms);
      pabr.Draw();

      PlotAreaRenderer renderer = GetPlotAreaRenderer();
      renderer.Draw();

      DataLabelRenderer dlr = new ColumnDataLabelRenderer(this.rendererParms);
      dlr.Draw();

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

      if (cri.yAxisRendererInfo.axis != null)
      {
        AxisRenderer yar = GetYAxisRenderer();
        yar.Draw();
      }
    }