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
175
Dynamic styling for Legend in Chart View
posted

Hi,

I want to create dynamic styling for the creation of legends depending on the number of legend items.I am able to achieve as shown in figure Infra_Legend.png. But i want to achieve something shown in LegendSample.png. Please find attachched zip file. Please, provide some sample code as well.

Legend.zip
Parents
  • 48586
    Suggested Answer
    posted

    Hello ,

     

    As far as I understand your issue you need to rearrange items into the legend, to do this you  should derive class from IGLegent in order to override buildItemViews method and to rearrange the items. Please see attached sample.

     

    Please let me know if you have any further questions.

    IGChartCustomLegend.zip
Reply Children
No Data