// Libraries import _ from 'lodash'; import React, { PureComponent } from 'react'; import colors from 'app/core/utils/colors'; // Components import { Graph } from '@grafana/ui'; // Services & Utils import { processTimeSeries } from '@grafana/ui'; // Types import { PanelProps, NullValueMode } from '@grafana/ui'; import { Options } from './types'; interface Props extends PanelProps {} export class GraphPanel extends PureComponent { constructor(props) { super(props); } render() { const { timeSeries, timeRange, width, height } = this.props; const { showLines, showBars, showPoints } = this.props.options; const vmSeries = processTimeSeries({ timeSeries: timeSeries, nullValueMode: NullValueMode.Ignore, colorPalette: colors, }); return ( ); } }