title: Dundas Charts for ASP.NET - Force chart to show 100%
body: <p>I'm working with C# .NET 3.5, Dundas Charts 7.2. Here is the chart I have in the .aspx file.</p>
  
  <pre><code>&lt;DCWC:Chart ID="Chart2" Height="140px" Width="245px" runat="server" DataSourceID="ObjectDataSource1"
      Palette="Pastel"&gt;
      &lt;Legends&gt;
          &lt;DCWC:Legend Name="Default" Enabled="False"&gt;
          &lt;/DCWC:Legend&gt;
      &lt;/Legends&gt;
      &lt;BorderSkin PageColor="AliceBlue" /&gt;
      &lt;Titles&gt;
          &lt;DCWC:Title Name="Title1"&gt;
          &lt;/DCWC:Title&gt;
      &lt;/Titles&gt;
      &lt;Series&gt;
          &lt;DCWC:Series CustomAttributes="BarLabelStyle=Outside" BorderColor="64, 64, 64" Color="#3782EE" ChartType="Bar" Name="Series1"
              ShadowOffset="1" ShowLabelAsValue="True" ValueMemberX="Title" ValueMembersY="Score"&gt;
          &lt;/DCWC:Series&gt;
      &lt;/Series&gt;
      &lt;ChartAreas&gt;
          &lt;DCWC:ChartArea Name="Default"&gt;
              &lt;AxisY&gt;
  
                  &lt;LabelStyle IntervalOffset="20" Interval="20" Format="P0" /&gt;
                  &lt;MajorTickMark Style="none" /&gt;
              &lt;/AxisY&gt;
              &lt;AxisX&gt;
                  &lt;MajorGrid Enabled="False" /&gt;
                  &lt;MajorTickMark Style="none" /&gt;
              &lt;/AxisX&gt;
          &lt;/DCWC:ChartArea&gt;
      &lt;/ChartAreas&gt;
  
  &lt;/DCWC:Chart&gt;
  </code></pre>
  
  <p>The Y axis is set to show values as a percent, since the highest number data in the chart is 42% it only displays up to 60% (as I have interval set to 20) on the Y axis of the chart. What I'm looking for is a way to force the chart to show the Y axis up to 100% even though that will leave almost 60% of blank space.  Either in aspx chart parameters or the codebehind.                </p>