Can a Pie Chart have a variable number of slices?

Is there a way to dynamically limit the NUMBER of slices that a pie chart shows?
For instance, sometimes there might be 10 elements, sometimes 6 (last 4 are 'blank') or maybe 5 (last 5 are blank).
Yes I know I can keep on reducing/increasing the Excel cells to include...but is there a way to include only certain ones as the data exists?

My Behaviour tab for my pie chart does not HAVE the "ignore end blanks option"
A Pie chart behaviour only includes "Display Status, Display Status Key, Entry Effect, Entry Duration and "Animation Enabled"
I can't seem to find the "Ignore End Blanks" on any tab

Similar Messages

  • To print an Pie Chart image with more than 1 slice is not working

    Hi friends,
    I'm using a version 12.0.4 and when I try to generate an Pie Chart image with more than 1 slice using the function saveImage() it's not working. The image is only generate when its return is just 1 value (1 peace of pie).
    Anybody help me?
    Regards!

    It's not unique for your setup, but it also happens in 12.0.11, so it's a bug.  Looks like it is throwing a null pointer for some bizzare reason when generating the GIF output by the ImageStorageServlet (per the NW logs). 
    Your best bet would be to log a ticket so it can be patched.
    12.1.7 seems to work fine.
    Edited by: Michael Appleby on Nov 23, 2010 2:39 PM

  • Pie Chart - Have no link and stop cursor from changing.

    Hi,
    I have a simple pie chart (flash) with the query:
    select
         NULL link,
         rag.meaning,
         count(wp_id)
    from ......
    For this particular chart I do no want a link from the pie chart to another page so I have defined the link as NULL. This works OK and clicking the chart does nothing (as expected).
    Unfortunately the cursor still changes from the normal arrow to a pointing finger (as it does for any other hyperlink) which may confuse the user into thinking they should be able to click here and drill down.
    How can I stop the link from existing entirely?
    Many thanks,
    Martin

    Bump

  • Sorting Pie Chart Legend

    I am using Crystal Report XI.  I created a pie chart that shows the number of vehicles stolen by the day of the week.  The problem is that the legend is sorted in alphabetical order.  It starts with Friday - Monday - Saturday - Sunday, etc.
    I need to be able to start with Sunday - Monday - Tuesday - Wednesday, etc.
    Can you help me figure out how to sort or revise the legend of a pie chart?  Thanks in advance.

    Yes, I would be most happy to help someone.  Right Click in your pie chart.  Choose Chart Expert.  Choose the Data Tab.  Click on the item you have in the upper right corner of the dialog box.  For me, it is Event Day.  With that highlighted, the "order" option below it will turn on.  You will be given some choices - I chose "Specified Order".  Then choose the Specified Order tab, and type in the order you want.  I typed Sunday, Monday, etc.
    Hope it helps.

  • How to create line hart with variable number of data series

    Hello,
    I am student and I am completely new to Flex programming but
    I need to urgently create an app that should have a variable number
    of data series but of ame type of object.
    eg. Profits for X,Y and Z in in run while just corp X in the
    next instance.
    How can I accomodate for this in the app? can someone point
    me in the right direction I would really greatful as this project
    is really crucial for my coursework to get finished in timely
    manner.
    Thank you

    Hey,
    I'm not really sure what you want, but you should check out:
    http://demo.quietlyscheming.com/ChartSampler/app.html
    Which has a list of different types of charts in Flex and
    will hopefully help. Also check out charting from ILOG, which is
    quite good:
    http://www.ilog.com/products/elixir/

  • Using negative percentages in Pie Charts

    I am having a devil of a time creating a visual pie chart based on the data I am getting from my spreadsheet.
    Here is what I am trying to do:
    I want to see a visual representation of how many calories I have left to consume before I reach my goal for the day. I have created a spreadsheet that tracks daily caloric intake and gives me a total value. This is a numerical value, like 1600 to 2300. I then have a "goal" caloric value, which remains unchanged. This value is 1800.
    The pie chart sees these numbers as positives, so when I put them in you can imagine the result would be close to 50% for both sections of the chart. Obviously, I am inputting garbage values that the pie chart is interpreting accurately.
    The next logical step I thought of was to take the "goal" caloric value and subtract the actual "caloric intake" value - this way I come up with a balance of the two - positive or negative. I then used this newly created balance value as "calories remaining" and compared it to "caloric intake."
    This seems to give me accurate results, except when I get a negative number in calories remaining. For some odd reason, the pie chart sees this negative number as a positive!?!? For example, if I have a -400 calories remaining compared to 2200 consumed, the pie chart would see this as 400 to 2200.
    Any ideas??
    Thanks in advance!

    You have the option, in the Chart Inspector, to format the labels any way you like. You don't have to use Percentage. In fact, you can add text to your labels, like this:
    Regards,
    Jerry

  • How to code spark custom component with variable number of (skin)parts?

    Hello. I'm trying to code a complex Spark custom component that may have a variable number of parts. To help you understand the requirements, the component can be visualized as an HSlider with a unlimited number of thumbs (as opposed to one).
    How do I, in general, represent these thumbs in the host component as well as the skin? If I had a fixed number of thumbs, say 5, I could easily represent them as 5 button SkinParts declaratively. However, it's not immediately clear to me how to deal with a variable number of them.
    I've studied the HSlider implementation as well as other components and can't find an example that fits this pattern. The closest thing that I can think of is to represent the thumbs as a DataGroup and provide a custom item renderer to render them. Couple that with the general HSlider behaviors that I need to preserve, such as the fairly involved local/global coordinate translations, I don't know whether the approach will work.
    Any better ideas? Thanks.

    #2 sounds utterly strange to me. How would I utilize the phase id?The code below shows my idea whereas I never validate it in any real projects:
    public class MyPhaseListener implements PhaseListener {
         private static final String IDKEY = "PHASEID";
         public static PhaseId getCurrentPhaseId() {
              return (PhaseId) FacesContext.getCurrentInstance().getExternalContext().getRequestMap().get(IDKEY);
         public void beforePhase(PhaseEvent event) {
    event.getFacesContext().getExternalContext().getRequestMap().put(IDKEY,event.getPhaseId());
         public PhaseId getPhaseId() {
              return PhaseId.ANY_PHASE;
    }You can write your constructor like as:
    if (MyPhaseListener.getCurrentPhaseId().equals(PhaseId.RENDER_RESPONSE ) {
         /* create children because this is the first time to create the component */
    }

  • Drill down pie chart using SVG

    Having read several posts in this forum regarding SVG, pie charts and drilling down, I get the impression that it is possible, using the "link" column in the chart query, to drill down to another page.
    My requirement is similar in that given a pie chart, the user can click on one of the sections of the pie and see more detail in another pie chart. The difference is that the page should not change (ie: other graphics and content ought not change when the pie chart is clicked).
    Has anyone worked out a solution for something like this?
    Is it, for example, possible to, on clicking the pie chart, have a conditional display set for a previously hidden chart and hide the original chart?
    Your replies are appreciated.

    I just re-read this and realize you want it on the same page. Same logic applies. Create a hidden item, a second chart region taking in the parameter from the first, and set it to show only when the hidden item is not null.
    Let me know what you think:
    http://htmldb.oracle.com/pls/otn/f?p=20332:1
    Code for the first chart is:
    select 'f?p='||:APP_ID||':1:::::P1_DRILLDOWN:'||cu.customer_id,
           cu.cust_first_name || ' ' || cu.cust_last_name,
           count(ord.order_id)
      from demo_orders ord,
           demo_customers cu
    where cu.customer_id = ord.customer_id
    group by 'f?p='||:APP_ID||':1:::::P1_DRILLDOWN:'||cu.customer_id,
    cu.cust_first_name || ' ' || cu.cust_last_name2nd Chart:
    select null,
           product_name,
           count(ite.product_id)
      from demo_orders ord,
           demo_order_items ite,
           demo_product_info pro
    where ord.order_id = ite.order_id and
           ite.product_id = pro.product_id and
           ord.customer_id = :P1_DRILLDOWN
    group by product_nameModify as necessary.

  • Variable number of two dimensional arrays into one big array

    I have a variable number of two dimensional arrays.
    The first dimension is variable, the second dimension is always 7.
    i.e.:
    Object[][] array0 = {
    {"tim", "sanchez", 34, 175.5, "bla", "blub", "[email protected]"},
    {"alice", "smith", 42, 160.0, "la", "bub", "[email protected]"},
    Object[][] array1 = {
    {"john", "sdfs", 34, 15.5, "a", "bl", "[email protected]"},
    {"joe", "smith", 42, 16.0, "a", "bub", "[email protected]"},
    Object[][] arrayi = ...I'm generating these arrays with a for-loop:
         for (int i = 0; i < filter.length; i++) {
              MyClass c = new MyClass(filter);
              //data = c.getData();
    Where "filter" is another array which is filled with information that tells "MyClass" how to fill the arrays.
    "getData()" gives back one of the i number of arrays.
    Now I just need to have everything in one big two dimensional array.
    i.e.:Object[][] arrayComplete = {
    {"tim", "sanchez", 34, 175.5, "bla", "blub", "[email protected]"},
    {"alice", "smith", 42, 160.0, "la", "bub", "[email protected]"},
    {"john", "sdfs", 34, 15.5, "a", "bl", "[email protected]"},
    {"joe", "smith", 42, 16.0, "a", "bub", "[email protected]"},
    Any idea on how to accomplish this? It's blowing my mind right now.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Just brainstorming here:
    Why not put your actual data in a class and store that in a LinkedList (so you know the total number of elements for your multi-dimensional array). Then initalize your multi-dimensional array and populate it? Haven't tested the following, but thinking something along the lines of
    public class MyData {
         //data here
         public Object[] toArray() {
              //something similar to this
              return new Object[] = {"tim", "sanchez", 34, 175.5, "bla", "blub", "[email protected]"};
    LinkedList<MyData> data = new LinkedList<MyData>();
    data.add(mydata1);
    //however many times you need
    Object[][] arrayComplete = new Object[data.size()][7];
    for(int i = 0; i < data.size(); i++) {
         arrayComplete[i] = data.removeFirst().toArray();
    }Another option for knowing how many rows you would need might be using something like:
    int rows = 0;
    rows += array1.length;
    rows += array2.length;
    //etc...But is not entirely useful if you don't know how many variable arrays you have (although reflections might help if the name of the array variable is incremented systematically, someone told me earlier to avoid reflections since it could make debugging a LOT more difficult).
    Edited by: bogdana on Apr 1, 2010 10:38 AM

  • Draggable Pie Chart

    Hi everyone,
    I'm new to Flex, and I see that creating a pie chart is
    normally very easy with the Pie Chart component. However, I need to
    create a pie chart where the edges of the slices are draggable. In
    other words, I want the user to be able to resize slices
    dynamically. Would there be any way to utilize the Pie Chart
    component for this task, or would I need to start from scratch? Any
    ideas on where to start?
    Thanks!

    Hey visit
    http://shaileshmakwana.blogspot.com/2010/04/draggable-wedges-in-pie-chart.html

  • How do I update the colors on a 2d pie chart after adding 3 new variables

    I have added 3 additional items to a 2d pie chart.  Unfortunately, when the data is displayed the recently added items are displayed with the SAME colors as the first 3 items in the chart.  I need all variables to display in distinctly DIFFERENT colors.

    Hi tarheel,
    You can click on the color you want to change and go to the style tab:
    You can do it there. I have also changed colors after clicking the data tab from within edit data references.
    quinn

  • Dynamic Pie Chart: Counting the number of instances for each value

    Hello my name is Tim and I am at a roadblock concerning a chart for a dashboard design.
    I have a list with two fields:
    Platform and Status. The list is customized in InfoPath. The
    Platform field is located on the form as a drop-down menu with 6 entries.
    Status is a choice field with 3 selection that is updated through the lifespan of the project (once item created, it is updated to "In process", once the project is closed, the field is updated to "closed."
    My hurdle is viewing these dynamically in a Pie Chart. I am  trying to display the number of project's "In process" for each Platform. So, if Platform A has 6 projects "In process" and Platform B has 3 projects "In process"
    how can this be displayed in a pie chart?
    At the moment, I figured there are two options: Chart View WebPart or importing an Excel  worksheet.
    Any ideas or solution on how to accomplish this?
    -Tim Dempsey

    Three options:
    1. Create a list that holds your statuses. Then in your original list, create a lookup to the status list. In your status list, make a lookup to the lookup. This creates a circular reference which, for whatever reason, returns a count. You can then connect
    a chart web part to this. Repeat for the other column.
    2. Go to your sharepoint list and export to spreadsheet. Save the file. This is a query file that you can use as a data connection. From that file, set it to auto-update and then create a chart from a pivot table. Then use Excel Services Web Part to display
    the file.
    3. The other option is to use Google Charts API. Connect to the list, run some jQuery and JavaScript and then export out a chart. Pretty cool tool.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • Can you make a 'pie chart' with Lingo ?  or Java

    Question pretty much like the subject above says. Just a basic pie chart from two numbers
    Alright, I want a pie chart to give a visual of a percentage.  The percentage would be a value of 1-100 in a field cast member

    I do hope you realise that it takes more than two numbers (or one single value from a #field member, as you've supplied) to display anything representing a pie chart. For example what exactly to you want that #field value to represent? Radius? Circumference? Portion of 100%?, etc... And what is this mysterious 2nd number you hint at, but do not define?
    Please understand that while nobody would deny the integrity of any of Valentin's scripts/Xtras, you surely know that it takes much more than two numbers to represent a pie chart - or even a single slice of a given pie chart.
    But, I'll bet that his class can get you there. Just wanting you to think about what you are asking for here.
    BTW, what on earth does Java have to do with your question? Were you thinking about JavaScript when you typed the subject? You are aware that Java <> JavaScript (or even EMCA syntax), right? Were you serious about Java?
    Not a slam, just wanting you to think out loud.
    Mark "Cheers II, SD" Boyd
    Keep-On-Learnin' :-)
    .sigFile addressed at myself, but if the shoe fits...

  • I have no idea how to set up a pie chart for tracking spending with categories

    This is what I want to do to help me track my credit card spending.
    I want to make a Numbers sheet where i can jot down how much money i spent on a item, and what category that item would go with (example, food, electronics, gas, so on).
    and then i want to have a pie chart that will show much how much money i'm spending in each category and how much of a percentage of the total each category takes up of the whole.
    I have no idea how to set this up in a sheet. I tried typing it in a few times and every time i go to make a pie chart, it never shows me any of the results i want to see.
    can someone please help me set up a sheet to be able to get this information to display correctly in a pie chart?

    Brad,
    Create a table with the categories and the data (for now you can make up the data):
    Now add a chart from the Charts menu in the toolbar:
    Now click the "Add Chart Data" button just below the chart.
    Now select data (from column B) in the table.  Last trick is to click the menu at the bottom-left corner of the window and change the selection to "Plot rows as series" :
    Now add formulas to the table to properly summarize the data from your data entry table using the sumif() function.

  • MapViewer Html5 API. Error with Variable Pie Chart Style Model

    Hello,
    I have a serious problem related to Variable Pie Chart Style. MapViewer - Mapbuilder version: 11.1.1.7.3.
    [ALERT]  MAPVIEWER_9023:Cannot load style.
        Source: OM.style.StyleStore.parseXMLStyle
    OMS: oracle.mapviewer.share.stylex.VariablePieChartStyleModel cannot be cast to oracle.mapviewer.share.stylex.BucketStyleModel
    In Mapbuilder, I have a geometry theme with rendering style, an advanced variable pie with variable range, style. This is the XML of advanced style:
    <?xml version="1.0" ?>
    <AdvancedStyle>
        <VariablePieChartStyle startradius="5" increment="4">
               <PieSlice name="T004_2009" color="#0033FF"/>
               <PieSlice name="T004_2010" color="#FF0033"/>
               <PieSlice name="T004_2011" color="#33FF00"/>
            <Buckets>
                <RangedBucket seq="0" label="0 - 20%" low="0" high="100000"/>
                <RangedBucket seq="1" label="20 - 40%" low="100001" high="370000"/>
                <RangedBucket seq="2" label="40 - 60%" low="370001" high="1000000"/>
                <RangedBucket seq="3" label="60 - 80%" low="1000001" high="2500000"/>
                <RangedBucket seq="4" label="80 - 100%" low="2500001" high="2.0E7"/>
        </Buckets>
       </VariablePieChartStyle>
    </AdvancedStyle>
    and this is the XML of the theme:
    <?xml version="1.0" standalone="yes"?>
    <styling_rules key_column="ID" caching="NONE">
        <hidden_info>
            <field column="INSTITUTION1" name="Port Name"/>
            <field column="T004_2009_CHAR" name="2009"/>
            <field column="T004_2010_CHAR" name="2010"/>
            <field column="T004_2011_CHAR" name="2011"/>
            <field column="T004_2012_CHAR" name="2012"/>
            <field column="T004_2013_CHAR" name="2013"/>
            <field column="T004_2014_CHAR" name="2014"/>
      </hidden_info>
        <rule column="PASSENGERS_2009,PASSENGERS_2010,PASSENGERS_2011">
            <features style="V.T004_PASSENGERS_VPIE"> (NVL(PASSENGERS_2009, 0) !=0 AND NVL(PASSENGERS_2010,0) != 0 AND NVL(PASSENGERS_2011, 0) != 0) </features>
            <label column="INSTITUTION1" style="T.CITY_NAME_H"> 1 </label>
      </rule>
    </styling_rules>
    When I preview the theme in mapbuilder everything seems fine.
    The problem arises, when I try to add a layer with this theme and style in my map in my APEX (version:4.2.6) application.
    This is the javascript:
    layer = new OM.layer.VectorLayer("layer1",
                def:{
                    type:OM.layer.VectorLayer.TYPE_PREDEFINED,
                    dataSource:ds, theme:themename,
                    url: baseURL
            map.addLayer(layer) ;
    and this is the error I get:
    [ALERT]  MAPVIEWER_9023:Cannot load style.
        Source: OM.style.StyleStore.parseXMLStyle
    OMS: oracle.mapviewer.share.stylex.VariablePieChartStyleModel cannot be cast to oracle.mapviewer.share.stylex.BucketStyleModel
    I' d appreciate any help.
    Thanks in advance,
    Vasso

    Hi,
    You're setting XML data in a JSON model, that's why the binding is incorrect.
    Depending on what your MII transaction is returning, you need to either retrieve the JSON part in the XML, or use a XML Model.
    Regards,
    Tanguy

Maybe you are looking for