You need to use a font that has glyphs for those characters, otherwise the system will just render them as empty box placeholders.
Why UTF 8 Support for Jfreechart Dataset not working?
-
14-06-2023 - |
Frage
I am creating JFreeChart
by following method:
chart = ChartFactory.createBarChart3D
("", // chart title
"", // domain axis label
"",
dataset, // data
PlotOrientation.HORIZONTAL, // orientation
false, // include legend
true, // tooltips?
false // URLs?
);
My dataset contains UTF-8 characters including chinese,japanese,hindi..etc. so in tables data under the graph it shows data properly whatever language it comes in. But in case of graph it is showing Just square brackets.. Please help me how can i solve this problem?
Thanks in advance,
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow