fix: linter
This commit is contained in:
1 parent
479e6e9a87
commit
566ee2075b
4 files changed
+18
-12
No files matched your search
@@ -126,7 +126,7 @@ export default async function({login, data, rest, imports, q, account}, {enabled
|
||||
].map(({type, data, high, low, ticks, colors = null, labels = null, half = false}) => {
|
||||
const width = 480 * (half ? 0.45 : 1)
|
||||
const height = 160
|
||||
if (type === "line")
|
||||
if (type === "line")
|
||||
return imports.Graph.line(Object.entries(data).map(([x, y]) => ({x:+x, y})), {low, high, ticks, labels, width, height})
|
||||
console.log(data)
|
||||
if (type === "pie")
|
||||
|
||||
Reference in new issue
Block a user