Customize pie chart

I am using dvt:pieChart to create a pie chart. There are two issues I need help.
1. The legend text sometimes wraps to another line if there is a space within the legend text. Is there any way to control it not to wrap the line?
2. The VO data column name shows at the bottom of the pie chart, since o1title, x1title, y1title not applicable to pie chart. Is there anyway to hide the column name text? Tried shapeattribute "GRAPH_O1TITLE" , "GRAPH_X1TITLE" and GRAPH_Y1TITLE, it does not help either.
Thx.
Hui

In the WAD layout tab, right click on your chart and choose Edit
In edit mode, click on the refine button at the bottom of the window
On the top right, you'll see an Overview area which has the chart properties.  Expand the "Categories" section
Select the category where you want to change the background color (eg. Category1)
Expand Area properties
For the Color property, use the dropdown to change from "Automatic" to change it to a custom color
Hope this helps!

Similar Messages

  • Customization of pie chart

    Hi
    In my report i selected multlipe pie charts.
    Ther is no space between pies.
    i want space between pies.
    Thank you

    Try:
    Right click the chart and pick Auto-Arrange
    or
    Right click the chart and pick Options.  On the appearance tab you can change the layout of the pies.
    Hope this helps.

  • 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

  • Pie Chart and legend symbols

    Hi forum,
    who can help me to customize legend symbols in pie chart?
    Thanks in advanced

    Look at the last lines in caspian.css
    .pie-legend-symbol.chart-pie {
        -fx-background-radius: 8px;
        -fx-padding: 8px;
        -fx-border-color: null;
    }You can provide your own css for pie-legend-symbol.chart-pie to style the symbol how you like.
    If you need more control, do a css lookup after the chart has been shown on the stage:
    Set<Node> items = chart.lookupAll("Label.chart-legend-item");
    int i = 0;
    // these colors came from caspian.css .default-color0..4.chart-pie
    Color[] colors = { Color.web("#f9d900"), Color.web("#a9e200"), Color.web("#22bad9"), Color.web("#0181e2"), Color.web("#2f357f") };
    for (Node item : items) {
      Label label = (Label) item;
      final Rectangle rectangle = new Rectangle(10, 10, colors);
    final Glow niceEffect = new Glow();
    niceEffect.setInput(new Reflection());
    rectangle.setEffect(niceEffect);
    label.setGraphic(rectangle);
    i++;
    Here is a full example: https://gist.github.com/1422628                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Labels in Pie Charts

    Hi,
    I have two questions about the behavior of labels in pie charts:
    Question 1:
    When I format pie chart labels as 'NameandValue', the result in the label pie chart always appears as 'Value' and then 'Name', how can I change this?
    Question 2:
    I have several pie charts, that overlap labels, how can I customize charts in order for that never to occur?

    In order to achieve that you will need to change the pcxml files controlling the pie chart (since the chart is actually produced by the Corda engine)
    They are in
    \\OracleBI\web\app\res\s_oracle10\popbin
    and for oc4j in:
    \\OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\popbin
    I don't have all the variables available off the top of my head, but John posted a quite exhaustive list:
    http://obiee101.blogspot.com/2008/01/obiee-xy-and-data-in-mouse-over-label.html
    Cheers,
    Christi@n

  • Problem with wedge in Pie chart

    Hi all,
    i'm having a Pie chart which has some four or five sections. By using wedge option i'm able to cut out a single piece from the whole chart. But my requirement is i need to show all pieces individually. Is it possible? Please help me in this.
    Kind regards,
    karthick

    Hi Karthick,
    it is not impossible, but it is not very easy to accomplish this. First of all, the chart engine (Corda PopChart) is bounded by OBIEE. What I mean is that OBIEE doesn't use the full functionality of the chart engine, so when you want to customize the chart, beyond the functionality OBIEE uses, then there is no other option then to edit the PopChart XML files (.pcxml). In ..\OracleBI\web\app\res\s_oracle10\popbin\ and ..\OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\popbin you can find pie.pcxml which defines the pie chart.
    About your problem: you want to explode all wedges in your pie chart. According to the Corda documentation you can only explode one wedge, but it is possible to create a pie chart with gaps between all wedges and you can also set the size of the gap. So by setting these parameters I guess you can get what you want.
    Example: You need to add ShowPieGap='True' to this line in the .pcxml.
    <Properties Effect='2D' EffectPercentX='10' EffectPercentY='60' OutlineType='Darker' ShowPieGap='True'/>I also recommend you to read John's experiences with editing PCXML of Corda:
    http://obiee101.blogspot.com/search/label/CORDA
    http://obiee101.blogspot.com/search/label/PCXML
    Regards,
    Stijn

  • Pie chart in SAP

    Hi,
        How can I display the output of my report in the form of a pie-chart ?
       Please let me know if there is a way to do so.

    Hi,
    DataSource (cardinality 0..n, selection 0..1)
    +CategoryID
    +CategoryName
    +SeriesValue1
    UI layout:
    We have business graphic with type "pie" ("seriesSource" bound to "DataSource"). We have "Category1" as category under business graphic ("description" bound to "DataSource.CategoryName") and "Series1" as series ("pointSource" biund to "DataSource") and "Series1_Point" as point under series (customizingID bound to "DataSource.CategoryID" !VERY IMPORTANT!, "valueSource" to "DataSource") and NumericValue1 as value under point (type is "y", value bound to "DataSource.SeriesValue1").
    View controller:
    Method wdDoInit (to initialize DataSource):
    codeIPrivateSimpleGraphicsView.ICategoriesNode catsnode = wdContext.nodeCategories();
    for (int aIndex = 0; aIndex <= 5; ++aIndex) {
    IPrivateSimpleGraphicsView.ICategoriesElement catelem = catsnode.createCategoriesElement();
    catelem.setCategoryText("SOME_TEXT");
    catelem.setCategoryID("Point" + aIndex);
    catelem.setSeries1Value(aIndex);
    catsnode.addElement(catelem);
    }[/code]
    Method wdDoModifyView (to build customization):
    code
    if(firstTime) {
    final IWDBusinessGraphics bg = (IWDBusinessGraphics)view.getElement("BusinessGraphic");
    StringBuffer sb = new StringBuffer();
    sb.append("<SAPChartCustomizing version=\"1.1\">");
    sb.append("<Values>");
    for (int aIndex = 0; aIndex <= 5; ++aIndex) {
    sb.append("<Point id=\"Point").append(aIndex).append("\">");
    sb.append(" <ShowLabel>true</ShowLabel>");
    sb.append(" <Format>$Percent0.00 "% ("0.00")"</Format>");
    sb.append("</Point>");
    sb.append("</Values>");
    sb.append("</SAPChartCustomizing>");
    bg.setDirectCustomizing(sb.toString());
    [/code]
    And that`s it!
    Regards,
    Flavya

  • Pie Chart Designing help

    Hai ,
    Can Any body help me in creating a Pie Chart in Web dynpro ABAP ,
    My requirement is I have an  data in an internal table with company code and  Amount , which need to be displayed in Pie chart , it could be helped if u send me the code .
    Regards,
    K. Vinay Kumar

    Hi Vinay,
              Following are the steps to be followed.
                      1.  Add the Business Graphics(BG) UI Element  in the view.
                      2.  Change the chart type to pie
                      3.  Rite click on the BG UI and add catergory and series(simpleseries).
                      4.  Bind the category with the company code and series with the values.
                      5.  If u like the customize the BG, rite click and 'Edit customization' which will create a MIME Xml file.
    Ranganathan.

  • Customizing colour in Pie chart

    Hi Experts,
    In my scenario there is a Pie chart which shows the completion and pending of work in percentage. I have done this by creating a category and a series and the pie chart is getting displayed for completion and pending work in default colours. Now i want to customize these default colours, i need to display the completed status in Red and Pending status in green.
    If this is possible please help me out in achieving this.
    Thanks
    Sarathy.

    Hi Pandi,
    For changing the chart type, size, layout, color, shading and also creating the title for you Bussiness graphics you have to go for Customizing . Right Click the Bussiness Graphi UI and Choose  Edit chstomizing .
    and bind your customising id in the context .
    Go through this..
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/ca932ebc-0901-0010-68a0-b4dd81a4bf81?quicklink=index&overridelayout=true
    Also check this..
    Re: Color Of series in Pie chart
    Cheers,
    Kris.

  • AMX Pie Chart Slice Label

    I'm trying to customize the slice labels in my pie chart. It looks like the textType attribute of the dvtm:sliceLabel tag might provide me what I need, but there is little information. Where does the component get the "text" to display? The percentage is based on the pieDataItem's value attribute in relation to the whole as expected. I have the label and sliceId attributes also set for the pieDataItem component in the dataStamp facet but these are not showing up in the slice label as the text. Is there another component I need to add to the dataStamp facet that will be consumed by the sliceLabel text?

    do paste this in the alt text of the chart ,
    Right click the picture , select format picture and go to alt text tab.
    paste this in between the graph element and not at the end or beginning.
    <SliceLabel visible="true">
    <ViewFormat decimalDigit="1" decimalSeparator="." decimalDigitUsed="true" decimalSeparatorUsed="true"/>
    </SliceLabel>

  • 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

  • Bar Chart - Pie Chart custmization

    Hi,
    I have a criteria ready to display "Sales by Region", using this I have developed a bar chart and a pie chart.
    My question is, if I customize a color for region (Using Format Chart Data) in bar chart with specific color, the same should be picked up in Pie Chart.
    Can this be made?
    Regards,
    Jitendra

    Both the chart's are independent. The columns you might be using are same but when the Graph's are considered they are different.

  • Create a pie chart autoshape and specify exact angles

    I am able to use the Pie Chart autoshape tool to create a new pie chart with segments. Is it possible to specify the exact angles I want for these segments?

    You can customize the segments with the AutoShape Properties panel.

  • Reporting Services in 2005 Secondary Pie Chart?

       Hi,
             In 2008 and 20012, secondary pie charts with a percentage threshold from a main pie chart can be easily created. Is it possible to do in 2005?
    *CustomAttributes
    Thanks.

    Hi Robb,
    It seems that you are using Dundas Chart Control for SQL Server 2008 R2 Reporting Services not the Dundas Chart Control 2005 that Microsoft has purchased.
    Microsoft purchased the license to use Dundas Chart Control 2005 in Reporting Services 2008 and above. Therefore the supported upgrade is from Reporting Services 2005 Dundas Charts to SSRS 2008 (R2) and SSRS 2012 Charts.
    If you are using a particular component released by Dundas for SSRS 2008 R2, you won’t be able to upgrade Reporting Services 2008 R2 Reports with Dundas Charts to Reporting Services 2012 Charts.
    To confirm this, please check the details of this assembly “DundasRSChart.dll” located under the /Report Server/bin directory.
    If the Product Name is “Dundas Chart for Reporting Services 2008 R2”, it indicates that this is a new version of Dundas Chart for SSRS 2008 R2 (i.e. a third party control). If the Product Name is “Microsoft SQL Server”, it indicates that this is the version
    that Microsoft has purchased.
    In this condition, you have to migrate the DundasRSChart.dll to the SSRS 2012 instance and reference it as the custom assembly in the reports. Please make sure to rename the DLL file so that it won’t replace the native DundasRSChart.dll installed by SQL
    Server 2012.
    For more information about referencing custom assembly in a report, please see:
    Using Custom Assemblies with Reports
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • Need help to make a Pie Chart

    I am trying to draw a pie chart for the Uptime Report.
    I have the Following table definition.
    create table downtime_detail ( env_code number, down_start date, down_end date );
    insert into downtime_detail values (1,to_date('26-JAN-2008 02:00:00','DD-MON-YYYY HH24:MI:SS'),to_date('26-JAN-2008 03:00:00','DD-MON-YYYY HH24:MI:SS') );
    insert into downtime_detail values (2,to_date('26-JAN-2008 02:00:00','DD-MON-YYYY HH24:MI:SS'),to_date('26-JAN-2008 03:00:00','DD-MON-YYYY HH24:MI:SS') );
    insert into downtime_detail values (2,to_date('01-FEB-2008 02:00:00','DD-MON-YYYY HH24:MI:SS'),to_date('03-FEB-2008 03:00:00','DD-MON-YYYY HH24:MI:SS') );
    insert into downtime_detail values (2,to_date('15-FEB-2008 02:00:00','DD-MON-YYYY HH24:MI:SS'),to_date('15-FEB-2008 03:00:00','DD-MON-YYYY HH24:MI:SS') );
    insert into downtime_detail values (2,to_date('26-FEB-2008 02:00:00','DD-MON-YYYY HH24:MI:SS'),to_date('28-FEB-2008 03:00:00','DD-MON-YYYY HH24:MI:SS') );
    Now the Below Query returns me the values val1 and val2 on the basis of which I need to draw a Pie Chart.
    ==========================================================
    select round((DOWN/TOTAL)*100,2) val1 , round(100-((DOWN/TOTAL)*100),2) val2
    from
         (select sum((DOWN_END - DOWN_START)*24) DOWN from DOWNTIME_DETAIL where ENV_CODE=2 ) a ,
         (select ((sysdate - to_date('01-JAN-2008','DD-MON-YYYY')) * 24) TOTAL from dual ) b
    VAL1 VAL2
    3.64 96.36
    ==========================================================
    Can someone help me try do this ?
    Actually I tried but I couldnt put my custom query to get this Pie chart. Or if there is any other better approach please let me know.

    nikhilskamik,
    I believe all that you are missing in your sql is a NULL. Below is the help text for creating a Flash pie chart.
    Specify the SQL query that will populate your chart, for example:
    select null, ename, sal
    from emp
    Alternatively you can write a PL/SQL function return a SQL query, for example:
    begin
    return 'select null, ename, sal from emp';
    end;
    Your query should then read:
    select null,round((DOWN/TOTAL)*100,2) val1 , round(100-((DOWN/TOTAL)*100),2) val2
    from
    (select sum((DOWN_END - DOWN_START)*24) DOWN from DOWNTIME_DETAIL where ENV_CODE=2 ) a ,
    (select ((sysdate - to_date('01-JAN-2008','DD-MON-YYYY')) * 24) TOTAL from dual ) b
    Jeff

Maybe you are looking for