Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Commit

Permalink
remove stories with styles on data
Browse files Browse the repository at this point in the history
  • Loading branch information
boygirl committed Apr 19, 2018
1 parent e6700d6 commit 9b40f59
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 63 deletions.
15 changes: 0 additions & 15 deletions stories/victory-bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,21 +214,6 @@ storiesOf("VictoryBar.style", module)
{ x: "Bird", y: 55 }
]}
/>
))
.add("with styles on data", () => (
<VictoryBar
style={{
labels: { fontSize: 20, fill: "tomato", fontFamily: "monospace" },
data: { fill: "tomato", fillOpacity: 0.7, stroke: "tomato", strokeWidth: 2 }
}}
labels={(d) => d.x}
data={[
{ x: "Cat", y: 62 },
{ x: "Dog", y: 91 },
{ x: "Fish", y: 55, fill: "teal", stroke: "teal", width: 10 },
{ x: "Bird", y: 55 }
]}
/>
));

storiesOf("VictoryBar.stacked", module)
Expand Down
16 changes: 0 additions & 16 deletions stories/victory-candlestick.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,22 +155,6 @@ storiesOf("VictoryCandlestick.style", module)
labels={(d) => d.x}
data={getData(7)}
/>
))
.add("with styles on data", () => (
<VictoryCandlestick
style={{
labels: { fontSize: 20, fill: "tomato", fontFamily: "monospace" },
data: { stroke: "tomato", strokeWidth: 2 }
}}
labels={(d) => d.x}
data={[
{ x: 1, open: 9, close: 30, high: 56, low: 7 },
{ x: 2, open: 80, close: 40, high: 120, low: 10, stroke: "teal", fill: "teal" },
{ x: 3, open: 50, close: 80, high: 90, low: 20 },
{ x: 4, open: 70, close: 22, high: 70, low: 5 },
{ x: 5, open: 20, close: 35, high: 50, low: 10 }
]}
/>
));

storiesOf("VictoryCandlestick.scale", module)
Expand Down
16 changes: 0 additions & 16 deletions stories/victory-errorbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,20 +118,4 @@ storiesOf("VictoryErrorBar.style", module)
labels={(d) => d.x}
data={getData(4, "symmetric")}
/>
))
.add("with styles on data", () => (
<VictoryErrorBar
style={{
labels: { fontSize: 20, fill: "tomato", fontFamily: "monospace" },
data: { stroke: "tomato", strokeWidth: 2 }
}}
labels={(d) => d.x}
data={[
{ x: 1, y: 9, errorX: 0.5, errorY: 2 },
{ x: 2, y: 80, errorX: 1, errorY: 3, stroke: "teal", fill: "teal" },
{ x: 3, y: 50, errorX: 1.5, errorY: 4 },
{ x: 4, y: 70, errorX: 1, errorY: 3 },
{ x: 5, y: 20, errorX: 0.5, errorY: 1 }
]}
/>
));
16 changes: 0 additions & 16 deletions stories/victory-scatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,22 +198,6 @@ storiesOf("VictoryScatter.style", module)
{ x: "Bird", y: 55 }
]}
/>
))
.add("with styles on data", () => (
<VictoryScatter
size={5}
style={{
labels: { fontSize: 20, fill: "tomato", fontFamily: "monospace" },
data: { fill: "tomato", fillOpacity: 0.7, stroke: "tomato", strokeWidth: 2 }
}}
labels={(d) => d.x}
data={[
{ x: "Cat", y: 62 },
{ x: "Dog", y: 91 },
{ x: "Fish", y: 55, fill: "teal", stroke: "teal", width: 10 },
{ x: "Bird", y: 55 }
]}
/>
));

storiesOf("VictoryScatter.stacked", module)
Expand Down

0 comments on commit 9b40f59

Please sign in to comment.