Treemap titleStyle and fontFamily not working

Hello,


I have noticed that fontFamily and fontWeight properties inside [titleSettings -> textStyle] are not working on the Treemap chart. However, color property is working.

Example in this case, my text is red but has not the good weight and font-family:

 
// Template 
<ejs-treemap :titleSettings="titleSettings" ... />

// Script
public titleSettings = {
    text: this.label,
    textStyle: {
      fontWeight: "500",
      fontFamily: "Segoe UI",
color: "red"
},
  };


Thank you for your work,

Simon H.

  


2 Replies

IR Indumathi Ravi Syncfusion Team June 27, 2022 11:22 AM UTC

Hi Simon,


Thank you for contacting Syncfusion support.


We are able to reproduce the reported issue with the “fontFamily” property in the “textStyle” of TreeMap control. We have considered this as a defect and logged a defect report for the same. However, we will include the fix for the reported issue in our weekly patch release which is expected to be available by the first week of July 2022. Please find the feedback link below to keep track of the reported issue.


https://www.syncfusion.com/feedback/35918


Meanwhile, “fontWeight” property in the “textStyle” is working properly. Please find the sample, in which we tried to reproduce the reported issue below.


https://www.syncfusion.com/downloads/support/directtrac/general/ze/quickstart-1588375660


Please let us know if you need any further assistance.


Regards,

Indumathi R.



IR Indumathi Ravi Syncfusion Team July 13, 2022 04:53 PM UTC

Hi Simon,


Thank you for your patience.


We have fixed the reported issue “TreeMap title does not work with the provided font-family” and included the fix in our weekly patch release (v20.2.38). Please update the below packages in your application to resolve the reported issue. Please find the package links below.


https://www.npmjs.com/package/@syncfusion/ej2-maps

https://www.npmjs.com/package/@syncfusion/ej2-vue-maps


Please let us know if you need any further assistance.


Regards,

Indumathi R.


Loader.
Up arrow icon