StackedBarChart row key is not added to DefaultCategoryDataSet

前端 未结 1 473
情话喂你
情话喂你 2020-12-22 00:24

I have two entity Classes: A and B. A has B entities, and I have a Map defined in the following format: Map.

I want to

相关标签:
1条回答
  • 2020-12-22 01:15

    Absent your sscce the problem is not apparent. It may help to compare your data set to a typical CategoryDataset such as this one that has distinct series (row) and category (column) keys. Also, adding a CategoryItemLabelGenerator may aid debugging.

    renderer.setBaseItemLabelGenerator(
        new StandardCategoryItemLabelGenerator(
            "{0} {1} {2}", NumberFormat.getInstance()));
    renderer.setBaseItemLabelsVisible(true);
    
    0 讨论(0)
提交回复
热议问题