Karishma Sahu
Karishma Sahu

Reputation: 39

How to show value of bar at the end of Bar in chart #oracle Apex #Chart

I have a requirement to show the value of bar at the end of bar as shown in the below imgae: Chart Image which is showing bar value at the end enter image description here

It might be done by Custom XMl, but in which attribute we need to modify? Any help is appreciated. Thanks in advance.

Upvotes: 2

Views: 4828

Answers (4)

Uday Shankar
Uday Shankar

Reputation: 458

Select the series, and search for Label, Set Show=Yes, Position=Outside Bar Edge

Upvotes: 2

Jason S
Jason S

Reputation: 11

(APEX 5.1) Or if you are using stacked bar chart use the following javascript to add total to bar:

Chart -> attributes -> JavaScript Initialization Code:

function( options ){

// Set the stackLabel attribute, to display the stack total above the given stack category
options.stackLabel = "on";
return options;      

}

Upvotes: 0

romeuBraga
romeuBraga

Reputation: 2165

The default setting is to display the values. Make sure the "values" ​​option is checked in the chart attributes (image below). enter image description here Example: https://apex.oracle.com/pls/apex/f?p=145797:10

If you need to edit the graph xml you can use this documentation: http://6.anychart.com/products/anychart/docs/users-guide/index.html

Go to: Labels and Tootips >>> Data Labels Formatting

Upvotes: 0

Littlefoot
Littlefoot

Reputation: 142705

On Apex 5.1.1, you should

  • navigate to Series
  • go to Label property
  • set "Show = yes"
  • set "Position = outside bar edge"

The result looks like the one you described.


You didn't specify which Apex version you use. "Custom XML" sounds like 4.x. If that's so, sorry - don't have it any more and can't test it.

Upvotes: 1

Related Questions