NumericAxis and NumericTicksProvider able to be done in XAML

Feb 18, 2011 at 4:10 PM
Edited Feb 21, 2011 at 3:01 PM

In order to customize the look of the ChartPlotter graph I have to specify ticks, steps, and colors in code.  I would much prefer this do be done in XAMl.  For example, the following code works I would just prefer it to be handled by the view and not the viewmodel.

 ((NumericAxis)plotter.MainHorizontalAxis).AxisControl.DrawMinorTicks = false;

 Edit: In the XAML From the AxisGrid I was able to set the DrawHorizontalMinorTicks to false however it  does not work, it is still showing all ticks given the following

          <d3:ChartPlotter>

               <d3:AxisGrid DrawHorizontalMinorTicks="False"/>

          </d3:ChartPlotter>