mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Explore: Moves GraphSeriesXY and DisplayValue to grafana/data (#18400)
* Chore: Move DisplayValue to grafana/data * Chore: Move GraphSeriesXY to grafana/data
This commit is contained in:
@@ -3,7 +3,7 @@ import $ from 'jquery';
|
||||
import _ from 'lodash';
|
||||
//@ts-ignore
|
||||
import Drop from 'tether-drop';
|
||||
import { CreatePlotOverlay } from '@grafana/ui';
|
||||
import { CreatePlotOverlay } from '@grafana/data';
|
||||
|
||||
/** @ngInject */
|
||||
const createAnnotationToolip: CreatePlotOverlay = (element, event, plot) => {
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import React from 'react';
|
||||
import { GraphSeriesXY, PanelData } from '@grafana/ui';
|
||||
import { PanelData } from '@grafana/ui';
|
||||
import { GraphSeriesXY } from '@grafana/data';
|
||||
import difference from 'lodash/difference';
|
||||
|
||||
import { getGraphSeriesModel } from './getGraphSeriesModel';
|
||||
import { Options, SeriesOptions } from './types';
|
||||
import { SeriesColorChangeHandler, SeriesAxisToggleHandler } from '@grafana/ui/src/components/Graph/GraphWithLegend';
|
||||
|
||||
@@ -1,13 +1,6 @@
|
||||
import {
|
||||
GraphSeriesXY,
|
||||
colors,
|
||||
getFlotPairs,
|
||||
getColorFromHexRgbOrName,
|
||||
getDisplayProcessor,
|
||||
DisplayValue,
|
||||
PanelData,
|
||||
} from '@grafana/ui';
|
||||
import { NullValueMode, reduceField, FieldCache, FieldType } from '@grafana/data';
|
||||
import { colors, getFlotPairs, getColorFromHexRgbOrName, getDisplayProcessor, PanelData } from '@grafana/ui';
|
||||
import { NullValueMode, reduceField, FieldCache, FieldType, DisplayValue, GraphSeriesXY } from '@grafana/data';
|
||||
|
||||
import { SeriesOptions, GraphOptions } from './types';
|
||||
import { GraphLegendEditorLegendOptions } from './GraphLegendEditor';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user