Skip to content

Commit

Permalink
changed stories
Browse files Browse the repository at this point in the history
  • Loading branch information
severinlandolt committed Oct 19, 2023
1 parent 7b09ea6 commit 25c5bdd
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
12 changes: 6 additions & 6 deletions src/stories/chart-elements/AreaChart.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,24 +129,24 @@ export const SingleAndMultipleDataAndOnValueChange: Story = {
args: { data: singleAndMultipleData, onValueChange: (v: any) => alert(JSON.stringify(v)) },
};

export const Equidistant: Story = {
args: { intervalType: "equidistantPreserveStart" },
export const PreserveStartEnd: Story = {
args: { intervalType: "preserveStartEnd" },
};

export const LongDataInput: Story = {
args: { data: longBaseChartData },
};

export const LongDataInputAndEquidistant: Story = {
args: { data: longBaseChartData, intervalType: "equidistantPreserveStart" },
export const LongDataInputAndPreserveStartEnd: Story = {
args: { data: longBaseChartData, intervalType: "preserveStartEnd" },
};

export const LongIndexName: Story = {
args: { data: longIndexBaseChartData },
};

export const LongIndexNameAndEquidistant: Story = {
args: { data: longIndexBaseChartData, intervalType: "equidistantPreserveStart" },
export const LongIndexNameAndPreserveStartEnd: Story = {
args: { data: longIndexBaseChartData, intervalType: "preserveStartEnd" },
};

export const MultipleZeroValues: Story = {
Expand Down
12 changes: 6 additions & 6 deletions src/stories/chart-elements/BarChart.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,24 +126,24 @@ export const SingleAndMultipleDataAndOnValueChange: Story = {
args: { data: singleAndMultipleData, onValueChange: (v: any) => alert(JSON.stringify(v)) },
};

export const Equidistant: Story = {
args: { intervalType: "equidistantPreserveStart" },
export const PreserveStartEnd: Story = {
args: { intervalType: "preserveStartEnd" },
};

export const LongDataInput: Story = {
args: { data: longBaseChartData },
};

export const LongDataInputAndEquidistant: Story = {
args: { data: longBaseChartData, intervalType: "equidistantPreserveStart" },
export const LongDataInputAndPreserveStartEnd: Story = {
args: { data: longBaseChartData, intervalType: "preserveStartEnd" },
};

export const LongIndexName: Story = {
args: { data: longIndexBaseChartData },
};

export const LongIndexNameAndEquidistant: Story = {
args: { data: longIndexBaseChartData, intervalType: "equidistantPreserveStart" },
export const LongIndexNameAndPreserveStartEnd: Story = {
args: { data: longIndexBaseChartData, intervalType: "preserveStartEnd" },
};

export const MultipleZeroValues: Story = {
Expand Down
12 changes: 6 additions & 6 deletions src/stories/chart-elements/LineChart.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,24 +118,24 @@ export const SingleAndMultipleDataAndOnValueChange: Story = {
args: { data: singleAndMultipleData, onValueChange: (v: any) => alert(JSON.stringify(v)) },
};

export const Equidistant: Story = {
args: { intervalType: "equidistantPreserveStart" },
export const PreserveStartEnd: Story = {
args: { intervalType: "preserveStartEnd" },
};

export const LongDataInput: Story = {
args: { data: longBaseChartData },
};

export const LongDataInputAndEquidistant: Story = {
args: { data: longBaseChartData, intervalType: "equidistantPreserveStart" },
export const LongDataInputAndPreserveStartEnd: Story = {
args: { data: longBaseChartData, intervalType: "preserveStartEnd" },
};

export const LongIndexName: Story = {
args: { data: longIndexBaseChartData },
};

export const LongIndexNameAndEquidistant: Story = {
args: { data: longIndexBaseChartData, intervalType: "equidistantPreserveStart" },
export const LongIndexNameAndPreserveStartEnd: Story = {
args: { data: longIndexBaseChartData, intervalType: "preserveStartEnd" },
};

//Custom tooltips
Expand Down
6 changes: 3 additions & 3 deletions src/stories/chart-elements/ScatterChart.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const OnValueChange: Story = {
};

export const IntervalTypePreserve: Story = {
args: { intervalType: "equidistantPreserveStart" },
args: { intervalType: "preserveStartEnd" },
};

export const RichDataExample: Story = {
Expand All @@ -96,8 +96,8 @@ export const RichDataExample: Story = {
},
};

export const Equidistant: Story = {
args: { intervalType: "equidistantPreserveStart" },
export const PreserveStartEnd: Story = {
args: { intervalType: "preserveStartEnd" },
};

export const MultipleZeroValues: Story = {
Expand Down

0 comments on commit 25c5bdd

Please sign in to comment.