Skip to content

Commit a39876d

Browse files
committed
renamed files and functions
1 parent 101fa08 commit a39876d

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

packages/react-charts/src/victory/components/ChartBar/examples/ChartBar.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,35 +21,35 @@ The examples below are based on the [Victory](https://formidable.com/open-source
2121

2222
### Basic with right aligned legend
2323

24-
```ts file = "ChartBarBasic.tsx"
24+
```ts file = "ChartBarRightAlignedLegend.tsx"
2525

2626
```
2727

2828
### Purple with bottom aligned legend
2929

3030
This demonstrates an alternate way of applying tooltips using data labels.
3131

32-
```ts file = "ChartBarPurple.tsx"
32+
```ts file = "ChartBarBottomLegend.tsx"
3333
```
3434

3535
### Multi-color (ordered) with bottom-left aligned legend
3636

3737
This demonstrates zoom for both the x and y axis.
3838

39-
```ts file = "ChartBarMultiColor.tsx"
39+
```ts file = "ChartBarMultiColorOrdered.tsx"
4040

4141
```
4242

4343
### Single with right aligned legend
4444

45-
```ts file = "ChartBarSingle.tsx"
45+
```ts file = "ChartBarSingleLegend.tsx"
4646
```
4747

4848
### Alerts timeline
4949

5050
A gnatt-like chart using `y` and `y0` data properties for alert start/end dates
5151

52-
```ts file = "ChartBarAlerts.tsx"
52+
```ts file = "ChartBarAlertsTimeline.tsx"
5353

5454
```
5555

packages/react-charts/src/victory/components/ChartBar/examples/ChartBarAlerts.tsx renamed to packages/react-charts/src/victory/components/ChartBar/examples/ChartBarAlertsTimeline.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ interface AlertData {
2222
fill?: string;
2323
}
2424

25-
export const ChartBarAlerts: React.FunctionComponent = () => {
25+
export const ChartBarAlertsTimeline: React.FunctionComponent = () => {
2626
// Start = y0, end = y
2727
const alerts = [
2828
[

packages/react-charts/src/victory/components/ChartBar/examples/ChartBarPurple.tsx renamed to packages/react-charts/src/victory/components/ChartBar/examples/ChartBarBottomLegend.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ interface PetData {
1414
label: string;
1515
}
1616

17-
export const EmbeddedLegend: React.FunctionComponent = () => {
17+
export const ChartBarBottomLegend: React.FunctionComponent = () => {
1818
const label =
1919
() =>
2020
({ datum }) =>

packages/react-charts/src/victory/components/ChartBar/examples/ChartBarMultiColor.tsx renamed to packages/react-charts/src/victory/components/ChartBar/examples/ChartBarMultiColorOrdered.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ interface PetData {
77
y: number;
88
}
99

10-
export const ChartBarMultiColor: React.FunctionComponent = () => {
10+
export const ChartBarMultiColorOrdered: React.FunctionComponent = () => {
1111
const catsData: PetData[] = [
1212
{ name: 'Cats', x: '2015', y: 1 },
1313
{ name: 'Cats', x: '2016', y: 2 },

packages/react-charts/src/victory/components/ChartBar/examples/ChartBarBasic.tsx renamed to packages/react-charts/src/victory/components/ChartBar/examples/ChartBarRightAlignedLegend.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ interface PetData {
66
y: number;
77
}
88

9-
export const ChartBarBasic: React.FunctionComponent = () => {
9+
export const ChartBarRightAlignedLegend: React.FunctionComponent = () => {
1010
const catsData: PetData[] = [
1111
{ name: 'Cats', x: '2015', y: 1 },
1212
{ name: 'Cats', x: '2016', y: 2 },

packages/react-charts/src/victory/components/ChartBar/examples/ChartBarSingle.tsx renamed to packages/react-charts/src/victory/components/ChartBar/examples/ChartBarSingleLegend.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ interface PetData {
66
y: number;
77
}
88

9-
export const ChartBarSingle: React.FunctionComponent = () => {
9+
export const ChartBarSingleLegend: React.FunctionComponent = () => {
1010
const catsData: PetData[] = [
1111
{ name: 'Cats', x: '2015', y: 1 },
1212
{ name: 'Cats', x: '2016', y: 2 },

0 commit comments

Comments
 (0)