Pentaho

 View Only

 Pie chart: label value formatting

  • Pentaho
  • Pentaho
nico dado's profile image
nico dado posted 09-27-2021 15:57

Hi all,

I would format the pie value so:

1) show the value in decimal format

2) change label width

 

The final result is this:

 

pieThanks in advance for any suggestions.

 

Nico

 

Luciano Donazzolo's profile image
Luciano Donazzolo

Hi Nico,

 

for question 1, try setting:

pie chart / advanced properties

Values Visible = True

Values Mask = {value.percent} ({value})

Percent Value Format = function f(val) { return Utils.numberFormat(val, "0.00%"); }

 

for question 2: I don't know

 

Luciano