Fix: add domainPadding to Victory.js charts for better data point rendering

This commit is contained in:
2025-10-03 10:23:20 -03:00
parent 72da99e6be
commit 3087bcaecb

View File

@@ -2925,6 +2925,7 @@
theme: Victory.VictoryTheme.material, theme: Victory.VictoryTheme.material,
scale: { x: 'time' }, scale: { x: 'time' },
padding: { top: 20, bottom: 50, left: 60, right: 20 }, padding: { top: 20, bottom: 50, left: 60, right: 20 },
domainPadding: { x: 0, y: 0 },
style: { style: {
parent: { parent: {
background: '#1E1E1E', background: '#1E1E1E',
@@ -3017,6 +3018,7 @@
theme: Victory.VictoryTheme.material, theme: Victory.VictoryTheme.material,
scale: { x: 'time' }, scale: { x: 'time' },
padding: { top: 20, bottom: 50, left: 60, right: 20 }, padding: { top: 20, bottom: 50, left: 60, right: 20 },
domainPadding: { x: 0, y: 0 },
style: { style: {
parent: { parent: {
background: '#1E1E1E', background: '#1E1E1E',