Dynamic sizing of chart?
I am using CR 2008 and I have a pretty simple sub-report where I have a text field and three value fields in the details section. I have two group headers, one of which is a fake group header with group labels (GH1a) to act as the page header. The other group header (GH1b) has a horizontal side by side bar chart. The text field is the "On Change of" field. One of the value fields, which is a variance of the other two value fields and is suppressed in the details section, is the "Show values" field. This section has the "Underlay Following Sections" checkbox checked.
My question is, the details section can have a varying number of records that come back. From 1 to at least 20. Can I have the horizontal bar for each detail come back along side of the detail that it represents? Right now my chart always comes back the size that it is in Design mode.
Thanks for any and all help.
It doesn't look to be an option. All of the size option of the chart object are grayed out.
Add your feature suggestion to the Idea place.
Similar Messages
-
How to create dynamic ed flash charts based on user selected fields in Orac
Hi all,
Can any of the experts please tellme "how to create dynamic ed flash charts based on user selected fields in Oracle apex".
Thanks
ManishHello,
Lots of different ways to do this, I blogged about one way (using a Pipelined function) here -
http://jes.blogs.shellprompt.net/2006/05/25/generic-charting-in-application-express/
Other options include using a PL/SQL function returning the string to use as the dynamic query etc.
Hope this helps,
John.
Blog: http://jes.blogs.shellprompt.net
Work: http://www.apex-evangelists.com
Author of Pro Application Express: http://tinyurl.com/3gu7cd
REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone! -
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.VThis 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 -
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,
MikeHi 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 -
Dynamic sizing of a component to fit the content
Hi All,
How can I make my component so that it will be dynamically sized to fit the content height? I would like to create a component that will have a variable height. It has a serious of user input controls. Depending on the answers given, more input from the user may be necessary--specifically, they will have to provide an explanation in a textbox.
So, my thinking is that I don't want to display the textbox unless they answer "yes" to any questions that require additional explanation. If they do, then I want display the TextArea control along with instructions to enter an additional explanation here.
However, when I do that, it will cause my component's height to grow. I don't want to reserve space for that textbox in the component's dimensions--I would prefer it simply grow (pushing anything below it further down) if and when the textbox appears.
How would I go about doing this?
-JoshI think the standard JSF solution would be not to do the create/delete of inputs on the client side, but to do it on the server side.
If that is not your cup of tea, I think that the standard components will not be sufficient. So you are looking at either not binding the inputs to a component and just getting the values via the request parameters or creating a custom component capable of dealing with this. -
Dynamic web-based Chart-Generation
Hi,
I want to a offer my users a dynamic web-based Chart-Generation.
Actually I'm using Excel for generating charts and display the result in a static HTML-Page.
My goal is the user selects the wanted chart (eg. in a dropdown-menue) and this chart will be created immediately.
The charts are connected to a database where the data have been stored.
Is there existing a Freeware-Tool/Module I can use?
cu
ChrisBefore FireFox got SVG and made such things obsolete, I spent a couple of sundays playing around with server-side image generation for prettier flow-charts and UML - see http://www.lapisblue.net/ for examples, http://tincancamera.com/examples/java/lapisblue/image-server/ for source code.
It's nothing special, you're free to use it if you want - the main image generation servlet's ImageServlet; it serves up pngs, and caches and redirects repeated requests; the other servlets have different image generator classes.
Pete -
Creating dynamic sized arrays and filling them automatically on speedy 33
hi all,
I am trying to create dynamic sized arrays on Speedy-33. Specifically, depending on the user input, I want to be able to create
arrays with 128 or 256 elements and fill them automatically. However,
array constant element is fixed for Speedy 33; thus I have to manually set the
size of the array with the mouse and enter the values in to the array by
myself. I want to make this tedious process automatic. Would this be possible? thanks so much for comments!
~casiopeaCasiopea,
There is a really great article on using arrays with LabVIEW DSC which can be found here:
How Can I Be Successful With Arrays In the LabVIEW DSP Module?
One of the biggest things that should be noted about DSP is that there is no dynamic memory allocation. Your array size must be fixed, and thus, your array needs to be initialized by using a constant.
An easy way to initialize an array constant that has many elements that are all the same is to simply create a numeric constant that has the value that you want. Then, create a new blank array constant and drag the numeric into it. In the index input for the array constant, type in the index of the last element that you want to be initialized. Then type in the value in the element that is displayed and all of the elements before it will be initialized to the default value of the numeric constant that you dropped into the array constant. I hope this helps. I would really recommend reading through that article, as it has a lot of great information about using arrays with DSC.
Brian Coalson
Software Engineer
National Instruments -
Can we see dynamic data on charts using Excel Services
hi all,
i would like to know if there is any option in SharePoint 2013 for developing dynamic "responsive/interactive Charts" with SQL server as data source. And the connection should be there online, i mean the charts should refresh data based on
the SQL data all the time.
When i saw the feature of excel service, i could see only retrieving of data using data connection from sql and after adding that data to workbook, we can create responsive charts with required filters. However, i dint see option of data refresh from external
source without opening the excel work book.
What i want is, once i added the chart using chart webpart, if any new data is added or modified in external data source i.e., like SQL in my case, the chart should automatically updated with new changes in the data.
please let me know if my requirement can be fulfilled using OOB.
thank you beforehand .
Thanks & Regards RajHi ALL,
Linda, I know you are only trying to help but when you answer questions where you don't know the answer you only mislead the user asking the question at best but every one else who reviews the post... we have been performing data refresh on page
render and every 5 minutes by default since SharePoint 2007. We build Business Intelligence Dashboards and Score Cards using Live data with Excel Services, and features like PowerPivot, PowerView
Data in a Microsoft Office Excel workbook that has been displayed in Excel Services can come from two different locations. The data may be stored directly in the workbook, or it may be stored in an external data source, such as in a database or
in an Online Analytical Processing (OLAP) cube.
If the data comes from an external data source, the workbook author or administrator has defined the connection information, often in an Office data connection (.odc) file, which describes how to locate, log in, query, and access the external data source.
When you are connected to an external data source, you can perform a refresh operation to retrieve the updated data. Each time that you refresh data, you see the most recent version of the data, including any changes that were made to the data since it was
last refreshed.
Refresh all connections
On the Excel Web Access toolbar, under the Update menu, click
Refresh All Connections.
Periodic refresh
By using Office Excel 2007, the workbook author can specify that data automatically refreshes at a specified interval after the workbook is opened for each connection in the workbook. For example, an inventory database may be updated every hour, and so the
workbook author has defined the workbook to automatically refresh every 60 minutes. For more information, see Microsoft Office Excel 2007 Help.
A Web Part author can select or clear the Allow Excel Web Access Periodic Data Refresh property to enable or disable this periodic refresh operation, if the property has been defined by the workbook author. When the time interval elapses,
by default, the following refresh alert prompt is displayed at the bottom of the Excel Web Access Web Part:
Refresh data for <List of Connections>? (Now) (Always) (Don't ask me again)
An Excel Web Access Web Part author can also set the Display Periodic Data Refresh Prompt property to control the behavior of the message that is displayed when Excel Services performs a periodic data refresh during a session:
Always means that the message is displayed with a prompt at each interval.
Optionally means that a user can choose to continue periodic refresh without displaying a message.
Never means that Excel Web Access performs a periodic refresh without displaying a message or prompt.
For more information, see
Excel Web Access Web Part custom properties.
I have only listed a couple of the ways you can have Excel services update external data, this is not an exhaustive list
Data Refresh with Excel Services Reference:
http://office.microsoft.com/en-us/sharepoint-server-help/refresh-external-data-in-excel-services-HA010105474.aspx
http://office.microsoft.com/en-us/sharepoint-help/work-with-external-data-in-excel-services-sharepoint-server-HA102830785.aspx
http://technet.microsoft.com/en-us/library/jj879294.aspx
-Ivan -
Dynamic title for Chart created by an xml-file in SAP ChartDesigner
Hello everybody.
I created an xml-file with SAP ChartDesigner for using it in my abap program. I import this file as a MIME-Object.
Everything works fine, i declared my charts and all my values.
But now I need a dynamic title on the top.
And know that I can give a title in my xml. But it's not dynamic.
I looked into the xml file and the path for the title is:
SAPChartCustomizing
Elements
ChartElements
Title
and then Caption.
p_ixml_doc = g_ixml->create_document( ).
l_encoding = g_ixml->create_encoding( byte_order = if_ixml_encoding=>co_little_endian character_set = 'utf-8' ).
p_ixml_doc->set_encoding( l_encoding ).
l_chartdata = p_ixml_doc->create_simple_element( name = 'SAPChartCustomizing' parent = p_ixml_doc ).
l_elements = p_ixml_doc->create_simple_element( name = 'Elements' parent = l_chartdata ).
l_chartelements = p_ixml_doc->create_simple_element( name = 'ChartElements' parent = l_elements ).
l_title = p_ixml_doc->create_simple_element( name = 'Title' parent = l_chartelements ).
l_element = p_ixml_doc->create_simple_element( name = 'Caption' parent = l_title ).
l_element->if_ixml_node~set_value( 'QRK-Mittelwert' ).
In my opinion, it's the right path :/
My other values i declare like this.
l_series = p_ixml_doc->create_simple_element( name = 'Series' parent = l_chartdata ).
l_series->set_attribute( name = 'label' value = 'TO' ).
l_series->set_attribute( name = 'customizing' value = 'Series1' ).
loop at gt_mw into gs_mw.
lv_tabix = sy-tabix.
l_point = p_ixml_doc->create_simple_element( name = 'Point' parent = l_series ).
l_element = p_ixml_doc->create_simple_element( name = 'Value' parent = l_point ).
l_element->set_attribute( name = 'type' value = 'x' ).
l_element->if_ixml_node~set_value( lv_tabix ).
l_element = p_ixml_doc->create_simple_element( name = 'Value' parent = l_point ).
l_element->set_attribute( name = 'type' value = 'y' ).
l_element->if_ixml_node~set_value( '35.00' ).
endloop.
It works...and i already checked this solution for my title, but it didn't work.
I call the xml file with the method cl_wb_mime_repository:
CALL METHOD cl_wb_mime_repository=>load_mime
EXPORTING
io = lv_io
IMPORTING
bin_data = lt_xmlr
CHANGING
language = sy-langu
EXCEPTIONS
no_io = 1
illegal_io_type = 2
not_found = 3
error_occured = 4
OTHERS = 5.
CHECK sy-subrc = 0.
*-- Convert raw to xstring
CREATE OBJECT lo_conv.
LOOP AT lt_xmlr INTO ls_xmlr.
CALL METHOD lo_conv->convert
EXPORTING
inbuff = ls_xmlr
outbufflg = 25000
IMPORTING
outbuff = lv_xstr.
CONCATENATE p_xml lv_xstr INTO p_xml IN BYTE MODE.
Maybe somebody can help me.
Thanks a lot.I got it!
This thread helped me.
[http://forums.sdn.sap.com/thread.jspa?threadID=1343796|http://forums.sdn.sap.com/thread.jspa?threadID=1343796] -
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 -
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.
-
Dynamically refresh Flash chart in 4.2
In my Apex 4.2 app I have a chart region that I want to refresh whenever a radio button group has changed.
My radio button group P2_RG_DEPTNO returns static values 10 and 20.
I created a dynamic action on the group to refresh the chart region when the value has changed.
The chart series uses the value or the radio group in the query:
select null, ename, sal from emp
where deptno = :P2_RG_DEPTNO
order by sal descHowever, the chart never refreshes.
How can I refresh just the chart and have the series query re-execute, using the new value of P2_RG_DEPTNO?
Workspace: cmr
Username: [email protected]
Pwd: cmrtest
App ID: 16120
Page: 2
Thanks,
ChristophHi I checked your application.
You had DA defined on P2_RG_DEPTNO but in your chart series query you referenced P2_X2 item. This is why the chart was not being refreshed.
Change that to P2_RG_DEPTNO and check.
I changed your chart query.
Please check now.
Thanks.
Mehabub -
Dynamic tooltips for charts (BusinessGraphics) with simple series
Hello,
I was wondering wheter the tooltip for charts with simple series can set dynamically. I cannot bind it to the context within the properties of the BusinessGraphics control but maybe it can be set in the code?
This way I want to show the value of the column for instance as tooltip in a chart, or is there a better solution?
thx,
jeroenI got it!
This thread helped me.
[http://forums.sdn.sap.com/thread.jspa?threadID=1343796|http://forums.sdn.sap.com/thread.jspa?threadID=1343796] -
Start timestamp - dynamic signal - waweform chart
Hi,
I have an issue with the start timestamp of an dynamic signal. I'm simulating a sine with the express signal generation. The thing is I can't reset it start timestamp (set it to NOW). The only way I found to do it is to stop my app... and then when I start the app again, the start timestamp resets to present time.
Why does this bother me? I'm plotting this signal on a waweform chart and I want to be able to reset to 0 (I mean, t0 = now) the ''plotting'' of this signal without having to stop the application. I can't beleive there is no way yo acheive this.
Anyone knows?
Thank you
EricHi
Thx for reply, but it does not work... I had already tried to set current time to t0 through the ''build waveform'' and even the ''set dynamic signal attribute express'' VI.It only resets when I stop my app and restart it.
Here what I want to acheive:
I have an application running. On my mean screen, let say I click a buttom to perform a ''get signal'' process and show it on a chart. Once the process is over, bring me back to the main screen.
First time it works well as t0 is at 0 (now, current time). Once I come back to the main screen, I want to perform another one... but can't get my &?$%? signal t0 to ''now'', so my chart do not start at 0, it starts where it was at the end of the first process. I can't beleive it is so hard to do something should be so simple... -
Can a bar chart grow dynamically?
I have a report that can have hundreds of items on its bar chart. I made the chart horizontal so they would presumably all show. Crystal displays it in the amount of space I have given it and only displays the text for as many items at it thinkks it can fit comfortably
So I get a chart that looks like
Item 1 |----
|----
Item 13 |---
|---
Item 37 |---
I would like to have a chart that would display the text of all of the items and grow down the page so if I happen to have 128 items the chart will be a lot longer than it will be if I have 30 items.
Is this possible?
Thanks,
Dickhi Dick,
Right Click the Chart,
Format Chart -> Can Grow (Option is Grayed out/Disabled)
From the above, Chart can't grow dynamically based on data in CR.
If you want all labels to appear,
Chart Expert -> Axes ->Number of Divisions -> manual :1
But when data is more, these labels appear very smaller.
Also, you can fix the size of chart based on estimated data before hand.
Regards,
Vamsee
Maybe you are looking for
-
HP 6500 AIO printer scanning problems.
I recently upgraded my Mac OSX software to Snow Leopard. Now the scanner part of my HP printer no longer works. I'VE SCANNED MANY TIMES PREVIOUSLY. I tried to scan today and got messages to the effect, no scanner options, scanner was not connected to
-
Getting xml file from web for iPhone App
Im having an app get an xml file from the web and process it. Ive got the processing part down, ive even got the downloading part done. Problem is so far ive only downloaded a generic xml file hardcoded into the app. I need the user to input a value
-
Hi QM Experts, IS it necessary to confirm operations in production CO11n after confirming the same in quality module? Thanks
-
HR Master Transfer from PRD to Quality
Hi All, I have a issue in PRD for an employee in PRD. Hence to analyse and test the same, I need to transfer/clone all his HR master data of same employee from PRD to QUality. Is there anyway I can achieve this?????
-
Hi I have a secondary DNS zone for a partner site which I am going to use to configure a trust between the two. After a zone transfer has completed there is an exclamation mark next to the secondary zone in DNS Manager and an error saying Zone not lo