Better charts
This commit is contained in:
parent
59e2ed8ab0
commit
4dee7d91b1
12 changed files with 255 additions and 374 deletions
|
@ -8,7 +8,7 @@ export const meta = {
|
|||
};
|
||||
|
||||
export default (params: any) => new Promise(async (res, rej) => {
|
||||
const daysRange = 365;
|
||||
const daysRange = 90;
|
||||
const hoursRange = 24;
|
||||
|
||||
const now = new Date();
|
||||
|
@ -123,7 +123,6 @@ export default (params: any) => new Promise(async (res, rej) => {
|
|||
}
|
||||
|
||||
chart.forEach(x => {
|
||||
delete x.date;
|
||||
delete (x as any).span;
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue