This project is read-only.

NumericAxis and NumericTicksProvider able to be done in XAML

Feb 18, 2011 at 5:10 PM
Edited Feb 21, 2011 at 4: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:AxisGrid DrawHorizontalMinorTicks="False"/>