Hello Rui,
You can use ExceltoRecod widget to convert the excel file stored in the database, This record list you can use for creating graphs.

For Record Definition, you can specify the structure for the excel file.
For file content, you can pass the binary data from the database.
Regards,
Riyaz