Export Excel with pivot chart using EasyXLS library! XLS, XLSX, XLSM, XLSB file in C++.
https://www.easyxls.com/manual/tutorials/cpp/create-excel-pivot-chart.html