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

Custom title style and Axis Label text wrap

Thread ID:

Created:

Updated:

Platform:

Replies:

142138 Jan 22,2019 01:42 AM UTC Jan 22,2019 11:10 AM UTC ASP.NET MVC - EJ 2 1
loading
Tags: Chart
jsu
Asked On January 22, 2019 01:42 AM UTC

Hi Team,

Could you please advise how to give custom style for chart Title in Donut chart.

Also, I need to wrap X-axis and Y Axis label texts in bar chart. Please help on this as well.



Thanks in advance

Dharanidharan Dharmasivam [Syncfusion]
Replied On January 22, 2019 11:10 AM UTC

Hi Jsu, 
 
Greetings from Syncfusion. Kindly find the response for your queries below. 
 
Query #1: Could you please advise how to give custom style for chart Title in Donut chart.  
Using the TitleStyle property you can customize the title. We have prepared a sample in which we have customized the color and size of title. This can be change with respect to your scenario. 
 
 
@(Html.EJS().AccumulationChart("container") 
 
      Other chart configuration 
 
     .Title("Project Cost Breakdown") 
     .TitleStyle(ts=>ts.Color("#ff1a75").Size("16")) 
 
.Render()) 
 
 
Screenshot: 
 
Query #2: I need to wrap X-axis and Y Axis label texts in bar chart. 
Currently when label got intersect with each other, then we have wrapped the text only for x axis. For more information on label interest action, kindly find the help document below. 
 
 
Could you please let us know with more information (use case in your scenario), if the provided solution doesn’t meet your requirement.  
 
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

;