feat(curves.js):improove multi curve visualisation
fix(curves.php):improove size of graph
fix(data.php):refactor for multicurves