Diagramme: Bugfix

Fixing the bug with getParam, to load the data from local database.