Skip to content

Commit

Permalink
docs(storybook): fix area axis ids to area instead of line
Browse files Browse the repository at this point in the history
  • Loading branch information
markov00 committed Apr 1, 2019
1 parent 90f4f59 commit 9de12a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions stories/area_chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ storiesOf('Area Chart', module)
return (
<Chart renderer="canvas" className={'story-chart'}>
<AreaSeries
id={getSpecId('lines')}
id={getSpecId('areas')}
xScaleType={ScaleType.Time}
yScaleType={ScaleType.Linear}
xAccessor={0}
Expand Down Expand Up @@ -50,7 +50,7 @@ storiesOf('Area Chart', module)
/>

<AreaSeries
id={getSpecId('lines')}
id={getSpecId('area')}
xScaleType={ScaleType.Time}
yScaleType={ScaleType.Linear}
xAccessor={0}
Expand All @@ -77,7 +77,7 @@ storiesOf('Area Chart', module)
/>

<AreaSeries
id={getSpecId('lines')}
id={getSpecId('areas')}
xScaleType={ScaleType.Linear}
yScaleType={ScaleType.Linear}
xAccessor={0}
Expand Down Expand Up @@ -261,7 +261,7 @@ storiesOf('Area Chart', module)
tickFormat={(d) => Number(d).toFixed(2)}
/>
<AreaSeries
id={getSpecId('lines')}
id={getSpecId('areas')}
xScaleType={ScaleType.Linear}
yScaleType={ScaleType.Linear}
xAccessor={0}
Expand Down

0 comments on commit 9de12a7

Please sign in to comment.