Reports 9.0.2. How to dynamically set graphic/chart width in paper layout?

Hi there,
I have a graphic with vertical bars in paper layout. Its width ranges from quarter of a A4 page width to several ones spanned. I have made the page width large enough but can not control the graphic width dynamically and when too much data must be shown on the X axis the bars get too thick to read.
Is there another way except of?:
- making the graph middle-sized and hoping that the client will not notice the visual glitch when too much or less data is the case;
- using JSP (this is not an option here).
To make the things worse, when the graph is expanded beyond a A4 page width or something its border reflects the change, but its contents is ugly shrunk.
As I browsed this forum, I got convinced that the only way to get the graph under control at some extend is to use JSP web report.
Anyone with experience on this? 10x in advance folks.

Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

Similar Messages

  • How to dynamically set column name in Answers

    Hi.
    How to dynamically set column name in Answers, for example I want to put presentation variable in column header. Is this possible?
    Regards,
    Goran Ocko
    http://108obiee.blogspot.com/

    May be a rude way .. but it works.
    Add narrative view and use Java script to change the column headings based on the variables.
    <script language="javascript" type="text/javascript">
    var a = document.getElementById('idResultsTableParent');
    var rows= a.getElementsByTagName('tr');
    rows[1].cells[1].innerText ="@{Presentation Variable}";
    </script>
    Editing the same post to remove irrelevant information.
    - Girish

  • Dynamically set flash chart height?

    Hi,
    I have a flash chart that includes a selector that alters the query for the chart. Depending on what the user selects, the chart shows a different number of rows (this happens to be a stacked horizontal bar chart, but this could apply to any chart type). I would like to be able to dynamically set the chart height based on the number of rows the query returns. If I set it too small and the user makes a choice that returns a larger number of rows, the chart bars are compressed to the point where the labels are unreadable or omitted altogether. Conversely, if I set the height to a larger value and the user makes a selection that results in a small number of rows, the chart is overly extended and hard to read.
    I am able to calculate what I'd like the chart height to be using a page item and a before header process. But I can't figure out how to pass this value to AnyChart. I tried using an item substitution (e.g., &P7_CHART_HEIGHT.) as the value for the chart height on the Chart Attributes/Chart Settings page, but this attribute requires a non-zero numeric value. I tried to figure out if I could alter the chart XML, but could not figure out how to do it and I'm not sure item substitutions would be passed in the XML anyway.
    Is there a way to dynamically set the height attribute of a chart at page load time?
    Thanks,
    Mike

    Hi Mike,
    You can update the Region Source of your chart, replacing the substitution strings *#HEIGHT#* with the reference to your page item *&P7_CHART_HEIGHT.*. So your chart region source should then look something like the following(note that I've trimmed some lines for display purposes), and when the chart is run it will pick up your setting for the height, based upon the value returned from your Before Header process:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
        codebase="#HOST_PROTOCOL#://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
        width="#WIDTH#"
        height="&P7_CHART_HEIGHT."
        id="#CHART_NAME#"
        align="top">
    <param name="movie" value="#IMAGE_PREFIX#flashchart/anychart_5/swf/...............................">
    <param name="quality" value="high">
    <param name="allowScriptAccess" value="sameDomain">
    <param name="allowNetworking" value="all">
    <param name="scale" value="noscale">
    <param name="wmode" value="transparent">
    <param name="FlashVars" value="initText=#FLASH_INIT#&xmlLoadingText=............................................">
    <embed src="#IMAGE_PREFIX#flashchart/anychart_5/.......................................
           quality="high"
           width="#WIDTH#"
           height="&P7_CHART_HEIGHT."
           name="#CHART_NAME#"
           scale="noscale"
           align=""
           allowScriptAccess="sameDomain"
           allowNetworking="all"
           type="application/x-shockwave-flash"
           pluginspage="#HOST_PROTOCOL#://www.macromedia.com/go/getflashplayer"
           wmode="transparent"
           FlashVars="initText=#FLASH_INIT#&xmlLoadingText=#FLASH_................................................">
    </embed>
    </object>
    #CHART_REFRESH#
    {code}
    I hope this helps.
    Regards,
    Hilary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How can i set the column width in the jtable?

    how can i set the column width in the jtable?
    can anybody send me a simple example??

    TableColumn column = table.getColumnModel().getColumn( columnIndex );
    column.setWidth( desiredColumnWidth);
    column.setMinWidth( desiredMinColumnWidth);
    column.setMaxWidth( desiredMaxColumnWidth);

  • How to dynamically set the name of the generated PDF file sent by email

    Hello,
    I am using Reports 10g and I managed to send PDF reports by email, specifying the recipient, subject, format etc, using the reports servlet URL.
    But there is one thing that I cannot find a way to do: I want to dynamically set the name of the attached file. It defaults to the name of the RDF file (eg monthly_sales.pdf). I would like it to be something more meaningful (eg monthly_sales_072010.pdf, where 072010 is the month and year passed by parameters).
    Is it possible to do it?
    Thanks
    Luis

    Use System.load(...) instead of System.loadLibrary(...).

  • How to dynamically set a bounded value for a VO at runtime

    Hi all,
    I am working on a custom page for time card summary, the VO's query like this:
    select Timecard_Id,.... from timecard_summary where supervisor_id = :1
    There is a utility that can retrieve supervisor_id from system, but I don't know how I can set this supervisor_id before the query is execute, I think I need a controller to do that right after user clicks "Go" button in simpleSearch Panel, but I cannot find the way to determine if the "Go" button in simpleSearch Panel is clicked.
    THanks
    -Bill

    Hi Sumit,
    I had tried over riding the initquery and execute query to meet the same requirement but the where clause i was setting wasn being set since the execute query somehow was making it null.
    When i did hard code the whereclause params in the the executequery(),it worked fine but then i couldn have passed any variables.
    Then finally i went around the oaf guide and found something like ,
    dic[]=getcriteriaitems.... and it solved the purpose for me.

  • Set Region/Chart Width Dynamically

    I am sure this has to be simple, but have been searching the forum for "Chart Width" and a LOT of data comes back. So, after searching for a long, time, I ask here... :-)
    I would like to set the width of my charts dynamically from settings in the database. I know I can set the width and height in the chart settings section, but this hard codes them.
    What I would like to do is get the width and height values from the user or a database query (so the user can customize how big a chart is) and set the values dynamically instead of hard coding.
    Any suggestions or a shove in the right direction would be greatly appreciated.
    Thanks!

    Varad,
    Thanks for the reply. This solved the problem of resizing the chart. What happened then was the the region was staying the same size, so the chart was running of the bottom and right if I increased the chart size. To fix this, I also had to update the region source to use the application items to pass in the width and height as well. Evidently the region was inheriting the width and height from the chart definition.
    Anyway, go it working pretty much like I want it, although it does take some calculating.
    On a side note, one irritating thing... When you turn on "User Custom XML" for the chart, it looses a bunch of stuff - like the Y axis information, grid-lines, etc. and you have to go put that back in manually.
    Thanks again...

  • How to programmatically set the value to current Page layout property?

    Hi,
    How do I set any text value to the current page layout [comment] property and save it.....here my current page is using a custom page layout called spPageLayout1
    To be very much generalized how I can set and save any value to current page property programmatically....on load event I need to set the value.
    It is a publishing page layout.

    Hi,
    According to your post, my understanding is that you want to set the value to current Page layout property.
    To get current page property, you can refer to:
    How to get current Pages details in SharePoint2010 publishing site
    Get Content Field Value in Article Page
    To get current page layout property, you can refer to:
    PublishingPage.Layout Property (Microsoft.SharePoint.Publishing)
    PageLayout.Title Property (Microsoft.SharePoint.Publishing)
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Dynamically set itemRenderer content width

    Hey all,
    thanks for taking time to look at this. what I'm trying to do
    is simple, I think, but evading me. I've got a datagrid set to 100%
    width. I've got a total of 7 columns, the first 2 are fixed width.
    The remaining 5 columns (and their contents, importantly), should
    dynamically size to take up the remaining area. I'm using
    comboboxes within these columns, and can't seem to set the width of
    these comboboxes based on the width of the column they appear
    within. I've tried just setting them to 100%, but that causes a
    scrolltrack to appear and the combobox is hidden behind the
    scrolltrack.
    help is greatly appreciated

    Are you using a drop in, inline, or custom component for an
    itemRenderer? I do not think you can do this with a drop in item
    renderer. I think you can do it using an inline itemRenderer but
    this is not an ideal solution. I think that if you use a custom
    component as the item renderer you could use databinding on the
    width of the combo box where the data grid column of the data used
    is the source.
    ie. comboBox width="{columnx.width}" where columnx
    corresponds to the column housing the combobox.

  • How to refer a field created at the paper layout?

    Hi,
    I created a field for total pages of a report in the paper layout.
    How do I refer to it in the formattrigger since I don't want to show it if there is only 1 page.
    I tried putting & or : in front of the field name but it is not valid since the field is not created in data model.
    Thanks for any help in advanced.

    You can't reference the total number of pages in any way (an often heard complaint on this forum).
    The workaround is to use srw.get_page_num on a format trigger of a field that you put at the end of the report. Then you know you are at the end of the report. If the page number is 1, you know there is only 1 page. Still a bit tricky how to use this in your case, but you may find a solution.
    I knew I posted something about this before. Here it is:
    Re: Print Condition of a margin object
    Edited by: InoL on Apr 7, 2011 3:23 PM

  • How to show a parameter value in the paper layout

    Hi,
    I have a paper parameter form. I need to show the value of the parameter at the top of my report as part of the title. Any ideas?
    Thanks,

    It should display the parameter value in the field you created in the paper layout.
    Make sure you selected the source of the field.
    From the property inspector of the created field go to the source property and select the parameter name from the pop-up list.
    Regards
    Mostafa Abolaynain

  • How to dynamically set connection string for report in C# code?

    Hi,
    I have installed CRVS2010. I have created new Crystal Report WPF Application and new report. I would like to set connection string for report in code dynamically.
    Is this possible?
    Thanks
    Ivana

    Lots of posts in this forum on how to set database connections. WPF should not be a consideration as it's just a viewer. The report engine is still the same. Search these forums. Use the search box at the top right corner of this page. Look at samples here:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    Note that none of the samples above are using WPF, but like I said, the WPF is just a different viewer and will not impact how the report engine logs on to a database. (I think of it as a gray car vs. a red car. Same engine, just the color is different)
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • How to dynamically set max-rss size for a local zone?

    Running solaris 10 05/08.
    Following situation: Three local zones in a Veritas cluster. The zones
    can fail over but normally not all three are on the same physical box.
    I want to be able to restrict physical memory usage for the zones in
    situations where certain combinations of them end up on the same
    physical box. So, I need to be able to dynamically change memory
    resources. I know how to do this with, for example locked memory:
    prctl -n zone.max-locked-memory -r -v <mem> `pgrep -z <zone name>
    init`
    but i need to do this for physical memory and I can't see that there
    is a zone resource for this? I thought this was added in 05/08?

    Hi
    You can do this by using rcapd from the global zone
    - start rcapd from the global zone:
    svcadm enable svc:/system/rcap:default
    - set a physical memory caping value for each zone
    rcapadm -z your_zone -m max_rss_value
    - check the memory use for all the zone capped
    rcapstat -gz
    You can set the rss capping value in the zone configuration:
    # zonecfg -z your_zone
    zonecfg:busi-app-prod> add capped-memory
    zonecfg:busi-app-prod:capped-memory> set physical=900m
    zonecfg:busi-app-prod:capped-memory> end
    zonecfg:busi-app-prod> verify
    zonecfg:busi-app-prod> commit
    zonecfg:busi-app-prod> exit
    This will be take in account at the next reboot of this zone.
    Have a also a look to rcapadm to tune rcapd
    Bye
    Fred

  • How to dynamically set width of SSRS columns in custom code?

    How can I change the width of a table column based on a parameter value using custom code in SSRS?
    If the parameter value is "Excel", I'd like the width to be 2 inches. If the parameter value is "Standard", I'd like the width to be 1 inch.

    Hi mmx_pdx,
    Based on my research, we can only type static values for the width size in report. In Reporting Services, it not supported to set the size of width based on an expression currently. This is by design.
    Personally, I recommend you that submit this suggestion at
    https://connect.microsoft.com/SQLServer/. If the suggestion mentioned by customers for many times, the product team may consider to add the feature in the next SQL Server version. Your feedback is valuable for us to improve our products and increase the
    level of service provided.
    Thanks for your understanding.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to dynamically Set the list of flex contexts based on a condition

    Database is in 11i atg rup7 level
    first OAF page - shows list of employees under a manager
    on clicking an employee record, the second OAF page opens and it shows a set of records from descriptive flexfield. Currently 5 contexts of the same flexfield are enabled for this responsibiltiy using the ContextA||Seg1|Seg2|Seg3||ContextB||Seg1|Seg2||ContextC||Seg1|Seg2|Seg3|Seg4||ContextD||Seg1|Seg|Seg3|Seg4||COntextE||Seg1|Seg2 in the personalisation at responsibility
    So 5 sections(one for each context) are shown in the OA page
    My requirement is to show only 3 contexts for employee 'A' and 5 contexts for the employee 'B'. Both the employees are under the same manager.So i think i cannot do a simple personalisation at responsibility level.
    So assuming ,i have some parameter like person_id , how do i dynamically restrict to 3 or 5 contexts in my controller code?

    Hi,
    Use this :
    OADescriptiveFlexBean descFlexfieldsBean = (OADescriptiveFlexBean)oawebbean.findIndexedChildRecursive("flexitemid");
    descFlexfieldsBean.processFlex(oapagecontext);
    if(descFlexfieldsBean != null)
    descFlexfieldsBean.setFlexContextCode(pageContext,"ContextName");
    Thanks,
    Gaurav

Maybe you are looking for

  • I have been charged 3 times for a single album purchase and cant talk to a real **** person about it ***!!!!!!!

    This is bs been trying to get this resolved all **** day, over it. No more iTunes for this guy!!!!!!!!

  • TC 500 GB just not working for me

    Hi, Trying to set up my new TC 500 and just can't get it to do anything. Updated airport software using the disk and internet updates. Tried to set up the TC and initially went through all the stages but did not complete pressing go back as I was uns

  • Where is the Asset Field?  FS10N

    Hi Gurus, We just upgraded to ERP 6.0.  It appears SAP has decided to remove certain fields (Asset) from the transaction FS10N G/L Account Line Item Display Layout.  Please advise as to how to add the field Asset back to the G/L Account Linie Item Di

  • Previewing straight web content in DC? What am I missing here?

    Playing with DC CS3 for the first time. I simply want to open one of my web sites in one of the emulated devices. I must be missing something, here. I've read thorugh the help and have even watched some of the video tutorials. However, when I try to

  • Can Not Load Exchange profile

    Hi All, we just about to complete our installation of XI3.0. Unfortunately the import of the exchange profile does not work. I'm getting error <b>com.sap.engine.lib.xml.parser.ParserException: > expected(:main:, row:413, col:15)  Stack Trace class co