Created
May 25, 2016 23:42
-
-
Save exp0nge/0643d612ec9491ceb57a1df3dc7a0448 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
marriagePieChart | |
.width(180) | |
.height(180) | |
.radius(80) | |
.dimension(marriageDim) //use the marriage dimension from earlier | |
.group(marriageDim.group()); | |
marriagePieChart.controlsUseVisibility(true); | |
$('#marriagePie > a').on('click', function (e) { | |
marriagePieChart.filterAll(); | |
dc.redrawAll(); | |
e.preventDefault(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment