From 0a35ef61568baf8e84e0bc489f678df560dc7f31 Mon Sep 17 00:00:00 2001 From: Michael Dougherty Date: Thu, 16 Jun 2016 18:40:19 -0700 Subject: [PATCH] Add "pointer-events: none" for pie labels Ensures that labels don't capture hover events, causing the slice to not be highlighted when passing cursor over the label --- dc.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dc.css b/dc.css index eb907a4fa..f049ae0a0 100644 --- a/dc.css +++ b/dc.css @@ -53,6 +53,10 @@ div.dc-chart { fill-opacity: .8; } +.dc-chart .pie-label { + pointer-events: none; +} + .dc-chart .pie-path { fill:none; stroke-width: 2px;