Skip to content

Commit

Permalink
Update stories
Browse files Browse the repository at this point in the history
  • Loading branch information
severinlandolt committed Oct 24, 2023
1 parent 0e289af commit bc10f7a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
7 changes: 2 additions & 5 deletions src/stories/chart-elements/AreaChart.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,8 @@ export const NoAxes: Story = {
},
};

export const NoYAxis: Story = {
args: {
showYAxis: false,
startEndOnly: true,
},
export const NoYAxisStartEndOnly: Story = {
args: { showYAxis: false, startEndOnly: true },
};

//Custom tooltips
Expand Down
15 changes: 8 additions & 7 deletions src/stories/chart-elements/BarChart.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,6 @@ export const MultipleZeroValues: Story = {
},
};

export const NoAxes: Story = {
args: {
showXAxis: false,
showYAxis: false,
},
};

export const RotateXLabelsHorizontal: Story = {
args: {
data: longBaseChartData,
Expand All @@ -189,6 +182,14 @@ export const RotateXLabelVertical: Story = {
},
};

export const NoAxes: Story = {
args: { showXAxis: false, showYAxis: false },
};

export const NoYAxisStartEndOnly: Story = {
args: { showYAxis: false, startEndOnly: true },
};

//Custom tooltips
const customTooltipColors: Color[] = ["cyan"];
const customTooltipIndex = "month";
Expand Down
9 changes: 5 additions & 4 deletions src/stories/chart-elements/LineChart.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,11 @@ export const LongIndexNameAndPreserveStartEnd: Story = {
};

export const NoAxes: Story = {
args: {
showXAxis: false,
showYAxis: false,
},
args: { showXAxis: false, showYAxis: false },
};

export const NoYAxisStartEndOnly: Story = {
args: { showYAxis: false, startEndOnly: true },
};

export const RotateXLabels: Story = {
Expand Down

0 comments on commit bc10f7a

Please sign in to comment.