Displaying cells from example
C++ library for creating XLSX files for MS Excel 2007 and above.
Brought to you by:
oxod,
programmeralex
I was using the MultiCharts.cpp example and it worked fine at first. I then changed the cell count to 15 and added my own data. This is the main code I changed. CorrelArr is full of doubles.
When I look at the data in the Xlsx file. The charts are only plotting the very first cell of the row.
Hi,
I just pasted your code in "MultiCharts.cpp" and everything works. Please see the attachment.
Most likely the problem is in "CorrelArr". Make sure that its size is at least 15 elements and all elements have a finite value (not NaN, not Inf).
Also check the values of the first two rows on the first sheet of created xlsx -file.
If the problem persists, please attach your minimal non-working example and the created xlsx-file.
P.S. For safety, use the "DataCellCount" in the loop below it.
Hello Alexandr Belyak,
I have exactly the same problem as Logan.
I tested your file "main.cpp" in VS2019 and the same problem appears... The chart is only plotting the very first cell of the row.
Thank you very much for your assistance.
Best regads.
Hello Alexandr Belyak,
I have exactly the same problem as Logan.
I tested your file "main.cpp" in VS2019 and the same problem appears... The chart is only plotting the very first cell of the row.
Thank you very much for your assistance.
Best regads.
Hi Sergio,
Thanks for the information about the VS2019. This information helped to find and fix the bug.
Please test the updated library from the attachment and let me know the results of your testing.
Thank you again.