Toruble creating charts on the fly

Topics: Developer Forum
Mar 20, 2014 at 9:07 PM
Hi, i've been working creating Excel files with phpExcel and it works great! Now i'm triyng to make some charts; when i know de number of columns and rows of the data, it works great; i now need to make a script for making some charts, but i don't know in advance the amount o columns and rows; i have two variables; $cantColumnas and $cantFilas, so i can make a for loop in order to scan both rows and columns, but when i try to implement PHPExcel_Chart_DataSeriesValues, for labels and data, i can´t make it to work! Any suggestions?