Chart Title and Subtitle display widths - Prevent subtitle truncating?

When a chart is displayed with a title and subtitle, if the title text contains less characters or has a smaller width than the subtitle text, the subtitle display gets truncated and appended with ellipses. 

For example, if the title was 'Title' and the subtitle is 'Subtitle' the chart displays these together like this:

Title
Sub...

Is there a way to increase the title or subtitle width so that the subtitle string is fully displayed on the chart? 


4 Replies

DG Durga Gopalakrishnan Syncfusion Team October 4, 2024 09:53 AM UTC

Hi Roger,


Greetings from Syncfusion.


We have considered your reported scenario as bug and logged a defect report for the issue ”Chart subtitle is trimmed when title width is small”. This fix will be available in our weekly patch release which is scheduled to be rolled out on 15th October 2024. We appreciate your patience until then. You can keep track of the bug from the below feedback link.


Feedback : https://www.syncfusion.com/feedback/61841/chart-subtitle-is-trimmed-when-title-width-is-small


If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal.


Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”


Regards,

Durga Gopalakrishnan.



RM Roger Marquis October 7, 2024 02:11 PM UTC

Thank you very much for the timely response on this issue and quick expected turnaround time on patching.
I will monitor patch notes for October 15th or later if necessary regarding this fix. 



DG Durga Gopalakrishnan Syncfusion Team October 8, 2024 06:35 AM UTC

Roger,


Most welcome. We will include the fix as per mentioned timeline and update you once patch release is rolled out. We appreciate your patience until then.



DG Durga Gopalakrishnan Syncfusion Team October 15, 2024 02:34 PM UTC

Roger,


We are glad to announce that our v27.1.53 patch release is rolled out; we have added the fix for reported issue. You can use the latest Syncfusion.Blazor.Charts NuGet package.


Root Cause:

The text size calculation for the subtitle considered the size of the title.


Fix:

The chart area width was provided to calculate the subtitle size.


NuGet Package : https://www.nuget.org/packages/Syncfusion.Blazor.Charts/


Sample : https://www.syncfusion.com/downloads/support/directtrac/general/ze/SubTitle242081109.zip


Feedback : https://www.syncfusion.com/feedback/61841/chart-subtitle-is-trimmed-when-title-width-is-small


We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.


Loader.
Up arrow icon