java - Jfree Chart 中日文语言不正确

标签 java jfreechart

我在我的应用程序中使用 Jfree 图表。国际化非常适合德语、俄语、法语...但在中文、日语中,x 轴和 y 轴文本看起来像方框。如何解决这个问题?

谢谢。

最佳答案

检查下面的链接,它似乎在讨论完全相同的问题:

http://www.jfree.org/phpBB2/viewtopic.php?f=3&t=109313

You need to ensure that you are using a font that supports the characters you are trying to display. If you see squares, that's an indication that the font doesn't have glyphs for the unicode character you are trying to show.

关于java - Jfree Chart 中日文语言不正确,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17453894/

相关文章:

java - PeriodAxis 不正确的时区

java - 管理 Java 客户端-服务器应用程序中的响应消息

JAVA:使用递归从头到尾加法

java - 如何启用 JDBC/MySqlConnectorj 连接池?

Java 转换时区

java - 如何将整数数组传递给需要 `Array<T>` 的方法?

java - 蜡烛图上的注释不起作用

Java JFreeChart 未在 JPanel 中完全显示图表

jasper-reports - 带有包围范围区域的折线图

java - JFreeChart 创建时间的自定义值轴