mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 11:26:00 +00:00
SYNC: data label formatter
This commit is contained in:
committed by
Diflow
parent
cd7800056c
commit
9c1d330945
@@ -7,6 +7,7 @@ export type ChartXTransformFunction =
|
||||
| 'date:month'
|
||||
| 'date:year';
|
||||
export type ChartYAggregateFunction = 'sum' | 'first' | 'last' | 'min' | 'max' | 'count' | 'avg';
|
||||
export type ChartDataLabelFormatter = 'number' | 'size:bytes' | 'size:kb' | 'size:mb' | 'size:gb';
|
||||
|
||||
export const ChartConstDefaults = {
|
||||
sortOrder: ' asc',
|
||||
@@ -51,6 +52,7 @@ export interface ChartDefinition {
|
||||
ydefs: ChartYFieldDefinition[];
|
||||
|
||||
useDataLabels?: boolean;
|
||||
dataLabelFormatter?: ChartDataLabelFormatter;
|
||||
}
|
||||
|
||||
export interface ChartDateParsed {
|
||||
|
||||
Reference in New Issue
Block a user