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 { |
||||
text: string; |
||||
showSeriesCount: boolean; |
||||
seriesCountSize: SeriesSize; |
||||
export enum Pod { |
||||
LINE = 'Line', |
||||
BAR = 'Bar', |
||||
GAUGE = 'Gauge', |
||||
} |
||||
|
Loading…
Reference in new issue