Example #1
0
 internal InternalChartSeries GetByName(string seriesName)
 {
     for (int i = 0; i < Count; i++)
     {
         InternalChartSeries internalChartSeries = (InternalChartSeries)this[i];
         if (Microsoft.ReportingServices.ReportProcessing.ReportProcessing.CompareWithInvariantCulture(seriesName, internalChartSeries.Name, ignoreCase: false) == 0)
         {
             return(internalChartSeries);
         }
     }
     return(null);
 }
Example #2
0
 public override ChartSeries this[int index]
 {
     get
     {
         if (index < 0 || index >= Count)
         {
             throw new RenderingObjectModelException(ProcessingErrorCode.rsInvalidParameterRange, index, 0, Count);
         }
         if (m_chartSeriesCollection == null)
         {
             m_chartSeriesCollection = new ChartSeries[Count];
         }
         if (m_chartSeriesCollection[index] == null)
         {
             m_chartSeriesCollection[index] = new InternalChartSeries(m_owner, index, m_seriesDefs[index]);
         }
         return(m_chartSeriesCollection[index]);
     }
 }
Example #3
0
 internal ChartSmartLabel(InternalChartSeries chartSeries, Microsoft.ReportingServices.ReportIntermediateFormat.ChartSmartLabel chartSmartLabelDef, Chart chart)
 {
     m_chartSeries        = chartSeries;
     m_chartSmartLabelDef = chartSmartLabelDef;
     m_chart = chart;
 }
 internal ChartItemInLegend(InternalChartSeries chartSeries, Microsoft.ReportingServices.ReportIntermediateFormat.ChartItemInLegend chartItemInLegendDef, Chart chart)
 {
     m_chartSeries          = chartSeries;
     m_chartItemInLegendDef = chartItemInLegendDef;
     m_chart = chart;
 }
 internal ChartNoMoveDirections(InternalChartSeries chartSeries, Microsoft.ReportingServices.ReportIntermediateFormat.ChartNoMoveDirections chartNoMoveDirectionsDef, Chart chart)
 {
     m_chartSeries = chartSeries;
     m_chartNoMoveDirectionsDef = chartNoMoveDirectionsDef;
     m_chart = chart;
 }
 internal ChartEmptyPoints(InternalChartSeries chartSeries, Microsoft.ReportingServices.ReportIntermediateFormat.ChartEmptyPoints chartEmptyPointsDef, Chart chart)
 {
     m_chartEmptyPointsDef = chartEmptyPointsDef;
     m_chart       = chart;
     m_chartSeries = chartSeries;
 }
Example #7
0
 internal ChartMarker(InternalChartSeries chartSeries, Microsoft.ReportingServices.ReportIntermediateFormat.ChartMarker markerDef, Chart chart)
     : this(markerDef, chart)
 {
     m_chartSeries = chartSeries;
 }