Legend for Pie Chart

Is it possible to suppress those lines in the legend of a pie chart where the underlying data is zero, and consequently where no slice is displayed?
Regards
Greg Davis

Write a condition for that field in format editor: Suppress if null

Similar Messages

  • Is there a way to display the legend for a chart, but not the chart?

    Hi,
    I have a stacked column chart and a line chart on top of each other.   I can't use the legend for the stacked column chart because the data will change from month to month, and the 2 charts will not be aligned.  I copied the stacked column chart to another part of the canvas and want to display only the legend, but the chart is still displaying.  Is there a way to prevent the chart from displaying?    Thanks.

    hi Jim Wojewnik,
    we can show only the legend in a pie chart by dragging the edges to closer.do the following,
    select the pie chart,select the edge of the chart and make it small and u ll find the pie chart shrinking.make it lean such that the pie chart disappear.
    try this work around and let me know.
    regards,
    ravi.

  • Need help with SQL for Pie Chart

    I am trying to create a pie charge which would have 3 slices.
    Following sql gives me the expected values when I run the sql command:
    select
    round(avg(CATEGORY_1 + CATEGORY_2 + CATEGORY_3 + CATEGORY_4 + CATEGORY_5),0) "OD Engagements",
    round(avg(CATEGORY_6 + CATEGORY_7 + CATEGORY_13),0) "Talent Engagements",
    round(avg(CATEGORY_8 + CATEGORY_9 + CATEGORY_10 + CATEGORY_11 + CATEGORY_12),0) "Other Engagements"
    from OTD_PROJECT
    where STATUS in ('Open','Hold')
    I get 3 columns labeled: OD Engagements, Talent Engagements and Other Engagements with the correct averages based on the the data.
    I have tried several ways to try to get this to work in the SQL for a pie chart, but keep getting the invalid sql message and it won't save. I also tried saving without validation, but no data is shown on the chart at all.
    I want to have a pie, with 3 slices, one labeled OD Engagements with a value of 27, one labeled Talent Engagements with a value of 43 and one labeled Other Engagements with a value of 30. Then I want to be able to click on each pie slice to drill down to a secondary pie chart that shows the breakdown based on the categories included in that type.
    Since I am not grouping based on an existing field I an unsure what the link and label values should be in the chart sql.

    You'll need something like the below. I have no idea what the URL for the drilldown needs to be. It should create an appropriate link in your app for the particular slice. Mainly the code below breaks the SQL results into three rows rather than three columns. It may well have a syntax error since I can't test.
    select linkval  AS LINK,
           title    AS LABEL,
           calc_val AS VALUE
    FROM   (SELECT 'OD Engagements' AS title,
                   round(avg(CATEGORY_1 + CATEGORY_2 + CATEGORY_3 + CATEGORY_4 + CATEGORY_5),0) AS calc_val,
                   'f?p=???:???:' || v('APP_SESSION') || '::NO:?' AS LINKVAL
            from   OTD_PROJECT
            where  STATUS in ('Open','Hold')
            UNION ALL
            SELECT 'Talent Engagements' AS title,
                   round(avg(CATEGORY_6 + CATEGORY_7 + CATEGORY_13),0) AS calc_val,
                   'f?p=???:???:' || v('APP_SESSION') || '::NO:?' AS LINKVAL
            from   OTD_PROJECT
            where  STATUS in ('Open','Hold')
            UNION ALL
            SELECT 'Other Engagements' AS title,
                   round(avg(CATEGORY_8 + CATEGORY_9 + CATEGORY_10 + CATEGORY_11 + CATEGORY_12),0) AS calc_val,
                   'f?p=???:???:' || v('APP_SESSION') || '::NO:?' AS LINKVAL
            from   OTD_PROJECT
            where  STATUS in ('Open','Hold')
           );

  • Drill Down feature for pie chart in JSP

    Hi,
    I need to have drill down feature in my Pie Chart which is generated using JFreeChart package. The pie chart is generated dynamically basing upon the database values as inputs .
    Now on click of any one sector i have to show other bar graph. The bargraphs would be different for different sectors clicked.How to use Mouse Listener? How can track or keep check on the boundaries of different sectors?.
    Please help me on this issue.
    Thanks in advance,
    Praveen

    @OP: don't ask the same question in two different threads:
    http://forum.java.sun.com/thread.jspa?threadID=5121491&messageID=9424672#9424672
    kind regards,
    Jos

  • Drill down for pie chart is not enabled

    hi,
    i am trying to have a drill down functionality  for a pie chart but when i go to drill down option that screen is not enabled.
    how to make drill down option enable.
    please let me know
    Edited by: venkat s on May 9, 2008 9:36 AM

    i just gave yaxis  source and x axix source . it is enabling now

  • Help needed for Pie chart rendering

    Hi All,
    I have a question related with pie chart rendering. I tried this example with manual node creation. This worked fine for me. After that i tried to change using array concept. But i held up with one issue.
    var mySeq = [50, 100, 75];
    var angleSeq = [0, 80, 240]
    var angle = 360;
    var total = 225
    The Arc length is calculated as 0-80, 80-240, 240-360 respectively.
    So created another
    My the Arc creation code is looking like that,
    For (i in mySeq)
    Arc {
    centerX: 200
    centerY: 200
    radiusX: 200
    radiusY: 200
    startAngle: ? // For first this should be 0, second 80 and third 240
    length: (i*angle)/total //For first 80, second 160 and third 120
    type: ArcType.ROUND
    fill: Color.BLACK
    How to define the startAngle dynamically. I tried with another array like
    For (I in mySeq, j in angleSeq). Then I bind the value of j to startAngle. But no positive result for me.
    Can anyone help me on this issue?
    This is my first try with JavaFX. So i want to finish this successfully. Please help me

    Try this:
    var mySeq = [50, 100, 75];
    var angleSeq = [0, 80, 240];
    var angle = 360;
    var total = 225;
    for (i in mySeq) {
        for( j in angleSeq ){
            Arc {
                startAngle: j
                length: (i * angle) / total //For first 80, second 160 and third 120
                type: ArcType.ROUND
                fill: Color.BLACK
    }or
    var N = 3;
    for (n in [0..N-1])
            Arc {
                startAngle: angleSeq[n]
                length: (mySeq[n] * angle) / total //For first 80, second 160 and third 120
                type: ArcType.ROUND
                fill: Color.BLACK
            }

  • Drill does not work for pie chart in OBIEE 10.1.3.4

    Request has a table and a pie chart. Dimension has 7-level hierarchy. Request has column from top level of dimension.
    Table can drill down all 7 levels. Pie chart drills down two levels; third attempt to drill on chart brings back first level in both chart and table.
    Anyone else experience this? I can find no bug report, but I have not been very successful at finding known bugs in MetaLink.

    Well, by Total - I mean next-to-total. Don't worry about it. I just wanted to make sure your hierarchy had no problems.
    Here's what I've done (remember my version is different). I've selected Drill-In-Place in Dashboard properties (unless I do that - it goes to table view after drill). Then I've clicked in an area on pie chart. After this, I wasn't able to drill further down, until I went to another Dashboard page and back (previous drill level was still there) and then drilled again. Rinse and repeat. Browser - IE 7. I'm going to test it in Firefox now.
    UPD: Firefox has no problem drilling through 4 levels of pie-chart. I guess the problem is IE's slow and buggy JS implementation.
    Edited by: wildmight on Jan 27, 2009 8:21 AM

  • Drill Down feature for pie chart in Java

    Hi,
    I have a JSP where the graph displayed should have �Drill Down� functionality i.e. when clicked on any sector of Pie chart it should come up with other graph giving more details.
    I need the code or how to proceed to get drill down feature.
    If anyone has idea about �drill down� or any sites which can help me please reply.
    Thanks in advance.
    Praveen.

    You have to generate the image and the surrounding HTML using two seperate transactions; typically a JSP delivers the HTML and a servlet, invoked by the SRC URL of an image tag, provides an image.
    Your HTML contains a form, and the image is displayed using a <Input type="image" .. Clicking on that submits the forn, providing X and Y coordinates as parameters to a servlet which can calculate which pie-slice has been clicked. You can't use a client-side image map because there are no suitable sensitive shapes available.

  • Cursor legend for waveform chart

    Greetings again. Is there a method to turn on the cursor legend in a waveform chart (like in the waveform graphs)? I'd like to allow a user of my application to be able to select a portion of a chart and have the application report the value plotted.
    I am acquiring data via the Analog In channels of a PCI-6036e at 1500 Hz to plot in real-time. I tried plotting my data with the waveform graph but it only shows the latest readings and does not scroll the data. I know I could build an array and rotate through it as the data comes in but that seems like a lot more effort just to be able to use the cursor controls to highlight data.
    Any ideas? Am I being too brief?
    Thanks-
    -dennis.

    Cursors are only avalaible on graphs, not charts. There was a post on this subject yesterday...
    See http://forums.ni.com/ni/board/message?board.id=170​&message.id=102968&jump=true
    CC
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • How to create Leader Lines for Pie Chart Labels

    I like Numbers but the restrictions they force are sometime just too much.
    Example: Labels
    The restriction of only being able to move a label of a wedge on a parallel axis is ridiculous. Here Excel clearly out shines Numbers.
    I want an option to add a leader to a "Value" label so I can move it away from an area that is too crowded or the space for it is limited.
    Yes, I know I could just not turn Labels on in Numbers and then use a text box to place the value anywhere I wish and then draw in a leader to fit my needs. But that is no solution just a horrible work-around.
    Come on Apple. You've started a nice product here but gee-whiz, golly-gee, it's hard to adopt your products as MS replacements when so many basic features are missing.

    AlbertEinstein,
    And I don't understand why you are even posting here. What in your reply was useful to my issue? Seriously, if you're here on this board just to spout opinions, might I suggest you take up blogging.
    As for me, I'm here to try to find an answer to my problem. If you're knowledgable and know that it can't be done then just saying so the way Badunit did. It wasn't the answer I was looking for but at least he was trying to be constructive.
    OK, so to your point. You've been using spreadsheets since Visicalc, good for you. My issue isn't with the spreadsheet part of Numbes, but rather with the charting technology.
    Well I was a draftsperson when all there was, was boards and T-Squares. And a common rule is if your information is too close, overlaps, etc to be understood then you use a leader to move it to an area where it is not so cluttered.
    Your issues with OpenOffice and MS Office I can't address because I'm not interested in either of those products within this thread.
    So please if you have a suggestion as to how to solve my issue then I welcome your comments. But if you're here just to "complain" about others complaining I can just ask, what's your point?

  • Xcelsius - Embedded 'Jpg' logo not visible, Pie chart Legends not visible

    Hi,
       I am new to xcelsius. could you please help.
       I have two issues.
      1. I incorporated Logo (JPG FILE) and selected options Embed file, resize image to component, but image is not visible when I preview. Why? What needs to be done to make logo visible in preview(swf file). I did not export yet to Infoview though.
    2. Legend values are cropped. I have 35 legends that are to be listed for pie chart. I can see only 31 and remaining four not visible (two from beginning, 2 at the end). I reduced font to lowest visible value i.e.  8 and increased height max possible that looks good . How to make them visible? or make them to fit to chart. Is there any option? Legend values are towards right of chart.
    Please help.
    BR, Nanda Kishore

    Hi,
       Are you using Image Component to insert your JPEG, if not try that. It will work as expected.
       As for your pie chart legends, it will work as long as your Pie Chart is large enough to fit all regions onto the screen.
       Try a simple test just to prove that concept.
          - Create 2 columns in Excel
          - Make Column A your Region Column. Insert up to 35 records
          - Make Column B you Data column. Also insert up to 35 records.
          - Now map your data into the Pie Chart and make sure you reduce the fonts of the region to "8" (Smallest it can go)
          - Preview it.
    Ken

  • Crystal 2008 Pie Chart Display Issues

    Hello all,
    I am having some problems with the Crystal Viewer displaying charts and legends. Basically, what is going on is, I have a report that displays a pie chart and legend containing data on departments within a store. I have 39 departments that need to show in the chart/legend, but only about 33 show up on the chart and 24 show up in the legend. Does anyone have any ideas if this is a limitation of the chart or anything?
    TIA
    -Coty

    There is no limitations for  pie chart and legend.   maximise the chart through edge draging.it shows all(increase the chart size)...
    All the best,
    Praveen

  • How to add more data point in Pie chart

    The default data point for Pie chart is 5, how could I add more data  point, I notice that I can do assign the cell to the value under data in General tab property of chart pie, but, in the sample drill down, there is no value for that value, and it still has 6 data point.

    Hi DFW
    The sample file has got the spreadsheet range missing thats all.  Just add the range you need to your pie chart.
    Regards
    Charles

  • Add Custom Color to pie-chart

    I have requirement to add specific color to each element in pie-chart.
    Below is my code for pie-chart with static json.
    Instead of the default colors given by the viz charts, I want to have red, green, orange and blue color in the pie-chart.
    Has someone changed the colors successfully?
    var oModel = new sap.ui.model.json.JSONModel({
         businessData : [
                   {Country :"Canada",revenue:2410.87, color: "red"},
                    {Country :"China",revenue:638.29, color: "green"},
                    {Country :"France",revenue:487.66, color: "orange"},
                    {Country :"Germany",revenue:170.23, color: "blue"}
    var oDataset = new sap.viz.ui5.data.FlattenedDataset({
             dimensions : [ {axis : 1, name : 'Country',  value : "{Country}" } ],
             measures : [ { name : 'Revenue',  value : '{revenue}' } ],
             data : { path : "/businessData" }
    var oBarChart = new sap.viz.ui5.Pie({
              width : "80%", height : "400px",
              plotArea : {
                       'colorPalette' : d3.scale.category20().range()
               title : { visible : true, text : 'Revenue By Country' },
               dataset : oDataset
    oBarChart.setModel(oModel);
    oBarChart.placeAt("sample1");
    Thanks,
    Shashi

    After lot of permutation and combination, I figured it out how to change the color.
    Changing colorPalette to 'colorPalette' : ['#00B050','#CCFF66','#FF0000','#FFC300'], it worked
    var oBarChart = new sap.viz.ui5.Pie({
              width : "80%", height : "400px",
              plotArea : {
                       'colorPalette' : ['#00B050','#CCFF66','#FF0000','#FFC300']
               title : { visible : true, text : 'Revenue By Country' },
               dataset : oDataset

  • How to display PIE chart Axis label horizontally?

    Hi
    Currently my PIE chart axis label is displying in 2 lines. How make it to display in one line?
    Thank you

    hi,
    For Pie chart there will be no X-axis or Y-axis terms generally.
    Label/Text could be one of the following.
    Title?
    or Sub Title?
    or Foot note?
    Right Click -> Format Title . Reduce the font size such that it fits into a single line.
    Regards,
    Vamsee

Maybe you are looking for

  • DIFFERENT Currencies for PO Line Item

    Hi Frndz, On a Purchase Order with more than one line item, the different items can have prices with DIFFERENT currencies? In my case first line item currency is getting copied to all line item and after that, currency feild is grayed out. But client

  • How to disable the sizing option in docking container

    Hi experts, I have created a grid in a docking container ( cl_gui_docking_container ) which will appear on the selection screen, docking at the bottom. The requirement is to disable the resizing functionality of the grid when I use the sizing arrow w

  • Can Airport Extreme be set as remote in a WDS?

    I have set a WDS with an Airport Extreme set as main (n) and two Airport Express set as a relay (g) and a remote(n). I just got a Time Capsule wich I will set as my new main. Now I would like to have my old Airport Extreme set as a relay or remote...

  • Lightning Adapter (to 30 pin) work in old docking speaker?

    Hi all I want to know if i buy iphone 5 and buy the Lightning Adapter Lightning Adapter (to 30 pin) work in old docking speaker? thank you

  • Artwork Button Grayed-Out

    I have some MP3s of an unknown sample rate and different bit depths. I would like to add artwork to these files, but iTunes has the artwork button grayed-out. I can convert the MP3s to AAC, but the quality will suffer, and I don't have the original u