mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 05:19:05 +01:00
feat: Implemented rooflineplot with uPlot
This commit is contained in:
parent
0993549cac
commit
c4a9fcc1ca
@ -22,9 +22,6 @@
|
||||
* data[2] = [0.1, 0.15, 0.2, ...] // Color Code -> Time Information (Floats from 0 to 1) (Optional)
|
||||
*/
|
||||
|
||||
// Check
|
||||
// console.assert(data , "you must provide data")
|
||||
|
||||
// Helpers
|
||||
function getGradientR(x) {
|
||||
if (x < 0.5) return 0
|
||||
@ -82,7 +79,6 @@
|
||||
u.ctx.fill(p);
|
||||
}
|
||||
});
|
||||
|
||||
return null;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user