Rolling Graph - Only show last 25 points while graph rolls

Aug 25, 2010 at 7:43 PM

I need to be able to only show the last X points and have the graph roll.  I am guessing this is done with the 'FitToViewRestrictions' but I can't figure it out.  I want to roll the graph so all points are there, but I'm only showing the last 25 points.

Anyone have any tips/examples in doing this?

Thanks.

Aug 25, 2010 at 8:39 PM

Ok, I got this figured out.  Simple enough...

 

 

 

 

 

 

 

 

 

        <d3:ChartPlotter Name="plotter">            
            <d3:ChartPlotter.FitToViewRestrictions>
                <d3:FollowWidthRestriction Width="15"/>
            </d3:ChartPlotter.FitToViewRestrictions>
        </d3:ChartPlotter>

 

 

 

I had too big of a number in the width (thinking it was pixel related).