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
120
Custom Circle marker appearing incorrectly in legend
posted

I've created my own marker templates in order to increase the size of the marker and those are working as intended. However, in the legend, the circle is appearing cut off (See Screenshot). The way I have all of the templates being handled is by setting the MinHeight and MinWidth to 11 and the MaxHeight and MaxWidth to 30. All of the markers except for the circle are appearing correctly so the only thing I can think of is the Ellipse object is handled different than the Polygon object.

Let me know if there's anything I'm doing incorrectly or if you there's some work around I need to implement.

Thanks in Advanced

Parents
  • 30945
    Offline posted

    Hello Gary,

     

    Thank you for your post. I have been looking into the appearance that you are having and it is caused by the default LegendItemBadgeTemplate. What I can suggest in order to have the whole marker visible in the legend is to set the LegendItemBadgeTemplate property. 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

    MarkersInLegend.zip
Reply Children