public override ChartDataPoint this[int index]
 {
     get
     {
         if (index < 0 || index >= Count)
         {
             throw new RenderingObjectModelException(ProcessingErrorCode.rsInvalidParameterRange, index, 0, Count);
         }
         if (m_chartDataPoints == null)
         {
             m_chartDataPoints = new ChartDataPoint[Count];
         }
         if (m_chartDataPoints[index] == null)
         {
             m_chartDataPoints[index] = new InternalChartDataPoint(m_chart, m_seriesIndex, index, m_chartSeriesDef.DataPoints[index]);
         }
         return(m_chartDataPoints[index]);
     }
 }
 internal ChartItemInLegend(InternalChartDataPoint chartDataPoint, Microsoft.ReportingServices.ReportIntermediateFormat.ChartItemInLegend chartItemInLegendDef, Chart chart)
 {
     m_dataPoint            = chartDataPoint;
     m_chartItemInLegendDef = chartItemInLegendDef;
     m_chart = chart;
 }