From ed8dce1114df98d15d125d66e4ea607100b5c50b Mon Sep 17 00:00:00 2001 From: Jay Two Date: Thu, 6 Sep 2018 16:25:08 +0900 Subject: [PATCH] https://github.com/j2doll/QXlsx/issues/10 --- TestExcel/chart.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/TestExcel/chart.cpp b/TestExcel/chart.cpp index 6a71f2c..aa1f0c3 100644 --- a/TestExcel/chart.cpp +++ b/TestExcel/chart.cpp @@ -46,6 +46,12 @@ int chart() bar3DChart->setChartType(Chart::CT_Bar3D); bar3DChart->addSeries(CellRange("A1:C9")); +/* + - Excel files created with this routine will have problems with Microsoft Excel. (Excel 2013/2016) + - Excel files created with this routine will be well in Google spreadsheets. (Setember 2018) + - Excel files created with this routine will be well in LibreOffice. (ver.6.1) + - Issue is reported from SangPilPark(github) + Chart *lineChart = xlsx.insertChart(43, 3, QSize(300, 300)); lineChart->setChartType(Chart::CT_Line); lineChart->addSeries(CellRange("A1:C9")); @@ -62,6 +68,8 @@ int chart() area3DChart->setChartType(Chart::CT_Area3D); area3DChart->addSeries(CellRange("A1:C9")); +//*/ + Chart *scatterChart = xlsx.insertChart(83, 3, QSize(300, 300)); scatterChart->setChartType(Chart::CT_Scatter); //Will generate three lines.