Fix: add tickCount to Victory.js charts for better X-axis tick distribution

This commit is contained in:
2025-10-03 10:28:11 -03:00
parent 3087bcaecb
commit f49de1c6a3

View File

@@ -2947,6 +2947,7 @@
React.createElement(Victory.VictoryAxis, {
key: 'x-axis',
scale: 'time',
tickCount: 8,
style: {
axis: { stroke: '#404040' },
tickLabels: { fill: '#FFFFFF', fontSize: 12 },
@@ -3040,6 +3041,7 @@
React.createElement(Victory.VictoryAxis, {
key: 'x-axis',
scale: 'time',
tickCount: 8,
style: {
axis: { stroke: '#404040' },
tickLabels: { fill: '#FFFFFF', fontSize: 12 },