cancel
Showing results for 
Search instead for 
Did you mean: 

Values displaying on top of bar chart - Business Graph

Former Member
0 Kudos

Hi,

I have a requirement, where I need to display the values(Y axis) on top of each bar. Please suggest.

Thanks,

Sabu

Accepted Solutions (1)

Accepted Solutions (1)

ramakrishnappa
Active Contributor
0 Kudos

Hi Sabu,

You can achieve your requirement as below

  • Right click on your business graphics element and choose "edit customizing" as below

    

  • Go to Series ---> Default series and check "Show Label" check box as below

  • Go to Text properties option and set vertical position to "Top" as below

Here is the output:

Hope this meets your requirement.

Regards,

Rama

Former Member
0 Kudos

Nice Rama, I was also having same req. Thanks

Super!

ramakrishnappa
Active Contributor
0 Kudos

Thank you Chandra

Former Member
0 Kudos

Sorry, Its not working ! Can you please help me.

ramakrishnappa
Active Contributor
0 Kudos

Yea, Chandra... What is the issue?

Former Member
0 Kudos

I did all the things but that Count is not coming.

ramakrishnappa
Active Contributor
0 Kudos

Hi Chandra,

Please make sure that the label property of POINT is set as below

Now, it should work

Regards,

Rama

Former Member
0 Kudos

Now the Three column is coming at the same time for single data. Can you tell me, how to remove those.

Answers (1)

Answers (1)

Former Member
0 Kudos

I have this kind of data in my Itab. Now what's happening, For all 3 month, 3 columns is coming.

ramakrishnappa
Active Contributor
0 Kudos

Hi Chandra,

The image is not displayed properly.. can you attach it again.

Regards,

Rama

Former Member
0 Kudos

Month is bind with CATEGORY..

Source is Node.

Value source is node

Label is Attribute(count).

Value is Attribute(count)

ramakrishnappa
Active Contributor
0 Kudos

It looks fine. Can I see the out put screen pls?

Former Member
0 Kudos

If there are 3 record in table, it will show 3*3 line.. Now for 6 record. 6*6

ramakrishnappa
Active Contributor
0 Kudos

Hi Chandra,

It looks like, there is some issue with binding with business graphics element.

Please check.

Regards,

Rama

Former Member
0 Kudos

This issue is coming only with 'Series", if i add "simpleseries" this issue is not coming but i think with simpleseries  we can't show the count on bars.

ramakrishnappa
Active Contributor
0 Kudos

Yes, with sample series we cannot achieve complex scenarios.

Former Member
0 Kudos

Now what i can do here..

ramakrishnappa
Active Contributor
0 Kudos

Hi Chandra,

It is the issue with context node mapping from component controller to view context.

This looks strange but its fact that.

Try to create standalone context node on view and populate the data.

Hope it should solve your issue.

Here is the document, for your reference.

Demo: Bar Chart using Business Graphics in Web Dynpro ABAP

Regards,

Rama

Former Member
0 Kudos

Yes, I got to know same thing also. thanks for your help.