private void ApplyStyleEffect(ExcelDrawingEffectStyle chartEffect, ExcelChartStyleEntry section, int indexForColor, int numberOfItems)
 {
     if (section.HasEffect)
     {
         chartEffect.SetFromXml(section.Effect.EffectElement);
     }
     else if (section.EffectReference.Index > 0) //From theme
     {
         var theme = GetTheme();
         if (theme.FormatScheme.EffectStyle.Count > section.EffectReference.Index - 1)
         {
             var effect = theme.FormatScheme.EffectStyle[section.EffectReference.Index - 1];
             chartEffect.SetFromXml(effect.Effect.EffectElement);
         }
     }
     TransformColorEffect(chartEffect, section.EffectReference.Color, indexForColor, numberOfItems);
 }