Skip to content

Commit f2b64fc

Browse files
Apply suggestions from code review
Co-authored-by: Lukas <[email protected]> Signed-off-by: Alexandre Fauquette <[email protected]>
1 parent 0a866d5 commit f2b64fc

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/data/charts/axis/FormatterDemoNoSnap.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export default function FormatterDemoNoSnap() {
112112
dataKey: 'month',
113113
valueFormatter: (month, context) =>
114114
context.location === 'tick'
115-
? `${month.slice(0, 3)}. \n2023`
115+
? `${month.slice(0, 3)} \n2023`
116116
: `${month} 2023`,
117117
},
118118
]}

docs/data/charts/axis/FormatterDemoNoSnap.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export default function FormatterDemoNoSnap() {
112112
dataKey: 'month',
113113
valueFormatter: (month, context) =>
114114
context.location === 'tick'
115-
? `${month.slice(0, 3)}. \n2023`
115+
? `${month.slice(0, 3)} \n2023`
116116
: `${month} 2023`,
117117
},
118118
]}

docs/data/charts/axis/FormatterDemoNoSnap.tsx.preview

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
dataKey: 'month',
77
valueFormatter: (month, context) =>
88
context.location === 'tick'
9-
? `${month.slice(0, 3)}. \n2023`
9+
? `${month.slice(0, 3)} \n2023`
1010
: `${month} 2023`,
1111
},
1212
]}

docs/data/charts/axis/axis.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Some series types also require specific axis attributes:
6161

6262
### Axis formatter
6363

64-
Axis data can be displayed in the axes ticks, and the in the tooltip.
64+
Axis data can be displayed in the axes ticks and the tooltip.
6565
To modify how data is displayed use the `valueFormatter` property.
6666

6767
The second argument of `valueFormatter` provides some rendering context for advanced use cases.

0 commit comments

Comments
 (0)