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
440
Bubbles getting chopped off
posted

Hi,

I am creating a bubble series. Bubbles created at the edge of the chart are getting chopped off as their midpoint is close to the chart boundaries and radius exceeds the avaliable space. How can I avoid this? Is there any property the control exposes to prevent this? Or if I could get the pixel -> radius scaling I could add some dummy points to avoid this. Ex. If radius is bound to dollar property, and if somehow I could know $100 = x pixel it would be helpful.

Parents
  • 30945
    Offline posted

    Hello,

     

    Thank you for your post. I have been looking into your question and I can suggest using the MinimumValue and MaximumValue properties of the numeric x and y axes. You can handle the RangeChanged event of both axes and there you can set the MinimumValue and MaximumValue properties based on the Minimum and Maximum properties of the event args. You can increase the maximum and decrease the minimum. By doing so, the data points on the edges of chart will be rendered completely.  I have created a sample application for you, that shows how you can implement this approach.

     

    Please let me know if you need any further assistance on the matter.

     

    Sincerely,

    Krasimir

    Developer Support Engineer

    Infragistics

    www.infragistics.com/support

    BubbleSeriesAxisRange.zip
Reply Children