Skip to content

Commit 7afaa51

Browse files
authored
Added id property to sankey chart Inbox and rebalnce examples in v9 (microsoft#35195)
1 parent 79b08d9 commit 7afaa51

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/charts/react-charts/stories/src/SankeyChart/SankeyChartInbox.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ export const SankeyChartInbox: React.FunctionComponent<{}> = (): JSXElement => {
162162
<div>
163163
<div style={{ display: 'flex' }}>
164164
<label>change Width:</label>
165-
<input type="range" value={width} min={400} max={1600} onChange={_onWidthChange} />
165+
<input type="range" id="changeWidth_Inbox" value={width} min={400} max={1600} onChange={_onWidthChange} />
166166
<label>change Height:</label>
167-
<input type="range" value={height} min={312} max={400} onChange={_onHeightChange} />
167+
<input type="range" id="changeHeight_Inbox" value={height} min={312} max={400} onChange={_onHeightChange} />
168168
</div>
169169
<div style={rootStyle}>
170170
<SankeyChart

packages/charts/react-charts/stories/src/SankeyChart/SankeyChartRebalance.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,9 +374,9 @@ export const SankeyChartRebalance: React.FunctionComponent<{}> = (): JSXElement
374374
onChange={_onDataSourceChange}
375375
/>
376376
<label>change Width:</label>
377-
<input type="range" value={width} min={400} max={1600} onChange={_onWidthChange} />
377+
<input type="range" id="changeWidth_Rebalance" value={width} min={400} max={1600} onChange={_onWidthChange} />
378378
<label>change Height:</label>
379-
<input type="range" value={height} min={312} max={400} onChange={_onHeightChange} />
379+
<input type="range" id="changeHeight_Rebalance" value={height} min={312} max={400} onChange={_onHeightChange} />
380380
</div>
381381
<div style={rootStyle}>
382382
<SankeyChart

0 commit comments

Comments
 (0)