Problem in spc chart

HI All,
I have three  requiremnets --
1. To calculate the upper sepcification limit and lower specification limit based on a calculation by taking values from a table.
2. I have to generate to two spc charts one is based on date and another based on order number. Both the fields are present in the same table. But when user input as date, date based chart should be displayed and same should be applied to oredr number.
3. Is there any way i can display multiple spc charts in single output page.
thx
supriya

HI Ramesh,
My requirement is like this ...
I have to take the input from sap r/3 in xmii do some calculation and show in spc chart.Like this i have to generate so many dashborads.
Requirement is that all the dash boards should be visible in a sngle page itself.
As i am new to xmii, id ont know how to integrate this with html and java script to do this. can u please let me know the prcedure.
One more requiremnet is, i have to set the specification limits based on the input values retreived from r/3. Dynamicall it has to be caluclated and should be set to it.
please help me in completing this scenario.
thx
supriya

Similar Messages

  • Specification limits on SPC Chart

    Hi All,
    I created a SPC chart with specification limits enabled. If user has provided lower spec limits without upper spec limits then it is taking the upper spec limit value as 0.0 by default. I would like to have limits to be one-sided.
    For example:
    An attribute should be at least 232,if its lower we have a problem. But there's no upper spec limit on it. The higher number we have the better.
    If I put a very high number on the query, like 10000, that disturbs the Y-axis scale and shows Y-axis 0-10000, which does not show a good picture.So we need a way to enable only 1 spec limit, and keep other disabled as need.
    Hoping to get a answer for this.
    Regards,
    Ravi Kumar

    Hi,
    Anyone has any answers for this one as to whether it can be done or not.
    Thanks & Regards,
    Ravi Kumar

  • SPC Chart and Tag Name starting with a Number

    On a 11.5.3 (latest build) install, we've found that SPC Charts don't like tag names that start with numeric characters.  The data points just don't plot.  I can right click and get the data, but there are no points on the chart.  All other applets work fine with the same tags.  Has anyone else seen this?

    Hey Rick,
    We did try that and it worked.  Also when creating the tags in the UDS Admin, I don't believe the UDS Admin will allow for this scenario (along with funky characters like pipes "|").  However, we are using an alias file (export from Historian into Excel, into SQL, and tweaked via Xacute) where the UDS Admin rules aren't enforced, which might be the inherent problem here. 
    I just thought that if the applets allowed it, the iSPCChart should also. 
    Thanks.
    Edited by: Ryan Miller on Feb 19, 2008 10:04 AM
    I'll leave this thread unanswered for a bit to see if anyone else cares to comment.

  • SPC Chart function setPropertyValue("ShowXAxis") broken?

    Hi,
    Using 12.1 SP6 but have the same problem in SP4.
    I have an SPC chart being plotted for a variable amount of data.  If there are less than ~75 batches I want to show the X axis with the batch numbers, if I have more than 75 batches I want to disable the X axis because the x axis label runs together and is completely unreadable.
    I tried dynamically setting the boolean for ShowXAxis in the irpt page and it took no effect.  Is this functionality broken or is something wrong with the syntax?  It didn't throw any errors when I tried it...
    The exact command used was document.SPCChart.setPropertyValue("ShowXAxis",false);
    Additionally, starting in SP6 if I change a parameter in a display template in the workbench and save the template and reload the page then the saved change does not take effect.  In SP4 all that was needed was to reload the page but in SP6 I seem to need to clear my java cache before a change to a display template takes effect.  I'm not sure how dynamic setting of display template property values will work if this is the case?
    Any options here?
    Thanks,
    Kerby

    It would appear you're not using the script assistant, which would help eliminate guessing.
    document.SPCChart.getChartObject().setShowXAxis(false);
    document.SPCChart.updateChart(false);
    The setPropertyValue method you tried would normally be used to add a name/value pair to the user session - not directly effect a runtime setting in either the query template or display template.

  • Passing Control Limits into SPC Charts - Part 2

    I'm able to pass control limits (LCL, CL, UCL) into my SPC chart but it's not woking quite as I expected.  If I look at the raw data detail, I see:
    Date     Prod     LCL     Mean     UCL
    Oct-2005     298265     100000     150000     200000
    Feb-2006     298171     120000     150000     160000
    Aug-2006     198144      75000     125000     175000
    Mar-2007        2144      40000     100000     160000
    Aug-2007          144      40000     100000     160000
    I would have assumed that the LCL, Mean, UCL from the first row (100000, 150000, 200000) would "take effect" on that row's date (10/2005) and continue for all FUTURE data points until the first subsequent date that had a different LCL, Mean, UCL value(s) but, looking at the SPC chart, it seems whenever there is a change in the LCL, Mean, UCL, the values apply to data points PREVIOUS to that row's date.
    I'd like users to enter LCL, Mean and UCL data into a control limits database whenever there is a change in the values that should be applied to future points but I don't think that's the way the SPCChart template works.
    Any thoughts?
    David

    David,
    If you need a simple model for the data store of your user defined Control Limits, along with their effective dates, you can use the ControlLimitDetail table that is part of the QualityPortal database schema.  The Comments and SuppressedDataPoints tables are already used by the iSPCChart applet when the user interacts with the right-click menu for recording point comments and suppressing data points, so this table (along with SpecificationLimitDetail) can be leveraged if you need a place to put them.
    I emulated your situation here on my 11.5.3 system - it does seem to project the dotted lines backwards from the record based association, so you may have stumbled onto a problem with the chart.  Please enter this into the customer support portal so that it can be properly addressed.
    Regards,
    Jeremy

  • How to download SPC chart in excel

    Dear QM Experts,
    Can you suggest/guide how we can down load the SPC charts into excel file (graphic mode) generated from QGC1/QGC2/QGC3.
    Warm Regards
    UMAPATHI NETI

    I remember the solution provided long back in threads
    Import SPC graph to EXCEL
    Also refer
    Problem in Export bar charts to Excel

  • Including comments in SPC charts

    I have recently bought the SPC toolkit for labView (Currently running LV7.1).  The toolkit is relatively easy to use, but I have a couple of requirements which it doesn't seem to accommodate which are normal SPC charting properties.
    First, it would be nice to mark an out of control datapoint in a different color compared with the in control points.  I know that I can pull an array of out of control points out of the sub-vis, but for a shop floor operator it is much easier to see a different color point.
    Second, I would like the ability to display comments which are associated with a particular datapoint.  One simple way to do this is to hover teh mouse over the point
    and have a message box appear.  Another would be to click on the point and display a box.  I can't seem to find how to do either.
    Any ideas?
    Mark.

    Thanks for the reply.  Unfortunately, I don't think this is going to do it.  I didn't explain my problem well enough.
    I'm collecting SPC data, which are simply a list of numbers, or groups of numbers (1D or 2D arrays), and plotting them on a control chart (which is an x-y graph with some statistically calculated limits).  Each of the points may or may not have a comment associated with it.  This is stored (in my case) in a database with the data fields, the comments field, and a timestamp field.  In labview this would probably be an array of clusters. 
    Each of the points may be in or out of control, showing the user whether or not they have a problem with the process they are monitoring.  This is calculated by the SPC functions at runtime, as it depends on the overall set of data.  (In SPC we are measuring the deviation of a measurement from a normal distribution, so one needs a number of measurements to decide whether a point is in or out of control, and that status could change as more measurements are added to the dataset.)
    Now, the LabView SPC modules deal with the calculations very well, and also plot the charts nicely, except that I would like to be able to access any comments (which usually contain information regarding the process set-up, so any improvements in the process can be assigned to particular causes or changes observed by the operator) and assign them to a particular point on the chart.  This point is not static on the graph, as more points may be added, and so the comment needs to be somehow locked to a point.  Similar arguments apply to plotting the point in a different color, as an indication of an out of control point.
    I looked at the example you suggested, and at the property nodes associated with XY graphs - but could not find anything which allowed me to associate anything with a particular point.
    Hopefully, that explains my problem a little more clearly...

  • Regarding Pages charts, when I try to 'build' a 3D chart all I get is little dots but not graphics.  No problems with 2D charts though. Guess my question is "Help?"

    Regarding Pages charts, when I try to 'build' a 3D chart all I get is little dots but not graphics.  No problems with 2D charts though. Guess my question is "Help?"

    Sorry for the delay getting back to this.
    Thanks to Fruhulda and Peter for their comments regarding the refusal of Pages to let me make 3D charts. 
    In answer to the questions put to  me in this regard :
    1. Pages version : Pages '09  v.4.1 (923)
    2. Mac O/S :          v.10.6.8 
    3. 3D chart :          Can't find a 'name', but upright bars with rounded corners ???
    4. Moved apps :    Not that I'm aware of!  All should be as installed off the disc.
    5. A note :              I have been able to create these in the past - related to a SW update? 
                          and ... can create these charts perfectly in Keynote (go figure).
    Thanks to all.
    CM

  • Calling up a Performance Manger SPC Chart from a WebI document

    Post Author: satwar
    CA Forum: Performance Management and Dashboards
    Please forgive my terminology, as I'm only a superuser of B.O. not a computer trained person.I have put a few years into configuring WebI document reports in InfoView of B.O. XI 2.  Our company is getting into SPC in a big way, hence my attention has turned to Performance Manager.  I was disappointed to learn that I have to create a whole new Universe of objects in Performance Manager in order to conduct SPC analysis on the variables I have been reporting in tables & graphs in WebI documents in InfoView.I can learn to accept that aspect of B.O. but I am a little concerned about my users having to navigate through Performance Manager to view SPC analytics.  My users have put up considerable resistance just navigating to WebI documents in InfoView.Hope seemed to be around the corner when I read about calling up Performance Manager analytics from WebI documents.  Having read the details it seems like these WebI documents are created in the Performance Manager Universe, not in the Infoview WebI documents that I have already developed in InfoView.If anyone can explain and clarify how this feature works, I'd be eternally grateful. 

    Post Author: jezbraker
    CA Forum: Performance Management and Dashboards
    You can Link any documents that are stored as objects in the cmc, regardless of the universe or way in which they were created.openAnalytic.jsp will allow you to open pretty much anything much as does openDocument  int the webi world.Once you create the SPC chart in process analysis youll need to view it in the control chart screen then click save as and save it into one of you folders in the corp repository. When this is done you can quickly get an example of the URI syntax by going to create new document in dashboard manger, selecting interactive metric trends, expanding navigation and legend opions, clicking browse, selecting your newly saved analytic and clicking ok.  This will but a url into the text box which you can copy and paste into your webi doc links - here's an example of the kind of thing... openAnalytic.jsp?DocumentName=MySPCanalytictest&RepositoryType=C&RepositoryName=SPCTest&DocumentExt=afd&DocumentId=AadTAN28x6lMpTxxlAhW09s&mode=full You may need to stick the odd ../../ or /jsp/ etc in front of the url depecing where you plan to call it from of course. You'll find descriptions of parameters etc for openAnalytic in the product docs. cheers,jez.  

  • Problem with Area  Chart

    Hi EveryOne,
    Me having problem with area chart,i have taken 3 area series
    to plot when me plotting the values one of the series is getting
    overlapped,Why its happening like this? Me attached the code
    Thanks in advance.
    <?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([
    {Month:"Jan", Profit:0, Expenses:0, Amount:450},
    {Month:"Feb", Profit:5, Expenses:0, Amount:600},
    {Month:"Mar", Profit:5, Expenses:5, Amount:300},
    {Month:"Mar", Profit:0, Expenses:5, Amount:300}
    public var expenses1:ArrayCollection = new ArrayCollection([
    {Month:"Jan", Profit:0, Expenses:5, Amount:450},
    {Month:"Feb", Profit:5, Expenses:5, Amount:600},
    {Month:"Mar", Profit:5, Expenses:10, Amount:300},
    {Month:"Mar", Profit:0, Expenses:10, Amount:300}
    public var expenses2:ArrayCollection = new ArrayCollection([
    {Month:"Jan", Profit:5, Expenses:0, Amount:450},
    {Month:"Feb", Profit:10, Expenses:0, Amount:600},
    {Month:"Mar", Profit:10, Expenses:6, Amount:300},
    {Month:"Mar", Profit:5, Expenses:6, Amount:300}
    ]]></mx:Script>
    <mx:AreaChart id="myChart"
    showDataTips="true">
    <mx:series>
    <mx:AreaSeries id="ara" dataProvider="{expenses}"
    xField="Expenses"
    yField="Profit"
    />
    <mx:AreaSeries id="ara1" dataProvider="{expenses1}"
    xField="Expenses"
    yField="Profit"
    />
    <mx:AreaSeries id="ara2" dataProvider="{expenses2}"
    xField="Expenses"
    yField="Profit"
    />
    </mx:series>
    </mx:AreaChart>
    </mx:Application>

    Seems to simply be a problem with your data. See this
    code.

  • Problem converting Excel Charts

    I am using Acrobat 9.3.4 (pro extended) and MS Office 2007 service pack 2.  I am having problems converting the charts in Excel.  The charts in Excel are vector, but when I print to the Acrobat driver or save in Acrobat, the graphs are converted to a low quality bitmap.  Any ideas how I can preserve the quality of the original graph?  Any idea how I can preserve the vector drawings?

    I suspect the upgrade to Excel 2007 is at fault here, but I have not found any settings to get my old functionality back.  I posted the same question to an Excel board, and they referred me to a similar thread, which sounds like other people are having similar problems.
    It looks like some older version of Excel was having trouble when people used "save as pdf" (Excel was resizing the graphic and moving it off the page.)  To eliminate the problem, they seem to have changed their graphics creation engine from vector to bitmap.
    I have an older version of Excel (2003 sp3) at home, and the pie charts, for example, are clearly being created as vector drawings.  In Excel 2007, they appear to be bitmaps created at screen resolution, which in my case is a fuzzy mess because of the need to resize the drawings.  On the Excel board, there is a link to a "hotfix" but I don't know if it is the same issue.  I will post the link here if it works.
    I tried beating my head against the keyboard, but it has not helped.

  • Problems On Show Chart Legend in Crystal Report Java Viewer

    Hi all,
             We found the problem on show chart legend values of each column, i have already set the "Tool tip text " option by formart chart, but the ouput on java viewer on can show first column data. seem Java view not support for display Tool Tip by chart columns ?
    Thanks
    Andrew

    i missed the following line in my code.
    rcDoc.DataDefController.FormulaFieldController.Add(oFormulaField);
    now it works......
    my next issue is that,
    chart returns True & False captions. but i want to show actual value. how its to be done
    regards,
    Padmanaban V

  • Value Columns - SPC chart

    Hi,
      i want to pass / set value columns at run time in SPC chart. i know the value column only at run time. i created one query template with giving table name and select query like select [param.1],date1 form temp1. i set attribute column of data mapping as date1. Say temp1 contains columns like Faran, temperature. i will choose any one of these column from front end. and i want to set that column name in value columns of data mapping. i tried with
    document.<my applet>.getChartObject().setValueColumns("temperature"). but it displayed error as object doesnt support this property.
    how to do it?
    -senthil

    Senthil
    First get the desired column name from the Query Template which gives the column names (eg Faren, Temp etc).
    say that QT name - QTTemp which is saved in some defined folder in ur system.
    then
    Use following
    1. document.<AppletForQTTemp>.getQueryObject().setParam(1,"?"); where "?" is the input param to be passed to that QT
    2. document.<AppletForQTTemp>.executeCommand();
    3. document.<AppletForSPCChart>.getChartObject().setValueColumns(document.<AppletForQTTemp>.getColumnName("?")); where "?" is the column number of the desired column u want to set.
    Regards
    Som

  • Problem with simple chart

    Hi everyone. I've got a problem with ABAP charts. I need to place a simple chart in screen's container.
    REPORT ZWOP_TEST4 .
    Contain the constants for the graph type
    TYPE-POOLS: GFW.
    DATA: VALUES       TYPE TABLE OF GPRVAL WITH HEADER LINE.
    DATA: COLUMN_TEXTS TYPE TABLE OF GPRTXT WITH HEADER LINE.
    DATA: ok_code LIKE sy-ucomm.
    DATA: my_container TYPE REF TO cl_gui_custom_container.
    REFRESH VALUES.
    REFRESH COLUMN_TEXTS.
    VALUES-ROWTXT = 'Salary'.
    VALUES-VAL1 = 50000.
    VALUES-VAL2 = 51000.
    APPEND VALUES.
    VALUES-ROWTXT = 'Life cost'.
    VALUES-VAL1 = 49000.
    VALUES-VAL2 = 51200.
    APPEND VALUES.
    COLUMN_TEXTS-COLTXT = '2003'.
    APPEND COLUMN_TEXTS.
    COLUMN_TEXTS-COLTXT = '2004'.
    APPEND COLUMN_TEXTS.
    Call a chart into a standard container, this function could be used
    for many different graphic types depending on the presentation_type
    field :
    gfw_prestype_lines
    gfw_prestype_area
    gfw_prestype_horizontal_bars
    gfw_prestype_pie_chart
    gfw_prestype_vertical_bars
    gfw_prestype_time_axis
    CALL SCREEN '1000'.
      CALL FUNCTION 'GFW_PRES_SHOW'
        EXPORTING
          CONTAINER         = 'CONTAINER'    "A screen with an empty
                                            container must be defined
          PRESENTATION_TYPE = GFW_PRESTYPE_LINES
        TABLES
          VALUES            = VALUES
          COLUMN_TEXTS      = COLUMN_TEXTS
        EXCEPTIONS
          ERROR_OCCURRED    = 1
          OTHERS            = 2.
    *&      Module  STATUS_1000  OUTPUT
          text
    MODULE STATUS_1000 OUTPUT.
      SET PF-STATUS 'GUI_1000'.
    SET TITLEBAR 'xxx'.
      IF my_container IS INITIAL.
        CREATE OBJECT my_container
          EXPORTING container_name = 'CONTAINER'.
      ENDIF.
    ENDMODULE.                 " STATUS_1000  OUTPUT
    *&      Module  USER_COMMAND_1000  INPUT
          text
    MODULE USER_COMMAND_1000 INPUT.
      ok_code = sy-ucomm.
      CASE ok_code.
        WHEN 'EXIT'.
          LEAVE TO SCREEN 0.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_1000  INPUT
    I created a screen 1000 in SCREENPAINTER, named it 'CONTAINER'. Then I try to launch code above and nothing appears on the screen. Could You give me some tip?

    Hi,
    delete this lines:
    IF my_container IS INITIAL.
    CREATE OBJECT my_container
    EXPORTING container_name = 'CONTAINER'.
    ENDIF.
    then it should work.
    R

  • Problem with displaying chart data

    Hello everybody,
    I have problem with displaying chart data correctly. I'm using a cartesian chart with DateTimeAxis. The stockdata I'm using is for half a year and
    with ticks for every day. The problem is, that Flex displays the data of february in march together with the data of march. I have added a picture
    to show the result. The second column of the grid is for february and the third for march.
    Could anybody help me with this problem. Thanks in advance.
    Thomas

    Hi Chris,
    thanks for your reply. Here you get the source code:
    The following method creates the LineChart:
            public function init():void
                model.upperChart = this;
                model.upperChartStyle.setChartViewStyle(this);
                this.hAxis = new MyDateTimeAxis();
                model.upperChartData.configureHAxis(this.hAxis);
                this.vAxis = new LinearAxis();
                model.upperChartData.configureVAxis(this.vAxis);           
                this.vAxisTitle = new Label();
                this.vAxisTitle.text = model.upperChartData.getVAxisTitle();
                model.upperChartStyle.setVAxisTitleLabelStyle(this.vAxisTitle);
                this.vAxisTitle.x = 10
                this.vAxisTitle.y = 0;
                this.addChild(this.vAxisTitle);
                this.myChart = new CartesianChart();
                //remove default datatip
                this.myChart.showDataTips = false;
                this.myChart.x = 10;
                this.myChart.y = 0;
                this.myChart.width = 768; 
                this.myChart.height = 196;
                model.upperChartStyle.setChartStyle(this.myChart);
                this.addChild(this.myChart);
                //Remove line shadow
                this.myChart.seriesFilters = null;
                this.myChart.horizontalAxis = this.hAxis;
                this.myChart.verticalAxis = this.vAxis;
                this.hAxisRenderer = new AxisRenderer();
                model.upperChartData.configureHAxisRenderer(this.hAxisRenderer);
                this.hAxisRenderer.axis = this.hAxis;        
                model.upperChartStyle.setHAxisRendererStyle(this.hAxisRenderer);
                this.myChart.horizontalAxisRenderers.push(this.hAxisRenderer);
                this.vAxisRenderer = new AxisRenderer();
                model.upperChartData.configureVAxisRenderer(this.vAxisRenderer);
                this.vAxisRenderer.axis = this.vAxis;
                model.upperChartStyle.setVAxisRendererStyle(this.vAxisRenderer);
                this.myChart.verticalAxisRenderers.push(this.vAxisRenderer);
                model.upperChartStyle.setVAxisDataLabelStyle(this.vAxisMinLabel);
                this.addChild(this.vAxisMinLabel);   
                model.upperChartStyle.setSeriesStyle(model.upperChartData.series, model.upperChartData.shares);           
                this.myChart.dataProvider = model.upperChartData.dataProvider;
                this.myChart.series = model.upperChartData.series;
    The data for dataprovider and series you can see in attached file dataprovider.xml.
    xfield is equivalent to timestamp
    yfield is equivalent to absolute
    I think the problem could be the configuration of the datetimeaxis. The following method shows the parameter for the datetimeaxis:
            public function configureHAxis(axis:MyDateTimeAxis):void
                axis.parseFunction = UtilityClass.parseYYYYMMDDHHNNSSString2Date;
                axis.dataUnits = "days";
                axis.dataInterval = 1;
                axis.title = "";
                axis.minimum = new Date(UtilityClass.parseYYYYMMDDHHNNSSString2Date("2009-01-07 00:00:00").time);
                axis.maximum = new Date(UtilityClass.parseYYYYMMDDHHNNSSString2Date("2009-07-06 00:00:00").time);
    And finally you get the function, that I'm using for string to date conversion:
            public static function parseYYYYMMDDHHNNSSString2Date(input:String):Date
                var result:Date = new Date();
                var year:Number = Number(input.substring(0,4));
                var month:Number = Number(input.substring(5,7));
                var date:Number = Number(input.substring(8,10));
                var hours:Number = Number(input.substring(11,13));
                var minutes:Number = Number(input.substring(14,16));
                var seconds:Number = Number(input.substring(17,19));           
                result.setUTCFullYear(year);
                result.setUTCMonth(month-1);
                result.setUTCDate(date);
                result.setUTCHours(hours);
                result.setUTCMinutes(minutes);
                result.setUTCSeconds(seconds);
                return result;           
    I hope that will help to locate the reason for the wrong chart visualization.
    Thanks for any help.

Maybe you are looking for

  • Can't get printer to work wirelessly since adding timecapsule

    I have just added a Time capsule to my BT Home hub network just to back up all the different computers in the house wirelessly. Since adding it I can not get my HP Officejet J4680 to print wirelessly. Any ideas anyone?

  • Displaying only relevant base level attributes in the decision report

    Hi, I am running OPA 10.2 determinations server on weblogic. The service I am using is Assess. The following is a node within my decision report: <ns0:attribute-node id="dn:88" entity-id="global" instance-id="global" hypothetical-instance="false" att

  • 1st song of transferred CD cut off 4G 20GB

    When transferring a CD to I tunes, often the first song is cut off after only a few seconds. This doesn't happen every time but very often and it's frustrating. Does anyone else have this same problem and if so, could you offer any suggestions on how

  • Need Vista 64 Driver/Software ASAP Please

    As soon as iPhone will work with Windows Vista 64, I'll run out and buy an iPhone. Please hurry. I really want to get an iPhone. Thanks. P.S. Does anyone know a workaround to both activate and sync iPhone on a Vista 64 rig?

  • Unable to unlock encrypted disk images created with Snow Leopard using Lion

    Anyone else unable to unlock encrypted disk images created with Leopard and Snow Leopard with Lion?  I know that they made changes with the release of FileVault 2 on Lion and Snow Leopard cannot use Lion encrypted disks but I thought it was backwards