Unable to completely render customized x-axis label containing multiple lines

I am building a chart with customized x-axis labels.

Under certain conditions args.text would be set in the following way in onAxisLabelRender :

args.text = '$time\r\n$date';

However, only the first line text including the line break is rendered. The second line text is not rendered; it is blank.

I'm currently using plugin version used: ^18.1.44. I believe this used to work well in earlier releases. 

Is this a regression? 

Any workarounds or suggestions would be appreciated. Thanks in advance!


6 Replies

SK Sriram Kiran Senthilkumar Syncfusion Team April 21, 2020 01:59 PM UTC

Hi Jason, 
  
Greetings from Syncfusion. We have analyzed the reported scenario and was able replicate the reported scenario at our end. We will include the fix for the reported issue in our upcoming weekly patch release which is expected to be rolled out on April 28, 2020. We will update you once the release is rolled out and we appreciate your patience until then. 
 
Thanks, 
Sriram Kiran. 



JO Jason Ong April 21, 2020 02:05 PM UTC

Thanks Sriram! Looking forward to the patch release.

Jason


SK Sriram Kiran Senthilkumar Syncfusion Team April 22, 2020 10:38 AM UTC

Hi Jason,

Most welcome. As stated earlier, we will update you once the release is rolled out and we appreciate your patience. 
  
Thanks, 
Sriram Kiran. 



SK Sriram Kiran Senthilkumar Syncfusion Team April 29, 2020 07:26 AM UTC

Hi Jason, 

Thanks for your patience. The reported issue regarding the multiple lines axis label issue has been fixed and included in the weekly patch release. To overcome the reported issue, kindly upgrade the chart widget package below. 

Thanks, 
Sriram Kiran. 



JO Jason Ong April 30, 2020 08:06 AM UTC

Hi Sriram,

Works well now. Thank you so much!

Jason


SK Sriram Kiran Senthilkumar Syncfusion Team May 1, 2020 02:48 PM UTC

Hi Jason, 
 
Most welcome. Kindly revert us if you have further queries. We are always happy in assisting you. 
 
Thanks, 
Sriram Kiran. 


Loader.
Up arrow icon