|
| 1 | +import { useFormatters, useUtils } from "@servicestack/vue" |
| 2 | +import { Chart, registerables } from "chart.js" |
| 3 | +Chart.register(...registerables) |
| 4 | + |
| 5 | +const { humanifyMs, humanifyNumber, formatDate } = useFormatters() |
| 6 | +const { delay } = useUtils() |
| 7 | + |
| 8 | +export const resultLimits = [5,10,25,50,100] |
| 9 | +export const colors = [ |
| 10 | + { background: 'rgba(54, 162, 235, 0.2)', border: 'rgb(54, 162, 235)' }, //blue |
| 11 | + { background: 'rgba(255, 99, 132, 0.2)', border: 'rgb(255, 99, 132)' }, |
| 12 | + { background: 'rgba(153, 102, 255, 0.2)', border: 'rgb(153, 102, 255)' }, |
| 13 | + { background: 'rgba(54, 162, 235, 0.2)', border: 'rgb(54, 162, 235)' }, |
| 14 | + { background: 'rgba(255, 159, 64, 0.2)', border: 'rgb(255, 159, 64)' }, |
| 15 | + { background: 'rgba(67, 56, 202, 0.2)', border: 'rgb(67, 56, 202)' }, |
| 16 | + { background: 'rgba(255, 99, 132, 0.2)', border: 'rgb(255, 99, 132)' }, |
| 17 | + { background: 'rgba(14, 116, 144, 0.2)', border: 'rgb(14, 116, 144)' }, |
| 18 | + { background: 'rgba(162, 28, 175, 0.2)', border: 'rgb(162, 28, 175)' }, |
| 19 | + { background: 'rgba(201, 203, 207, 0.2)', border: 'rgb(201, 203, 207)' }, |
| 20 | +] |
0 commit comments