Change report legend label waveform name

I am automatically generating a report using VBScript. Everything works OK, except the legend label for one of my waveforms. For one waveform I want to use the channel group name instead of the channel name. For the other one, I want the channel name, which is what it seems to use by default.
How do I change the waveform name displayed in the legend using VBScript?

Use the related text option for the column legend (eLegendTextCurveRelatedText), and then you can customize the name in the legend for each of the ploted curves curve.
' Add the plot
Set Plot = Report.ActiveSheet.Objects.Add(eReportObject2DAxisSystem,"Plot2d")
' Set the ithColumn of the of the legend to -> related curve text
Plot.CurveLegend.Columns(ithColumn).Type=eLegendTextCurveRelatedText
' Set the related text in each of the curves for the ithColumn
Plot.Curves2D.Item(1).RelatedLegendText(ithColumn) = "@@Data.GetChannel(CurrChnNo).Name@@"
Plot.Curves2D.Item(2).RelatedLegendText(ithColumn) = "@@Data.GetChannel(CurrChnNo).ChannelGroup.Name@@"

Similar Messages

  • Formatting DIAdem Report Legend Label

    I want the Legend Lable to be "Curve related text" and include Channel Name and Maximum value of the Channel.
    I tried:   @ChnName(#)@, Max: @CMax(#)@
    But where do I put the Formatting of the CMax value to specify 'dd.dd' to get rid of all obsolete decimals?
    An alternativ which also could do would be a 2D-table with the same contents, i.e. ChannelName and MaxValue in a two-column table.
    Would that be easier ?
    thanks
    Henrik

    Hello Henrik,
    The best and easiest way is to put the formatting into the legend like this:
    @ChnName(#)@, Max: @str(CMax(#), "d.ddd")@
    With STR you can convert a value to a string and format that value directly.
    Greetings
    Walter

  • Changing legend labels in Oracle Graphics 6

    Hello,
    i am currently using Oracle Graphics to create barcharts for my reports. My problem is, that i want to change the label used for the shown bars via a parameter. Changing the labels of the X- and Y- axis is no problem with PL/SQL but it seems that the only way to change the legend labels is by using "AS" in the query (e.g. select a_column as LABEL from ...). I really need to change it by parameter.
    thx for any help.

    Post Author: jsanzone
    CA Forum: Publishing
    Nym,
    The only way that I've been able to control the name of a label in regards to graphing is to use the Variable Editor and create a variable off of the column, for instance:
    The name of the column from the database is call "Black_Catalog". so I create a variable called "The Black Catalog" and in the formula: =[Black_Catalog]
    Then in the graph I replace the field that is called =[Black_Catalog] with my new field.  When the legen displays it will show "The Black Catalog".

  • IOS iWork how to change legend labels

    Hi. Having trouble with Numbers for iOS. I made a spreadsheet and placed a chart and connected the columns to display the information in the chart. I'd like to add a legend, but when I do, I get "untitled" for each color (or column) in the chart. I've tried to modify the legend to add the column names and I have not been successful. Help is pretty sparse on this topic. How do I change the legend labels?

    Without more specific information about the data source, its dificult to tell. Make sure you have header rows and columns set in the table (tap the table and then the formatting icon, then the Headers tab).

  • Remove underlines in legend labels

    I have a data model query
    SELECT ALL T_NTR_MULTIBAR.CAT, T_NTR_MULTIBAR.NUM_CASES_LEFTBAR AS "No. of Survivors",
    T_NTR_MULTIBAR.NUM_CASES_MIDDLEBAR AS "No. of Deaths", T_NTR_MULTIBAR.NUM_CASES_RIGHTBAR AS "No. of Cases"
    FROM T_NTR_MULTIBAR
    WHERE INSTANCE_NUM = :P_INSTANCENUM
    order by ORDERS
    This query is use in Oracle Report Builder 9i Bar Chart. The legend labels display as No._of_Survivors No._of_Deaths No._of_Cases. How do I remove _, so that the legend labels display as No. of Survivors No. of Deaths No. of Cases.
    Thanks
    Brendon

    Hi,
    You can change the Legend Label through Graph Wizard. There will a "Legend Tab' in the Graph Wizard, using that tab you should be able to modify the label. I think this may help you. If you need more information, have a look at the following link:
    http://www.oracle.com/technology/products/reports/htdocs/faq/Graph_FAQ_with_style.html
    Thanks,
    Vidya Viswanathan

  • Crys Reports - Mark the Legend Labels and Chart bar - values custom names

    Hai,
    I want to change the default names/labels of the chart elements (for e.g. bar chart - the labels and values) , in my reports the labels are directly taken from the database columns, how can I change this?,
    Someone please help...
    Thank you in advance.
    Vijay.

    Hi
    You can select the individual elements(for e.g chart title,legend,chart frame,grid lines,individual bars and series risers etc.).
    To do this do a normal left click and then again a left click on the desired object within the chart(which will select the object), and then do a right click which will come up with all possible options.
    Say for e.g you wan't to edit a default data label then follow the steps:
    1. Left click on the chart
    2.Left click on the data label.
    3.Right click>>Chart Options>>Titles
    4.Here you can edit the default title
    Thanks

  • Changing legend labels

    Post Author: Nym
    CA Forum: Publishing
    Hi !
    I get a set of data from a text file and I would like to generate a graph using these data. My set of data is made of lines of agregated counters, one for each month, and the first line contains the labels of the different counters. Those counters' labels are not user friendly and I would like to change them in the legend labels of the graph. How can I do that ?
    Regards,
    Nym

    Post Author: jsanzone
    CA Forum: Publishing
    Nym,
    The only way that I've been able to control the name of a label in regards to graphing is to use the Variable Editor and create a variable off of the column, for instance:
    The name of the column from the database is call "Black_Catalog". so I create a variable called "The Black Catalog" and in the formula: =[Black_Catalog]
    Then in the graph I replace the field that is called =[Black_Catalog] with my new field.  When the legen displays it will show "The Black Catalog".

  • Reg: Reports Grapgh Wizard(Customizing Legend label)

    Hi all,
    I am working on oracle 10g reports.I am creating a report with graph.In my data model i have 2 tables both has the 2cloumns each and the names of the columns are same(like.. Series1,series2).So when i created the report. in the paper lay out when i am select the source for a field it gives Series1,series2,series3,series4.
    So using these i created 2 graphs for two tables. But my issue is when i saw the output.In the legend for 1st graph is series1 and series2 but for 2nd grapg it shows series3 and series4. But actually my requirement is it has to show Series1 and series2 only as these are the actual names of the fields.
    One more example, you might have different cities represented by data markers of different colors. Markers represent data on a graph. If red markers in your graph represent New York, then there is a corresponding red legend marker in the legend area, with legend text reading "New York." But i want to show this in legend as "NY" instead of "New York"....
    Do any one has any idea about this legend label customization.
    Thanks in advance...

    Mascse,
    I'm guessing you've already found the answer but try this if you haven't.
    On the top line of the graph settings, you should see the dataValues. Add the same number of dataLabels and that may solve your problem.
    dataValues="CAT1_num,CAT2_num,CAT3_num,CAT4_num" dataLabels="Front Desk, General, Nursing, Physician"

  • IR Report Filters - Developer should be able to Label or Name the filter

    Hi,
    Wouldn't it be great if a developer was able to Label or Name the IR Report filter and then have the actual filter syntax hidden behind the scenes.
    Ex: os.status_id =1 would not show this way but as "Active Companies"
    thanks, Bill

    You can achieve this. It may not be exactly what you are looking for (you might want something more flexible from a users point of view), but in the SELECT statement create a column:
    CASE os.status_id
      WHEN 1 THEN 'Y'
      ELSE 'N'
    END active_companyAPEX uses the column label as the filter name, so change the column label to 'Active Companies'.
    Now go to the report, apply a filter: Active Companies = 'Y'
    The filter is not quite there because you still have the = 'Y' part showing
    Go to the report definition and change the column's Display Type property to Hidden.
    The filter won't be editable anymore and will appear as 'Active Companies'.
    regards,
    Malcolm.

  • Changing Report Server name

    How can I change Report Server Name.
    I have installed Report Server rep60_ifs. Because I have problems , I want to change it.

    I was created new REport Server Service REPSRVGORDE
    with following entry in tnsnames.ora ( on 9iAS)
    repsrvgorde.world=(ADDRESS=(PROTOCOL=TCP)(HOST=IFS)(PORT=1949).
    In My Form in the trigger WHEN_BUTTON_PRESSED:
    declare
         L_REPID REPORT_OBJECT;
         L_REP VARCHAR2(200);
    begin
    l_repid := Find_Report_Object('REPORT8');
    Set_Report_Object_Property(l_repid, REPORT_FILENAME, 'ajde');
    Set_Report_Object_Property(l_repid, REPORT_EXECUTION_MODE, RUNTIME);
    Set_Report_Object_Property(l_repid,REPORT_SERVER, 'repsrvgorde');
    Set_Report_Object_Property(l_repid, REPORT_DESformat, 'HTML');
    Set_Report_Object_Property(l_repid, REPORT_DESNAME, 'proba');
    -- run the report
    l_rep := Run_Report_Object(l_repid);
    :block3.pr:=L_REP;
    WEB.SHOW_DOCUMENT('HTTP://.../.../rwcgi60.exe/GETJOBID='||L_REP||'?server='||'repsrvgorde','_BLANK');
    END;
    When I am running this code , I'm getting the report_job_id, and after that the message " FRM-41214 Unable to run report"
    What's the problem now?????

  • Changing Chart Legend Title

    How do I change a legend title? I created a bar chart using the chart wizard, and the legend title was taken from the name of the column appearing on the Y-axis. I changed the axis label, but this change was not propagated to the legend title. Is there anyway to change the legend title, either directly or through PL/SQL?

    Bill,
    Oracle Graphics allows for the direct access to any object within a Chart via PL/SQL. This can be done either through a number of built-ins or even by traversing the Chart's Object Heirarchy (VGS tree) By getting the handle to the label object it is possible to directly change the text. The Reports Team is correct in that it cannot be done directly from within the Reports Builder (though may be passed as a parameter at run time). Instead create an OPEN_DISPLAY trigger in the Oracle Graphics Builder for the OGD which takes the desired text as a parameter.
    There are examples of getting the handle to a chart opject in the demos & documentation.

  • Problem in editing legend label of line chart

    Hi,
    I am using crystal 2008 and deploying reports in Java appilication.
    I have a report with line chart in group header. I am using formulae for 'Show value' field. So legend shows it as @formula1
    I couldnt change this is design mode, so i went to preview mode and used 'edit axis label' for each of the chart.
    Now i can see proper legend labels in my crystal 2008. But when i deploy the report in java application, chart still shows @formula1 .... any idea on why my changes are not displayed in crystalviewer?
    Thanks

    This is tricky... and somehow you won't find it in manual.
    After the change of Axis Label, right click on Chart Area. You will see new option "Apply Changes to All Charts". Choose this option and voila - You owe me a bottle

  • Axis label alias names being dropped in CRDC only

    We have a report containing a pie chart that has alias names assigned to the pie chart legend (axis labels).  The report is saved with data and when refreshed in CR designer, the alias names are retained and display correctly.  When this report is published and viewed in Crystalreports.com (CRDC) the alias names are also retained and display correctly.  However, once this published report is scheduled and refreshed in CRDC, the latest instance shows the pie chart legend without the alias names.  This effectively renders the pie chart useless as the pie chart legend values are cryptic, very long and scale too small to read.  So, my question is, why are pie chart axis label alias names retained when refreshed in CR designer, but dropped when refreshed in CRDC and how can we address this?  
    thanks

    I just tried to reproduce this using both CR 2008 and with CR XIr2 to build the report and was not able to reproduce. CR.com kept my defined Axis label.
    Is this something you see on other reports or just this particular report?

  • Change custom step labels programatically

    I want to change the step label progrmatically  based on the string variable in the step specified.
    Ex: If a step contains a variable "Local.name",(names: TOM, MAT).  When ever we change the name from 'tom' to 'mat' the corresponding name should be displayed in the label in the result.

    Hi,
    Actually I have just remembered. You can not change the Step Name (Label) in the Step and have it affect the result if only called once. You have to change the value before you call the Step in question. So if you had an expression in the previous step such as NextStep.Name = "Test 1" this would change Action to Test 1 and therefore this would get recorded in the report.
    Using an expression in the Action step such as Step.Name = "Test 1" would not change the Label but if it is in a loop you would notice that the next iteration of the step would change the Label.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • How to find name of report if I know name of instance and location of instance in Output File Store

    Hello all,
    can somebody help me to find name of the report if I know name of report instance and also location of instance in Output File Store. It should be done via Query Builder.
    It is ...rpt file as output from Crystal Reports. I tried few commands in Query Builder but usually they finished with timeout error.
    Could you help me and send specific command? Or way how to change timeout of Query Builder?
    Thanks.
    matus

    Hello all,
    We finally found solution.
    We knew that file is located on path .../Output/a_145/009/002/133521/~ce10c.....9332.rtf
    This file has more than 2 GB. We tried to find which report is related and provide necessary actions.
    As I mentioned we still failed due to timeout error - There was an error retrieving data from the server: CMS operation timed out after 9 minutes.
    So we tried to use our testing environment. We started there QueryBuilder and there we successfully tested that we found details about files from FileStore /like Name of the report in Launch Pad, CUID, ...
    SELECT SI_NAME, SI_CUID, SI_FILES FROM CI_INFOOBJECTS WHERE SI_FILES.SI_PATH = 'frs://Input/a_148/020/000/5268/'
    or
    SELECT * FROM CI_INFOOBJECTS WHERE SI_FILES.SI_PATH = 'frs://Input/ a_148/020/000/5268/'
    Best regards,
    matus

Maybe you are looking for