Skip to content

Commit 68e5f1b

Browse files
committed
renamed files and functions
1 parent 91e44e0 commit 68e5f1b

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

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

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

2525
## Examples
2626
### Basic with right aligned legend
27-
```ts file = "ChartBoxPlotBasic.tsx"
27+
```ts file = "ChartBoxPlotRightAlignedLegend.tsx"
2828

2929
```
3030

3131
### Labels with bottom aligned legend
3232

3333
This demonstrates how to display labels.
3434

35-
```ts file= "ChartBoxPlotLabels.tsx"
35+
```ts file= "ChartBoxPlotLabelsLegend.tsx"
3636

3737
```
3838

3939
### Embedded legend
4040

4141
This demonstrates how to embed a legend within a tooltip. Combining cursor and voronoi containers is required to display tooltips with a vertical cursor.
4242

43-
```ts file = "ChartBoxPlotLegend.tsx"
43+
```ts file = "ChartBoxPlotEmbeddedLegend.tsx"
4444

4545
```
4646

4747
### Embedded HTML
4848

4949
This demonstrates how to embed HTML within a tooltip. Combining cursor and voronoi containers is required to display tooltips with a vertical cursor.
5050

51-
```ts file = "ChartBoxPlotHtml.tsx"
51+
```ts file = "ChartBoxPlotEmbeddedHtml.tsx"
5252

5353
```
5454

packages/react-charts/src/victory/components/ChartBoxPlot/examples/ChartBoxPlotHtml.tsx renamed to packages/react-charts/src/victory/components/ChartBoxPlot/examples/ChartBoxPlotEmbeddedHtml.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interface PetData {
1313
y: number[] | number;
1414
}
1515

16-
export const ChartBoxPlotHtml: React.FunctionComponent = () => {
16+
export const ChartBoxPlotEmbeddedHtml: React.FunctionComponent = () => {
1717
const baseStyles = {
1818
color: '#f0f0f0',
1919
fontFamily:

packages/react-charts/src/victory/components/ChartBoxPlot/examples/ChartBoxPlotLegend.tsx renamed to packages/react-charts/src/victory/components/ChartBoxPlot/examples/ChartBoxPlotEmbeddedLegend.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ interface Data {
1616
y: number[] | number;
1717
}
1818

19-
export const ChartBoxPlotLegend: React.FunctionComponent = () => {
19+
export const ChartBoxPlotEmbeddedLegend: React.FunctionComponent = () => {
2020
const catsData: Data[] = [
2121
{ name: 'Cats', x: '2015', y: [null] },
2222
{ name: 'Cats', x: '2016', y: [3, 2, 8, 10] },

packages/react-charts/src/victory/components/ChartBoxPlot/examples/ChartBoxPlotLabels.tsx renamed to packages/react-charts/src/victory/components/ChartBoxPlot/examples/ChartBoxPlotLabelsLegend.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 ChartBoxPlotLabels: React.FunctionComponent = () => {
9+
export const ChartBoxPlotLabelsLegend: React.FunctionComponent = () => {
1010
const catsData: PetData[] = [
1111
{ name: 'Cats', x: '2015', y: [1, 2, 3, 5] },
1212
{ name: 'Cats', x: '2016', y: [3, 2, 8, 10] },

packages/react-charts/src/victory/components/ChartBoxPlot/examples/ChartBoxPlotBasic.tsx renamed to packages/react-charts/src/victory/components/ChartBoxPlot/examples/ChartBoxPlotRightAlignedLegend.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 ChartBoxPlotBasic: React.FunctionComponent = () => {
9+
export const ChartBoxPlotRightAlignedLegend: React.FunctionComponent = () => {
1010
const catsData: PetData[] = [
1111
{ name: 'Cats', x: '2015', y: [1, 2, 3, 5] },
1212
{ name: 'Cats', x: '2016', y: [3, 2, 8, 10] },

0 commit comments

Comments
 (0)