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

The width of metric in SfChart

Dear ,
I need to get the width of metric in chart to solve some interface issue, which attribute should I use to get this width.
Thanks.

3 Replies

SJ Sumathi Jayaraj Syncfusion Team October 26, 2015 07:30 AM UTC

Hi William,

Thanks for contacting Syncfusion support.

We can achieve your requirement to get the width of the chart by using ActualWidth property in the SfChart. If your requirement differs, please send us more information about your requirement. It would be helpful to proceed further.
Also, the image which you have attached is broken.

Regards,
Sumathi J


WI William October 27, 2015 02:03 PM UTC

Hi Sumathi,

The width I mean is not the chart width, I mean the width of NumericalAxis, please refer to the following pic,


Thanks


SA Santhiya Arulsamy Syncfusion Team October 28, 2015 11:44 AM UTC

Hi William,


Thanks for your update.


You can get the NumericAxis width by using the ArrangeRect property in ChartAxis.


Thanks,

Santhiya A.

Loader.
Live Chat Icon For mobile
Up arrow icon