Commit 3ab00dfb by corpglory-dev

PieChartDataPoint -> PiechartDataPoint

parent 76aa208d
......@@ -3,7 +3,7 @@ import React, { PureComponent } from 'react';
import { GrafanaThemeType } from '../../types';
import { Themeable } from '../../index';
export interface PieChartDataPoint {
export interface PiechartDataPoint {
value: number;
name: string;
color: string;
......@@ -12,7 +12,7 @@ export interface PieChartDataPoint {
export interface Props extends Themeable {
height: number;
width: number;
datapoints: PieChartDataPoint[];
datapoints: PiechartDataPoint[];
unit: string;
pieType: string;
......
......@@ -5,7 +5,7 @@ import React, { PureComponent } from 'react';
import { processTimeSeries, ThemeContext } from '@grafana/ui';
// Components
import { Piechart, PieChartDataPoint } from '@grafana/ui';
import { Piechart, PiechartDataPoint } from '@grafana/ui';
// Types
import { PiechartOptions } from './types';
......@@ -18,7 +18,7 @@ export class PiechartPanel extends PureComponent<Props> {
const { panelData, width, height, options } = this.props;
const { valueOptions } = options;
const datapoints: PieChartDataPoint[] = [];
const datapoints: PiechartDataPoint[] = [];
if (panelData.timeSeries) {
const vmSeries = processTimeSeries({
timeSeries: panelData.timeSeries,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment