PieChart

How can I create a pie-chart based on time? Essentially what I am trying to create is a broadcast clock.

The trick is to enter durations for the shows and convert those to decimal hours:
The table on the left takes durations (Column titled Duration) and converts to decimal hours.  The table on the left uses the information for a pis chart:
I would get a nice picture of a clock to put behind the pie chart and make the pie chart transparent:
The table the converts durations to decimal hours:
C2=DUR2HOURS(B2)
select C2 and fill down
The last cell in column B (Unused Time) =DURATION(,,24-SUM(B2:B22) )
enter durations as a "Xh Ym"  where X is an integer 0 to 23 and Y is an integer 0 to 59

Similar Messages

  • Legend in not shown in report output for a piechart

    Hello,
    I have a piechart embedded in a report.
    In the graphics builder for the properties of the chart I have mentioned to show legends .It(Legend) is being shown in layout of graphics builder also .
    But when i run the report legends are not all being displayed .Even I tried the following code also
    val := og_get_gegend(template);
    if val = true then
    og_set_legend(template,true);
    else
    og_set_legend(template,false);
    end if;
    I even foun that control is going to if condition but report ouput does not have legend
    Please help in giving a solution for this
    Thanking in advance

    Peram,
    Can you please elaborate your answer as I am not able to understand what you are trying to say.
    Regards,
    Ravi

  • How to increase the size of piechart in ssrs?

    Hi how to increase the size of piechart in my design mode its showing very large one,when running/preview mode its displaying very small, i have total 10 values to dispaly in the legend series values,So here i have set the visibulity option to out side ,
    so if the pie chart is dispalying small ,the values of the legend will come in one place and ,so can you suggest me how to increase the size of my chart and how would i show my legend values separatly without closing one by one.
    Can some one please help me out for this..

    Hi Ychinnari,
    According to your description that you want increase the size of pie chart in the design mode to make all the ten values in the legend series to display, you have do some setting but the pie chart still display very small and not display some of the
    values, right?
    I have tested on my local environment and found that the display of the chart legend value can be effect by many factor: the size of the chart, chart area position and chart legend position.
    Details steps below for your reference about how to set the properties to make all the legend values display correctly:
    Select the Chart properties and expand the size and increase the values for the width and the height, then preview to see if all the legend values are display.
    If this do little help, the problem due to the chart area position and chart legend position need to reset too.
    Select the chart area properties and expand the CustomPosition under the Position, choose the Enabled to true and  reset the Width, height of the pie chart.
    Reset this properties to make the chart area more Narrow, thus we can set the Legend area more wider.
    Select the chart Legend properties and expand the CustomPosition under the Position, choose the Enabled to true to reset the Width, height of the chart Legend
    Reset this properties to make the Legend area more bigger (wider and higher) thus it will display more values in the Legend area.
    If your problem still exists, please feel free to ask.
    Regards
    Vicky Liu

  • Piechart legend in the WAD

    Hi,
    In the WAD i am using piechart to display the data, The query which is used in the wad has quarter in rows and Amount values in columns
    My question here is, is it possible to show both the amount & quarter values in the legend of the piechart.
    Regards
    Geetha

    Hi Geetha...
    It is possible to show the amount & quarter values in pie chart....but go through the links below ......may be this will give you some information toooo....
    http://help.sap.com/saphelp_nw04/helpdata/en/1a/456a3badc1b315e10000000a114084/content.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/749a4622-0a01-0010-36bf-b6b30a2a3a22
    http://sap.ittoolbox.com/groups/technical-functional/sap-solution-manager/bw-web-application-designer-1955944
    http://help.sap.com/saphelp_nw70/helpdata/en/88/4d354277dcb26be10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46376d-0601-0010-83bf-c4f5f140e3d6
    Regards
    Sudheer

  • How to set minimum size for PieChart wedge?

    The following chart has one wedge that is very thin. I know it is because the data value for that wedge is very small (262) compared to the other wedge data values, but I'd like to be able to set a minimum wedge size.
    Any ideas?
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
      <mx:Script><![CDATA[
         import mx.collections.ArrayCollection;
         [Bindable]
         public var expenses:ArrayCollection = new ArrayCollection([
            {Expense:"Jan", Amount:2200000},
            {Expense:"Feb", Amount:4700000},
            {Expense:"Mar", Amount:2300000},
            {Expense:"Jul", Amount:262}
      ]]></mx:Script>
      <mx:Panel title="Pie Chart">
         <mx:PieChart id="myChart"
            dataProvider="{expenses}"
            showDataTips="true"
         >
            <mx:series>
               <mx:PieSeries
                    field="Amount"
                    nameField="Expense"
                    labelPosition="callout"
               />
            </mx:series>
         </mx:PieChart>
      </mx:Panel>
    </mx:Application>

    This might be close enough to what you're looking for:
    The FB 4 code is shown below:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        minWidth="955" minHeight="600">
        <fx:Script>
         <![CDATA[
            import mx.charts.HitData;
            import mx.collections.ArrayCollection;
            import mx.controls.Alert;
            import mx.utils.ObjectUtil;
            [Bindable] private var Amount:String = "";
            [Bindable] private var minAmount:String = "";
            [Bindable]
            public var expenses:ArrayCollection = new ArrayCollection([
            {Expense:"Jan", Amount:2200000, minAmount:2200000},
            {Expense:"Feb", Amount:4700000, minAmount:4700000},
            {Expense:"Mar", Amount:2300000, minAmount:2300000},
            {Expense:"Jul", Amount:262, minAmount:50000}
            private function getDataTips(hitData:HitData):String {
                // add percent when the user gets the DataTip
                var percentValue:Number = (hitData.item.Amount / 9200262) * 100;
                var f:int = 3;
                if (percentValue > 1) {
                    f = 1;
                return hitData.item.Expense + ": " + percentValue.toFixed(f) + " % (" + hitData.item.Amount + ")";
            private function getData(series:PieSeries, item:Object, fieldName:String):Object {
                if (item.minAmount != 50000) {
                    return item.Amount;
                    psExpenses.setStyle("labelPosition", "callout");
                } else {
                    return item.minAmount
                    psExpenses.setStyle("labelPosition", "none");
         ]]>
        </fx:Script>
        <mx:Panel title="Pie Chart">
         <mx:PieChart id="myChart"
                 dataProvider="{expenses}" dataTipFunction="getDataTips"
                 showDataTips="true">
            <mx:series>
                <mx:PieSeries id="psExpenses" nameField="Expense" dataFunction="getData"/>
            </mx:series>
         </mx:PieChart>
        </mx:Panel>
    </s:Application>

  • How to create DVT Clickable Piechart in ADF Mobile framework

    Hi All,
    I am working on ADF Mobile app which displays piechart component on the mobile UI screen. I want to have clickable piechart which the user will click to navigate to next page to show more details of the pie clicked/touched.
    I have looked into this doc link below but there is no info on how to create a clickable pie chart.
    http://docs.oracle.com/cd/E37975_01/doc.111240/e24475/amxui.htm#ADFMF670
    Is there any documentation on how to do that?
    Thanks.
    -Nirav
    Edited by: Shah23 on May 29, 2013 11:10 AM

    Hi Nirav,
    There is an action attribute on the dvtm:pieDataItem tag where you can specify which action to take when the user touches the pie slice.
    Hope this helps
    Katia

  • Piechart using Webdynpro ABAP

    Hi..
    Is possible piechart using Webdynpro ABAP?
    Can anybody help me with step by step!!
    Regards,
    S.Suresh.

    Hi Suresh,
    Yes, it is possible to create Piecharts in WD abap. You need to use business graphics UI element.
    Refer these links:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/ed/258841a79f1609e10000000a155106/content.htm
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/ca932ebc-0901-0010-68a0-b4dd81a4bf81
    I hope it helps.
    Regards
    Arjun

  • Using complex objects in PieChart

    Hi there,
    Can someone steer me in the correct direction!
    I have a pie chart that is bound to my model, an AC of VO's. The VO's are news articles with date, time, id, link, reach (value of 0-30 by increments of 5). When I set the data provider to this AC, and specificially to the reach property, I get a pie chart with tons of slices (one for every item in my AC) that are not grouped in any way. I'm looking for a way to group like objects.. For example, I'm looking for a chart that can tell the user, your list looks like this, 50% high reach 25%med reach, and so on..
    If anyone can help get me going I'd really appreciate it!
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas
         xmlns:mx="http://www.adobe.com/2006/mxml"
         x="8" y="19"
         width="566" height="367"
         backgroundColor="#EDF8FA"
         cornerRadius="5"
         backgroundAlpha="1.0"
         borderStyle="solid"
         borderColor="#D3ECF1">
         <mx:Script>
              <![CDATA[
              import mx.collections.ArrayCollection;
              import mx.charts.chartClasses.Series;
              import com.ryancanulla.dashboard.content.vo.QueueItemVO;
              import com.ryancanulla.dashboard.content.business.utility.MetaConverter;
              [Bindable] private var _dataProvider:ArrayCollection = new ArrayCollection();
              private var _utilityConverter:MetaConverter;
              public function set queue(e:ArrayCollection):void{
                             _dataProvider = e;
              public function get queue():ArrayCollection{
                             return _dataProvider;
              private function onTotalByReach(series:Series, item:QueueItemVO, fieldName:String):Object{
                             //trace("fieldName: " + fieldName);
                             _utilityConverter = new MetaConverter;
                             //trace(_utilityConverter.convertPossibleReachData(item));
                             return _utilityConverter.convertPossibleReachData(item);
              ]]>
         </mx:Script>
    <!-- Define chart effects -->
         <mx:SolidColor id="source" color="0X00b5fc"/>
        <mx:SeriesInterpolate id="interpolateIn" duration="1000"/>
        <mx:Fade id="fadeIn" alphaFrom="0" alphaTo="1" duration="1000"/>
        <mx:Fade id="fadeOut" alphaFrom="0" alphaTo="1" duration="1000"/>
    <!-- Define Pie Chart -->
              <mx:PieChart
                        id="alexaRankChart"
                        dataProvider="{_dataProvider}"
                        width="377" height="258"
                        showDataTips="false"
                        x="10" y="80">
                         <mx:series>
                            <mx:PieSeries
                                 field=""
                                 nameField=""
                                 labelPosition=""
                                 dataFunction="onTotalByReach"
                                 />
                        </mx:series>
              </mx:PieChart>
              <mx:Legend
                   dataProvider="{alexaRankChart}"
                   showEffect="{fadeIn}"
                   labelPlacement="right"
                   direction="vertical" 
                   x="421" height="197"
                   y="80" width="133"
                   backgroundColor="#FFFFFF"
                   borderStyle="solid"
                   borderColor="#D3ECF1"
                   cornerRadius="5"
                   paddingTop="15"
                   paddingLeft="10"/>
    <!-- Define Container Elements -->     
              <mx:Label
                   x="10" y="10"
                   text="Breakdown by site traffic."
                   fontWeight="bold"
                   fontSize="18"
                   color="#000000"
                   fontFamily="Verdana"/>
              <mx:TextArea
                   x="10" y="36"
                   borderStyle="none"
                   backgroundAlpha="0.0"
                   width="365"
                   fontSize="12"
                   height="75">
                   <mx:text>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse eu. Met, consectetur adipiscing elit.</mx:text>
              </mx:TextArea>
              <mx:TextArea
                   x="3" y="344"
                   borderColor="#D3ECF1"
                   cornerRadius="5"
                   text="* Traffic breakdown based on Alexa rankings system. &#xd;"
                   fontStyle="italic"
                   width="414"
                   editable="false"
                   height="20"
                   paddingTop="0"
                   paddingLeft="10"
                   backgroundAlpha="0.0"
                   fontSize="9"
                   borderThickness="1"
                   borderStyle="none"/>
    </mx:Canvas>

    You need to pre-process your data before you feed it to the chart:
    var reachBreakdown:Object = {};
    for each (var o:Object in myData) {
        reachBreakdown[o.reach] = (reachBreakdown[o.reach] || 0) + 1;
    var reachData:Array = [];
    for each (var reachCategory:String in reachBreakdown) {
        reachData.push({ category: reachCategory, count: reachBreakdown[reachCategory] });
    Set the pie's dataProvider to 'reachData', its field to 'count' and its nameField to 'category'.

  • How to show PieChart Vertically instead of Horizontally?

    Hi,
    Like the title indicates, I hope that is there property or
    method or event allowing to show a PieChart Vertically instead of
    horizontally.
    Cheers,

    for example :
    my pie chart represents two values : 50% and 50%. How this
    values will be shown in PieChart? the answer is vertically the
    first 50% in the top and the second one in the bottom.
    What I want is to show the values horizontally that's mean in
    this example the first 50% in the right and the other one in the
    left.
    Thank you in advance :)

  • Customization of PieChart  in CeWolf and JFreeChart

    Hi all,
    I am working on the web based charting application.
    I am new to this cewolf and jfreechart api.
    I have created some Pie Charts based on the data fetched from the database.
    It works fine but the problem is that i want to customize the colors in the different pie slices of the PieChart.
    I have searched alot on the net and found that I have to implement the interface ChartPostProcessor and provide a method processChart(). But I don't get any examples regarding that. Please give the piece of code that sets the different color on the pie chart.
    Any suggestion would be appriciated greatly.
    Thanks in advance.

    you will need to create a class that implements the ChartPostProcessor, and do something like the following.
    public class GraphPropertiesProcessor implements ChartPostProcessor{
         public void processChart(Object chart, Map params) {
              JFreeChart jChart = (JFreeChart)chart;
              PiePlot plot = (PiePlot) jChart.getPlot();
              plot.setSectionPaint(0,java.awt.color.red);
    plot.setSectionPaint(0,java.awt.color.green);
         }

  • PieChart  Eventing

    hi,
    I am trying to create a piechart model using HTMLB.
    Is there any eventhandlers for chartmodels?(like we have onCellClick,onHeaderClick etc. for TableViewModel)
    I want to open a jsp page depending on the sector(in the pie chart)clicked by the user.
    Awaiting Reply.
    Regards
    SwarnaDeepika
    Message was edited by: SwarnaDeepika

    Hi Detlev,
    I am not able to view the pie-chart!!
    its not throwing any exception but the chart is not getting displayed.i've attached the code below--
    Beanclass----
    public class PieChartModelBean implements Serializable {
    private VectorChartModel model;
    public PieChartModelBean() {
         model = new VectorChartModel();
         createNewChart();
    public void createNewChart(){
              model.addItem("gr1","A", "7", "20", "Information to block A");
            model.addItem("gr1","B", "4", "20", "Information to block B");
    public void setModel(VectorChartModel model){
         this.model=model;
         public VectorChartModel getModel() {
         return model;
    JSPdynpage----
    public static class PieChartModelDynPage extends JSPDynPage{
        private PieChartModelBean myChartBean;
        VectorChartModel model = null;
        public void doInitialization(){
           myChartBean = new PieChartModelBean();          
           myChartBean.setModel(model);
          IPortalComponentProfile profile = ((IPortalComponentRequest)getRequest()).getComponentContext().getProfile();
          Object o = profile.getValue("myChartBean");
          if(o==null || !(o instanceof PieChartModelBean)){
            myChartBean = new PieChartModelBean();
            profile.putValue("myChartBean",myChartBean);
          } else {
              myChartBean = (PieChartModelBean) o;
    JSP page----
    <%@taglib uri = "tagLib" prefix = "hbj" %>
    <jsp:useBean id="myChartBean" scope="application" class="com.cts.CogNet.PieChartProject.Bean.PieChartModelBean" />
    <hbj:content id="myContext" >
      <hbj:page title="PageTitle">
       <hbj:form id="myFormId" >
    testing
    <hbj:chart
               id="myChart"
               model="myChartBean.model"
               visible="true"
               displayObjectValues="true"
               title="Resource count in company"
               chartType="PIE"
               legendPosition="EAST"
               colorOrder="SNAKE"
        />
    test2
       </hbj:form>
      </hbj:page>
    </hbj:content>
    Where have i gone wrong?(i'm not sure about the dynpage only)Please help.
    awaiting reply
    SwarnaDeepika
    Message was edited by: SwarnaDeepika
    Message was edited by: SwarnaDeepika

  • Halo around a Piechart

    I want to put a Halo around a Piechart the image must expand
    with the chart, meaning the the Halo can't be a fixed size.
    Thanks for the help

    Of course it's possible, and there are half a dozen ways to do it.
    The simplest is to open the titler workspace (click on the "T" on the bottom of the Monitor panel) and either type an "O" in the titler or draw a circle and, using the color tools, give it a stroke but no fill. Then position this object or letter over your son in your video.
    If you're son is moving and you want to track him, you'll need to keyframe a motion for the title so that it follows him.

  • Piechart not taking the exact values of table

    Hi,
    I am using the pie chart in WAD
    EX:-  I have the data like this
    Material        Revenue%
    1     65%
    2               12%
    3               10%
    4                7%
    5                2%
                    100%
    when we add these values 65121072= 96%
    Now when I see my pie chart , its not picking the values from table instead its rounding up the values to make the overall total in the piechart to 100
    Material        Revenue%
    1     68%
    2               12%
    3               10%
    4                8%
    5                2%
                    100%
    but I want to pick my table values ,how can this be done
    Thanks
    Priya

    Hi,
    Go to edit chart in the chart web item properties , it  displays he chart designer.
    IN the chart designer for pie chart go to the value properties( click next until u get step 3 out of 6-value properties).click on each categorz and in the for the label properties select "VALUE" instead of "PERCENT".
    Hope this will help you.
    venku

  • The piechart is getting hidden after a maximize and restore

    I am using a flex application where i have panels for various
    charts. I have pie charts in it as panel. these panels are
    resizable. but what happens in some time if i maximize the pie
    chart and then restore it the piechart is not visible. Some times
    it works fine, like when i restore it, the pie chart moves from
    right side and sits properly in the middle. Any idea whether this
    is a known bug?
    also what is observed is, if we try to resize the chart(when
    the pie is not visible) by pulling the corners the pie charts come
    to the middle position again..
    Any idea whether this is a known bug?

    Hi,
    I have the exact same problem as you with my daughters iPad 2. Have you found a solution?
    My daughters iPad 2 has been upgraded to IOS 7 for a while, and she complained about it sometimes turning off, restarting. Yesterday it could not be turned on at all. It was fully charged. She has been looking after it - no physical damage. Before upgrading to IOS 7 there were never any problems.
    Holding the home and sleep button for 10 or 15 seconds did nothing - black screen.
    Although she complained, we decided to wipe the whole thing, and start on a fresh. Could not enter recovery mode (pressing home, while attaching USB). Pressing home and sleep button for 10 seconds while connected to iTunes, causes iTunes to state that there is an iPad connected that needs to be restored.
    iTunes retrieves the the 7.0.4 package and starts the update. However when the Apple logo and progress bar appears nothing happens. iTunes just states "waiting for iPad". I have left it for periods of 1 hour, 2 hours or even 6 hours without any movement what so ever on the progress bar. Have tried with three different PC's - all with same result.
    If I keep the home and sleep button pressed for 10 seconds during the "stuck" update, the process starts over again - unpacking the 7.0.4 package, starting the upgrade and then nothing! Apple logo and progress bar not moving.
    Just checked my warranty - and it was bought in September 2011, so that is no solution. We are using PC's with Windows 7 64-bit with Windows update turned on and no other problems.
    Hope somebody can help :-)
    /Philip

  • Creating piecharts in jsp

    What is the current popular API to create piecharts in JSP pages?

    hi,
    for creating session,
    String uname = "admin";
    session.setAttribute("username",uname);
    for retreiving the value from session.
    String uname = (String)session.getAttribute("username");
    session is an implicit object in jsp, if u want to use in servlet Declare like this.
    HttpSession session = request.getSession();
    Bala

  • New iPad/3 commercial - What's the name of the earnings app with piecharts ?

    Hello,
    I would like to find out what's the name of the app from lastest ipad commercial with charts/piecharts/earnings, etc...
    Thx!

    Take a look at an app called Fuze.

Maybe you are looking for

  • How to display text in script as same as text in news paper

    Hi Expets I have a requirement i need to display text in script as same as text displayed in news paper with out creating any windows. iie ( Abcdef should be in one cloum after some space i need to display 1234) please let me know how can i achieve t

  • Mp3 format, still cannot transfer! Plz help!

    Hi, I am trying to transfer a file to my iPod. It says it is an mp3 format sound, the file can be played on iTunes, but when i try to transfer it, there is an error saying that "the song cannot be played on this iPod. What do i do? Plz someone help..

  • Using Rufus to create bootable USB Drives for Cisco ISE 3495 upgrade

    I will give a try in the lab but I just wanted to know if somebody else tried this option before.

  • OEM Reporting Cluster in Broken State

    I received a couple of errors in OEM the other day and they don't clear out. The cluster seems to be fine but I have the following collection errors in OEM: Target is in broken state. Reason - Compute dynamic property takes too long Anyone seen this?

  • Workflow question- psd - tiff- jpg

    Here are the submission rules I need to follow: * Convert your image into a 8 bit Tiff file (save as, Tiff) * In an image editing program such as Photoshop, upsize the image to a minimum of 48MB. (If you make your longest side 5200 pixels and keep it