Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: How to show Percentages on TOP of the bar CCC Bar Chart

  1. #1

    Lightbulb How to show Percentages on TOP of the bar CCC Bar Chart

    Hi All,

    My requirement is to show percentage on the top of the bar chart (non-stacked), so far I have got the percentages in between the bar charts all I need is to display them on the top.

    i have added this function in clickable action and made clickable TRUE

    function(scene) { var pctVar = scene.vars.value.percent;

    alert(pctVar.label);

    }

    Then in advance propetries i have changed values visible = True and Valuemask= {Value}{(value.percent)}

    So what and all I need to do to show the percentages on the TOP of the Bar Charts? Thanks in Adnace!







    Attached Images Attached Images  

  2. #2

    Default

    Can anyone update on this? I was trying for a while but still came up with nothing

  3. #3
    Join Date
    Nov 2009
    Posts
    688

    Default

    Something like

    valuesVisible: true
    valuesAnchor: top
    orthoAxisOffset: 0.05
    extensionPoints: label_textMargin: 5,
    extensionPoints: label_textBaseline: bottom

    See fe http://forums.pentaho.com/showthread...p-of-bar-chart

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.