Dvt:barGraph and inputRangeSlider componets usage

Hi,
I have a page which is implemented with dvt:barGraph. This bar graph represents the current inventory information. While representing the huge number of records over this graph, the graph is really not readable. Hence we would like to use the component
af:inputRangeSlider ... where user can enter window like start range & end range.
For ex: for the given search criteria we got 100 records. But user would like to see the records from 35th to 75th records. Using this slider component user selects the min & max ranges.
The question here is ... the bargraph is being rendered based on a VO. and the component we are specifying is an additional component. Do you have any idea about implementing this or is there any demo available.
Please let me know your suggestions about the same.
Thanks & Regards,
Kiran Konjeti

You can use bind variables in your VO's where clause. Drag the executeWithParams operation to your page and then manually
connect the range selector to the bind variable in your page.
Similar in concept to this:
http://blogs.oracle.com/shay/2011/01/adding_an_lov_to_a_query_param.html

Similar Messages

  • Dvt:barGraph, ActiveDataModelDecorator etc...

    (JDev 11.1.1.7)
    Has anyone succeeded in getting this combination to work?
    Just dropped (read only) ViewObject from data control as a dvt:barGraph on the task flow 's jsff fragment.
    And the data is properly displayed in the form of bar graph.
    I am _not using task flow call activity (ADS does not work in that case)
    Then tried to use active data service, by extending  ActiveDataModelDecorator
    In the overriden getModel() method, I am succesfully obtainend DataModel (by evaluating original barGraph value property from the fragment's pageDef).
    In the overriden getActiveDataModel() method, I am returning my custom BaseActiveDataModel instance, here is the code:
    public class GraphActiveModelClass extends BaseActiveDataModel {
        public GraphActiveModelClass() {
            super();
        protected void startActiveData(Collection<Object> rowKeys,
                                       int startChangeCount) {
            System.err.println("startActiveData() call");
            _listenerCount.incrementAndGet();
        @Override
        protected void stopActiveData(Collection<Object> rowKeys) {
            System.err.println("stopActiveData() call");
            _listenerCount.decrementAndGet();
        @Override
        public int getCurrentChangeCount() {
            return changeCounter.get();
        public void graphDataChange() {
            changeCounter.incrementAndGet();
        public void notifyDataChange(ActiveDataUpdateEvent event) {
          fireActiveDataUpdate(event);
        private final AtomicInteger changeCounter = new AtomicInteger();
        private final AtomicInteger _listenerCount = new AtomicInteger(0);
    So, I changed the value property for dvt:barGraph to point to  ActiveDataModelDecorator instance (registered as a session bean).
    And tried to run app.
    But, I am stuck with:
    java.lang.NullPointerException
        at oracle.adf.model.dvt.binding.common.CommonBinding.getStateKey(CommonBinding.java:114)
        at oracle.adf.model.dvt.binding.common.CommonBinding.getStateObject(CommonBinding.java:91)
        at oracle.adf.model.dvt.binding.common.CubicBinding.getProjection(CubicBinding.java:215)
        at oracle.adf.model.dvt.binding.common.CubicBinding.getProjection(CubicBinding.java:190)
        at oracle.adf.model.dvt.binding.transform.cube.CubeDataModel.getDataAccess(CubeDataModel.java:450)
        at oracle.adf.model.dvt.binding.transform.cube.CubeDataModel.getDataAccess(CubeDataModel.java:441)
        at oracle.adf.view.faces.bi.model.DataModel.getDataAccess(DataModel.java:405)
        at oracle.adf.view.faces.bi.model.ActiveDataModelDecorator.getDataAccess(ActiveDataModelDecorator.java:187)
        at oracle.adfinternal.view.faces.bi.renderkit.graph.GraphRendererUtils.updateCommonGraph(GraphRendererUtils.java:356)
        at oracle.adfinternal.view.faces.bi.renderkit.graph.RichGraphRenderer.updateImageView(RichGraphRenderer.java:361)
        at oracle.adfinternal.view.faces.bi.renderkit.imageView.RichImageViewRenderer.updateImageViewModelAndProperties(RichImageViewRenderer.java:581)
        at oracle.adfinternal.view.faces.bi.renderkit.imageView.RichImageViewRenderer.encodeAll(RichImageViewRenderer.java:486)
        at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1432)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:358)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:840)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
        at oracle.adfinternal.view.faces.util.rich.InvokeOnComponentUtils$EncodeChildVisitCallback.visit(InvokeOnComponentUtils.java:142)
        at org.apache.myfaces.trinidadinternal.context.FullVisitContext.invokeVisitCallback(FullVisitContext.java:154)
        at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:401)
        at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
        at oracle.adf.view.faces.bi.component.graph.UIGraph.visitTree(UIGraph.java:467)
        at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:469)
        at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    Te first line in the stackTrace, where NPE occurs actually is following statement (from CommonBinding.java:)
    sb.append(getBindingContainer().getBindingContext().getCurrentDataControlFrame());
    (sb is the StringBufer, and is not null)
    Any idea ?
    Any working sample anywhere ?

    Hi Shay, thanks for useful response. Here is getModel() method from my custom ActiveDataModelDecorator: 
    public DataModel getModel() {
    if (graphData == null) {
    FacesContext fc = FacesContext.getCurrentInstance();
    Application app = fc.getApplication();
    ExpressionFactory elFactory = app.getExpressionFactory();
    ELContext el = fc.getELContext();
    // This is EL to avoid typecasting to an Internal class.
    ValueExpression ve = elFactory.createValueExpression(el,
    "_original_graph_value_from_pageDef", Object.class);
    // Now GET the collectionModel
    graphData = (DataModel)ve.getValue(el);      
    return graphData;  
    Now, if I understand correctly, you suggest to avoid this way, and to build DataModel in another way, "by hand" ? I probably have a way to access ViewObject with data, but have no idea how to build DataModel instance from that data. Maybe you have one example how to do that ?
    P.S. sorry for formatting, this editor crazes me :-(

  • Dvt:barGraph - how to get value of clicked bar on browser side

    I am trying to implement a drill-down function where the end user selects a bar on the dvt:barGraph. I would need to be able to get the value of the selected bar, and pass this value to a third-party javascript library.
    I have tried experimenting with
    <dvt:shapeAttributes component="GRAPH_TWODMARKER" clickable="true" clickListener="#{backingBeanScope.backing_MyPage.barClicked}"/>
    The backing-bean method implementation is
    public String barClicked(ClickEvent event) {
    ComponentHandle handle = event.getComponentHandle();
    if (handle instanceof DataComponentHandle) {
    DataComponentHandle dHandle = (DataComponentHandle) handle;
    Double barValue = (Double) dHandle.getValue(DataComponentHandle.UNFORMATTED_VALUE);
    return "alert(\"" + barValue.toString() + "\");";
    else {
    return "alert(\"0.0\");";
    However, when I clicked on a bar on the graph I do not see the javascript alert method popup.
    I also tried
    <dvt:shapeAttributes component="GRAPH_TWODMARKER" onClick="#{backingBeanScope.backing_MyPage.onClicked}"/>
    using the backing-bean method
    public String onClicked(ComponentHandle handle) {
    if (handle instanceof DataComponentHandle) {
    DataComponentHandle dHandle = (DataComponentHandle) handle;
    Double barValue = (Double) dHandle.getValue(DataComponentHandle.UNFORMATTED_VALUE);
    return "alert(\"" + barValue.toString() + "\");";
    else {
    return "alert(\"0.0\");";
    However, using onClick causes the graph to be not displayed at all. All I see is a grayed-out area where the bar graph is supposed to be rendered.
    I can produced a javascript alert using the following:
    <dvt:shapeAttributes component="GRAPH_TWODMARKER" onClick="alert('hello');"/>
    Is there another technique I could try? If possible, I would like to be able to get the bar's value on the client side, so there is no AJAX call performed.
    The JDeveloper version I am using is
    Studio Edition Version 11.1.1.1.0
    Build JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407
    The web browser I am using is IE8, Version: 8.0.6001.18702IC
    Thank you.

    Has anyone came across this same problem before and were you able to solve it? If yes, how were you able to solve it?
    Thanks

  • Dvt:barGraph how to put anotation text at multiple positions

    We are rendering some data in the form of bargarph using dvt:barGraph.
    Here we want to achieve couple of usecases which are as following
    1) we need to put anotation text at multiple positions on the graph.
    2) We are using Reference Objects in the bar graph. The text that appears as tooltip for these Reference Objects, we want to render that text embedded in the reference objects as static text.
    how to acheive the above?
    I am using Jdev 11.1.1.3.0
    Thanks
    Ajay
    Edited by: Ajay on Mar 13, 2012 6:06 AM

    The "clipboard" service for copy and paste between applications on a PC is usually a built-in function of the operating system - Mac, Windows, Linux, etc. There are applications available for extending the clipboard feature; I use one named Clip Trakker which allows me to save multiple "text clips" of ''[say]'' text from the internet which are saved in Clip Trakker, and then paste each of those "text clips" into a different program like Word ''[I actually use Libre Office]''.
    I am not familiar with applications for Mac OSX, so I can't make any recommendations about an application.
    As far as extensions for Firefox, there are many extensions that come up in a [https://addons.mozilla.org/en-US/firefox/search/?q=clip&appver=any&platform=all search for "clip"] at the Add-ons Mozilla Org website. You can look to see if you can find any that will do what you want to do, like maybe this one: <br />
    https://addons.mozilla.org/en-US/firefox/addon/clipboard-plus/

  • Pagination Kind of Implementation for DVT:BARGRAPH

    Hi,
    Currently im using dvt:BarGraph component to display the inventory information. Since we are showing all the information at once, it is not readable to the user. Hence, we got the requirement something like this :
    1.Display the first 10 inventory information in the graph.
    2.And the on Click of Next button display next 10.
    3.Similarly on click of previous button display previous 10.
    This is exactly similar to table component pagination in 10g. And i'm not sure whether we can do it or ... But the whole point is to display the data to the user in chunks instead of all at once.
    It would be great if any of you can suggest me the best way to do this.
    Thanks in advance.
    Regards,
    Kiran Konjeti

    Has anyone came across this same problem before and were you able to solve it? If yes, how were you able to solve it?
    Thanks

  • Can't format dvt:barGraph integers correctly

    Hi OTN,
    I've got a DVT barGraph on my page, the values of the bars are only integers. Those integers are showed as '631,0' or '2,000', while I want them to be just '631' and '2'.
    How do I archieve this?
    Trying to mess with af:convertNumber, but no luck.
    <dvt:markerText id="markerText2" rendered="true">
                                    <dvt:y1Format id="y1Format1">
                                        <af:convertNumber type="number" maxFractionDigits="0"/>
    <!--                                     <af:convertNumber id="javax.faces.Integer"/> -->
                                        </dvt:y1Format>
                                </dvt:markerText>ADF 11.1.2.1
    Thanks.

    Ah, here what helps: <dvt:markerText id="markerText2" rendered="true">
                                    <dvt:y1Format id="y1Format1">
                                        <f:converter converterId="javax.faces.Integer"/>
                                        </dvt:y1Format>
                                </dvt:markerText>Even though JDev marks it as error, it works.
    Any other suggestions? I don't like this false error red mark. :)

  • Animations of  dvt:barGraph  with threeDEffect

    Hi,
    I have a use case to show 3D graphs with animation as graphs gradually increasing upwards during initial display.
    To achieve this i have set follwing properties on dvt:barGraph.
    threeDEffect="true"
    animationDuration="1000"
    animationOnDisplay="auto"
    animationIndicators="ALL"
    The animationondisplay=auto never shows animation with threeDEffect="true" , if i change this to animationondisplay=zoom, i do see the animation of zoom, during initial rendering.
    The moment i change threeDEffect="false" and animationondisplay=auto i do see the graphs gradually increasing upwards during initial display, but the graphs are no more 3D.
    Is this expected behavior? ThreeDEffect on graph does not support animationOnDisplay="auto"(graphs gradually increasing upwards during initial display)?
    I am using following jdeveloper version: JDEVADF_11.1.1.6.0_GENERIC_111205.1733.6192.1

    Has anyone came across this same problem before and were you able to solve it? If yes, how were you able to solve it?
    Thanks

  • Regarding dvt:barGraph individual bar as %

    Hi All,
    I am having a bargraph using dvt:barGraph with % in Y axis.But when the bars are showing in y axis then the % are not specific to the individual bars.They are like 0 20 40 60 80 100 % .I have three individual bars.So I want to show individual % of bar ..Please let me know how can we do that ....
    Here is my code :
    <dvt:barGraph id="barGraph1" subType="BAR_VERT_PERCENT" tabularData="#{pollSurveyBean.tabularData}"
    animationOnDataChange="ON" threeDEffect="true"
    seriesTooltipLabelType="TLT_DIM_MEMBER"
    imageFormat="AUTO"
    flashDefaultFontLoading="FLASH_DEFAULT_FONT_LOADING_ALL"
    dynamicResize="DYNAMIC_SIZE"
    animationOnDisplay="AUTO" drillingEnabled="false"
    markerTooltipTemplate="Y_VALUE"
    markerTooltipType="MTT_VALUES">
    <dvt:background>
    <dvt:specialEffects/>
    </dvt:background>
    <dvt:graphPlotArea borderTransparent="true"/>
    <dvt:seriesSet defaultFitlineType="FT_LOGARITHMIC">
    <dvt:series color="#4494d1"/>
    <dvt:series color="#f8b853"/>
    <dvt:series color="#999999"/>
    </dvt:seriesSet>
    <dvt:o1Axis scrolling="asNeeded"/>
    <dvt:y1Axis axisMinAutoScaled="false" axisMinValue="0.0"
    axisMaxAutoScaled="false" axisMaxValue="1.0" logarithmicBase="1">
    <dvt:numberFormat id="numberFormat1"
    numberType="NUMTYPE_PERCENT"
    leadingZero="false" decimalDigit="0"/>
    </dvt:y1Axis>
    <dvt:legendArea automaticPlacement="AP_NEVER"
    position="LAP_TOP" scrolling="asNeeded"/>
    <dvt:graphTitle text="#{pollSurveyBean.getQuestion}">
    <dvt:graphFont id="graphFont1" name="Arial" bold="true"/>
    </dvt:graphTitle>
    <dvt:y1MajorTick id="y1MajorTick1" tickStyle="GS_EXTENDED"/>
    <dvt:o1TickLabel id="o1TickLabel1"/>
    <dvt:legendTitle id="legendTitle1">
    <dvt:graphFont id="graphFont2" name="Arial"/>
    </dvt:legendTitle>
    <dvt:y1TickLabel id="y1TickLabel1"/>
    </dvt:barGraph>

    I found this thread while searching for a solution to a similar problem.
    We can reach a workaround by using <dvt:annotation>, see more: http://docs.oracle.com/cd/E24001_01/apirefs.1111/e12418/tagdoc/dvt_annotation.html
    So our page should look like:
    <dvt:barGraph id="barGraph1"
                  value="#{bindings.MyGraphView1.graphModel}"
                  subType="BAR_VERT_CLUST">
      <dvt:annotationSet>
        <af:forEach begin="0"
                    end="#{bindings.MyGraphView1.estimatedRowCount - 1}"
                    varStatus="vs">
          <dvt:annotation text="#{cf:getValue(bindings.MyGraphView1.graphModel, vs.index, 0)}"
                          series="#{vs.index}"/>
        </af:forEach>
      </dvt:annotationSet>
    </dvt:barGraph>In the page definition:
    <graph IterBinding="MyGraphView1Iterator"
           id="MyGraphView1"
           xmlns="http://xmlns.oracle.com/adfm/dvt" type="BAR_VERT_CLUST">
      <graphDataMap leafOnly="true">
        <series>
          <data>
            <item value="Salary"/>
          </data>
        </series>
        <groups>
          <item value="DepartmentId" label="DepartmentName"/>
        </groups>
      </graphDataMap>
    </graph>And this is the code of taglib function cf:getValue:
    public static Object getValue(oracle.adf.view.faces.bi.model.DataModel model, Integer row, Integer col)
      throws oracle.dss.util.RowOutOfRangeException, oracle.dss.util.ColumnOutOfRangeException
      oracle.dss.util.DataAccess da = model.getDataAccess();
      return da.getValue(row, col, oracle.dss.util.DataMap.DATA_VALUE);
    }AP

  • DVT BarGraph Style

    I am trying to write a new style XML file and apply it. There are two ways that I found in the documentation to set it.
    style tag on the dvt:barGraph element, which should be set to the path of the xml
    and
    the css, something like this:
    dvt|graph
    -tr-style-path: /adf/operaDefault/xml/barStyle.xml;
    -tr-font-family: Arial;
    I also tried
    dvt|barGraph
    -tr-style-path: /adf/operaDefault/xml/barStyle.xml;
    -tr-font-family: Arial;
    but nothing works. Anyone have any ideas of what I could be doing wrong?

    hi all,
    i also want to apply custom css for the bar graph.
    i didnt get following....what this barStyle.xml contains..???
    dvt|barGraph
    -tr-style-path: /adf/operaDefault/xml/barStyle.xml;
    -tr-font-family: Arial;
    }

  • Dvt:barGraph with no space between bars

    I have a dvt:barGraph that uses the BAR_VERT_STACK subType.
    Is the a way to make the graph so that the vertical bars appear next to each other, eg, there is no space between 2 consecutive bars?
    Basically, I want the bar graph to appear as a histogram.
    Thanks

    Betty,
    If your images are in jpg, you can open them with IE. Right click a file, choose Open With, choose IE.
    If your files are in the .psd format, you will have to use PSE.
    Regarding your first question...I'm a little confused as to if you mean borderless paper. Assuming you just want to print several images on one piece of photo paper with their edges touching, for ease of cutting I suppose, you can do that in PSE.
    Create a new canvas the size of your photo paper and assign the same resolution to it as your images. Open each image and drag/drop it onto the blank page. Arrange images as desired by locating said image in the Layers Palette, make that layer active and use the Move Tool to reposition it. Change layers to move a different image and so on.

  • Dvt bargraph not showing proper data on x axis

    hi,
    I am using a <dvt:barGraph> on my jsff page. It reads data from the viewObject. On x axis, i have set the values as date. For the very first bar, it displays the date correctly in format 'dd-month-yyyy' but for all the subsequent bars, it just shows the date i.E. just 'dd'.
    can anyone help plz?
    code:
    <dvt:barGraph id="graph1" value="#{bindings.viewObject11.graphModel}" subType="BAR_VERT_STACK"
    inlineStyle="height:160px; width:100%;" seriesEffect="SE_GRADIENT"
    seriesRolloverBehavior="RB_HIGHLIGHT" threeDEffect="true"
    contentDelivery="immediate" imageFormat="PNG" >
    <dvt:background>
    <dvt:specialEffects/>
    </dvt:background>
    <dvt:graphPlotArea/>
    <dvt:seriesSet>
    <dvt:series/>
    </dvt:seriesSet>
    <dvt:o1Axis/>
    <dvt:y1Axis />
    <dvt:legendArea automaticPlacement="AP_NEVER"/>
    </dvt:barGraph>
    jdev version:11.1.1.4.0
    Edited by: user12333779 on Feb 10, 2012 9:30 PM

    Hi Abhishek,
    For your questions, please check the listed items as below:
    1. The Cumulative Flow Diagram shows the flow of the items on your backlog, and it will only show the last 30 weeks of data. You can check the links below for more information about cumulative flow diagram:
    http://blogs.msdn.com/b/visualstudioalm/archive/2006/01/12/511845.aspx
    http://adiws.blogspot.com/2012/04/scrum-for-team-system-product.html
    2. If you want to check the work item status work items in a particular period, seems it's not available for TFS 2012. You can use work item query with start date and finish date and then create a chart by the query if you use TFS 2013 Update 2 or above.
    Check this page
    for more information. 
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • High CPU & Memory issues - Excessive and unnecessary CPU usage in Firefox for Windows (see also questions1003966 & 998289)

    I am using the latest version of Firefox, 32.0.1, on an HP Pavilion dv7-4141sa laptop computer, running Windows 8.1 Pro 64-bit. There should be more than enough power here to run a browser without any problem, yet the computer is regularly being overloaded by the browser's resource usage.
    I am currently measuring typical average CPU usage of 45% - with the browser minimised. That is to say, Firefox is not doing any browser jobs - it is not drawing on the screen - but it is using the most CPU of any process currently running. Why?
    I am an ex-software engineer, and my understanding of current application development technology is limited, but I think I can say with some confidence that many techniques and software architectures exist that enable the suspension of program activity, or at least its reduction to a very low bare minimum, when the program is not actually carrying out its design function, which is in this case to draw pictures of website data on a screen.
    There is a very serious problem here, one which means that I cannot run Firefox all the time, but have to kill it when I am not actively browsing, otherwise other applications cannot run to their full capacity. This is a great pity, because I have committed a lot of effort to making Firefox my primary web tool. It manages all my many bookmarks, contains my secure password manager (LastPass), manages my web security (via NoScript, AdBlock, and FlashBlock), just for a start.
    Before any well-meaning moderators or other commenters start down the usual trail of "have you done this, tried that, disabled the other", I should point out that I have followed all the advice I can find, with no positive outcome. This computer is running a fresh installation of Windows, and a fresh installation of Firefox. At the moment I am running a new test Firefox profile.
    The latest version of Adobe Flash, 14.0.0.179, is installed but disabled. When it is enabled and in use, Firefox's CPU usage seems high over longer periods, but overall there is little difference. It doesn't look as though the problem can be laid at Flash's door. A few other add-ins are installed, mainly those mentioned above, and Firefox is skinned with LavaFox v2-Green, but I have previously started from a clean installation, which has made little difference after an initial period during which things seemed to be better. Turning off or disabling various add-ons has made no discernible difference.
    Just now I turned Flash on, and after a long period with Firefox minimised, Resource Monitor reported Firefox at 8% average CPU and FlashPlayerPlugin at 0.32%. While running a small video, RM reports FlashPlayerPlugin at about 45% and Firefox at 8%. After the video, Flash went back down to around 0.4%, and after a bit more browsing Firefox went to around 17% minimised. There seems little rhyme or reason here, except that Flash does not seem to be the culprit, although Firefox does seem to consume less when fewer tabs are actually active, as you might expect. I just refreshed more than a dozen tabs, and now Firefox is at 30%, but still not back up to the higher figures. Weird.
    The CPU usage does vary a lot around the average, but 30% is still a lot for a program that shouldn't be doing anything above the minimum status maintenance, and still puts it at the top of my Top Process Monitor list. (Right now it's gone back up to 45%, without my using it in any way).
    I have Telemetry turned on, so presumably Mozilla is recording some of the relevant data.
    This is a very serious fault, which is more or less reproducible and which a lot of people seem to be experiencing. Probably more people have it than realise, because most users will not know anything other than that their computer slows down for some non-obvious reason; they may just think it's something to do with the computer itself, not knowing how to use the Resource Monitor and interpret the results.
    Oddly, the problem does not seem to occur when running Firefox under Linux Mint 17, where the response is snappy and the CPU usage ostensibly low; I am going to look at this in more detail shortly.
    I am not posting here for advice, but for information and as a form of bug report which hopefully other users will see. It will hopefully spare them a lot of effort and time in trying a lot of recommended "solutions" which will not work. The problem is inherent in the software, and can be solved only by Mozilla.
    I am willing to supply any diagnostic data requested; as I said above, I have also turned on "Telemetry". However, I will not be trying out any more reinstallation/new-profile/add-on disable-enable-delete cycles unless I am asked to for very specific reasons. Please do not suggest courses of action which have already been mentioned elsewhere on this forum. I have tried them all.
    The situation is very disappointing, but I have confidence that the Firefox developers will pin down the fault eventually and engineer a satisfactory solution that makes it viable to leave Firefox open all the time. Even with that restriction, it's still far better than the alternatives.

    I share jmward's frustration. This is not a bug report so much as a request for a badly needed feature, ie the ability to have Firefox be able to tell us which tabs on which windows are eating time so we can target them. There are some very poorly written web pages out there which just plain loop while making no updates or inconsequential updates on the page.
    This is not a OS problem; jmward runs Windows and I run Linux but we have the same issue. It is not a question of Firefox plugins or extensions, or even viruses; I have a new, clean Linux install but have the same problem on both my regular Firefox AND on a FRESH install of the latest Firefox (35.0.1) which has *NO* non-default plugins or extensions.
    Here is an example of a web page which will eat 100% of one CPU's time:
    http://patch.com/massachusetts/arlington/arlington-woman-allegedly-attacks-neighbor-snow-blower-0
    I will attach 3 images to back up my claim. All of the images show my dark blue system monitor (gkrellm) superimposed on the web page. The top graph shows CPU time. I have 4 CPUs in my machine, so 25% means the web page is eating 100% of one CPU equivalent.
    The first image shows the load of the offending page with elevated CPU usage along with the download net activity on eth0, but the CPU activity does not stop when the download activity is over.
    The second images show the steady state 100% CPU equivalent of this page just sitting there apparently doing nothing. It IS, however, doing at least two different things. I know from my regular Firefox where I have "Remove It Permanently" installed that if I remove the the little weather indicator in the upper right of the offending page that CPU utilization drops to about 40% of one CPU equivalent. If I use RIP to remove everything else right down to a bare screen that 40% utilization stays until I delete the tab.
    The third image shows the CPU utilization drop to zero when I delete the tab holding the offending page.
    Now I will add a note here: If the offending page is NOT the top tab in a window then it stops eating time. The offender will also stop eating time if I minimize the window. However if I have another window up but leave the offender up on top in its window it continues to eat time even tho I am looking at another window. The offender will continue to eat time even if its window is completely covered by another window, and it will also eat time if I switch to another desktop.
    I will often have half a dozen windows open, and there are many pages out there which will suck endless CPU time. Unless I want to open up a new tab on each window before I leave it there is likely to be some tab on top eating time uselessly. Get a couple of those going and Firefox becomes sluggish and can even stop responding for many seconds.
    I guess I not only want to have Firefox tell us which tabs are eating time, but I would also like it if Firefox would stop giving CPU time to any tab which is not visible because it is covered by some other window and/or it is on a desktop which is currently not showing. If you can stop a tab's CPU usage by reason of tab-not-showing then you should also be able to stop its CPU usage when the window is covered or on the not-top desktop. Indeed is there any reason to not schedule absolute CPU utilization priority to the visible tab on the window with focus and give time to the other tabs only when the visible tab isn't using time?
    My final thought on this is that I have had Firefox SO tied up sometimes that I swear their are web pages which are eating time even tho they are not the top tab. I regret that I do not have an example to show you. But Firefox grinds to a complete halt on a regular basis, and that is not acceptable. I am a programmer with long experience in multi-threaded programs so I *know* there is no reason you cannot do better. If there were another browser around which had the commitment to privacy which Firefox has I would probably switch out of shear annoyance. :-(

  • I have an iPad 3 with 64 GB of storage.  I am out of room, but when I add up my movies music and apps, my usage isn't even close to 64GB.

    I have an iPad 3 with 64 GB of storage.  I am out of space, but when I add up my movies music and apps, my usage isn't even close to 64GB. I used to have about a dozen movies.  One day they were just gone and couldn't sync back on. I used to think it was a syncing problem, but it is storage.   I have done a hard restart.  I have deleted some junk from "memory".  I have tried to "clean up" my iPad, but I am missing a ton of space.  Is there a trash can that I need to empty?  Are my movies still stored but inaccessible?  I have read forum posts about an "other" category in stoarge which I don't see on my iPad.  Not sure what else to try.

    Connect the iPod to your computer and look at the storage used by the various categories as shown in the colored bargarph in iTunes.
    An "other" larger than aboutn 1 1/2 GB usually indicates that the "other" includes corrupted files.  Usually restoring from backup eliminated the corrupted files. However, sometimes restoring to factory settings/new iPod is required.
    To restore from backup see:
    iOS: How to back up
      To restore to factory settings/new iPod see:

  • How could i get the kernel and user cpu usage for each process

    Hi all,
    In order to monitor the system CPU usage, I would like write a script to gather the kernel and user CPU usage for each process, like the prstat or top does. As always missing the shortlived kernel usage, prstat or top cann't get the precise CPU usage. I checked with the dtrace syscall, proc and fbt provider, but don't get which one is useful.
    Please provide your comments and suggestion.
    Thanks in adv

    mail2sleepy wrote:
    As I've studied the "dtrace" for a while, and seems Sun gives a pretty high score on this new feature.....I do want to know whether there's some probe can work for it, like writing a "dtrace" version prstat.You can write a prstat without dtrace. Because that's just polling at specific intervals and reading some process structures from /proc. You could have dtrace fire a probe every 5 seconds and read the same thing, but it wouldn't really be using any features of dtrace. Trhying to write it "in dtrace" doesn't make much sense.
    What you could do that would be harder via other methods is to fire a probe at process exit that displayed the process information including total CPU time. They could print exactly when processes exited. Doing that without dtrace would be very difficult.
    Darren

  • HT1454 i have an i pad 2 and apple componet av cables. can i play videos from itunes? i cant seem to get sound or video.......thanks

    i have an i pad 2 and apple componet av cables. can i play movies from itunes? i cant seem to get sound or video.......thanks

    Update your Quicktime to v7.1.6.
    MJ

Maybe you are looking for