Skip to content

Instantly share code, notes, and snippets.

@exp0nge
Created May 25, 2016 23:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save exp0nge/0643d612ec9491ceb57a1df3dc7a0448 to your computer and use it in GitHub Desktop.
Save exp0nge/0643d612ec9491ceb57a1df3dc7a0448 to your computer and use it in GitHub Desktop.
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