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

Similar Messages

  • 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

  • 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

  • Crystal Reports - Change Line Chart Color Dynamically

    Hello,
    I have Crystal report 14.
    I'm trying to create a line chart and need to be able to set the colors of the lines at the time the report is run.   The colors the lines need to be are specified in a database and a different color could be specified each time the report is run. 
    Can anybody suggest how I would do this?
    Thanks
    Edited by: Robert4543 on Nov 16, 2011 5:23 PM

    I've tried to use 'Color Highlight'  to change the color of the lines, but it only changed the colors of the markers on the line, not the actual line itself.  Is there a way to get it to change the color of the line? 
    I may have one line I need to display as 1 color, and a 2nd that I need to display as another.  Using color highlight changed the markers for both lines to the same color.  Is there a way to specify which line I want to change the color of in "Color Highlight"?
    Thanks.
    Edited by: Robert4543 on Nov 16, 2011 8:41 PM

  • Change Bar Chart Measures dynamically

    Hi,
    I have created one stackedColumn Chart , I am displayig different chart by selecting the different options in the same stackedColumn chart.
    The Proble is measure name is not changing automatically when the event is triggered.
    This is my code :
    measures : [ {
    name : oController.oName,
    value : '{oCtc}' 
    In the event handler function i am using the following functions
    .destroyMeasure();
    .InsertMeasure(new sap.viz.ui5.data.MeasureDefinition({name : oController.oName}));
    .InsertMeasure(new sap.viz.ui5.data.MeasureDefinition({name : '{oCtc}'}));
    but still its not working properly...
    the new name appending to the old name and also the old name only hilighting
    can anyone plz tell me the solution for this.
    Regards,
    Devaraj

    hi Shafr
    beleive it or not, i got it using trial and error. i keep
    trying words in the function setStyle until the color changed. i
    dont know why it is not documented.
    var periodBarColor:SolidColor = new
    SolidColor(taskSchedColorChooser.selectedColor, 1);
    periodBar.setStyle("fill",periodBarColor);
    //where taskSchedColorChooser is colorPicker component. you
    can replace it by any color you want

  • How can i change my graph title dynamically in my workbook

    I've created a chart and saved as a work-book.  i need to somehow show the date they selected from the filter.  i've tried adding the text box and point to the filter but they enter a quarter and the graph shows a rolling 4 quarters.  I want it to say from Q2-2006 - Q2-2007.

    figured out on my own.

  • How to change report title dynamically??

    Hi,
    I need to change the report title dynamically. The report title must contain the value of a particular culumn in the same report.
    ex:
    col1----col2
    123----abcd
    Report title should be report123
    Thanks

    Hi BIPUser,
    Thanks for your answer.
    @1 in title view is not working. It shows @1 in the title view.
    But Narrative view is working fine.
    Thanks again
    Have great weekend
    Edited by: bob123 on Apr 2, 2010 8:41 AM

  • Change Chart TItle

    Is there a way to change the chart title in Power BI Preview?

    Hello Brian,
    In the thread below, the user shows a way to change the chart title, but I don't know the version of PowerBI Preview he is using.
    https://social.technet.microsoft.com/Forums/en-US/2339b3ce-9c24-42e0-aba4-ddae9b3f348f/power-view-changing-chart-title?forum=powerview
    Hugs!
    Bruno Destro
    Dicas de programação em .net, C# e SQL - http://smcode.com.br/blog.aspx

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

  • CR2008 - Set chart titles during run time

    Hello community!
    Is there a way to change the chart titles during runtime with the fullversion?
    I have the following code to change the text of the "FieldHeadingObject" and "TextObject" and this is working.
    foreach (CrystalDecisions.CrystalReports.Engine.ReportObject repObject in sec.ReportObjects)
       if (repObject.Kind == ReportObjectKind.TextObject ||
           repObject.Kind == ReportObjectKind.FieldHeadingObject)
            ((CrystalDecisions.CrystalReports.Engine.TextObject)repObject).Text = "my new Text";
    How can I change the titles of the chart object?
    I know already that there is the class "ChartTextOptionsClass"
    Does someone know how I could access the TextOptions in the ChartObject so that the new Titles are displayed in the report?
    Thank you
    Alex

    Hello Ludek!
    Thank you for the example code. I modified them to meet my requirements.
    void LoadReportLanguageResources(ReportClass report)
       foreach ( CrystalDecisions.CrystalReports.Engine.Section sec in report.ReportDefinition.Sections)
          foreach (CrystalDecisions.CrystalReports.Engine.ReportObject repObject in sec.ReportObjects)
             if (repObject.Kind == ReportObjectKind.TextObject ||
                  repObject.Kind == ReportObjectKind.FieldHeadingObject)
                ((CrystalDecisions.CrystalReports.Engine.TextObject)repObject).Text = "test";
       CrystalDecisions.CrystalReports.Engine.ReportDocument rptDoc = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
       CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument rptClientDoc;
       report.Load();
       rptClientDoc = report.ReportClientDocument;
       CrystalDecisions.ReportAppServer.ReportDefModel.ReportObjects myCharts;
       myCharts = rptClientDoc.ReportDefController.ReportObjectController.GetReportObjectsByKind(CrReportObjectKindEnum.crReportObjectKindChart);
       foreach (CrystalDecisions.ReportAppServer.ReportDefModel.ReportObject oldObject in myCharts)
          if (oldObject.Kind == CrReportObjectKindEnum.crReportObjectKindChart)
             CrystalDecisions.ReportAppServer.ReportDefModel.ChartObject oldChart;
             CrystalDecisions.ReportAppServer.ReportDefModel.ChartObject newChart;
             oldChart = (CrystalDecisions.ReportAppServer.ReportDefModel.ChartObject)oldObject;
             newChart = (CrystalDecisions.ReportAppServer.ReportDefModel.ChartObject)oldChart.Clone(true);
             newChart.ChartStyle.TextOptions.Title = "My new Title";
             newChart.ChartStyle.TextOptions.DataTitle = "My new data Title";
             newChart.ChartStyle.TextOptions.SeriesTitle = "My new series Title";
             rptClientDoc.ReportDefController.ModifyChartObject(oldChart, newChart);
    But I am hvaing problems with the method modifyChartObject(oldChart, newChart). When the method is called i get an COMException with a message like "The data fields of the diagramm are not valid" (German message: "Die Datenfelder des Diagramms sind ungültig"); ErrorCode -2147213287;
    LoadReportLanguageResources is called via the following functions - I left out the outermost functions where the reportingList is loaded and the parameter is built.
    //Checks the list with the report items and call the main load method
    void IReportView.LoadHusReport(IList<HusRepItem> reportingList, BDEA01RangeParameter parameter)
       if ( reportingList.Count > 0)
          reportClass = new repHusReport();
          reportClass.SetDataSource(reportingList);
          LoadReport(reportClass, "Hus Station Report", parameter);
    void LoadReport(CrystalDecisions.CrystalReports.Engine.ReportClass myReport, string title, BDEA01Parameter parameter)
       //check the parameters
       //set the parameters for the report (start and end time of the displayed report range)
       myReport.SummaryInfo.ReportTitle = title;
       if(reportViewer == null)
          crCrystalReportViewer = new CrystalReportViewer();
          reportViewer.Child = crCrystalReportViewer;
       LoadReportLanguageResources(myReport);
       crCrystalReportViewer.ReportSource = myReport;
    Is there something I have forgotten?
    I checked the datafields of the old and the new chart and both have 0 entries before the ModifyChartObject method is called.
    If the method is not called, the report is functioning and all values/diagrams are displayed correctly.
    Thank you Ludek for your help.
    Alex
    Edited by: Alexander Frwirth on Jul 7, 2010 10:13 AM

  • Dynamic title change in chart

    Hi,
    I have created a Revenue vs Period chart. I have a time dimensional hierarchy for drilldown. By default the report charts revenue across year. The chart title should be Year. when i drilldown from year to quarter the title should dynamically change to Year>>Quarter. when i drilldown again the title should be Year>>Quarter>>Month.
    Do we have any option for changing the title dynamically in chart? Is there anyother way to achieve it?
    Thanks in advance,

    Hi friend,
    In general propierties of chart, 'Show data labels' --> set Default (On Rollover)
    Good luck.

  • 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

  • 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

  • How to programatically (dynamically) change the chart legend ?

    How do I add new labels/symbols to the chart legend dynamically ?
    I'm creating a scatter graph using the query
    select A,B,C from tableX group by A
    B is the y-axis, C is the x-axis. Points plotted for each grouping of A will be a different color. I know I can change the color of the point to be plotted thru the format trigger. The format trigger will change the color of the plotted points when there is a change in the grouping of A. My problem is how can I add a new label/color to the legend for each grouping of A as it is plotted ? The number of groupings of A is variable depending on what's in tableX. I need to programatically create the legend (each grouping of A will have it's own label/color) thru the format trigger as I won't know before hand how many groupings of A there will be.

    Try with Presentation variables.

  • How to change the browser title Window or View Dynamically.

    Hi
    I have several application calling my applicationm and i need the browser that lauches the application to have different Titles on the Browser Title.
    How can I change the Title from the Window or View?
    Please advice.
    Thank you.
    Regards,
    Vinod

    The browser title gets pulled from the WD Application Description.  Currently there is no API to change the browser title from within WDA.  Next year in 7.02 we do add such an API.  Here is an example of what will be possible in 7.02:
    data l_window_title type string.
      case lv_transaction_type.
      when wd_assist->create_mode.
      l_window_title = `Create Sales Order`.
      when wd_assist->display_mode.
      l_window_title = `Display Sales Order: ` && so_id.
      when wd_assist->change_mode.
      l_window_title = `Change Sales Order: ` && so_id.
      endcase.
      wd_this->wd_get_api( )->get_component( )->get_application( )->set_window_title( l_window_title ).
    Setting the title on a View is easier.  You can just use a Tray or Group UI element as the root of your view and set the title property of the UI element dynamically by context binding to the property.

Maybe you are looking for

  • Oracle Forms 11gR2 - Cannot deploy locally from within Forms

    I cannot deploy locally from within forms.  The server is up and running and I can deploy the form by putting the correct URL in the address line of the browser window.  When I try to deploy from within forms it comes up with some crazy URL that diff

  • New Hard drive, adding artwork a pain...

    Since yesterday I've been re-upping my library with my new hard drive. Sometimes I try to drag a picture onto the artwork box where you fill out info for the album, and it doesn't stick the photo. Nothing happens. I try the same photo from a differen

  • Premiere Pro CS5.5 Mac - Major Metadata Problems

    Hi... I am having major problems with the Metadata system in Premiere Pro CS5.5 I have created a custom scheme and added the following property "Key" and set it to have a boolean value (Check Mark) My Metadata display correctly displays the "Key" pro

  • Stocktransfer after UD doesn't work

    Hi experts, following problem: Creation of a inspection lot (04) by release of a work order. Inspection lot was created without inspection lot stock, because GR from WO wasn't done. After WO confirmation, GR with MB31 (Mv-Typ. 101) was done. Material

  • HTTPS To Retrieve Data

    I have a request to use HTTPS to access a url and "pull" data into our XI instance. I have used HTTP to "push" data to a client url but not to "pull" data. Is this possible and if possible, can a schedule be included in the communication channel to a