Beispiel #1
0
 private void RowsInitialize(InitializationContext context, out int expectedNumberOfSeries, out bool computedSubtotal)
 {
     Global.Tracer.Assert(m_rows != null);
     computedSubtotal = false;
     m_rows.DynamicInitialize(column: false, 0, context);
     m_rows.StaticInitialize(context);
     expectedNumberOfSeries = ((m_staticRows == null) ? 1 : m_staticRows.NumberOfStatics);
     if (m_rows != null && m_rows.Grouping == null)
     {
         context.SpecialTransferRunningValues(m_rows.RunningValues);
     }
     if (!m_hasSeriesPlotTypeLine || m_seriesPlotType == null)
     {
         return;
     }
     if (m_type == ChartTypes.Column)
     {
         if (m_staticRows == null)
         {
             m_type = ChartTypes.Line;
         }
         else
         {
             m_staticRows.PlotTypesLine = m_seriesPlotType;
         }
     }
     else
     {
         context.ErrorContext.Register(ProcessingErrorCode.rsChartSeriesPlotTypeIgnored, Severity.Warning, context.ObjectType, context.ObjectName, "PlotType");
     }
 }
Beispiel #2
0
 private void ColumnsInitialize(InitializationContext context, out int expectedNumberOfCategories, out bool computedSubtotal)
 {
     Global.Tracer.Assert(m_columns != null);
     computedSubtotal = false;
     m_columns.DynamicInitialize(column: true, 0, context);
     m_columns.StaticInitialize(context);
     expectedNumberOfCategories = ((m_staticColumns == null) ? 1 : m_staticColumns.NumberOfStatics);
     if (m_columns.Grouping == null)
     {
         Global.Tracer.Assert(m_columns != null);
         context.SpecialTransferRunningValues(m_columns.RunningValues);
     }
 }