Skip to content

Commit a3fad42

Browse files
committed
two more stories to show legend/bottom with age correction toggle visible
1 parent a5967de commit a3fad42

File tree

1 file changed

+58
-18
lines changed

1 file changed

+58
-18
lines changed

src/RCPCHChart/RCPCHChart.stories.tsx

+58-18
Original file line numberDiff line numberDiff line change
@@ -53,24 +53,64 @@ export const SDSChartUKWHO: Story = {
5353
},
5454
};
5555

56-
export const CentileChartUKWHOGirlsHeightWithMeasurements: Story = {
57-
args: {
58-
title: 'Patient Name - Hospital Number',
59-
measurementMethod: 'height',
60-
reference: 'uk-who',
61-
sex: 'female',
62-
logoVariant: 'legend',
63-
measurements: {height: twoToEight},
64-
midParentalHeightData: {},
65-
enableZoom: true,
66-
chartType: 'centile',
67-
enableExport: false,
68-
exportChartCallback: ()=>{},
69-
theme: 'tanner2',
70-
height: 800,
71-
width: 1000,
72-
customThemeStyles: {}
73-
},
56+
export const CentileChartUKWHOGirlsHeightWithMeasurementsLegend: Story = {
57+
args: {
58+
title: 'Patient Name - Hospital Number',
59+
measurementMethod: 'height',
60+
reference: 'uk-who',
61+
sex: 'female',
62+
logoVariant: 'legend',
63+
measurements: { height: twoToEight },
64+
midParentalHeightData: {},
65+
enableZoom: true,
66+
chartType: 'centile',
67+
enableExport: false,
68+
exportChartCallback: () => {},
69+
theme: 'tanner2',
70+
height: 800,
71+
width: 1000,
72+
customThemeStyles: {},
73+
},
74+
};
75+
76+
export const CentileChartPrematureUKWHOGirlsHeightWithMeasurementsLegend: Story = {
77+
args: {
78+
title: 'Patient Name - Hospital Number',
79+
measurementMethod: 'height',
80+
reference: 'uk-who',
81+
sex: 'female',
82+
logoVariant: 'legend',
83+
measurements: { height: prematureGirlOverThreeHeight },
84+
midParentalHeightData: {},
85+
enableZoom: true,
86+
chartType: 'centile',
87+
enableExport: false,
88+
exportChartCallback: () => {},
89+
theme: 'tanner2',
90+
height: 800,
91+
width: 1000,
92+
customThemeStyles: {},
93+
},
94+
};
95+
96+
export const CentileChartPrematureUKWHOGirlsHeightWithMeasurementsBottom: Story = {
97+
args: {
98+
title: 'Patient Name - Hospital Number',
99+
measurementMethod: 'height',
100+
reference: 'uk-who',
101+
sex: 'female',
102+
logoVariant: 'bottom',
103+
measurements: { height: prematureGirlOverThreeHeight },
104+
midParentalHeightData: {},
105+
enableZoom: true,
106+
chartType: 'centile',
107+
enableExport: false,
108+
exportChartCallback: () => {},
109+
theme: 'tanner2',
110+
height: 800,
111+
width: 1000,
112+
customThemeStyles: {},
113+
},
74114
};
75115

76116
export const CentileChartUKWHOGirlsHeight: Story = {

0 commit comments

Comments
 (0)