Omniportlet Pie Charts - Rounding Values

Is there any way to round the percentage values on pie charts? I have values out to 4 decimal places and I'd like to round them up. Thanks!

I guess that it depends on your input. If you are using a SQL query, you might be able to do the rounding in the SQL query itself.

Similar Messages

  • Flash Chart : Percentage values in the pie chart and  values in the legend

    Hi All,
    Query is :
    SELECT null link
    ,GN.region Region
    ,ROUND(100*ratio_to_report(COUNT(DISTINCT GN.submittedbyemail)) over (),2) value
    FROM goodnews_stories GN
    GROUP BY GN.region
    I use the above query to display the flash pie chart percentage values.
    The values are displayed in percentage in legend as well as on the chart.
    I need to display the values in the legend and percentage values in the chart.
    How this can be achieved ?
    Regards,
    Archana

    Hello,
    Can we do this using apex? I have observed in legend as well as on chart it displays the same values which are generated by the sql query.
    Regards,
    Archana

  • Pie chart label values

    Hi guys
    i have created simple pie chart and it is showing values in % but i want true values to be shown...... i know i need to change SliceLabel textType="LD_TEXT_PERCENT" to SliceLabel textType="LD_VALUE" but i don't know where i need to write this.....
    Please help to do this.
    thanks & regards

    Hi
    thanks for your help.... under the image->size->altText i am getting below mentioned code and there is no such slicelabel tag..... could you please tell me where i need to add <SliceLabel textType="LD_VALUE"/>
    chart:
    <Graph stylePath="/oracle/dss/graph/styles/comet.xml" depthAngle="50" depthRadius="8" pieDepth="30" pieTilt="20" seriesEffect="SE_AUTO_GRADIENT" graphType="PIE"><LegendArea visible="true" /><LocalGridData colCount="1" rowCount="{count(xdoxslt:group(.//ROW,  'MONTH'))}"><RowLabels><xsl:for-each-group select=".//ROW" group-by="MONTH" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:sort select="current-group()/MONTH" /><Label><xsl:value-of select="current-group()/MONTH" /></Label></xsl:for-each-group></RowLabels><DataValues><xsl:for-each-group select=".//ROW" group-by="MONTH" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:sort select="current-group()/MONTH" /><RowData><Cell><xsl:value-of select="sum(current-group()/SUM_TGBDETL.TOT_AMT_)" /></Cell></RowData></xsl:for-each-group></DataValues></LocalGridData></Graph>regards

  • Below decimal on pie chart

    I created pie chart but value is shown with below decimal point.
    I pull count(*) to value parameter, so do not need below decimal, but seen like 122.00.
    How can I remove .00 from the value on Pie chart?

    It is very odd.
    I have 4 pie chart on a page.
    Today, I can see no below decimal from 3 of 4 pie charts.
    One pie chart still shows below decimal. But this one also used to be 2 below decimal, but it's one below decimal today.
    I tried round/trunc for the 2nd chart, value moves(e.g. 1.0 -> 0.0), but one below decimal persist.

  • Pie chart legend total does not calculate correctly

    Hi All
    I have a pie chart in a CR 2008 report (SP0). 
    The pie has one "On Change Of" and one "Show Value" field.
    The datasource for the report is an Oracle 10g (Rel 2) Stored Procedure (SP).
    The SP signs the value per each transaction (record), so if the txn is a reversal is will arrive in the report as a negative value
    The records that are listed in the report have the correct sign on each line, and totals in the report are correct
    So, if the first record has a value of 10,000 - these would be known as Cash txns
    and the second record has a value of -5,000 - these would be known as Cash Reversal txns
    The report total will be 5,000
    In the legend entry of the pie chart the values per series are being displayed correctly.  There is a series per Txn type (so one series represents Cash txns, the second series represents Cash Reversal txns)
    From the example above my pie shows 1 txn for Cash @ 10,000
    and 1 txn for Cash Reversal @ -5000 (it has the negaitve amount in brackets)
    But the total in the legend is 15,000
    I cannot figure out why that the legend total is not calculating correclty.
    Has anyone seen this behaviour before?
    Any help would be great thanks
    Best regards
    Patrick

    Just realised why....  The total is counting all txns, and my formula is not telling it that Reversal should be subtracted - duuhhhh!!!!

  • SSRS 2008 Pie chart Total

    Hi ,
    I have pie chart with value 30 ,10, 10.
    My legend showing category wise values but I also want to  show Total value 50 in graph .Is it possible .
    Akhilesh Sahu Sr.Software Developer

    Hi Akhilesh,
    If I understand correctly, you want to show total value on the legend. As per my understanding, a legend item is connected to an individual series on the chart in Reporting Services. The chart automatically adds items into the legend base on the series that
    are generated from your data. So in your scenario, you want the totals show on the legend, then you need to customize the legend. While in SQL Server Reporting Services, the custom legend is not supported in chart control.
    To work around the issue, I suggest that we can delete the original legend and create a custom legend outside the chart area by using a tablix control. In this case, we can show the total on the tablix. For more details, please see the following thread:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/cfb4fa19-b2ba-426a-804b-b5ea83d70d62/ssrs-2008-chart-legend-missing-customitems-property
    If you have any other question, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Need help on Pie chart

    Please check the xml given here. My requirement is as
    group1 on M_KOG3_conc (split by page break)
    - group2 on MARKT_LINE_CONC
    - pie chart showing % of QTY_TIRE_SO_FTP with respect to S2_SEGMENT2(condition:S2_SEGMENT2 not null)
    - end of group2
    end of group1
    I tried with creating two groups on M_KOG3_CONC then by MARKT_LINE_CONC outside the chart, conditional region for S2_Segment2!='' and in pie chart used value=QTY_TIRE_SO_FTP and label=S2_SEGMENT2; checked 'Group Data' option, 'chart is inside group' option, but it is coming blank in preview.
    <?xml version="1.0" encoding="UTF-8" ?>
    <DataSet>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CP20: Corporate PKW</S2_SEGMENT2>
    <RIM_IN_INCH>15</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>2415</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>3.96226415094339622641509433962264150943E-01</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CP20: Corporate PKW</S2_SEGMENT2>
    <RIM_IN_INCH>16</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>1442</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>2.36587366694011484823625922887612797375E-01</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CP20: Corporate PKW</S2_SEGMENT2>
    <RIM_IN_INCH>17</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>10</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>1.64068908941755537325676784249384741592E-03</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CP20: Corporate PKW</S2_SEGMENT2>
    <RIM_IN_INCH />
    <QTY_TIRE_SO_FTP>3867</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>6.34454470877768662838392124692370795734E-01</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CP22: Competitor PKW</S2_SEGMENT2>
    <RIM_IN_INCH>15</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>576</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>9.45036915504511894995898277276456111567E-02</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>2.60416666666666666666666666666666666667E-02</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CP22: Competitor PKW</S2_SEGMENT2>
    <RIM_IN_INCH>16</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>235</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>3.8556193601312551271534044298605414274E-02</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1.82978723404255319148936170212765957447E-01</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CP22: Competitor PKW</S2_SEGMENT2>
    <RIM_IN_INCH />
    <QTY_TIRE_SO_FTP>811</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>1.33059885151763740771123872026251025431E-01</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>7.15166461159062885326757090012330456227E-02</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT10: Corporate LKW</S2_SEGMENT2>
    <RIM_IN_INCH>17.5</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>327</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>5.36505332239540607054963084495488105004E-02</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT10: Corporate LKW</S2_SEGMENT2>
    <RIM_IN_INCH>19.5</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>350</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>5.7424118129614438063986874487284659557E-02</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT10: Corporate LKW</S2_SEGMENT2>
    <RIM_IN_INCH>20</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>6</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>9.84413453650533223954060705496308449549E-04</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT10: Corporate LKW</S2_SEGMENT2>
    <RIM_IN_INCH>22.5</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>480</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>7.87530762920426579163248564397046759639E-02</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT10: Corporate LKW</S2_SEGMENT2>
    <RIM_IN_INCH />
    <QTY_TIRE_SO_FTP>1163</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>1.90812141099261689909762100082034454471E-01</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT12: Competitor LKW</S2_SEGMENT2>
    <RIM_IN_INCH>16</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>39</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>6.39868744872846595570139458572600492207E-03</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT12: Competitor LKW</S2_SEGMENT2>
    <RIM_IN_INCH>17</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>2</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>3.28137817883511074651353568498769483183E-04</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT12: Competitor LKW</S2_SEGMENT2>
    <RIM_IN_INCH>17.5</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>54</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>8.85972108285479901558654634946677604594E-03</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>3.7037037037037037037037037037037037037E-02</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT12: Competitor LKW</S2_SEGMENT2>
    <RIM_IN_INCH>19.5</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>20</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>3.28137817883511074651353568498769483183E-03</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT12: Competitor LKW</S2_SEGMENT2>
    <RIM_IN_INCH>22.5</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>58</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>9.51599671862182116488925348646431501231E-03</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT12: Competitor LKW</S2_SEGMENT2>
    <RIM_IN_INCH />
    <QTY_TIRE_SO_FTP>173</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>2.83839212469237079573420836751435602953E-02</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1.15606936416184971098265895953757225434E-02</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2 />
    <RIM_IN_INCH />
    <QTY_TIRE_SO_FTP>6014</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>9.86710418375717801476620180475799835931E-01</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>8.46358496840705021616228799467908214167E-01</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R03: CES - Retreads</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT11: Corporate RE LKW</S2_SEGMENT2>
    <RIM_IN_INCH>22.5</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>13</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>2.13289581624282198523379819524200164069E-03</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R03: CES - Retreads</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT11: Corporate RE LKW</S2_SEGMENT2>
    <RIM_IN_INCH />
    <QTY_TIRE_SO_FTP>13</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>2.13289581624282198523379819524200164069E-03</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R03: CES - Retreads</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT13: Competitor RE LKW</S2_SEGMENT2>
    <RIM_IN_INCH>17.5</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>29</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>4.75799835931091058244462674323215750615E-03</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R03: CES - Retreads</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT13: Competitor RE LKW</S2_SEGMENT2>
    <RIM_IN_INCH>19.5</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>18</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>2.95324036095159967186218211648892534865E-03</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R03: CES - Retreads</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT13: Competitor RE LKW</S2_SEGMENT2>
    <RIM_IN_INCH>22.5</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>21</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>3.44544708777686628383921246923707957342E-03</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R03: CES - Retreads</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT13: Competitor RE LKW</S2_SEGMENT2>
    <RIM_IN_INCH />
    <QTY_TIRE_SO_FTP>68</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>1.11566858080393765381460213289581624282E-02</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R03: CES - Retreads</MARKT_LINE_CONC>
    <S2_SEGMENT2 />
    <RIM_IN_INCH />
    <QTY_TIRE_SO_FTP>81</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>1.32895816242821985233798195242001640689E-02</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1.60493827160493827160493827160493827161E-01</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC />
    <S2_SEGMENT2 />
    <RIM_IN_INCH />
    <QTY_TIRE_SO_FTP>6095</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>1</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>8.37243642329778506972928630024610336341E-01</POLICY_FITTMENT_FTP>
    </ROW>
    </DataSet>
    Please tell me the steps if it is possible through wizard or give me the xsl if wizard is not sufficient.
    Kind Regards.

    Found this by searching for PieChart in this forum: drawing pie charts.

  • Pie Charts is rounding values shown APEX 4.X

    I am making a flash 3d pie chart and once it is made the values that are showing have been rounded up or down. is there any way to show the actual value?
    Edited by: KySarge1981 on Oct 6, 2010 1:05 PM

    i figured it out. i had to go into custom chart xml and change "numDecimals:0" to "numDecimals:2".

  • Round Pie Chart Slice Labels

    I need to round the slice labels of my pie chart to 0 decimal places. I have looked and looked around on how to do this, and the only solution I have found does not work (using the ViewFormat element under the SliceLabel element). Here is the code for my chart. Typically, the labels end up with 2 decimal places, but some seem to randomly be rounded to 3 instead. What am I doing wrong? Any help would be greatly appreciated.
    chart:
    <Graph graphType="PIE">
    <SliceLabel textType="LD_PERCENT"/>
    <Title text="Total Compensation Package" visible="true" horizontalAlignment="CENTER">
    <GraphFont font = "Arial" size="12"/>
    </Title>
    <LegendArea position="LAP_BOTTOM"/>
    <SliceLabel visible="true">
    <ViewFormat decimalDigit="0" decimalSeparator="." decimalDigitUsed="true" decimalSeparatorUsed="true"/>
    </SliceLabel>
    <LocalGridData rowCount="2" colCount="2">
    <RowLabels>
    <Label>Annual Wages</Label>
    <Label>Benefits</Label>
    </RowLabels>
    <DataValues>
    <RowData>
    <Cell>
    <xsl:value-of select=".//CK_BENSTMT_ANNUAL"/>
    </Cell>
    </RowData>
    <RowData>
    <Cell>
    <xsl:value-of select=".//CK_BENSTMT_TOT5_ER"/>
    </Cell>
    </RowData>
    </DataValues>
    </LocalGridData>
    </Graph>

    That is exactly what I am using though, and it still doesn't work. Do I have to place the slice label element somewhere specific within the code for it to work correctly? I will try moving it around, but any other advice would be greatly appreciated.

  • Mouse Over Value in Pie Chart

    I have two questions -
    1. How do i restrict the no. of decimals in the Mouse Over values for Percentage in a Pie Chart ? The numeric values i can control but the percentage (which the system calculates) seems to be set at default two decimal places.
    2. While displaying the labels even though i am using the ouside end, inside end etc options - i can't seem to control the overlapping of a few labels. Offsetting is something that i need to do by hit and trial. too slow. and not all need to be offsetted. Can i selectively offset for a data point ?
    Please help....Cheers...

    Hi:
       For question1, do you mean the "Data Label->Percentage" right? I think the "Mouse-Over Values" could be set decimal places easily from  "Appearance->Text->Mouse-Over Values", but for "Data Label->Percentage" there is no direct way to show its decimal places. You can use "Label" component to build your percentage you like manually.
      For question2, if all position setting could not fit your need, you can also use label component to build your custom Data Labels.

  • How to show negative value in Pie Chart from Webi?

    I have below example data, I want to convert this to a pie chart in Web Intelligence, my problem is after I convert it to a pie chart, the revenue '-30' is shown as '30', looks like the pie chart is not suppor the negative value to show, I want to know if there is any workaround or solution to make the pie chart to show the negative value? Is this behavior is by design? do we have any official document to explain this?
    The product I used is BOE XI 3.1 SP3.
    Department    Revenue
    A                      100
    B                       -30
    C                        80
    Edited by: Alex Wang on Jul 13, 2010 5:51 PM

    Why are you showing this information as a pie chart? It doesn't make sense to try and display a negative slice in a pie chart. I can't really think of a logical way to try and draw a negative slice in a pie chart. With a pie chart you will need all your information to either all be positive or all negative, otherwise it doesn't work.
    What you need is to have a bar chart, with positive and negative values on the y axis.

  • How to Display result value on Pie chart in wad

    Dear Experts,
    I'm useing WAD to create web template, in that I have a requiremnt to develop Pie chart and it should show material cost according to material type for each slice on Pie chart. I have developed a WAD template for the same and Pie chart as well but I can not see the respective material type cost on Pie chart, where as I can see those values in tool tip when I move mouse over the pie chart, I understand I'm missing a small setting can you please help me to find that setting so that user can see values directly on pie chart without moving the cursor on the same.
    Thanks and Regards,
    Chandrakant.

    are you r using wad 7.0 or 3.5
    in 7.0  right click on the graph, edit  nyou wil be in the wizard go on step 3 and try to change the series and make sure visilibility is checked
    if this doesnt work then click refine and go to series and make sure show lables are checked.
    try this.

  • Display three Values in Pie charts

    Hi All,
    I want to display three Values in Pie Chart(%, Value and one more field). Please suggest me any solution for this.
    For Eg Pie chart should display value lie this :- Nokia, 25,025, 38.52% (It consists of three differet values)
    Thanks,

    I am not sure if you could get the concatenation to work.
    But here are some ideas (please post if you get the solution):
    - Take a look at the list of other formatting options based on the following link:
    http://www.oracle.com/technology/products/xml-publisher/blog/xsltext/10134/oracle/apps/xdo/template/rtf/XSLTFunctions.html
    - Another alternative is to customize the class file : oracle/dss/graph/SliceLabel.class located in bipres.jar
    You would need to customize it to do what you need.
    a) Modify this one so that it is used by the BIP Server
    C:\OracleBI\oc4j_bi\j2ee\home\applications\xmlpserver\xmlpserver\WEB-INF\lib
    b) Modify this one so that it is used by the Client : MS Word AddIn:
    C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\jlib
    regards
    Jorge

  • % value in a pie chart

    Hi,
    I have a pie chart where I display % on hover. One of the values is 217 out of 96976538, which comes out to 0.00%. But , the pie chart is displaying 2.24E-4%. How can I solve this to display 0.00%
    thx,
    parag

    In Pie chart we do following things,
    1)     Axis Titles & Labels in enable the Override Default Data Format
    2)     Treat Number As = Percentage
    3)     Decimal Place = 2, after click on Ok.

  • Display the value as percentage in pie-chart in WEBI

    Hi Experts,
       I have two measures  No. of Sales Transactions and Customer Visit. And I created a measure named CustomerConversionRate.
    ie, CustomerConversionRate = ([No. of Sales Transactions]/[Customer Visit])*100.
    So my requirement is that CustomerConversionRate is  to be display  into a pie chart in WEBI . CustomerConversionRate always a percentage.I
    hereby attached a sample pie-chart based on my requirement.
    Eg:CustomerConversionRate=79.27 and Remaining = 20.73
    I want to display  CustomerConversionRate=79.27  and Remaining = 20.73 into a pie chart in WEBI

    Hi ,
    Add 1 more Query with dimension that will have values
    Completed      Or      X
    Remaining      Or      Y
    Duplicate your Query And Keep only 1 Dimension [Extra_Dim]( Remember this Dim Name you have to use it in different way so it would be better if use any Dimension which is not there in First Query )
    Go To--> View Script --> Custom SQL
    write below code in Query Script Editor
    SELECT
      'Completed' As "CATEGORY"
    FROM
      "YOUR_TABLE"  Table__1
    Union
    SELECT
      'Remaining' As "CATEGORY"
    FROM
      "YOUR_TABLE"  Table__2
    And Save this Query .
    Now Rename this Query as Pie Dimension .
    Now You can Use [Extra_Dim] As [Achievment_Status]
    Create Measure Variable [Achievment_Val] as mention above .
    And use it

Maybe you are looking for