mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Schema: create a new schema package for basic models (#38409)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import React from 'react';
|
||||
import uPlot, { AlignedData } from 'uplot';
|
||||
import { VizLegendOptions, LegendDisplayMode } from '@grafana/schema';
|
||||
import {
|
||||
DataFrame,
|
||||
formattedValueToString,
|
||||
@@ -10,13 +11,11 @@ import {
|
||||
import {
|
||||
Themeable2,
|
||||
UPlotConfigBuilder,
|
||||
VizLegendOptions,
|
||||
UPlotChart,
|
||||
VizLayout,
|
||||
AxisPlacement,
|
||||
ScaleDirection,
|
||||
ScaleOrientation,
|
||||
LegendDisplayMode,
|
||||
PlotLegend,
|
||||
} from '@grafana/ui';
|
||||
|
||||
|
||||
@@ -3,14 +3,8 @@
|
||||
// It is currenty hand written but will serve as the target for cuetsy
|
||||
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
import {
|
||||
GraphGradientMode,
|
||||
HideableFieldConfig,
|
||||
LegendDisplayMode,
|
||||
OptionsWithLegend,
|
||||
OptionsWithTooltip,
|
||||
TooltipDisplayMode,
|
||||
} from '@grafana/ui';
|
||||
import { LegendDisplayMode, OptionsWithLegend, OptionsWithTooltip, TooltipDisplayMode } from '@grafana/schema';
|
||||
import { GraphGradientMode, HideableFieldConfig } from '@grafana/ui';
|
||||
|
||||
export const modelVersion = Object.freeze([1, 0]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user