Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: Y Axis Format in CCC

  1. #1
    Join Date
    Feb 2012
    Posts
    14

    Default Y Axis Format in CCC

    How do I change the format string for the y axis in CCC? Right now it's reading 0.20, but I want it to read 20%. I changed the valueFormat, but that had no effect.

  2. #2
    Join Date
    Feb 2012
    Posts
    14

    Default

    I found the answer here: http://pranavl.wordpress.com/2012/05...ention-points/

    This site has a very useful doc with a list of extension points for CCC.

  3. #3
    Join Date
    Oct 2007
    Posts
    16

    Default

    Hi kb23,
    I am facing the same problem with CCC Bar chart with pentaho CE 3.9 and latest CDE code base, I am not able to change the format of the value on the yaxis with extension points. For example if I need to display y-axis values with a prefix of $ dollar sign. It is not working out.
    May be I am not putting the command right.

    Anybody please share if you have a solution.

    Thanks.
    Guru
    Last edited by gururajmv; 11-12-2012 at 04:08 PM. Reason: adding more information

  4. #4
    Join Date
    Oct 2009
    Posts
    156

    Default

    Hi Guru,

    use this to add dollar sign function(d){return '$ '+ sprintf('%d',d/1000)+'k'}.

    Thanks

  5. #5
    Join Date
    Apr 2017
    Posts
    3

    Default

    Hi, kb23, can you tell how this can be achieved? i am currently facing the same problem, i have read the link you posted, but i can not find the extension point refering to the secondary y-axis format.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.