title: Applying a default theme to a Chart series
body: <p>Using MSchart controls is somewhat difficult because of lack of information on the XML theme part.</p>
  
  <p>I'm creating a chart programatically and dynamically and then adding a theme to it using a XML theme file.</p>
  
  <p>I do not know how many series there will be but I'm trying to add one series for the total amount on each column in the StackedColumnBar.</p>
  
  <p>So I create each serie in a foreach loop from the data and then add the Total series as a bubble chart type.</p>
  
  <p>Now I have to apply a different series theme to the Total series and let all others have the same theme.</p>
  
  <p>I tried naming the series "Total" in both chart and theme file. The real catch is the <em>Template</em>="All" attribute because this isn't documented anywhere so I have no idea how it all really works and how it's being applied.</p>
  
  <p>Example of a theme:</p>
  
  <pre><code>&lt;Chart BackColor="White"
        BorderWidth="2"
        Palette = "None"
        PaletteCustomColors="#F29E39; #007463; #E76E34; #A4A4A4; #94BBA3;"
        BorderlineDashStyle="Solid"
        AntiAliasing="All"&gt;
    &lt;Series&gt;
      &lt;Series Name="Total"
          BorderWidth="0"
          LabelForeColor="#FF000000"
          LabelFormat="C"
          IsVisibleInLegend="false"
          IsValueShownAsLabel="true" &gt;
      &lt;/Series&gt;
      &lt;Series _Template_="All"
              BorderWidth="0"
              LabelForeColor="#AAFFFFFF"
              LabelFormat="C"
              CustomProperties="PointWidth=0.9, DrawingStyle=LightToDark"
              IsValueShownAsLabel="false" &gt;
      &lt;/Series&gt;
    &lt;/Series&gt;
    &lt;ChartAreas&gt;
      &lt;ChartArea Name="Default"
                _Template_="All"
                BorderWidth="0"&gt;
        &lt;AxisY IsInterlaced="true"
               InterlacedColor="#E8E7DC"&gt;
          &lt;MajorGrid Enabled="false" /&gt;
        &lt;/AxisY&gt;
        &lt;AxisX&gt;
          &lt;MajorGrid Enabled="false" /&gt;
        &lt;/AxisX&gt;
      &lt;/ChartArea&gt;
    &lt;/ChartAreas&gt;
    &lt;Legends&gt;
      &lt;Legend _Template_="All"
              Alignment="Center"
              LegendItemOrder="ReversedSeriesOrder"
              Docking="Bottom"/&gt;
    &lt;/Legends&gt;
  &lt;/Chart&gt;
  </code></pre>