Fix: add domainPadding to Victory.js charts for better data point rendering
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user