Set chart type, chart area, plot area, X axis, Y axis, series and legend using EasyXLS library! XLS, XLSX, XLSM, XLSB file in PHP.
https://www.easyxls.com/manual/tutorials/php/excel-chart-properties.html