fix(ui): graph period
This commit is contained in:
parent
87d45714b1
commit
15da91385d
1 changed files with 1 additions and 1 deletions
|
|
@ -334,7 +334,7 @@ export default class Widget {
|
|||
}, []);
|
||||
} else {
|
||||
const updatedData: any = this.calculateTotalSeries(data);
|
||||
_data['chart'] = getChartFormatter('period')(updatedData);
|
||||
_data['chart'] = getChartFormatter(period)(updatedData);
|
||||
_data['namesMap'] = Array.isArray(updatedData)
|
||||
? updatedData
|
||||
.map((i) => Object.keys(i))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue