<p>I'm creating a burndown graph using an AreaSeries graph. On my Y-axis I have hour estimates (int) and on my X-axis I have days (TimeDate). Here's an example of what my data could look like:</p>
<p> </p>
<p>Date Estimate</p>
<p>05/04/2009 18</p>
<p>05/05/2009 16</p>
<p>05/06/2009 14</p>
<p>05/07/2009 12</p>
<p>05/08/2009 10</p>
<p>05/11/2009 8</p>
<p>05/12/2009 6</p>
<p>05/13/2009 4</p>
<p>05/14/2009 2</p>
<p>05/15/2009 0</p>
<p> </p>
<p>The data set contains to whole working weeks without Saturday and Sunday. I don't want weekend days in my burndown graph. This gives me a challenge. I cannot use the DateTimeAxis on the X-axis because I don't want to display a range of dates. I only want my specific dates on the X-axis so instead I use a CategoryAxis: </p>
<p> </p>
<p> <chartingToolkit:CategoryAxis Orientation="X" ShowGridLines="True"></p>
<p> <chartingToolkit:CategoryAxis.AxisLabelStyle></p>
<p> <Style TargetType="chartingToolkit:AxisLabel"></p>
<p> <Setter Property="StringFormat" Value="{}{0:dd\/MM}"/></p>
<p> </Style> </p>
<p> </chartingToolkit:CategoryAxis.AxisLabelStyle></p>
<p> </chartingToolkit:CategoryAxis></p>
<p> </p>
<p>Now for some reason my X-axis is no longer aligned with the grid lines as it were before using the DateTimeAxis. Also there has become a gap before and after my graph. :(</p>
<p> </p>
<p>Issue was originally posted here: https://silverlight.net/forums/p/93568/214524.aspx#214524</p>
<p> </p>
<p>Thanks...</p>
<p> </p>
<p>-Henrik</p>
Comments: ** Comment from web user: nonoui **
<p> </p>
<p>Date Estimate</p>
<p>05/04/2009 18</p>
<p>05/05/2009 16</p>
<p>05/06/2009 14</p>
<p>05/07/2009 12</p>
<p>05/08/2009 10</p>
<p>05/11/2009 8</p>
<p>05/12/2009 6</p>
<p>05/13/2009 4</p>
<p>05/14/2009 2</p>
<p>05/15/2009 0</p>
<p> </p>
<p>The data set contains to whole working weeks without Saturday and Sunday. I don't want weekend days in my burndown graph. This gives me a challenge. I cannot use the DateTimeAxis on the X-axis because I don't want to display a range of dates. I only want my specific dates on the X-axis so instead I use a CategoryAxis: </p>
<p> </p>
<p> <chartingToolkit:CategoryAxis Orientation="X" ShowGridLines="True"></p>
<p> <chartingToolkit:CategoryAxis.AxisLabelStyle></p>
<p> <Style TargetType="chartingToolkit:AxisLabel"></p>
<p> <Setter Property="StringFormat" Value="{}{0:dd\/MM}"/></p>
<p> </Style> </p>
<p> </chartingToolkit:CategoryAxis.AxisLabelStyle></p>
<p> </chartingToolkit:CategoryAxis></p>
<p> </p>
<p>Now for some reason my X-axis is no longer aligned with the grid lines as it were before using the DateTimeAxis. Also there has become a gap before and after my graph. :(</p>
<p> </p>
<p>Issue was originally posted here: https://silverlight.net/forums/p/93568/214524.aspx#214524</p>
<p> </p>
<p>Thanks...</p>
<p> </p>
<p>-Henrik</p>
Comments: ** Comment from web user: nonoui **
I encounter the same limitation. Please provide such functionality for us.