mirror of
https://github.com/grafana/grafana.git
synced 2025-09-18 09:22:45 +08:00
Legends: Refactoring and rewrites of legend components to simplify components & reuse (#30165)
* Legends: Refactoring and rewrites of legend components to simplify components & reuse * Removed onSeriesAxisToggle * More removal of onSeriesAxisToggle and storybook improvements * Added story with legend values * Move table legend styles from inline to defined in stylesFactory * Update styles * Change to circle * Updated style to fat line * Rename to VizLegend * More renamed and fixes / polish * Removed imports * Minor change * Updates * Updates
This commit is contained in:
@ -3,8 +3,7 @@ import React from 'react';
|
||||
import { select, text } from '@storybook/addon-knobs';
|
||||
import { withCenteredStory } from '../../utils/storybook/withCenteredStory';
|
||||
import { GraphWithLegend, GraphWithLegendProps } from './GraphWithLegend';
|
||||
|
||||
import { LegendPlacement, LegendDisplayMode } from '../Legend/Legend';
|
||||
import { LegendPlacement, LegendDisplayMode } from '../VizLegend/types';
|
||||
import { GraphSeriesXY, FieldType, ArrayVector, dateTime, FieldColorModeId } from '@grafana/data';
|
||||
|
||||
export default {
|
||||
|
Reference in New Issue
Block a user