Arrows on Curves in reports Programmatically

Hi,
I would like to add some pointers using the arrow on the curves programatically (please refer the attachement)
The Curve peaks would change based on the data; hence I would like to get a report where the arrows are can be put for each point along with the text A0 etc. Though I can locate the peaks on the report am unable to put the arrows.
Can anyone quickly help me on this?Waiting for your earliest response.
TIA
Priya
 

Hi Priya,
you can use "Curve Coordinates" in a 2D axis system to bind arrows and comments to a point on a curve.
Look for the example "2D Axis System with Curve Coordinates" in the DIAdem help file.
I suggest you prepare a similar layout for your case manually and then change the "Approximation coordinates" with a script to adjust the display to new data.
I hope these hints help you.
DIAdemo
 

Similar Messages

  • How to get analytics reports programmatically in SharePoint 2013?

    In SharePoint 2010 it was possible to obtain data from web analytics programmatically using Microsoft.Office.Server.WebAnalytics.Reporting.AnalyticsReportFunction class.
    How can you get search reports programmatically in SharePoint 2013? Are there new assemblies or classes that can be used to obtain them?
    In my scenario, i am mostly interested in the most searched terms at web application or service application level. 
    In SharePoint 2013 the Web Analytics Service Application was merged into the Search Service Application. It seems now that the old assemblies used for this (Microsoft.Office.Server.WebAnalytics.dll
    and Microsoft.Office.Server.WebAnalytics.UI.dll) are not available any more.
    They are available in the user interface as Excel reports, in CA->Application Management->Manage Service Applications->Search Service Application->Usage Reports , but I am interested to obtain these reports programmatically.
    Is this scenario still supported in SP 2013?

    try this 
    using (SPSite site = new SPSite(MainBUPageUrl))//open root
                            using (SPWeb web = site.OpenWeb())
                                AnalyticsReportFunction AnalyticReport = new AnalyticsReportFunction(); //create object of analyticsReport
                                Thread.CurrentPrincipal = new WindowsPrincipal(WindowsIdentity.GetCurrent());//this is used only
    in timer job if not used then GetWebAnalyticsReportData will not work
                                object[,] result = null;
                                    web.AllowUnsafeUpdates = true;
                                   result = AnalyticReport.GetWebAnalyticsReportData(SiteCollurl, "2", ReportType.TopDestinationForSiteReport.ToString(),
    DateTime.Today.AddDays(-3.0), DateTime.Today); //this gives top visitor for provided site collection by providing time duration(start and end date),report type and url
                                    SPList list = web.Lists.TryGetList("AppreciationsList");//list
                                    for (int counter = 0; counter < 10; counter++) //show top ten pages
                                        Item = list.AddItem();
                                        s_count = result[rcount, 1].ToString(); //code
    to get top vistor usage count
                                        Username = result[rcount++, 0].ToString();//get
    top vistor name
                                        user = null;
                                        try
                                            user = web.EnsureUser(Username);//check
    user available?
                                        catch (Exception)
                                            counter--;
                                            continue;
                                        IfExist = checkUserExistence(user);//call the
    function   // IfExist = false; //this flag is used to check existence of user in insightMember group
                                        if (IfExist == true)//if user is not in the insight2
    group member list
                                            Item["Appreciated Person"]
    = user; 
                                            Item["Title"] = s_count;
                                            Item.Update();
                                        else //if user is in the insight2 group member
    list
                                            counter--;
                                            continue;
                                  web.AllowUnsafeUpdates = false;

  • Standalone 5.6 example of running a report programmatically required

    I'm a newbie to XMLP and my first impressions of it is that it is excellent. I have been working through the user guide and Mark Rittmans blog where he discusses some examples etc. I am quite comfortable with creating the templates and writing the SQL etc for the reports and running them through the XMLP Enterprise interface - so far everything works a treat.
    However what I would really like to explore is how you can run a report programmatically, so far I have searched the forum and documentation and haven't found example code of how you write the software to set the RTF template and then process it against the data and deliver the output file to either the file system or email etc.
    Could someone please pass on an example to get me started, like anything new once I have a basic example to enable me to understand the principles I will be away.

    Thanks Klaus, I have managed to get a few examples built and it is working fine. One suggestion I would like to make though for the next version of the user guide is to list the jar files that are required to be added to your project in order to run XMLP classes - I ended up importing all of them from my Tomcat webapps folder where I had dropped in the xmlpserver.war file. I don't think I needed all of them but it was quicker than adding each one and then working out after the next "make" in what jar file the not found classes where in ;-)
    I am new to all of this and assume that is what I had to do in order for my java to compile?

  • How to rename OBIEE reports programmatically?

    Hi,
    We have OBIEE webcat of several hundred reports. Recently we have to rename 150 reports according to latest requirement. Instead of doing this manually, is there a way to rename reports programmatically? Is there sample codes I can follow? I'm using OBIEE 10.1.3.4.
    Thanks for your help.
    Wei

    I am not aware of any existing api to do that except webservices api. This one is however flexible enough and well documented
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31769.pdf
    You can code your webservices calls in any language your choice (java,python,any other what you are skilled in) - here is a very basic example in plsql:
    declare
      l_envelope      varchar2(32767);
      l_http_request  utl_http.req;
      l_http_response utl_http.resp;
      l_url           varchar2(1000);
      x_envelope      xmltype;
      l_sessionid     varchar2(1000);
      l_src           varchar2(1000);
      l_tgt           varchar2(1000);
    begin
      -- Get session id
      l_url      := 'http://zajin:7003/analytics01/saw.dll?SoapImpl=nQSessionService';
      l_envelope := '
    <soapenv:Envelope
      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
      xmlns:xsd="http://www.w3.org/1999/XMLSchema"
      xmlns:v5="com.siebel.analytics.web/soap/v5" >
       <soapenv:Header/>
       <soapenv:Body>
          <v5:logon>
             <v5:name>Administrator</v5:name>
             <v5:password>Administrator</v5:password>
          </v5:logon>
       </soapenv:Body>
    </soapenv:Envelope>
      l_http_request := utl_http.begin_request(l_url, 'POST', 'HTTP/1.0');
      utl_http.set_header(l_http_request, 'Content-Type', 'text/xml');
      utl_http.set_header(l_http_request, 'Content-Length', length(l_envelope));
      utl_http.write_text(l_http_request, l_envelope);
      l_http_response := utl_http.get_response(l_http_request);
      utl_http.read_text(l_http_response, l_envelope);
      utl_http.end_response(l_http_response);
      x_envelope := xmltype(l_envelope);
      select extractvalue(x_envelope,
                           '/soap:Envelope/soap:Body/sawsoap:logonResult/sawsoap:sessionID',
                           'xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:sawsoap="com.siebel.analytics.web/soap/v5"')
        into l_sessionid
        from dual;
      -- Based on the obtained session handler
      -- rename requests i.e. move from l_src to l_tgt
      l_src := '/shared/Sample Sales/01 Ranking and Toppers/Multi-Dims Top Ns';
      l_tgt := '/shared/Sample Sales/01 Ranking and Toppers/Multi-Dims Best Ranked';
      l_url      := 'http://zajin:7003/analytics01/saw.dll?SoapImpl=webCatalogService';
      l_envelope := '
    <soapenv:Envelope
      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
      xmlns:xsd="http://www.w3.org/1999/XMLSchema"
      xmlns:v5="com.siebel.analytics.web/soap/v5" >
       <soapenv:Header/>
       <soapenv:Body>
          <v5:moveItem>
             <v5:pathSrc>' || l_src || '</v5:pathSrc>
             <v5:pathDest>' || l_tgt || '</v5:pathDest>
             <v5:sessionID>' || l_sessionid || '</v5:sessionID>
          </v5:moveItem>
       </soapenv:Body>
    </soapenv:Envelope>
      l_http_request := utl_http.begin_request(l_url, 'POST', 'HTTP/1.0');
      utl_http.set_header(l_http_request, 'Content-Type', 'text/xml');
      utl_http.set_header(l_http_request, 'Content-Length', length(l_envelope));
      utl_http.write_text(l_http_request, l_envelope);
      l_http_response := utl_http.get_response(l_http_request);
      utl_http.read_text(l_http_response, l_envelope);
      utl_http.end_response(l_http_response);
    end;With similar calls you can rename any items in your catalog, but you should be aware, if original items are referenced somewhere, those references have to be modified accordingly ( so, a lot of xml parsing may be required), of course, before you try to do it programmatically, you should probably backup your catalog.
    Best regards
    Maxim
    http://comsysto.wordpress.com/

  • How to publish reports programmatically?

    Post Author: mayuradatia
    CA Forum: Publishing
    I have a set of reports which I would like our client to publish to Crystal Server XI. How can I do so programmatically? If I have scripts, I just need to ask the client to run the scripts rather than explain the process of going through publishing wizard or CMC etc.
    Further I would like to schedule these reports programmatically. Kindly help.

    CR 2011 does not install any SDK... You can however download SAP Crystal Reports, developer version for Microsoft Visual Studio, which is an SDK that will let you work with VS 2010 and 2012.
    You will then have to decide if you want to use the Crystal Reports SDK or the InProc RAS SDK.
    Samples are here:
    Crystal Reports for .NET SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
    NET RAS SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
    Dev Help files:
    SAP Crystal Reports .NET SDK Developer Guide
    SAP Crystal Reports .NET API Guide
    Report Application Server .NET SDK Developer Guide
    Report Application Server .NET API Guide
    Discussing your requirements with sales may not be a bad idea either: 866-681-3435
    http://www.sap.com/contactsap/directory/index.epx
    Or, create a phone support incident here:
    Crystal Single Case Technical Support - SAP Business Objects US Online Store | SAP Online Store
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Access an existing PerformancePoint Report programmatically

    Hi Guys,
    I have built a PerformancePoint report using the multidimensional datasource(SSAS Cube) using Dashboard designer. Now i want to access the same report programmatically. The reason being, i need to check the MDX query at the runtime. I want to make the report
    Role based, so i want to pass the user to the MDX query at the runtime.
    Any Thoughts?
    Thanks in advance.

    Hi Nageddra YR,
    for performance point, i may suggest you to open a thread at officeperformancepoint forums. i believe at that forums there will be more people that are experienced and knowledgeable regarding this product.
    http://social.technet.microsoft.com/Forums/en-US/home?category=performancepointserver
    regarding this issue, i may only able to give you general solution.
    http://nickbarclay.blogspot.in/2008/01/pps-data-connection-security-with.html
    http://social.technet.microsoft.com/Forums/en-US/5cdaccc0-88e9-498c-9d6a-046db2519bd1/pass-parameters-from-performancepoint-filter-to-mdx-query?forum=ppsmonitoringandanalyticshttp://social.technet.microsoft.com/Forums/en-US/5f8a185d-e069-40c5-befd-4315588ac25f/accessing-report-server-programmatically?forum=sqlreportingservices
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Loading new curves into report via Script

    Hello everyone!
    I tried the following to add a curve into a report via VBS-Script
    Call GraphObjNew("2D-Axis","MyGraph")
    Call GraphObjOpen("MyGraph")      
      D2AXISSYSTEM     ="one system"
      Call GraphObjNew("2D-Curve","MyCurve")
      Call GraphObjOpen("MyCurve")
        D2CCHNXNAME      ="Eigenschaften/Zeit"
        D2CCHNYNAME      ="Eigenschaften/Geschwindigkeit"
      Call GraphObjClose("MyCurve")
    Call GraphObjClose("MyGraph") 
    Call Picupdate()
    The Script runs without errors, but the Curve won't be added into the 2D-Axis Object. Does anyone know how to solve this problem?

    Hi Robert,
    Wenn I modify your code ever so slightly to operate on the channels I have in the Data Portal, and then execute the code in DIAdem 10.2, it works perfectly for me:
    Call GraphObjNew("2D-Axis","MyGraph")
    Call GraphObjOpen("MyGraph")      
      D2AXISSYSTEM     ="one system"
      Call GraphObjNew("2D-Curve","MyCurve")
      Call GraphObjOpen("MyCurve")
        D2CCHNXNAME      ="[1]/[1]"
        D2CCHNYNAME      ="[1]/[2]"
      Call GraphObjClose("MyCurve")
    Call GraphObjClose("MyGraph") 
    Call Picupdate()
    Of course, it creates a tiny little graph in the upper left hand corner of REPORT, which is probably not exactly what you want, but it is what you're asking DIAdem to do for you with the code.  I assume this is not happening for you.  What version of DIAdem are you using?
    On another note, I'd actually encourage you not to create the 2D-Axis programmatically, but rather to configure its location and appearance by hand and save a *.TDR file, which you can then load with PicLoad() or PicFileAppend().  If you leave off the first line of your code, the rest of it will then programmatically add curves and configure them as you wish.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Orange arrow link in Crystal Reports    version   sap  b1  8.8.

    Hi,
    i   try  to  create    report  in  crystal   report   sp01   8.8,  but  i  don't   see   where  is   orange   link   in   crystal   report   functionality.
    where  is   image   for   this   objects?   can  i  download  manually   the  image? 
    thank  you  so  much

    hi ,
    check below link:
    Crystal 8.8 orange link arrow to Sales Order
    or check https://websmp201.sap-ag.de/~sapidb/011000358700000882232009E/HowTo_Work_withCR_88.pdf for link arrow functionality.
    Thanks,
    Neetu

  • Cumulative vs. ACWP, BSWS, BCWP cost curves in reports

    Three questions:
    1. In Project 2013, I want to generate a cost curve report showing cumulative baseline cost, cumulative actual cost, and cumulative planned cost curves (I used to do this in Project 2010, with cash flow cost report data that I would transfer to Excel and
    create a cumulative cost table, which I would chart.) In Project 2013, in the report generator, the earned value cost curves for the actuals (the only way I know to get cumulatives) revert to zero past the current date and become a flat line across the bottom.
    I want them to stop at the current date. How do I do this? I've tried filtering, but don't know how to restrict a date range to one particular (cost) category. And, the edit data option is grayed out.
    2. It seems I am now limited to using earned value measures rather than the old baseline, actual, and planned. What am I missing?
    3. And, it appears the pre-set cumulative cost curve in Project 2013, is a planned cost? Can this be changed to baseline, or anything else?
    Thanks.

    I had problems with the Baseline Cost Visual Report. It came out over tasks, I wanted over time and a line graph. I tried some editing, but didn't quite get it.
    The Earned Value Over Time Visual Report looked promising. I tried it and got years by quarter, rather than weeks (as I had requested). Again, my edit skills failed me. I'll keep trying with these reports.
    I tried the edit timescale as suggested, but it controls all categories. I wanted to be selective to what data covered what time period, thus removing the zeros in actual weeks that are yet to happen while maintaining the overall totals for the baseline
    and cost at the end of the project.
    Thanks, I'll keep trying. I have a lot to learn.

  • Drill Down Arrow error in Crystal Report. Authorization Path

    hi all,
    i made a report in crystal report with drill down capability with the ff formula:
    'http://$b1$/link?table=OPCH&key='&totext(({OPCH.DocNum}),0)
    pls see image below for the error display:
    http://i264.photobucket.com/albums/ii184/abing430/DrillDownArrowError.jpg
    when i run the report in SBO the report display with no problem but when i click the drill down arrow it says "You are not permitted to perform this action : Authorization path". i am using the Manager account w/c is a super user.
    pls. help.
    thanks
    Fidel

    hi Gordon,
    thanks for the reply.
    now i use the ff. Formula as what u have instructed.
    'http://$b1$/link?table=OPCH&key='&({OPCH.DocEntry})
    this returns an error in formula
    'http://$b1$/link?table=OPCH&key='&totext(({OPCH.DocEntry}),0)
      this line does not returns an error in formula workshop but i still have the same error....
    addtitional information: this is my SBO version
    SBO: 8.8
    PL: 18
    best regards.
    Fidel

  • Shift-Arrow in Curves adjustment layer CS6

    In previous verions of Photoshop, when I made a curves adjustment layer, selected the midpoint, then did a shift-arrow adjusstment, it was always in increments of 10. Now in CS6, it is 12 on my machine, 13 and 14 on the two other machines in the office I have checked. Why would that be? Can that be changed so it is 10 again?
    FYI - this is all in RGB mode if that matters.

    What operating system are you using?
    Mac OS 10.6.8
    What version of photoshop cs6?
    Not really sure. Will have to check when I get back into the office in the morning.
    Maybe you could clarify or show a screenshot of where on the curve in the curves adjustment adjustment panel your placing the "midpoint"
    On the RGB curve, the midpoint is 128, but the same thing actually holds true at the 1/4 point and the 3/4 point.
    Are you using the light or pigment graph in the curves panel?
    Some one person has the histogram in the curves window, but other people do not
    If you don't press the shift key do the points move in increments of one?
    Yes
    All i can say is it seems to work on windows 7 x64 and photoshop cs6 extended 13.01.1
    (increments of 10 with Shift-arrow keys)
    Well, that helps. Lets me know that it is not normal.
    FYI - if I do the same thing directly on the image (Command-M), and not on an adjustment layer, the increments do go by 10. That's gotta be a clue, doesn't it?

  • Creating Crosstab reports programmatically

    I am about to start work on a adhoc report designer which will allow users to create simple reports from scratch through a browser.  This facility has to support cross-tab reports.
    Are there any examples of programmatically creating cross-tab reports using the Crystal api?
    Thanks
    Mark

    Hello Mark,
    please use this code belwo to add a chart programatically :
    This code uses inproc RAS in VS 2005
    //File Name:          CS__Add_Chart_inproc.sln
    //Created:            March 29, 2008
    //Author ID:          FLI
    //Purpose:            This C# .NET sample Windows application demonstrates
    //                  how to add a chart in the report header
    //                  using unmanaged RAS.
    // Note this is available without a dedicated RAS with SP2 for XI R2
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Text;
    using System.Windows.Forms;
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.ReportAppServer.ClientDoc;
    namespace CS_Add_Chart_inproc
        public partial class Form1 : Form
            ReportDocument boReportDocument;
            ISCDReportClientDocument boReportClientDocument;
            CrystalDecisions.ReportAppServer.ReportDefModel.ChartObject boChartObject;
            CrystalDecisions.ReportAppServer.ReportDefModel.ChartStyle  boChartStyle;
            CrystalDecisions.ReportAppServer.ReportDefModel.Section     boSection;
            CrystalDecisions.ReportAppServer.DataDefModel.Fields        boFields;
            CrystalDecisions.ReportAppServer.DataDefModel.Field         boField;
            CrystalDecisions.ReportAppServer.DataDefModel.SummaryField  boSummaryField;
            int boFieldIndex;
            public Form1()
                InitializeComponent();
                //Create a new ReportDocument
                boReportDocument = new ReportDocument();
                // load the RPT file
                boReportDocument.Load("..
    AddChart.rpt");
                // set condition for display
                boReportDocument.RecordSelectionFormula = "{Customer.Last Year's Sales}>250000";
                //Access the ReportClientDocument in the ReportDocument (EROM bridge)
                boReportClientDocument = boReportDocument.ReportClientDocument;
                boFields = boReportClientDocument.DatabaseController.Database.Tables[0].DataFields;
                //Create a chart
                   boChartObject = new CrystalDecisions.ReportAppServer.ReportDefModel.ChartObject();
                //create a bar chart style
                   boChartStyle = new CrystalDecisions.ReportAppServer.ReportDefModel.ChartStyle();
                   boChartStyle.Type = CrystalDecisions.ReportAppServer.ReportDefModel.CrChartStyleTypeEnum.crChartStyleTypeBar;
                //set the chart style to bar chart
                   boChartObject.ChartStyle = boChartStyle;
                //set the chart type to advanced chart
                   boChartObject.ChartDefinition.ChartType = CrystalDecisions.ReportAppServer.ReportDefModel.CrChartTypeEnum.crChartTypeDetail;
                   //set Customer Name field as condition field
                   //get the Customer Name field
                   boFieldIndex = boFields.Find("Customer Name",
                                  CrystalDecisions.ReportAppServer.DataDefModel.CrFieldDisplayNameTypeEnum.crFieldDisplayNameName,
                                  CrystalDecisions.ReportAppServer.DataDefModel.CeLocale.ceLocaleUserDefault);
                boField = (CrystalDecisions.ReportAppServer.DataDefModel.Field)boFields[boFieldIndex];
                   boChartObject.ChartDefinition.ConditionFields.Add(boField);
                   boField = null;
                //set Last Year's Sales as data field
                   //get {Customer.Last Year's Sales field}
                   boFieldIndex = boFields.Find("Last Year's Sales",
                                  CrystalDecisions.ReportAppServer.DataDefModel.CrFieldDisplayNameTypeEnum.crFieldDisplayNameName,
                                  CrystalDecisions.ReportAppServer.DataDefModel.CeLocale.ceLocaleUserDefault);
                boField = (CrystalDecisions.ReportAppServer.DataDefModel.Field)boFields[boFieldIndex];
                //create a Sum({Customer.Last Year's Sales})
                   boSummaryField = new CrystalDecisions.ReportAppServer.DataDefModel.SummaryField();
                  boSummaryField.SummarizedField = boField;
                   boSummaryField.Operation = CrystalDecisions.ReportAppServer.DataDefModel.CrSummaryOperationEnum.crSummaryOperationSum;
                   boSummaryField.Type = boField.Type;
                //add summary field to report client document
                   boReportClientDocument.DataDefController.SummaryFieldController.Add(-1, boSummaryField);
                   boChartObject.ChartDefinition.DataFields.Add(boSummaryField);
                //set chart coordinates and dimensions (0, 0), width = 7 inches, height = 5 inches
                   boChartObject.Left = 0;
                   boChartObject.Top = 0;
                   boChartObject.Width = 7 * 1440;      // 1 inch = 1440 twips
                   boChartObject.Height = 5 * 1440;
                //get report header section
                   boSection = boReportClientDocument.ReportDefinition.ReportHeaderArea.Sections[0];
                //set chart report area to report header
                   boChartObject.ChartReportArea = CrystalDecisions.ReportAppServer.ReportDefModel.CrAreaSectionKindEnum.crAreaSectionKindReportHeader;
                //add chart in the report header
                   boReportClientDocument.ReportDefController.ReportObjectController.Add(boChartObject, boSection, -1);
                // show in reportviewer
                crystalReportViewer1.ReportSource = boReportDocument;
            private void button1_Click(object sender, EventArgs e)
                 //Access the ReportClientDocument in the ReportDocument (EROM bridge)
                 boReportClientDocument = boReportDocument.ReportClientDocument;
                 boFields = boReportClientDocument.DatabaseController.Database.Tables[0].DataFields;
                 //Create a chart
                 boChartObject = new CrystalDecisions.ReportAppServer.ReportDefModel.ChartObject();
                 //create a bar chart style
                 boChartStyle = new CrystalDecisions.ReportAppServer.ReportDefModel.ChartStyle();
                 boChartStyle.Type = CrystalDecisions.ReportAppServer.ReportDefModel.CrChartStyleTypeEnum.crChartStyleTypeBar;
                 //set the chart style to bar chart
                 boChartObject.ChartStyle = boChartStyle;
                 //set the chart type to advanced chart
                 boChartObject.ChartDefinition.ChartType = CrystalDecisions.ReportAppServer.ReportDefModel.CrChartTypeEnum.crChartTypeDetail;
                 //set Customer Name field as condition field
                 //get the Customer Name field
                 boFieldIndex = boFields.Find("Customer Name",
                                            CrystalDecisions.ReportAppServer.DataDefModel.CrFieldDisplayNameTypeEnum.crFieldDisplayNameName,
                                            CrystalDecisions.ReportAppServer.DataDefModel.CeLocale.ceLocaleUserDefault);
                 boField = (CrystalDecisions.ReportAppServer.DataDefModel.Field)boFields[boFieldIndex];
                 boChartObject.ChartDefinition.ConditionFields.Add(boField);
                 boField = null;
                 //set Last Year's Sales as data field
                 //get {Customer.Last Year's Sales field}
                 boFieldIndex = boFields.Find("Last Year's Sales",
                                            CrystalDecisions.ReportAppServer.DataDefModel.CrFieldDisplayNameTypeEnum.crFieldDisplayNameName,
                                            CrystalDecisions.ReportAppServer.DataDefModel.CeLocale.ceLocaleUserDefault);
                 boField = (CrystalDecisions.ReportAppServer.DataDefModel.Field)boFields[boFieldIndex];
                 //create a Sum({Customer.Last Year's Sales})
                 boSummaryField = new CrystalDecisions.ReportAppServer.DataDefModel.SummaryField();
                 boSummaryField.SummarizedField = boField;
                 boSummaryField.Operation = CrystalDecisions.ReportAppServer.DataDefModel.CrSummaryOperationEnum.crSummaryOperationSum;
                 boSummaryField.Type = boField.Type;
                 //add summary field to report client document
                 boReportClientDocument.DataDefController.SummaryFieldController.Add(-1, boSummaryField);
                 boChartObject.ChartDefinition.DataFields.Add(boSummaryField);
                 //set chart coordinates and dimensions (0, 0), width = 7 inches, height = 5 inches
                 boChartObject.Left = 0;
                 boChartObject.Top = 0;
                 boChartObject.Width = 7 * 1440;      // 1 inch = 1440 twips
                 boChartObject.Height = 5 * 1440;
                 //get report header section
                 boSection = boReportClientDocument.ReportDefinition.ReportHeaderArea.Sections[0];
                 //set chart report area to report header
                 boChartObject.ChartReportArea = CrystalDecisions.ReportAppServer.ReportDefModel.CrAreaSectionKindEnum.crAreaSectionKindReportHeader;
                 //add chart in the report header
                 boReportClientDocument.ReportDefController.ReportObjectController.Add(boChartObject, boSection, -1);
                 // show in reportviewer
                 crystalReportViewer1.ReportSource = boReportDocument;

  • Webi reports programmatically?

    Hi,
         Can u plz give me a code snippet to create a webi report using rebean classes and the jar file to be imported... ll be really helpful
    regards,
    ksvsivam

    Jason... Thanks a lot....  for the code.... really it is a timely help... thanks again...
    regards
    ksvsivam

  • Get User Activity Report programmatically

    Hello,
    is there a documented way to get user activity reports from Azure AD? From the management portal, I can see that it sends a simple POST request to https://manage.windowsazure.com/ActiveDirectory/Reporting/GetAllUserSignInsReportContent
    but I don't see this documented anywhere.

    Hi, 
    Thank You for your message, this is feedback that we hear loud and clear for sure! keep an eye out for future update around this as we are discussing options around this at the moment and so you may see updates in the near future. 
    Thanks, 
    James.

  • Re-order curves programmatically in REPORT or VIEW

    Is is possible to programatically re-order curves in REPORT or VIEW? 
    Thanks!
    Julia

    Hi Julia,
    One simple method that you can use is to change the channel associated with a particular curve number.  Below is a snippet of a sample script that shows the current names and positions of two curves on a graph in both the REPORT and VIEW panels.  You can programmatically set the each curve to be any channel you wish, and thus you can "swap" their order in whatever manner you would like.  Please let me know if this is what you are looking for.
    Cheers,
    Kelly R.
    Applications Engineer
    National Instruments

Maybe you are looking for

  • Why is my macbook pro stuck on a blue screen

    I was downloading a program that was put onto a disk image, then my macbook battery died (forgot it was unplugged). When i plugged it back in and booted it back up, it did the usual tone and apple logo/spinning gear. Shortly after it would go to a pa

  • File Adapter help required.

    Hi All, My scenario: I have source txt file that is seperated by semicolon. I need to do Receiver determination that for some value it shoud go to Receiver A and for other value it should go to Receiver B. File that is reaching Receiver A and Receive

  • Unable to upload photos to any website

    I am unable to upload any photos to any websites. When I try to upload photos I just get the rainbow wheel and I either have to force quit (it shows the browser in "not responding") or if I leave it long enough it will "quit unexpectedly". The upload

  • Custom delimited CSV Data

    I am exporting a Query Data into CSV using http post action block in BLS. I wanted the data to be delimited by |~ along with comma. Is there any available inline transform that can help me do it?

  • Row highlighting with Jquery

    Hi, I heard a lot of good things about Jquery. I was trying to see for myself how to get Jquery to work with APEX. I've this sample code snippet that does row highlighting when hovering over a table row. The code works as a html file but I can't seem