on 01-30-2012 9:47 AM
Hi,
i am using the business graphics element to create the pie chart in web dynn pro. In the web dynn pro, it only allow me to add one category. So that, i cannot add more category in order to insert my value in the pie. Any one got solution about this? thank you.
regards,
Jack.
http://wiki.sdn.sap.com/wiki/display/Snippets/CreatingchartsinSimpleABAP+Programs
<?xml version="1.0" encoding="utf-8"?>
<SAPChartCustomizing version="2.0">
</SAPChartCustomizing>
<Values>
<Point id="Category1">
<ShowLabel>false</ShowLabel>
<Format>$Label</Format>
<LineColor>Automatic</LineColor>
<LineStyle>Solid</LineStyle>
<LineWidth>2</LineWidth>
<Color>Automatic</Color>
<SecondaryColor>RGB(0,0,0)</SecondaryColor>
<Pattern>None</Pattern>
<Gradient>None</Gradient>
<Texture>None</Texture>
<TextureMode>Tile</TextureMode>
<Transparency>0</Transparency>
<MarkerShape>Rectangle</MarkerShape>
<MarkerSize>5</MarkerSize>
<BorderColor>Automatic</BorderColor>
<BorderStyle>Solid</BorderStyle>
<BorderWidth>1</BorderWidth>
<Text>
<FontFamily>Automatic</FontFamily>
<Color>@16</Color>
<Size>8</Size>
<Style>Normal</Style>
<HorizontalPosition>Default</HorizontalPosition>
<VerticalPosition>Default</VerticalPosition>
<Direction>Default</Direction>
</Text>
<Caption/>
</Point>
<!--ADD AS MANY CATEGORIES AS YOU NEED defined as <point> tag -->
</Values>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi expert,
When i add the category in this XML file, there is some problem when i am going to insert the value in the category. This is because in the wed dynn pro there, it only allow me to insert one category. SO that, i only can blind one data to category. Any method to let me blind more than one data to the category? Thank you.
regards,
Jack.
Hi ,
Just go through this link : http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/ca932ebc-0901-0010-68a0-b4dd81a4b...
Hi,
My question had been solved. Any how, anyone know how to add in tool tip in the pie chart ? Currently i am manually code the category for the pie chart. Who had idea how to add in the tooltip by using code? Below is the code that i did for the pie chart.
CHECK wa_graph1-pending_user_action IS NOT INITIAL.
stru_node_pie-description = 'PENDING USER ACTION'.
stru_node_pie-series = wa_graph1-pending_user_action.
APPEND stru_node_pie TO itab_node_pie .
CHECK wa_graph1-pending_approval IS NOT INITIAL.
stru_node_pie-description = 'PENDING APPROVAL'.
stru_node_pie-series = wa_graph1-pending_approval.
APPEND stru_node_pie TO itab_node_pie .
CHECK wa_graph1-approved IS NOT INITIAL.
stru_node_pie-description = 'APPROVED'.
stru_node_pie-series = wa_graph1-approved.
APPEND stru_node_pie TO itab_node_pie .
Thank.
Regards,
Jack
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.