ActiveX pie chart range limit

I have a problem with creating a pie chart using ActiveX that seems to be related to the range. When I give it a source of 8 cells (source 1) the pie chart works fine (Right Pie). If I give it 9 cells (source 2) the pie chart data has 9 series instead of the 1 it should have (Wrong Pie). If I go into Excel I can correct it manually. I have been using this sub VI for a while with no problems but always with fewer than 8 cells. 
I am using Excel 2007 version 12.
Attachments:
M-51539-001 Create Pie Chart.vi ‏108 KB
Right Pie.JPG ‏124 KB
Wrong Pie.JPG ‏114 KB

Attached is part of the sub-vi where I am having the problem. I tell Excel which cells to use for the pie chart. If I use "Source 1" (8 cells) the pie chart is created successfully. If I use "Source 2" (14 cells) the pie chart only uses the first cell. I can go to the Excel file and select all 14 cells manually and the pie chart displays correctly. I also tried 9 cells with no luck, it seems that 8 cells are the limit. I am trying to find what is causing the limitation. I have also attached the sub-vi. 
Attachments:
Pie chart block diagram.JPG ‏61 KB
M-51539-001 Create Pie Chart.vi ‏108 KB

Similar Messages

  • Drill through in Pie Chart/Range Guage

    Hi
    I enable drill thorugh in my Pie Chart and Range Guage( Dial Guage) in the BAM reports.
    How to change the value format for the drill through fileds. IF we go to the value format the drop down for filed selection just shows the fields used to configure the Guage or pie chart and not the fileds used for drill though
    How can we change the format for the fields used for drill through
    TO reproduce
    Just take some id, process name, exceution time,status( success/failure). The dial guage shows just the execution time average.Now in drill through it has details for id. processname, started/failure. How to change the format for these fields.When u select properties and then go to value format tab and the dropdown for fields will show only execution time not status, processname or id.
    How to change the value format for these fields

    I don't think this is a bug. This happens only for the drill through reports that get created by default for a particular view. Because you are trying to look for formatting options for drill through report from the context of your main report editor, you are finding it as bug. It will be very difficult to provide all such options for DEFAULT drill through report in the context of MAIN report. I think may be we can add a line or two in our documentation to clarify this part, that should be sufficient.

  • ActiveX and pie chart problem

    I am trying to create a bar of pie chart in Excel 2003. I am able to insert my data and create the chart, but I need to set the "SplitValue" to 6. I was able to find the property for doing this but I get an error when I run the vi (see attached).  Any thoughts?
    Solved!
    Go to Solution.
    Attachments:
    ActiveX Error.PNG ‏45 KB

    I think your problem is that you don't have "Index" wired for the ChartGroups property. Thus, it may be returning a collection of chart groups, but you are typecasting it to a single chart group.

  • 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

  • Pie chart bug in Numbers 3.0 on OS X?

    When I select a range and try to make a pie chart, the pie chart always shows 100% full for the first item, and completely ignores the other items to be included in the chart.
    I tried to do a 95% / 5% pie chart and no matter what I do, the pie chart only comes out as 100% full.

    Hi Rafagon,
    Try clicking the chart, then the blue 'Edit Data References' box, then in the lower left of your screen, change Plot Rows as Series to Plot Columns as Series, or vice versa.
    SG
    (That's a trick Ian taught me in the old Numbers, where the rows/columns switcher was in a different position.)

  • 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

  • Crystal Reports 2008 Pie Chart Data Labels

    Hi,
    I've been trying to figure out why I cannot get the option to put pie chart data labels in the center of each slice.  There's an option to place them there, but everytime I select it, the graph reverts to putting the data labels on the outside with leader lines.  I was able to do it once, for one pie chart, but have not been able to get it to work for any others.  I've even tried creating a pie with only two slices in case there's a slice size limit below which the data is placed outside.  There doesn't seem to be any rhyme or reason why it worked once and now won't work again.
    Thanks,
    -Jim
    Edited by: jwmckay on Apr 23, 2010 7:19 PM

    Hi Jim,
    The issue could be faced because of the 'Auto-arrange' layout option enabled from Chart Expert within the report.                                                                               
    This option allows Crystal Reports to reset the chart layout to its original size and position  
    To uncheck the 'Auto-arrange option':                                                                               
    - First Go to Chart Expert-                                                                               
    - Click on the Options Tab                                                                               
    - Uncheck Auto - Arrange                                                                               
    - Click OK                                                                               
    I hope this helps,
    Selenia

  • Pie Chart Issue(Bug)

    Hello All,
    In the Pie chart the below data is mapped
    Range    Value
    <6         12
    6-12      23
    >12       15
    But in the preview while mouse over on the pie chart it is not showing the "<6" any time.
    but it is showing ">12"
    The problem with the Symbol "<" .
    Did anybody noticed that.
    Let me know how to solve this one.
    Thanks
    Santhosh V

    Hello David,
    Is that showing correctly in your machine ,How come man,
    Just have look in the samples of the Xcelsius File->Templates->HR->Componsatation ,
    Run that Dashboard in that dashboard observe when ever your changing in the combo box to "Tenure" In the pie chart observe the value  for the "<=25 Years" Label is not showing in the Pie chart when ever the user mouse over on the pie chart.
    Thanks
    Santhosh V

  • Drill down to detail reports from a Pie Chart

    Is it possible to code for drill downs in a Pie Chart to a detail report based on the section that is clicked in an RTF template?
    Can anyone provide an example for this?

    Hi Raja,
    I used CEO LOG ON TOKEN to avoid asking for credentials  when im trying to access the dash doard form another dashboard.
    From connections we can have flash variable
    Note : Names are case sensitive here in flash variable so name it as shown below
    Define its name as CELogonToken
    Variable Format as CSV
    Variable data -->under ranges define a range :
    Name it as CELogonToken
    Range :map to a excel cell (Ex Sheet1!A$2)
    From info view you can find DOC ID  suppose your DOC ID is 9609
    Then frame your URL AS
    http://sapdev:8080/Xcelsius/opendoc/documentDownload?iDocID=9609&sKind=Flash&CELogonToken=
    in another cell Concatenate the above your with your Logon token captured in Sheet1!A$2
    suppose your url is in 'Sheet 1'!A$6
    then your formula cell for concatenation should be 'Sheet 1'!A$6 & Sheet1!A$2
    Use a url component and map the concatenated url cell to the component and place it over your  pie chart.
    uncheck show button background
    try this and apply according to your scenario.
    Hope this works..
    @Sri

  • 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

  • Problem creating pie-chart

    Post Author: ujain82
    CA Forum: Desktop Intelligence Reporting
    Hello,      I am using BO 6.1
    I am having trouble creating pie chart. I am calculating different count values from different data providers. Now I need to create a pie chart showing the proportion for each count as I can find the percentage of count.
    My scenario(task):I need count on persons depending on searching on complaint text. So for each search I have a data providers. Like this I am searching for 8 criteria. So I have different data providers for each search. I get person counts from each criteria.
    Now I want to show it in a pie chart. But I could not make it done.Does anyone faced a similar problem? How do I solve my problem?
    Any comments?

    Attached is part of the sub-vi where I am having the problem. I tell Excel which cells to use for the pie chart. If I use "Source 1" (8 cells) the pie chart is created successfully. If I use "Source 2" (14 cells) the pie chart only uses the first cell. I can go to the Excel file and select all 14 cells manually and the pie chart displays correctly. I also tried 9 cells with no luck, it seems that 8 cells are the limit. I am trying to find what is causing the limitation. I have also attached the sub-vi. 
    Attachments:
    Pie chart block diagram.JPG ‏61 KB
    M-51539-001 Create Pie Chart.vi ‏108 KB

  • Customizing a pie chart for a personal finance sheet?

    Hi,
    I am creating a personal finance sheet, and I'd like to get a visual sense of where my money is going. I've put all my expenses in a table and added a column to indicate the sort of expenditure. Food, Clothes, CD's, etc.
    I'd like to use a pie chart to show which percentage of my money is going to each. Ideally I could link a category from a popup-menu to a section of the pie, but I cannot find a way to manipulate the selection of the sections of pie. Does anyone know of a way to accomplish this either dynamically or manually?
    One way I can think of would be to sum the sorts of expenditures in another table and using that to make the chart, but I don't know how this is possible.
    Thank you

    I named the first table "Main"
    In the second table
    column A contains the names of different kinds of expenses
    column B contains:
    =SUMIF(Main :: B,A,Main :: C)
    column C contains:
    =A
    column D contains:
    =B/(SUM(B))
    Given that we may chart the range C2…D4
    Yvan KOENIG (from FRANCE lundi 22 septembre 2008 18:51:43)

  • 3D Pie chart from Excel to labview

    Hi every one,
    How can I Import a 3D pie chart from Excel to labview ?
    Thx

    There is no direct import mechanism for that. You would need to re-create the pie chart in LabVIEW, as LabVIEW has different 3D graphs than Excel. You would need to get the data out of Excel and use the 3D graphs to draw it. As for getting the data out of Excel, there have been numerous posts on reading data from Excel using ActiveX - just search for "read excel labview". You can also find many links to lots of other examples in the Excel thread. Please note: the Excel thread is a repository of links. Do not post a question in that thread.

  • 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

  • ITS and Pie Charts

    We need to display charts (bar and pie) in a Web report/application running on SAP 4.6 and ITS (no WebAS, no BSP, no Portal). We need those charts to be real-time (not saved as a static image). The charts are user-specific. How would you do it?
    I have few ideas:
    1. Build bar charts with HTML tables or image blocks. No pie charts are possible.
    2. Generate PDFs using Sapscript/Smartforms and call PDF from the Web page. Questions: Can you have charts in this solution? Can you generate those PDFs on the fly?
    3. Use Adobe SVG for client side charts (SVG viewer is required)
    4. Use ActiveX or Java Applets
    Thank you for advice.

    Kai,
    It's a great suggestion to use IGS. But I am still not sure how this would work. Yes, I can use classes in the ABAP dialog program to call IGS. But how do I pass the images to ITS?
    I see few possible scenarios. Am I close?
    1. Responding to a call from ABAP, IGS is generating a GIF image and saves it in a location accessible from the Web (e.g. ITS WGate or IGS server). IGS is returning a reference for the image name/location to the ABAP dialog program. The reference is passed to ITS HTML template.
    2. Responding to a call from ABAP, IGS is returning a bitstream of the image back to the calling program. There should be a way to save it as GIF in ABAP and post the GIF image to WGate as a MIME object. Also, if I can save it a GIF in SAP, I can alternatively build a smartform that would use that newly generated GIF and convert the document into a PDF an then display the PDF with a text and charts on the Web.
    3. You call IGS directly from ITS, not the ABAP. You pass parameters to IGS telling what chart do you need and what data to use. IGS returns a GIF image back to ITS.
    Can please provide some clarity here.
    Thank you,
    Andre Polakoff

Maybe you are looking for

  • External Interface and Mouse Clicks

    I'm new to writing ActionScript. I am working in .NET (C#) environment using AxShockwaveFlashObjects. I am simply trying to react to a mouse click on the Flash ActiveX Control. I have inserted the code in a layer only used for script: import flash.ex

  • Spry menu bar lost current page code

    I sure can use your help. On this site http://www.evtn.com/ I created a drop down menu that originally had the current-linked page in a blue background like the one that is now permanently sitting on the HOME page link. But it stopped working. I want

  • Investment grant on asset

    Hi all, I would like to know how it could be possible to integrate investment grant on a legacy asset. I have two kind of assets : asset capitalized on a previous fiscal year asset capitalized on the current fiscal year Integrating investment grant f

  • Why do I need to re-authorize my iphone after upgrades for songs given to me from friends?  It requires me to put in their password.

    It seems like after every iphone upgrade when I go to sync the phone I get a message stating that their are songs that will be deleted without a new authorization.  These are songs that I have gotten over the years legally from friends.  In order to

  • Using Voice Control for music in multiple languages?

    Hi. I'm looking to get an iPhone 3GS and excited about Voice Control. However, I am worried because some of my music library is actually in foreign languages, with the titles and artist names written in their native languages. If I have Voice Control