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
845
Marker Labels clipped by the border of the chart
posted

I've got a line chart and the labels are being clipped by the edge of the chart:

Labels clipped

The chart is built up from data so I can't use the technique of hard coding the minimum and maximum values as suggested in this question.

I tried binding the Minimum and Maximum values to properties in the series, but despite the property values apparently being read (I set a break point and it was hit) I just got an error message displayed where the chart should be:

> XamWebChart Warning: If the AutoRange is set to false, Maximum must be greater than Minimum and Unit value must be greater than zero.

So I need to either:

1. Know how to bind the axis range correctly so I can set it to values that are large enough to see the label on the highest peak

or:

2. Increase the size of the ScenePanel so that the label on the highest peak is visible.

  • 138253
    Offline posted

    Hello Chris,

     

    I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.

  • 138253
    Offline posted

    Hello Chris,

     

    Thank you for your post. I have been looking into it, but since I am not completely sure how your data is organized and how you bind the MaximumValue and MinimumValue Properties, I am not able to conclude what can cause your behavior, so if this is still an issue for you, could you please send an isolated sample project, where the issue is reproduced, so I can investigate it further for you.

     

    Looking forward for your reply.