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.
Unfortunately, activation email could not send to your email. Please try again.

Circular Pointer padding or border

Thread ID:

Created:

Updated:

Platform:

Replies:

129523 Mar 23,2017 07:55 AM Mar 27,2017 06:57 AM UWP 1
loading
Tags: SfCircularGauge
Ed Grant
Asked On March 23, 2017 07:55 AM

Hello,

I am attempting to modify a Circular Pointer control in a Circular Gauge I am working on. I will be matching various pointers with different temperature ranges. The pointer color will match the range color, so I would like to add padding or a border to  the pointer to differentiate it a bit. Here is the code that I am using: 

                    result = new CircularPointer()
                    {
                        PointerType = PointerType.SymbolPointer,
                        SymbolPointerStroke = new SolidColorBrush(Colors.Blue),
                        SymbolPointerHeight = 30,
                        SymbolPointerWidth = 30,
                        Value = 34.5,
                        Symbol = Symbol.Pentagon,
                        BorderBrush = new SolidColorBrush(Colors.White),
                        BorderThickness = new Thickness(10),
                        Padding = new Thickness(50,50,50,50)
                    };

There is no difference to the pointer when the border brush, border thickness, or padding are defined. Attached is a screenshot of the gauge.



Attachment: CircularGauge_c46cd4c0.7z

Ashwin Kumaravel [Syncfusion]
Replied On March 27, 2017 06:57 AM

Hi Grant,

Thanks for using syncfusion products,

Query-“ Border brush, border thickness of Symbol pointer in circular gauge is not working”

We were able to reproduce the reported issue " Border brush, border thickness of Symbol pointer in circular gauge is not working" at our end. And we have logged a defect report regarding the same. A support incident to track the status of this defect has been created under your account. 
 
Please log on to our support website to check for further updates. 
We have created simple sample using Circular Gauge in order to achieve your requirement as a work around using SymbolPointerTemplate property and setting SymbolType as custom .Please find the Sample and screenshot for the same,

Sample Link- http://www.syncfusion.com/downloads/support/forum/129523/ze/Cicularuwp-1594384780

ScreenShot- 


Please get back us if you have any concern.

Regards, 
 Ashwin k.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;