HorizontalDateTimeAxis doesn't fit to view

Feb 8, 2012 at 5:35 PM

Hello, it's my first time here, I had search in the forum for a solution but I hadn't find. 

When I use FitToView, I call the ClearValue(VisibleProperty) and then the CoerceValue(VisibleProperty), It works for the graphs, that stay fitted in the view, but the HorizontalDateTimeAxis doesn't update.

Thanks in advantage,

Marcus Garcia.

May 9, 2012 at 4:21 PM

Did you try the following?

ChartPlotter.Viewport.FitToView();