We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

sfchart checkbox size

HI all,
Is there a way I can control the checkbox size in an sfchart:

<chart:SfChart.Legend>

        <chart:ChartLegend CheckBoxVisibility="Visible" />

</chart:SfChart.Legend>

Regards, Leigh.

4 Replies

LE Leigh May 12, 2016 06:20 AM UTC

I can control the icon heigh and width easily:

<Syncfusion:ChartLegend CheckBoxVisibility="Visible"  IconHeight="20" IconWidth="20"/>

Surly there is a way to also increase the size of the check box to match? The default is pretty small and hard to use on a mobile device.

Am I missing something.

Cheers, Leigh.


SR Samuel Rajadurai Edwin Rajamanickam Syncfusion Team May 12, 2016 11:47 AM UTC

Hi Leigh,

Thanks for contacting Syncfusion Support.

By customizing the ItemTemplate of the chart legend, we are able to control the size of the check box. Please find the demo sample from the link below. 

Regards,
Samuel 



LE Leigh May 19, 2016 11:42 PM UTC

Thanks for the sample, worked perfectly!


SR Samuel Rajadurai Edwin Rajamanickam Syncfusion Team May 20, 2016 04:31 AM UTC

Hi Leigh,

Thanks for the update.

We are glad that your requirement has been satisfied.

Please get back to us if you need any further assistance on this.

Regards,
Samuel

Loader.
Live Chat Icon For mobile
Up arrow icon