fixes
This commit is contained in:
@@ -46,9 +46,9 @@ export class PiechartPanel extends PureComponent<Props> {
|
||||
height={height}
|
||||
datapoints={datapoints}
|
||||
pieType={options.pieType}
|
||||
unit={options.unit}
|
||||
stat={options.stat}
|
||||
strokeWidth={options.strokeWidth}
|
||||
unit={valueOptions.unit}
|
||||
stat={valueOptions.stat}
|
||||
theme={theme}
|
||||
/>
|
||||
)}
|
||||
|
||||
@@ -4,7 +4,7 @@ import { PanelEditorProps, PanelOptionsGrid } from '@grafana/ui';
|
||||
import ValueOptions from './ValueOptions';
|
||||
import { PiechartOptions } from './types';
|
||||
|
||||
export default class PiechartPanelOptions extends PureComponent<PanelEditorProps<PiechartOptions>> {
|
||||
export default class PiechartPanelEditor extends PureComponent<PanelEditorProps<PiechartOptions>> {
|
||||
render() {
|
||||
const { onChange, options } = this.props;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user