mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
Add PiechartType enum
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import { PiechartType } from '@grafana/ui';
|
||||
|
||||
export interface PiechartOptions {
|
||||
pieType: string;
|
||||
pieType: PiechartType;
|
||||
strokeWidth: number;
|
||||
|
||||
valueOptions: PiechartValueOptions;
|
||||
@@ -12,7 +14,7 @@ export interface PiechartValueOptions {
|
||||
}
|
||||
|
||||
export const defaults: PiechartOptions = {
|
||||
pieType: 'pie',
|
||||
pieType: PiechartType.PIE,
|
||||
strokeWidth: 1,
|
||||
valueOptions: {
|
||||
unit: 'short',
|
||||
|
||||
Reference in New Issue
Block a user