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

How can I hide CircularGauge Labels?

This is my code for the circulargauge
StartAngle="270"
SweepAngle="360"
StartValue="0"
EndValue="30"
RimStroke="#FF9E9E9E"
RimStrokeThickness="5"
TickLength="0"
SmallTickLength="0"
>

I want to hide the circulargauge tick labels. How do I do that?

5 Replies

AK Ashwin Kumaravel Syncfusion Team June 19, 2017 11:29 AM UTC

 Hi Syaiful,

Thanks for using Syncfusion products,

We have validated your query and you can achieve your requirement by setting LabelStroke colour as Transparent in order to hide the labels.Please refer the below code snippet,

Syntax:

<syncfusion:CircularScale LabelStroke="Transparent"/>

Please get back us if you have any concern

Regards,
Ashwin.k 



SN Syaiful Nizam Yahya June 21, 2017 04:23 AM UTC

Thanks. That worked.



AK Ashwin Kumaravel Syncfusion Team June 22, 2017 08:38 AM UTC

Hi Syaiful,

We are glad to know that you have met your requirement. Please let us know if you have any queries.

Regards,
Ashwin.k



GI Gijs January 20, 2020 02:12 PM UTC

Hello, how can I disable tickers (minor and major) when using ASP.NET Core Razor Pages?

Regards,
Gijs Stoeldraaijers


BP Baby Palanidurai Syncfusion Team January 21, 2020 01:39 PM UTC

Hi Gijs, 

Thanks for your update 

We have analyzed your query. Your requirement has been achieved by setting color as transparent for major ticks and minor ticks.  
Please find the below code snippet to achieve this requirement, 
<ejs-circulargauge id="circular" title='Speed'> 
        <e-circulargauge-axes> 
            <e-circulargauge-axis> 
                <e-axis-majorticks color="transparent"></e-axis-majorticks> 
                <e-axis-minorticks color="transparent"></e-axis-minorticks> 
            </e-circulargauge-axis> 
        </e-circulargauge-axes> 
    </ejs-circulargauge> 

Screenshot: 
 


Kindly revert us, if you have any concerns. 

Regards, 
Baby. 


Loader.
Live Chat Icon For mobile
Up arrow icon