Dynamically displaying SPC Chart Title

Hi
I have created SPC Chart Disply.I did dynamic change of chart types(like xbar,xbar-range). Now i want to  reset the Chart title property dynamically. if any methods available.
Thanks in advance.
Regards,
Malini.V

This method and all of the other helpful get/set syntax methods are easy found by using the Script Assistant, which is part of the Productivity Tool installation that you can add to your client workstation by running the Wizard Install link found in the xMII Menu's Visualization Services section.
If you are working on a dynamic SPC charting application you might also be able to learn from some pre-installed content:  http://localhost/Lighthammer/Samples/SPC/Servers.irpt
Regards,
Jeremy

Similar Messages

  • SPC Chart Display

    Hi honored experts,
    I am trying to set up some demo SPC charts for a customer with no success...
    What I did so far:
    1. I defined a DC group with two parameters.
    2. I entered a few figures for those parameters for some PSNs using the standard POD.
    3. I defined a SPC chart with some random values using the SPC CHART MAINTENANCE activity.
    4. I launched the SPC Display activity and entered the DC Group and one of the Parameters which I defined under (1).
    5. When I hit the "search" button I get the message "No charts defined for combination of DC group "P-109", version "A" and DC parameter "DREHMOMENT" (Message 19660)"
    So, what's wrong?
    I count on you...
    best wishes,
    Georg

    Hi Sergiy,
    my initial question is solved. Now the system asks me to install the Statit e-Server... I will see how that goes... maybe I'll come back with some more questions...
    Nevertheless, this thread is closed. Thanks.
    Georg

  • Dynamic Chart title

    Hi,
    I need to make the title of the chart dynamic by showing the User entered variable value + fixed text. Say if the user enters Model (LD) then my title for the graph should be 'LD FFV Graph'.
    I was able to modify the title by setting the webtemplate parameters for Chart item and by changing the XHTML code as shown below.
    <bi:TITLE path="DATA_PROVIDER:DP_1?/BICS_VIEW/SELECTION_STATE/SELECTION/CHARACTERISTICS/CHARACTERISTIC[@name=&apos;0MATERIAL__ZARC_MOD1&apos;]/SELECTIONS/SELECTION[1]/MEMBER/" />
    But I was not able to concatenate the fixed text (Eg. FFV Graph) and variable value(LD) into the chart title (LD FFV Graph).
    Please help if you came across similar requirements.
    Regards
    Karthik Muthyala

    Hi,
    You can type "FFV Graph "in your web template in WAD and use "Info Field" web item before FFV Graph. You need to select Model variable in Info Field web item settings like below:-
    Regards,
    Suman

  • Multilanguage - set chart title dynamically

    Hello members!
    I am developing a product which should support multilanguage support. This includes the crystal reports.
    After reading different threads on this topic, I got the idea to set the text dynamically. To achieve this solution, I need to read all texts that could be set via the code. For the TextObject and FieldHeadingObject, I got the following code to add the current text to a ResXResourceWriter:
    ReportDocument report = new ReportDocument();
    ResXResourceWriter resXWriter = New ResXResourceWriter(pathToResourceFile);
    foreach( ReportObject reportObject in report.ReportDefinition.ReportObjects)
       if(reportObject.Kind == ReportObjectKind.TextObject ||
          reportObject.Kind == ReportObjectKind.FieldHeadingObject)
           resXWriter.AddResource(reportObject.Name, ((TextObject)reportObject).Text);
    How can I read the text from the chart titles and legends? Has someone any idea?
    Thank you
    Alex

    Hello Ludek!
    With the help of the following thread
    .net TextObject with embedded Fields Question I got an idea how to achieve the first goal.
    I modified the code to read the different titles from the chart object and store the values in the resx file. The supplied resource value (GroupTitle, DataTitle, Subtitle, SeriesTitle and the Title) should be checked for null.
    public void GetTitlesFromChartObject(string reportFilePath, string resourceFilePath)
        ResXResourceWriter resXWriter = new ResXResourceWriter(resourceFilePath);
        CrystalDecisions.CrystalReports.Engine.ReportDocument myReportDocument = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
        CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument rasClientDocument;
        CrystalDecisions.ReportAppServer.Controllers.ReportObjectController rasObjectControler;
        CrystalDecisions.ReportAppServer.ReportDefModel.ChartObject rasChartObject;
        //load the report
        myReportDocument.Load(reportFilePath);
        rasClientDocument = myReportDocument.ReportClientDocument;
        rasObjectControler = rasClientDocument.ReportDefController.ReportObjectController;
        foreach (CrystalDecisions.ReportAppServer.ReportDefModel.ReportObject rasReportObject
        in rasObjectControler.GetReportObjectsByKind(CrReportObjectKindEnum.crReportObjectKindChart))
            rasChartObject = (CrystalDecisions.ReportAppServer.ReportDefModel.ChartObject)rasReportObject;
            resXWriter.AddResource(rasChartObject.Name.ToString() + ".Title", rasChartObject.ChartStyle.TextOptions.Title.ToString());
            resXWriter.AddResource(rasChartObject.Name.ToString() + ".GroupTitle", rasChartObject.ChartStyle.TextOptions.GroupTitle.ToString());
            resXWriter.AddResource(rasChartObject.Name.ToString() + ".DataTitle", rasChartObject.ChartStyle.TextOptions.DataTitle.ToString());
       resXWriter.Close();
    Thank you for your help
    Alex

  • Can I dynamically display Page title over a static header image?

    Is there a way to Dynamically Display Page Title Text Over my static site Header Image? here is a link so you can see what I am talking about. http://www.bridgestoprosperity.org/See-Our-Work/afghanistan/afghanistan.htm where Afghanistan would be the text to be replaced automatically on each page.  Please note, currently, I must create individual headers, insert the page title in photoshop, etc. I am hoping to figure out a way for all this to happen dynamically perhaps by calling the text from the page title info.
    Thank you,
    Allan

    Hi, Allan,
    I realize my suggestion is off your point, and you probably have already thought of some of this, hence your question... But, rather than going the dynamic route, Why not create a Header Image without a title on it and use it as a div background image? Replace this
    <img src="/See-Our-Work/afghanistan/Images/header/afghanistan-header.jpg" name="topnavbar_r1_c1" width="779" height="114" border="0" alt="bridges to prosperity: afghanistan">
    with the styled div, for instance:
    <div id="header"><h2>Afghanistan</h2><h3>Bridges to Prosperity: USA</h3><div>
    At this point, you can use a more generic image for the background, one that does not have "Afghanistan" embedded in it, and you may style the #header thus:
    #header {
         width: 779px;
         height: 114px;
         border: 0;
         background-image: url(/See-Our-Work/Images/header/header.jpg;)/* for instance */ 
    and the header Headline styles thus:
    #header h2, #header h3 {
         color: white;
         text-align: right;
         font-family: Arial, Helvetica, sans-serif;
    Then you can place your html (<h2>, <h3> etc.) in the same div, only on the "surface".
    Using the tags <h2> and <h3> will maintain their usefulness to Search Engines; as hiding them in images does not.
    If you still wished to vary the header image, depending on the contents of the page, you can actually control all of this from the CSS file, if you add an id attribute to the <body> of each page.
    For instance, for your example page, if you did this:
    <body id="afghanistan">
    You could then do this in your CSS file:
    #header {
         width: 779px;
         height: 114px;
         border: 0;
    body#afghanistan #header {
         background-image: url(/See-Our-Work/afghanistan/Images/header/afghanistan-header.jpg);
    You could then proceed to have a different background image for each page. (Not your original intention, but now possible).
    <body id="pakistan"> would use a CSS style declaration like:
    body#pakistan #header {
         background-image: url(...pakistan-header.jpg...etc.);
    I am not aware of being able to pass content (other than background images) using CSS, so I would go into each page and put the Headline in html.
    But if you were using multiple background images in the header div (one image for afghanistan, another for pakistan, in my example), you can use the same <body id="afghanistan"> for ALL pages about Afghanistan, and thus have the continuity of the same image for all. Likewise, you could id all pages about Pakistan <body id="pakistan">.
    I hope this gives you some ideas...
    Z

  • Changing a chart title dynamically

    Hi all. I'm on apex 3.1.0. I have a list_item with some values and a chart that depends on the value of this list item. I have no set at the moment title of this chart. What I want is to set title depending on value of my list item. So if value of list item is AAA I want that title of chart is AAA, if BBB then title should be BBB and so on.
    How can I achieve that??
    Thanks for collaboration,
    Fabrizio

    I guess you mean a select list. You could use a select-list-with-submit or select-list-with-redirect item to ultimately redirect back to the page, passing in the selected value name for use as the chart title. Or you could do something with javascript to capture the selected value and save it in session state immediately. Others will have to advise you on these possibilities.
    Scott

  • Viewing SPC chart - how?

    Hi
    I am quite new with MII. I am experimenting the SPC example from the QualityPortal and I do have connection to the SQL server and the QualityPortal project also successfully imported. I could also see the template loaded in Workbench.
    However how do I view the SPC chart (applet)?.  What I did was in IE, i entered
    http://<server>:<port>/XMII/SPCChartServlet?DisplayTemplate=QualityPortal (ofcourse the actual server and port name). However I got this error message
    "Template was not found, cannot load QualityPortal"
    any suggestion? thanks in advance
    seng

    Hi,
    Did you check that display templete is avaialble in the project root folder.
    Also I think you havenot passed the qurey template to the display template.Just map the query template(from data mapping tab) to the SPC Chart display template.Then go for executing this display template in workbench.
    You can also use Dynamic Page Generator for viewing the chart.
    -Suresh
    Edited by: Suresh Hiremath on Jan 21, 2010 12:18 PM

  • 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.

  • Dynamically displaying a new region (row?) based on immediate user input

    Whew, figuring out a title was almost as hard as trying to explain what I want to do!
    Okay, a little background first.
    My app has 178 main data fields, spread across about 35 tables. The users want to be able to search any and all data fields. So, I wrote a PL/SQL package that for each master record, loops through all of the child tables and creates (more or less) an XML file for each master record (which I store in a CLOB field). When any data in any table is changed, a trigger fires to re-update that CLOB field as well. I then used Oracle Text to create an index on the CLOB field, and now the users can search across all of the available information for each master record and get a list of which records contained what they were looking for.
    So here's the first part of the problem. The app is a Mineral Occurence database for all mineral information world-wide. Say they enter "Brazil" as what they want to search for, they not only retreive all of the mineral sites in Brazil, but also all of the sites where one of the mining companies may be based in Brazil, or Brazil is one of the comments, etc. While this is the expected behaviour, it's still not quite what they expected (but they also don't want to get rid of this behaviour either).
    So, since the CLOB field is already formatted with XML-type tags, what I want to do is to have an Advanced Search page, where the user can specify the table name to search, or the field name, or both. What I'd like to do is at the end of each line, have a select list with an "AND" or "OR' box, and if that gets a value, then dynamically create another 'row' underneath the first row, with the same three 'boxes' (actually select lists), and continue on until the user has specified exactly what they want to search for.
    I would rather not have to create a whole bunch of regions or rows, and then determine at runtime whether or not to display them.
    So i would have (using underscores as the boxes/fields):
    Table to Search        Field to Search          And/Or
    ______________          _____________          _______Each of the above would be a select list.
    Anybody have ideas on how I can accomplish this? Any Javascript or AJAX-type solutions that a dummy like me can easily implement? I've seen something almost similar on Carl's example pages to Hide/Show a region(?), but understanding the underlying code and then modifying it for what I want to do is extremely complicated (for me) at best.
    Thanks.
    Bill Ferguson

    Well, after searching through the QBE results (even some of mine), the only thing that comes close is Earl's (http://htmldb.oracle.com/pls/otn/f?p=36337:14). Actually his layout is almost perfect and pretty identical to what I want/need. Vikas' example seems like what I've toyed with on some other pages in my app, using a simple UNION ALL with nulled fields in the select statement, which won't work for what I need, at least I can't seem to visualize how I could incorporate that same code logic.
    However, unlike Earl's, when/if the last column (which I'd have as the 'AND/OR' select list) is populated, I'd like to dynamically display another new row.
    Now I know I could do it by making the last column a 'Select List With Submit', but that would neccessitate my creating about 25 regions (to hopefully cover the max any of the users would ever need), and then conditionally display the region based on whether or not the previous 'AND/OR' condition field was populated. It would also require a whole slew of page refreshes, which is clunky.
    It seems like there should probably be a way with AJAX to accomplish something similar. I think I remember seeing something along these lines in the last year or so on here, but I can't find it.
    Something like a cross-breed of Earl's example page above mixed with Carl's example at http://htmldb.oracle.com/pls/otn/f?p=11933:39:4740898821262791902::NO:RP:: which would automatically fire on the poplulation of the last select list is probably the best I can accomplish, unless somebody has some better ideas on how to do this. Using Carl's htmldb_remix code, I can avoid all the submits and the resulting page refreshes, but the code itself will take an old dummy like me a while to figure out.
    Thanks for the ideas though.
    Bill Ferguson

  • How to use the region parameter of main report for subreport chart titles?

    I am using Crystal Reports 11.
    I create 1 main report with 10 sub-reports that contain cross-tabs & charts. The main report has a parameter regarding 3 different areas: region1, region2, and region3.
    I use the method of adding the u2018regionu2019 parameter of main report to the selection formula of the sub-reports. So, I can select 'region' from main report to controll outputs in sub-reports by region.
    I use formulas for chart titles, e.g.:
    Select {Product Code}
    Case 'a111':
      u2018Region1 u2013 a111 Counts'
    Case u2018b222u2019:
      u2018Region1 u2013 b222 Counts'
    u2026
    u2026
    Default:
    u2026
    Since I pass the u2018regionu2019 parameter of main report to sub-reports, I have to change chart titles dynamically based on the region I select.
    How can I use the region parameter from main report in the formulas to get chart titles dynamically?
    Thank you in advance.

    Thank you.
    I am not using Chart Title with "Chart Expert".
    I am using a formula for chart titles, e.g.:
    Select {Product Code}
    Case 'a111':
      u2018Region1 u2013 a111 Counts'
    Case u2018b222u2019:
      u2018Region1 u2013 b222 Counts'
    u2026
    u2026
    Default:
    u2026
    I drag this formula above the charts and it looks like a dynamic title. So, for product a111, the chart title would be "Region1 u2013 a111 Counts"; for product b222, the chart title would be "Region1 u2013 b222" Counts; and so on ...
    Because I pass the region parameter from master report to subreport, I want to change the region part of the chart titles dynamically.
    For example,
    when select Region1, the chart titles should be: "Region1 u2013 a111 Counts"; "Region1 u2013 b222"; ...
    when select Region2, the chart titles should be: "Region2 u2013 a111 Counts"; "Region2 u2013 b222"; ...
    I want to add the region parameter into the tiltle formula.
    How should I do?

  • 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

  • Changing the Chart Title in Graphic View in Interactive demand Planning

    Hi All,
    Is it possible to change the Chart title in Graphic View in interactive demand planning screen.
    When we go to interactive planning after loading the data we go to Univariate forecast then switch to graphic, the chart title shows the selection at which the planning is done. For eg; If I plan at die level and i select a particular sap material, the chart title displays Die value and not the material value.
    Is it possible to change the chart title such that it displays all the selections made in selection winodw, like in the above case both Die value as well as SAP Material Number.
    Thanks and Regards,
    Diana

    Dear Diana,
    unfortunately this is not possible.
    The chart title is build from the planning book name + the Show characteristic in the shuffler (+ available nav. attributes of the Show char).                                                           
    The functionality you requested doesn't exist in standard.            
    Regards,
    Tibor

  • Line Break in Chart Title??

    Hi! Does anyone know how to make a line break in the title of a chart? For some reason, just pressing return or any combination of return with option, control, shift, etc. does not seem to be working... the title is really long to be on a single line and I'm not able to change the size either.

    Hi kp,
    True for Category titles, which are taken from a header column (see examples— Cat 1 through Cat 4 on table and chart below), but not for the Chart title, which displays an option return as a space, and whose box extends horizontally to accommodate the whole title in a single line, even when that line extends beyond the screen/page boundary (see example on chart).
    Table names, when shown, are carried in a box that expands only to the width of the table to which they belong, which led to the example above the chart:
    For the table example, there are two tables,
    "Table with...title" contains two columns, and is placed behind "Table 1", the table containing the data. Only the first table has the Show title box checked.
    Just a parlour trick, though—no advantage I can see to using this method of displaying a long table name over using a  text box, as suggested earlier by Jerry.
    I can see where your suggestion regarding category names could have some merit, though. Its disadvantage is in doubling the height of the rows from which those names are grabbed.
    Regards,
    Barry

  • Insert dynamic variable in report title?

    Hi
    I am new to Discoverer. I have created a report that displayed a set of data based on the value of last month. So I have created a calculation that gets the value of last month:
    LAST_MONTH = TO_CHAR(ADD_MONTHS(TRUNC(SYSDATE,'MM'),-1),'MON/YYYY')
    I then use the value of LAST_MONTH to select dates from my data where DATE LIKE LAST_MONTH.
    But I want the report title to actually have the value of LAST_MONTH in it, so it actually says something like
    Report for NOV/2009
    dynamically etc.
    Is this possible?
    Thanks
    Lee

    Hi Lee
    To add to what Rod has said, which is 100% correct, let me explain why.
    In order to get something into the title of any report or document, whether this be Word, Excel, SQL or even Discoverer, that something must be applicable to all of the values currently displayed on the page of the report. Whereas Word or Excel will allow you to manually place something into the title, Discoverer does not. In order for Discoverer to allow you to place something into the title it must either be a Page Item or a Parameter. This is because Page Items and Parameters are guaranteed to be unique to the page of the report being displayed. Thus, if you had more than one Page Item, as you move from one to the next the title would dynamically change. When you have a fixed value or calculation, such as your LAST_MONTH, you still need to display it in the Page Items in order to place it on your title.
    To make a Page Item or Parameter display in the title you simply type the & character followed by the name of the item as it appears in the Page Items or by the name you gave the Parameter. Case is import too so last_month is not the same as LAST_MONTH.
    Whenever Discoverer encounters the character & in the title it starts looking for a Parameter or Page Item named by whatever is following the &. If it finds a match it displays the value. It no match is found then it literally displays whatever you typed. Any additional characters that you type after a successful match are also display literally.
    For example: suppose you Page Item is called LAST_MONTH and the value was NOV-09 but in the title you typed &LAST_MONTHS then what will display would be NOV-09S. However, if you typed $last_months then you will literally see &last_month in the title.
    I hope this helps.
    Best wishes
    Michael

  • Setting LSL, USL and Target in SPC Chart

    I need to set my LSL, Target and USL of an SPC Chart to nothing.  Is the below param correct to do this?  I have tried this and it seems to set them at 0.  This then throws my chart off as far as SPC control limits goes.  I can not simply open display editor and change this because more than one chart depends on this display.
    <param name="USLColumn" value="">
    <param name="LSLColumn" value="">
    <param name="TargetColumn" value="">

    Why do you need to set them to "nothing" - shouldn't you be using another type of chart (e.g. custom chart, line/marker chart, etc.)?
    In any case, simply deselect showing the LSL/Target/USL in the display template editor.
    <param name="UpperShowSpecificationLimits" value="false">
    <param name="LowerShowSpecificationLimits" value="false">
    - Rick

Maybe you are looking for