cancel
Showing results for 
Search instead for 
Did you mean: 

Business Graphic Question

Former Member
0 Kudos

I'm developing a webdynpro application using a Pie chart. In the chart designer, you can tell it to show the labels. I have this check on. Underneath that there is a field call label format which has "$Label" as a default, if I get rid of this value, my values show in my pie chart. They problem is is that I want to have a "%" sign and the end of the value. For example, the chart shows 95.1, I want it to show as 95.1% This is defined as a string field, so in my code, I tried putting the "%" sign manually, it didn't work. I have a feeling that the "Label Format" field in the chart designer can maybe help me, but I have no clue what to put in the field. Has anyone ever ran across this.

Any reply would be appreciated. Thanks.

Regards,

Rich Heilman

Bump

Message was edited by: Rich Heilman

Message was edited by: Rich Heilman

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The default property for the format is $Label.

If want to use percent value try the following $Percent0.00"%".

Regards,

Vijith

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Sweet! I knew that you could put something in there, but didn't know what. Now, 6 more points to ya, if you tell me where the documentation is for the format field. How did you know that syntax?

Regards,

Rich Heilman

Bump

Message was edited by: Rich Heilman

claudio_ciardelli2
Participant
0 Kudos

You can find some documentation about these labels inthe following link

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0901c9bb-0601-0010-49ab-c17...

It is a PDF doc. Talks about $Sep, $Abs, $Percent and $Label.

Feel free to give the 6 points you mentionned!

Claudio

Former Member
0 Kudos

Do you know how to show a label as a date format?

I have a date as a ratio, and I want to show it with the graph.

I'd aprreciate your help.

Best regards,

Answers (1)

Answers (1)

Former Member
0 Kudos

HI Rich,

check this Doc

http://help.sap.com/saphelp_nw04/helpdata/en/a1/d9883672d57c73e10000009b38f889/plain.htm

it mentions all about the following

Axes and Gridlines

Formatting Axes

Displaying Tick Marks

Displaying or Hiding Axes in a Chart

Changing Number Formats for Axes

Defining the Intersection of Axes

Changing the Scale Style of an Axis

Making Time Scale Settings

Specifying Gap Between Axis and Graphic

Specifying the Width of a Day

Specifying the Date at which the View Starts

Specifying Fill Attributes for Time Axis

Defining a Time Interval Value

Defining a Time Interval Format

Defining an Interval for the Value Axis

Setting Value Ranges

Formatting Value Ranges

Changing Minimum/Maximum Values

Displaying or Hiding Gridlines in a Chart

Data Series and Data Points

Reversing Order of Categories or Values

Changing Values of Data Points

Formatting Data Series and Data Points

Smoothing the Angles of Line Charts

Titles, Data Labels and Legends

Maintaining Chart or Axis Titles

Formatting Chart and Axis Titles

Changing Text of a Text Chart Element

Specifying Position of Axis Labels

Editing and Formatting Data Labels

Adding Data Labels to a Chart

Changing the Position of Data Labels

Adding and Deleting Legends

Formatting Legend Index/Key

hope this solves your problem

Regards,

RK