Replace X axis label text value on the basis of condition or Trim value in Pentaho
Go to your Line Charts Advance properties
Then Open the extension points
then add the following parameters in that
1
2
3
| baseAxisLabel_text: function(a) { var str = this .scene.atoms.category.label; return str.replace( "Jan" , "KKK" ).replace( "Mar" , "mmmm" ); } |
We can use xAxisLabel_text also instead of baseAxisLabel_text
Comments
Post a Comment