vargburz
3 years ago
7 changed files with 53 additions and 27 deletions
After Width: | Height: | Size: 46 KiB |
@ -0,0 +1,12 @@ |
|||||||
|
import React from 'react'; |
||||||
|
import { PanelProps } from '@grafana/data'; |
||||||
|
import { PanelOptions } from '../types'; |
||||||
|
|
||||||
|
interface Props extends PanelProps<PanelOptions> {} |
||||||
|
|
||||||
|
export function Panel({ options, data, width, height, timeZone, timeRange, onChangeTimeRange }: Props) { |
||||||
|
return ( |
||||||
|
// TODO: implement chartwerk panel
|
||||||
|
<div>Chartwerk panel</div> |
||||||
|
); |
||||||
|
} |
@ -1,7 +1,9 @@ |
|||||||
type SeriesSize = 'sm' | 'md' | 'lg'; |
export interface PanelOptions { |
||||||
|
visualizationType: Pod; |
||||||
|
} |
||||||
|
|
||||||
export interface SimpleOptions { |
export enum Pod { |
||||||
text: string; |
LINE = 'Line', |
||||||
showSeriesCount: boolean; |
BAR = 'Bar', |
||||||
seriesCountSize: SeriesSize; |
GAUGE = 'Gauge', |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue