1

My requirement is to show percentage values on the top of the bar ccc 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 properties I have changed values visible = True and Valuemask= {Value}% so until this I can get values in middle of the bar chart

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

enter image description here

Shinchan_Shiro
  • 73
  • 2
  • 13
  • What do you mean by 'on the TOP'? You mean *inside* the bars? Like having the numbers rendered over the yellow and green bar's background? If so, you will also probably change the size or rotation of the numbers. – Óscar Gómez Alcañiz Oct 28 '17 at 16:10
  • @ÓscarGómezAlcañiz As you can see in picture percentages should be on top of the bars, when I was doing this with non-stacked bars percentages came in between the value bars. All I want is to display the % value as shown in the picture – Shinchan_Shiro Nov 01 '17 at 08:29

1 Answers1

0

valuesAnchor: Top

Extension points [

label_textMargin: 1 label_textBaseline: bottom }