Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
350
Clipping at Axes
posted

Hi Guys,

In the attached image you can see that my point markers are clipped at every edge of the chart. Just a niggle, but my customers are complaining. 

Any idea of a solution? A quick search shows that sometimes you suggest entering nulls at the beginning and end of the series to move it in from the edges. A bit nasty, and it won't fix my clipping at the bottom.

thanks

Pete

Parents
  • 34510
    Offline posted

    Hi Peter,

    In order to move the points away from the sides you will indeed need to add null values at the beginning and end of your ItemsSource.  In order to move the points away from the bottom however, I think providing custom tickmark values will be the best option.

    I created a sample where you provide a MinimumValue for the NumericYAxis that is less than 0.  This will move the 0 tickmark up which will also move your bottom points up.  I then provided an Interval and then I gave the axis some custom tickmark values that were calculated such that they would only start at 0 and move up by the Interval amount.  This gives you the appearance as though you have shifted up the entire Y axis.

    Let me know if you have any questions.

    WpfApplication1.zip
Reply Children