Quantcast
Viewing all articles
Browse latest Browse all 801

Commented Issue: Support for custom Axes [3223]

<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>&#160;</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>&#160;</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>&#160;</p>
<p> &lt;chartingToolkit:CategoryAxis Orientation=&quot;X&quot; ShowGridLines=&quot;True&quot;&gt;</p>
<p> &lt;chartingToolkit:CategoryAxis.AxisLabelStyle&gt;</p>
<p> &lt;Style TargetType=&quot;chartingToolkit:AxisLabel&quot;&gt;</p>
<p> &lt;Setter Property=&quot;StringFormat&quot; Value=&quot;{}{0:dd\/MM}&quot;/&gt;</p>
<p> &lt;/Style&gt; </p>
<p> &lt;/chartingToolkit:CategoryAxis.AxisLabelStyle&gt;</p>
<p> &lt;/chartingToolkit:CategoryAxis&gt;</p>
<p>&#160;</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>&#160;</p>
<p>Issue was originally posted here: https://silverlight.net/forums/p/93568/214524.aspx#214524</p>
<p>&#160;</p>
<p>Thanks...</p>
<p>&#160;</p>
<p>-Henrik</p>
Comments: ** Comment from web user: nonoui **

I encounter the same limitation. Please provide such functionality for us.


Viewing all articles
Browse latest Browse all 801

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>