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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hide Y axis labels in Column Range chart

Thread ID:

Created:

Updated:

Platform:

Replies:

141257 Dec 3,2018 12:53 AM UTC Dec 4,2018 10:55 AM UTC ASP.NET MVC - EJ 2 3
loading
Tags: Chart
jsu
Asked On December 3, 2018 12:53 AM UTC

Hi Team,

Could you please help me to hide Y- axis labels in Column Range chart with Tooltip enabled.

Dharanidharan Dharmasivam [Syncfusion]
Replied On December 3, 2018 08:30 AM UTC

Hi Jsu, 
 
Greeting from Syncfusion. 
 
We have analyzed your query. Your requirement for hiding the axis labels can be achieved using the axisLabelRender event. This event is triggered for each axis labels and the text can be customized. The tooltip can be enabled as depicted below. For more information on tooltip, find the user guide. 
 
[ChartFeatures.cshtml] 
 
@Html.EJS().Chart("container1").Tooltip(tl=>tl.Enable(true)).AxisLabelRender("AxisLabels").Render(); 
 
function AxisLabels(args) { 
        if (args.axis.orientation === "Vertical") { 
            Passing empty string 
            args.text = ""; 
        } 
    } 
 
 
Screenshot: 
 
 
Thanks, 
Dharani. 


jsu
Replied On December 3, 2018 06:34 PM UTC

Thank you so much, it works!!

Dharanidharan Dharmasivam [Syncfusion]
Replied On December 4, 2018 10:55 AM UTC

Hi Jsu, 
 
Most welcome. Kindly revert us, if you would require further assistance. 
 
Thanks,
Dharani.
 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

;