Problem on XY Regression Chart

Hi All,
        I created an XY Regression Chart which shows a straight line extrapolating the points plotted. Now for this line of type Y=mX + C, I want slope(m) and y-intercept(C) to be displayed on Applet. Does XY Regression Chart provide this facility.If so, could you please explain how to accomplish this?
Regards,
Ravi Kumar

The Data Statistics is really only relevant for a tag query.  It will do a Tag Query Statistics query to an iChart image with MIN,MAX,TWA methods.  This is the 'statistics' similar to 'current' that you can get from the iChart at runtime when viewing the typical Tag based line trend.
This is not the same as statistics will give you on an SPC Chart.
The XY Chart is what it is u2013 it either draws the regression line or not based upon the chart type, but the values or column of data is not accessible via script.  The Linear Regression action inside BLS (misc. function category - http://help.sap.com/saphelp_xmii120/helpdata/en/45/a3cbb8c3b50cefe10000000a114a6b/frameset.htm) does give you access to the numbers for the line (adds a column called Predicted).  It also gives you access to summary stat numbers for Intercept, Slope, R, and RSquared.  This resultset could be charted as well because the output looks just like a tag query with a calculated column for the regression line.

Similar Messages

  • Problems with the line chart - dashboard

    I have a problem in the line chart in the dashboard SP4.
    Clicking on the legend of the graphic , the serie (line) disappears. Clicking again in the legend, the line appears but the markers don’t.
    Someone knows how to solve this problem?
    Follow the examples.
    Thanks.

    Hi Jane,
    This is definitely the tool problem.
    Might be you can try restarting xcelsius or your computer (sometimes it works, really !)
    Just out of curiosity, why do you want to clink on legends.

  • Problems in creating a chart..

    Hi,
    I have Problems in creating the following chart..
    I dont know where the problem of the Publisher is, because the same structers already shows me a Table full of Data...
    I ve tested something and realized when i m deleting the SUM() Part everything works fine. Ist it maybe an error in the sum function?
    its such a simple statement but it wont work...
    XML Code:
    chart:
    <Graph graphType="PIE">
    <Title text="" visible="true" horizontalAlignment="CENTER"/>
    <LocalGridData rowCount="{count(xdoxslt:group(DATA/query_DATA/ROW, CURRENY))}" colCount="1">
    <RowLabels>
    <xsl:for-each-group select="DATA/query_DATA/ROW" group-by="CURRENCY">
    <xsl:sort select="CURRENCY"/>
    <Label>
    <xsl:value-of select="current-group()/CURRENCY"/>
    </Label>
    </xsl:for-each-group>
    </RowLabels>
    <DataValues>
    <xsl:for-each-group select="DATA/query_DATA/ROW" group-by="CURRENCY">
    <xsl:sort select="CURRENCY"/>
    <RowData>
    <Cell>
    <xsl:value-of select="sum(current-group()/PRICE)"/>
    </Cell>
    </RowData>
    </xsl:for-each-group>
    </DataValues>
    </LocalGridData>
    </Graph>
    Greeting

    It doesnt work, because i deleted the ' while chaning the caption to currency....
    OK here is my original Text....
    chart:
    <Graph graphType="PIE">
    <Title text="" visible="true" horizontalAlignment="CENTER"/>
    <LocalGridData rowCount="{count(xdoxslt:group(DATA/query_DATA/ROW, 'POS_EURO_TXT'))}" colCount="1">
    <RowLabels>
    <xsl:for-each-group select="DATA/query_DATA/ROW" group-by="POS_EURO_TXT">
    <xsl:sort select="POS_EURO_TXT"/>
    <Label><xsl:value-of select="current-group()/POS_EURO_TXT"/></Label>
    </xsl:for-each-group>
    </RowLabels>
    <DataValues>
    <xsl:for-each-group select="DATA/query_DATA/ROW" group-by="POS_EURO_TXT">
    <xsl:sort select="POS_EURO_TXT"/>
    <RowData>
    <Cell><xsl:value-of select="sum(current-group()/NET)"/></Cell>
    </RowData>
    </xsl:for-each-group> </DataValues>
    </LocalGridData>
    </Graph>
    <DATA>
    <query_DATA><ROW>
    <KUNGRUPPE>ABC</KUNGRUPPE>
    <POS_EURO_TXT>USD</POS_EURO_TXT>
    <NET>7785763.25</NET>
    </ROW><ROW>
    <KUNGRUPPE>ABC</KUNGRUPPE>
    <POS_EURO_TXT>EURO</POS_EURO_TXT>
    <NET>15242332211.9</NET>
    </ROW><ROW>
    <KUNGRUPPE>XXX</KUNGRUPPE>
    <POS_EURO_TXT>EURO</POS_EURO_TXT>
    <NET>7894268.84</NET>
    </ROW></query_DATA>
    </DATA>
    Greetings

  • What are the size limitations in Predictive Analytics - regression charts

    I'm trying to display the trend chart for an Exponenential Regression Prediction and I got the following error.  The Regression itself runs OK and provides a summary, but I can't display the data on a chart.
    There's only 1 other related posting- Error PAS10066 and it doesn't provide much more info than is in the error itself.
    Does anyone have extra info on what the size of the limitation is?  Is it something that can be overcome with extra RAM etc?
    I'm using the desktop version of PA 1.19, and I'm on a 64 bit installation of Windows 7 with 8GB of RAM, processing a csv file with 1.1 million rows.
    I've used some filters in the Prediuct workflow to cut down on the amount of data being processed, and I got past the PAS10066 error and am now getting a max call stack size error - can't find anything related on SCN for this one.
    Many Thanks
    Astrid

    Hi Astrid,
    Thanks for reaching out.It could be a out of memory issue.
    If you increase the memory that SAP Predictive Analysis is allowed to consume.
    Go to the location where SAP Predictive Analysis was installed. In my case it is:
    C:\Program Files\SAP Predictive Analysis\Desktop
    Here you find a file "SAPPredictiveAnalysis.ini" - open this in Notepad and change the
    "-Xmx" parameter to approximately half of our PC/laptops memory.
    For instance in your case you could try with: -Xmx4096m
    I have outlined this is a few more steps here:
    http://scn.sap.com/message/15099575#15099575
    Hope it works for you.
    Best regards,
    Kurt

  • Problem with Stacked Bar Chart

    I have a problem with a stacked bar chart in Numbers 09. My chart is a single series with 6 categories. All of the categories have different values. The first 5 categories display correctly. However, the last category does not display in the color its supposed to, but rather shows up as white/background instead of the grey color shown on the legend. However, the value label is displayed in the proper place.
    When I select other chart types (pie, regular bar, or regular column) the category shows up like it's supposed to.
    This is kind of annoying since I would rather use stacked bar instead of a pie chart. Is there an upper limit on the number of values it can display as a stacked bar chart? Is this just a bug? Thanks!

    Here's my result with six values in a single series. I double clicked the last bar to change its colour from the default grey (which was visible) to magenta.
    Numbers 2.0.3, iBook G4, OS X v10.4.11
    (Shot in the dark:) Try double clicking the value label, then changing the order position of this item.
    Regards,
    Barry

  • Problems with stacked bar chart in Java SDK and CRDesigner

    Hi @ll,
    I have an issue with the rendering of stacked bar charts through the Java SDK and the CRDesigner. unfortunately, my research in this forum and with the help of aunt google didn't lead to success.
    These are my problems:
    I have a  stacked bar chart which, when datasets/stacks increase in number per bar, displays errors:
    1.)  the single stacks of the bar merge together randomly and form bigger stacks with the sum of the singles. the information of  single stacks gets lost in the bar.
    2.)  the total sum of all singles is bigger than the maximum value on the y-axis displays. thus, the scaling is wrong.
    1.) appears in the CRDesigner as well as in the Java SDK
    2.) only occurs in the Java SDK
    Is there any trick to turn the random merging of slices off?
    Is the false scaling a known issue and is there a bugfix/workaround?
    many thanks for all advice
    Tom

    hi folks,
    i found the answer to the above problems:
    when you specify the recordfields that are responsible for the change to the next stack or bar, the 'stack' fields have to be unique.
    in my case i evaluated durations in msec (as stacks) from different devices (as bars). randomly i had the same durations for one device. what happens is, that CR does not notice a change and accumulates to the first stack with the same duration.
    surprisingly this also seems to derange the axis scaling. fix the problem by simply using an overall unique recordfield like rownum or a formula that forms the current timestamp to text as identifier for the stacking.
    cheers
    .t

  • Problem with Stacked area chart

    Hi all,
    I'm working on delivery data according to month having input(combo) as the year. I'm trying to display the data in percentages in Stacked area chart having series as ontime delivery, 1 week late, 2 weeks late,........5 weeks late and category labels as months. The problem is when I take the Preview of data I get to see the data for ontime, 1 week , 2 week as it should be but when I hover the mouse over the 2 weeks data area  mouse over values shows 5 weeks data(0 %) where as in reality the colored area belongs to 2 weeks data. I tried to delete 5 weeks series data and now it shows as 4 weeks data.
    What could be the problem ?
    Thanks

    >
    Raghavendra Gadhamsetty wrote:
    > Did you try adding the formula year(datefield) in X axis by removing the existing datefield?
    >
    > Regards,
    > Raghavendra
    Thanks for the answer regarding dates. I'm still awaiting an answer on the following part of my question:
    "My problem is that I am trying to configure a stacked area chart to show various related financial figures over the period of a year or more. My problem with a regular stacked area chart is that because of the large number of data points (daily) the X axis becomes far too chaotic with the large number of labels. The obvious option seems to be to use the "Show time scale" option in axis settings, however when you chose this option the "Date axis area" chart type is automatically chosen and this chart type doesn't seem to allow stacking. Can anybody help?"
    Thanks in advance for your help.
    Kind Regards,
    Mark

  • Problem with Group Bar Chart

    Hi all ,
              i  need help as my requirement is  like i have three values (material,value1,value2) now i want to display data with the help of Group bar chart like for material1 value1 and value2 should be in BAR then again for material 2 value1 and value2 in BAR......  
    right now i am assining  value1 and value 2 to Value column of display template but i am gettin a graph like material1 value1(BAR) material2 value1(BAR) .....  material1 value2(BAR) material2 value2(BAR)...........which value i should set so i should get graph what i mentioned above .
    thanks in advance
    regards,
    Praveen

    Hi,
    Give the material in the label columns...( check with the requirement as the Legend show only the Material )
    Check this also.(May solve your problem)
    Change the type to Bar chart and give the value1 and value 2 in the value columns..
    Hope this may help you...
    Regards,
    Kishore

  • Problem with a pie chart

    Hi Gurus
    I try to do a pie chart and a i´ve a problem .in the format Categories i use percent 0.00% for to see the value but i can´t see the name of the categories .it´s possible and how ?
    thanks Gurs

    Hi,
    you can use $Category to display the category name in your format of a pie label. Combined with a line break your format string would look like <b>$Category$br$Percent0.00 "%"</b>.
    Note that you must have IGS 7.00 patch 10 to use this feature. See also SAP notes <a href="http://service.sap.com/sap/support/notes/1076634">1076634</a> and <a href="http://service.sap.com/sap/support/notes/1064448">1064448</a> for more information.
    Best regards
    Matthias

  • Legend Problem in multiple series chart

    Hello,
    I am getting problem in displaying legend. I have created a chart with  multiple series and custon color. Here is my code. You can copy paste it.
    Out of 3 only one legend marker n label coming.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundGradientAlphas="[1.0, 1.0]" backgroundGradientColors="[#FFFFFF, #FFFFFF]">
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    import mx.rpc.events.ResultEvent;
    import mx.controls.Alert;
          [Bindable]
          public var SMITH:ArrayCollection = new ArrayCollection([
            {date:"22-Aug-05", close:41.87, close2:45.23},
            {date:"23-Aug-05", close:45.74, close2:40.90},
            {date:"24-Aug-05", close:42.77, close2:46.99},
            {date:"25-Aug-05", close:48.06, close2:40.22},
         [Bindable]
          public var DECKER:ArrayCollection = new ArrayCollection([
            {date:"22-Aug-05", close:157.59},
            {date:"23-Aug-05", close:160.3},
            {date:"24-Aug-05", close:150.71},
            {date:"25-Aug-05", close:156.88},
        ]]>
    </mx:Script>
      <mx:Style>
        ColumnChart {
            paddingLeft:20;
            paddingRight:20;
            paddingBottom:10;
            paddingTop:10;
         Legend {
         paddingLeft:20;
            paddingRight:20;
            paddingBottom:20;
            paddingTop:10;
      </mx:Style>
          <mx:Stroke id="axisStroke"
            color="#000000"
            weight="2"
            alpha=".75"
            caps="round"
        />
    <mx:VBox width="500" height="500" borderColor="#000000" cornerRadius="20" themeColor="#009DFF" borderStyle="solid" borderThickness="1" horizontalAlign="center" x="246.5" y="61">
         <mx:ColumnChart id="multipleChart"  showDataTips="true" width="100%" height="100%"  seriesFilters="[]">
            <mx:horizontalAxis>
               <mx:CategoryAxis id="h1" categoryField="date"/>
            </mx:horizontalAxis>
            <mx:horizontalAxisRenderers>
                <mx:AxisRenderer placement="bottom" axis="{h1}">
                <mx:axisStroke>{axisStroke}</mx:axisStroke>
                </mx:AxisRenderer>
            </mx:horizontalAxisRenderers>
            <mx:verticalAxisRenderers>
                <mx:AxisRenderer placement="left" axis="{v1}"><mx:axisStroke>{axisStroke}</mx:axisStroke></mx:AxisRenderer>
                <mx:AxisRenderer placement="right" axis="{v2}"><mx:axisStroke>{axisStroke}</mx:axisStroke></mx:AxisRenderer>
            </mx:verticalAxisRenderers>
            <mx:series>
               <mx:ColumnSeries id="cs1" horizontalAxis="{h1}" dataProvider="{SMITH}" xField="date" yField="close" displayName="Smith" fills="#6693B0">
                    <mx:verticalAxis>
                       <mx:LinearAxis id="v1" minimum="40" maximum="50"/>
                    </mx:verticalAxis>
               </mx:ColumnSeries>
               <mx:ColumnSeries id="cs3" horizontalAxis="{h1}" dataProvider="{SMITH}" xField="date" yField="close2" displayName="Smiths" fills="#86D1E4">
               </mx:ColumnSeries>          
               <mx:LineSeries id="cs2" horizontalAxis="{h1}" dataProvider="{DECKER}" xField="date" yField="close" displayName="Decker">
                    <mx:verticalAxis>
                        <mx:LinearAxis id="v2" minimum="150" maximum="170"/>          
                    </mx:verticalAxis>
                    <mx:lineStroke>
           <mx:Stroke color="#CC3300" weight="1"/>
        </mx:lineStroke>
               </mx:LineSeries>
            </mx:series>
         </mx:ColumnChart>
         <mx:Legend dataProvider="{multipleChart}"  horizontalAlign="center" direction="horizontal"/>
    </mx:VBox>
    </mx:Application>

    I've run into this, too:
    Remove the fills property from each ColumnSeries and it'll work.
    If you want to use the fills property, you'll have to add your own custom legend code.
    From the Flex API:
    "If you specify the fills property and you want to have a Legend  control, you must manually create a Legend control and add LegendItems to it."

  • Problem with loading column chart in flex2

    Hi All,
    I am facing a strange problem in designing a column chart. I have a page where i have two column charts. The data providr for both the charts is same. I have an xml with three categories of values, and each chart  uses two of these with one of them being common and they are actually sorted based on one of those values. The problem here is that one chart shows proper values while the other (though shows proper values) it doesnt render it properly in the sense that the height of the columns and the value of that particular column are not consistent. What could be the issue????

    It's necessary to discard the white spaces.
    Set the ignoreWhite property to true.
    document.ignoreWhite = true;
    Regards,
    Erick Souza | ericksouza.com

  • Problem of using Run-chart in displaying result history of QM

    Hello all,
    I met a problem about the using of Run-chart in displaying result history of QM, normally, when you use this button to do a statistical chart for checking, the data would be displayed in the measure unit of Inspection Lot. What I want to know is whether there is way for me to change the measure unit from Inspection Lot number to another one (eg. batch number).
    Could anyone be appreciated to give me a short reply?
    Thanks & Best regards,
    Benny

    I think this is not possible
    Develop new program
    Use following Function module For Batch
    1.QRKS_CHARACTERISTIC
    Control chart for a characteristic
    2.QRKS_INSPECTION_LOT
    Control chart for a characteristic/inspection lot
    3.QRKS_MASTER_CHAR_MATERIAL
    Control chart for a master inspection characteristic/material
    4.QRKS_MASTER_CHARACTERISTIC
    Control chart for a master inspection characteristic
    5.QRKS_MATERIAL
    Control chart for a characteristic/material
    Regards
    Sanjay

  • Problems with BusinessGraphics Gantt Chart: WebDynpro 7.1 SP3

    Hi,
    i tried the BusinessGraphics Gantt Chart and went through the Code Example for Displaying a Gantt Chart on:
    http://help.sap.com/saphelp_nw04/helpdata/en/a8/1cd93f5e0f9015e10000000a155106/content.htm
    Unfortunately my gantt does not look and behave like it should:
    1)  The bars are only small sqares in the middle of one day. I use the same data as in the sample, so the bars should be a couple of days long
    2) I added an action, added an EventID to the series and to the point, mapped the parameters. When clicking a point a roundtrip is done. I write a success message with the eventID but often the Gantt Picture is a broken image after this (small red cross).
    3) The tooltip of the point is not shown in the chart when pointing on the square
    Can anybody help, please?
    Thanks
    Frank

    Thanks a lot! This solved one of three problems. The trick is that you can set the marker for the points (without any effect) and for the series (with effect).
    The tooltip shows up now, too. No idea why now and not before...

  • Problems making a simple chart

    Im sure this is quite simple but im trying to produce a simple chart with an x and y value. The x and y's are columbs from a table.
    I have 2 problems:
    Firstly it makes a chart with 2 lines, 1 of which is just along the x axis.
    2 the x axis isnt proportional. The x values are 0.0016, 0.0004, 0.0002, 0.0001 they will be spaced the same distance apart so producing a curved line instead of a straigh line that it should.
    Any help would be really good
    Thank you everyone
    Stuart

    Stuart,
    I'm glad that my answer was helpful. Sorry I didn't have time to elaborate at the time.
    Scatter is for plotting values vs. values. All the other chart types plot a value vs. a text label. New in iWork 09, you can connect the points in a scatter chart, and you can add a best fit curve. In an 09 Scatter chart you can have multiple series, as with 08, and also as with 08, you can have only one Y-Axis. Unfortunately the 2-Axis chart option is a Category Chart.
    Regards,
    Jerry

  • Problems in designing Gantt Charts through Web Dynpros

    Dear friends,
    We are having a situation in which we need to display the series of production orders in shop floor in a gantt chart having a specific start & end date and time.
    To implement this scenario, we are using Gantt Chart tool available in Web dynpro. In the gantt chart tool we are passing an XML file edited as per data to display production orders starting and ending at particular date and time.
    Now we are facing following problems to design this case.
    1. We are currently using type repository <TypeRepository href="apps/gantt/cprojects/TypeRepository.xml" version="1.0"> as a base type repository to define our XML file. This type repository we found in one of Gantt chart test examples. We believe if we are able to view this file we can know what types are available and how can we use their elements and attributes to define graph in XML file. Please help us how can we view this type repository.
    2. Currently we are viewing scale on Gantt chart only on date base. Can we view the scale at time base too? If yes, how?
    3. Currently we are manually editing our XML file to add up data that we want to display in our gantt charts. We would like to know what is standard procedure to edit XML file in a program. Additionally if you can tell us the functional modules or class-methods to edit XML file in program, this would be very helpful.
    Your kind help would be highly appreciated.
    Best regards,
    Navin Guru

    About where to find file apps/gantt/cprojects/TypeRepository.xml.
    Maybe it's not the best way, but i had access to portal server files (access to /usr/sap directory on server where enterprise portal was installed). And i found it there by jnet search criteria.
    In my case it layed in the following place:
    \usr\sap\<SID>\J01\j2ee\cluster\apps\sap.com\tcwddispwda\servlet_jsp\webdynpro\resources\sap.com\tcwddispwda\root\global\activeComp\

Maybe you are looking for