mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fix Graph story (#36259)
This commit is contained in:
parent
7231eba6a5
commit
1ab4ffb03d
@ -12,14 +12,14 @@ export default {
|
||||
decorator: [withCenteredStory],
|
||||
parameters: {
|
||||
controls: {
|
||||
exclude: ['className', 'ariaLabel', 'legendDisplayMode'],
|
||||
exclude: ['className', 'ariaLabel', 'legendDisplayMode', 'series'],
|
||||
},
|
||||
},
|
||||
argTypes: {
|
||||
displayMode: { control: { type: 'radio', options: ['table', 'list', 'hidden'] } },
|
||||
placement: { control: { type: 'radio', options: ['bottom', 'right'] } },
|
||||
displayMode: { control: { type: 'radio' }, options: ['table', 'list', 'hidden'] },
|
||||
placement: { control: { type: 'radio' }, options: ['bottom', 'right'] },
|
||||
rightAxisSeries: { name: 'Right y-axis series, i.e. A,C' },
|
||||
timeZone: { control: { type: 'radio', options: ['browser', 'utc'] } },
|
||||
timeZone: { control: { type: 'radio' }, options: ['browser', 'utc'] },
|
||||
width: { control: { type: 'range', min: 200, max: 800 } },
|
||||
height: { control: { type: 'range', min: 1700, step: 300 } },
|
||||
lineWidth: { control: { type: 'range', min: 1, max: 10 } },
|
||||
@ -124,8 +124,8 @@ export const WithLegend: Story<StoryProps> = ({ rightAxisSeries, displayMode, le
|
||||
? LegendDisplayMode.Table
|
||||
: LegendDisplayMode.List
|
||||
}
|
||||
{...props}
|
||||
{...args}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user