mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Graph: fixes storybook crashing when using the story (#35251)
* Graph: fixes storybook crashing when using the story * fixes the GraphWithLegend story too
This commit is contained in:
parent
3331506660
commit
70155c7fd0
@ -85,7 +85,7 @@ export default {
|
||||
disable: true,
|
||||
},
|
||||
controls: {
|
||||
exclude: ['className', 'series', 'timeRange', 'ariaLabel'],
|
||||
exclude: ['className', 'ariaLabel'],
|
||||
},
|
||||
},
|
||||
args: {
|
||||
@ -107,7 +107,7 @@ export default {
|
||||
tooltipMode: { control: { type: 'radio', options: ['multi', 'single'] } },
|
||||
timeZone: { control: { type: 'radio', options: ['browser', 'utc'] } },
|
||||
width: { control: { type: 'range', min: 200, max: 800 } },
|
||||
height: { control: { type: 'range', min: 200, max: 800 } },
|
||||
height: { control: { type: 'range', min: 200, max: 1700, step: 300 } },
|
||||
lineWidth: { control: { type: 'range', min: 1, max: 10 } },
|
||||
},
|
||||
};
|
||||
|
@ -15,7 +15,7 @@ export default {
|
||||
disable: true,
|
||||
},
|
||||
controls: {
|
||||
exclude: ['className', 'series', 'timeRange', 'ariaLabel', 'legendDisplayMode'],
|
||||
exclude: ['className', 'ariaLabel', 'legendDisplayMode'],
|
||||
},
|
||||
},
|
||||
argTypes: {
|
||||
@ -24,7 +24,7 @@ export default {
|
||||
rightAxisSeries: { name: 'Right y-axis series, i.e. A,C' },
|
||||
timeZone: { control: { type: 'radio', options: ['browser', 'utc'] } },
|
||||
width: { control: { type: 'range', min: 200, max: 800 } },
|
||||
height: { control: { type: 'range', min: 200, max: 800 } },
|
||||
height: { control: { type: 'range', min: 1700, step: 300 } },
|
||||
lineWidth: { control: { type: 'range', min: 1, max: 10 } },
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user