Hello,

I need to add the shadow behind the bars on ccc bar chart.
Googling I found that I need a javascript code to develop this functionality (the extension point is not suitable to achieve it).
I tried the following code on bar chart at Community Chart Components | Pentaho Community and it works fine.

// Plot
bar_call: function() {
// Drop-whadow bar
this.add(pv.Bar)
.zOrder(-1)
.fillStyle("darkgray")
.lineWidth(0)
.width(function() {
return this.delegate() + 5;
})
.height(function() {
return Math.max(0, this.delegate() - 10);
});
}

Unfortunately I don't know where I should to put the code on CCC Bar chart in pentaho CDE.

Can anyone help me?

Regards