You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "Leon0824 (via GitHub)" <gi...@apache.org> on 2025/04/29 15:18:46 UTC

[I] [Bug] Font style does not apply to year label [echarts]

Leon0824 opened a new issue, #20950:
URL: https://github.com/apache/echarts/issues/20950

   ### Version
   
   5.6.0
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/en/editor.html?c=area-pieces&code=PYBwLglsB2AEC8sDeAoWszGAG0iAXMgL4A0asAHgIIUQDOhq66YAniAKaEDkkAth25lmsAIa06AGVEAjDtkawAZjDAAxUXwjZWPPjGB0QogMaCSy1QGUIALy6wAjAAZYRcqXKsa9RePrScgrIltDqmtq6sNz60IbGZkKhYDb2hC5ubsKwdBwAThAcDLAA2uToTCIY7A7c2BDQ5uXMonkcolZs2A5InlWwACaiYKKEZf3oJdwATM6OAJwAtC7LzkmzzgC62f1TswvLjodJAKwAbFs7VXtzS47Ty9NJAOwnl80iN7OLc8sAzKcABzvCalGbOb4Q5YAFnWb22H2YX2cPz-yxOST-zhBE2RP2hyzOSWh8Kun3BkJOy2emOxCNBeOcZ2WgKSLi2iM2zXc6C5RAA3EA
   
   ### Steps to Reproduce
   
   Assign font style in this manner to a time-series chart:
   
   ```js
   xAxis: {
     type: 'time',
     axisLabel: { fontFamily: 'monospace', fontSize: 10 },
   },
   series: [{ type: 'line', data: [...] }],
   ```
   
   
   ### Current Behavior
   
   The year label in x-axis is not applied to the assigned font style.
   
   ![Image](https://github.com/user-attachments/assets/3efbdf2d-c2b9-4250-bd75-21bc0d0c8df5)
   
   
   ### Expected Behavior
   
   The year label in x-axis is applied to the assigned font style.
   
   ### Environment
   
   ```markdown
   
   ```
   
   ### Any additional comments?
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


Re: [I] [Bug] Font style does not apply to year label [echarts]

Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart closed issue #20950: [Bug] Font style does not apply to year label
URL: https://github.com/apache/echarts/issues/20950


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


Re: [I] [Bug] Font style does not apply to year label [echarts]

Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #20950:
URL: https://github.com/apache/echarts/issues/20950#issuecomment-2845923450

   workaround with [rich formatting](https://echarts.apache.org/en/option.html#xAxis.axisLabel.rich) - [Demo](https://echarts.apache.org/examples/en/editor.html?code=PYBwLglsB2AEC8sDeAoWszGAG0iAXMgL4A0asAHgIIUQDOhq66YAniAKaEDkkAth25lmsAIa06AGVEAjDtkbkRAMxhgAYqL4RsrHnxjA6IUQGNBJWKuhgAyhABeXWAEYADJaXNVAJz6iwMA4fRRERVg5RENhuJAiogB841hSiIm4vdFJM2B8IUwALULD0eOimEuZTHGBo7gBiACZmoRyVNQB1DggAcwKwHhkcABNWyu81TW1dfUNjMwsrNXsnQnc22CIcrZEdzeFYVhp6Rn3yOmCIDgZYAG0vCpE2Th5sCGgLHKjI2zZsZyQ2RKwwCokI93Gt24jTcLgAnABadxItxCWAwtwAXQOJShMPhSJchLRAFYAGxYnFhPGwxEuRpIxpogDsJMpGxpMIRsKRAGZSQAOdmQ6FuLlipEAFjRjTZ2I5ovFvKRJLRvLcwsqnLc3MlSLJaMlcqpIm13JJSOZao18pFMPFZKRArR7ixOUxXj2HqIAG4gA)
   
   <!-- Failed to upload "area-pieces.png" -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org