Skip to content

Instantly share code, notes, and snippets.

@evan
Forked from heavysixer/gist:11322617
Last active August 29, 2015 14:00
Show Gist options
  • Save evan/11327486 to your computer and use it in GitHub Desktop.
Save evan/11327486 to your computer and use it in GitHub Desktop.
// create a chart
var columnChart = d4.baseChart()
var barsF = function(bar){
bar.svgFilter('feGaussianBlur', function(filter){
filter
.in("SourceGraphic")
.stdDeviation("5");
});
// mix in a feature to the chart
.mixin([{name: 'bars', feature: d4.features.stacked-shapes-series, func: barsF}])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment