mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-03 06:28:53 +00:00
refactor(web): resource query charts
This commit is contained in:
1 parent
3eeccfd010
commit
952ecfbf91
7 files changed
+98
-31
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import { derived, writable } from 'svelte/store';
|
||||
|
||||
export const visible = writable(false)
|
||||
export const visible = writable(false);
|
||||
|
||||
export const search = writable('');
|
||||
let timeout: NodeJS.Timeout;
|
||||
@@ -27,3 +27,8 @@ export const generalData = writable({
|
||||
timeQuerying: 0,
|
||||
slowQueries: 0,
|
||||
});
|
||||
|
||||
export const chartData = writable<{ labels: string[]; data: { queries: number; time: number }[] }>({
|
||||
labels: [],
|
||||
data: [],
|
||||
});
|
||||
Reference in new issue
Block a user