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

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.

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.

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,


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.


Santhiya A.

Live Chat Icon For mobile
Up arrow icon