From 8634599b560fa9a5c3badb5f820af36422a85f1c Mon Sep 17 00:00:00 2001 From: boygirl Date: Thu, 19 Oct 2017 13:20:57 -0700 Subject: [PATCH 1/2] change pointer events to visible --- src/victory-theme/grayscale.js | 2 +- src/victory-theme/material.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/victory-theme/grayscale.js b/src/victory-theme/grayscale.js index b3b092a..cf28de5 100644 --- a/src/victory-theme/grayscale.js +++ b/src/victory-theme/grayscale.js @@ -72,7 +72,7 @@ export default { grid: { fill: "transparent", stroke: "transparent", - pointerEvents: "none" + pointerEvents: "visible" }, ticks: { fill: "transparent", diff --git a/src/victory-theme/material.js b/src/victory-theme/material.js index de07301..9535d0c 100644 --- a/src/victory-theme/material.js +++ b/src/victory-theme/material.js @@ -85,7 +85,7 @@ export default { strokeDasharray, strokeLinecap, strokeLinejoin, - pointerEvents: "none" + pointerEvents: "visible" }, ticks: { fill: "transparent", From a8e4931d026d74e60b19690edf869a9d538f41b0 Mon Sep 17 00:00:00 2001 From: boygirl Date: Thu, 19 Oct 2017 13:24:27 -0700 Subject: [PATCH 2/2] change fill and stroke to none --- src/victory-theme/grayscale.js | 4 ++-- src/victory-theme/material.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/victory-theme/grayscale.js b/src/victory-theme/grayscale.js index cf28de5..897740b 100644 --- a/src/victory-theme/grayscale.js +++ b/src/victory-theme/grayscale.js @@ -70,8 +70,8 @@ export default { padding: 25 }), grid: { - fill: "transparent", - stroke: "transparent", + fill: "none", + stroke: "none", pointerEvents: "visible" }, ticks: { diff --git a/src/victory-theme/material.js b/src/victory-theme/material.js index 9535d0c..5dbaba1 100644 --- a/src/victory-theme/material.js +++ b/src/victory-theme/material.js @@ -80,7 +80,7 @@ export default { stroke: "transparent" }), grid: { - fill: "transparent", + fill: "none", stroke: blueGrey50, strokeDasharray, strokeLinecap,