There's a problem with the official examples LineChart and ScatterChart for Apache POI 4.0. They compile and run without errors, but the created Excel file cannot be opened stating that there is unreadable content. Excel 2010 & 2016 are giving the option to recover data from the workbook and after clickin' yes, this dialog appears. What might be the problem?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
The new
XDDF
code lacks the setting theaxId
s in thelineChart
andscatterChart
.In
/xl/charts/chart1.xml
this looks like:for a line chart..
Do adding:
in
LineChart.java
and
in
ScatterChart.java
and it will work.