jFreeChart:自定义线性图表轴标签

时间:2012-10-10 16:10:14

标签: java encoding jfreechart

我正在使用jFreechart创建这样的折线图(取自演示):

final JFreeChart chart = ChartFactory.createLineChart(
            "Line Chart Demo 1",       // chart title
            "Type",                    // domain axis label
            "Value",                   // range axis label
            dataset,                   // data
            PlotOrientation.VERTICAL,  // orientation
            true,                      // include legend
            true,                      // tooltips
            false                      // urls
        );

是否可以将范围和域转换为unicode编码系统?

谢谢!

1 个答案:

答案 0 :(得分:0)

这是在图表图例和注释中显示Unicode字形的一般example。更多here。另请参阅org.jfree.chart.axis.SymbolAxis

image

相关问题