Synchronize item with dial chart
Hi,
i have a dial chart that shows the avg query duration.
i have a display text item that is selecting from the same table but give more info such as min query time and max query time.
my dial chart is refreshing every 10 minutes
how can i make the display text item refresh as well in order to keep the two synchronized ?
10x
Zvika
You will need a bit of AJAX to achieve your objective.
Define a JS function like
<script>
function update_item(pNow) {
setTimeout("update_item(true)",15000); // 15000 is time in ms - should match your charts refresh time
if (pNow){
var get = new htmldb_Get($x('P16_X'),$x('pFlowId').value,'APPLICATION_PROCESS=UPDATE_INFO',0); // P16_X is the page-item that needs refreshing ,UPDATE_INFO is an Application Process
gReturn = get.get();
</script>In the Chart Region's ' Region Footer' add
<script>
addLoadEvent(update_item(false));
</script>Define an On-Demand 'Application Process' named 'UPDATE_INFO'. For the process text do something like
declare
newvalues varchar(200);
begin
newvalues := 'Whatever my newvales for query time etc are ....';
htp.prn(newvalues);
end;And that should be it
Varad
Similar Messages
-
EC-CS Reconciliation of Financial Stmt Items with Group chart of account
Is there a report that can reconcile Financial Statement Items with group chart of accounts, and list any GL account or FS Item that are missing?
Thanks.
-
Apex 4 - strange problem with dial chart
I may be misunderstanding the way dial charts worked but here goes.
I created a dial chart (not %) just a regular dial chart.
my query was : select count(*), 200 from mytable; -- just counting number of rows (always less than 200)
So when the query return 40, my chart shows 40. But when the query is returning 0, my dial won't go below 2.
So I tried modifying query to select count(*), 200, 0, 200 from dual; Same problem.
And here it gets weird. I went into the query section of apex and changed my query (note, I did not create new dial, just moded old one) to
select 0, 100 from dual;
I still get back a value of 1 on the dial.
Anybody seen anything like this? It's like some weird uber cache somewhere or something. I can't figure it out.
Addition :
So we did the following :
select 0, 20 from dual; -- shows 0
select 0, 100 from dual; -- show 1
select 0, 200 from dual; -- show 2
select 0, 500 from dual; -- show 5
Is this a bug?
Edited by: user3932435 on Aug 11, 2010 7:28 PMHi,
Thanks for bringing this issue to my attention. It appears that you have hit some behaviour that's reproducible in our Flash 3 charts as well as our Flash 5 charts with APEX 4.0. I believe the reason that it wasn't apparent before now, with the Flash 3 charts, is because there was no option to display a value on the gauge pointer with the earlier charts. With APEX 4.0, we've extended the Chart Attributes to allow for the display of the value. Obviously in your case, the incorrect value is being displayed and will be misleading to your users. I appreciate this is not ideal, but if possible I would suggest updating your attributes to switch off the display of the Value on the gauge. I will address this in a future release, as with the exposure of the "Value" attribute with Flash 5 charts, we don't want to be displaying incorrect information. Thanks again for bringing this to our attention, and hopefully by switching off the Value attribute, you can still proceed with your use of the gauge chart.
Regards,
Hilary -
Calculated Item with bubble chart???
Hello! When I choose pivot table and chart pivoted results I can't choose bubble chart, I would like to choose it to do calculated item to see in bubble chart. Is possible to do this???
Thanks a lot!Sure looks as Skull said that you want it in the condition area.
However, if you were trying to create a calculation comparing the 2 dates, you'd probably want to use the DECODE or CASE (case much easier) and have both dates wrapped by the TRUNC function.
ie:
case when trunc(my_date) > trunc(sysdate) then 'Y' else 'N' end
Russ -
Hello everybody...
I want to create a percent dial chart. This chart should show a 'performance', expressed by a percentage. This value is obtained by the ratio between two values:
1-the first value (i'll call it "VALUE") derives from a sql query
2-the second value, a target value (i'll call it "TARGET") has a default value that could be changed by the user, and it's contained in a text item
the dial chart should show the ratio: VALUE/TARGET.
is it possible? what are the single steps to obtain this result?
thank you very muchgavaking,
I have not used the percent dial chart but did a quick trial on what is required and what you are asking to do seems doable.
You have asked how it would be done, the process would require you to setup a variable for example P1_User_Target which the user would enter prior to the computation of the query. The other "VALUE" you could recall from the page as P2_VALUE and would be easily run via the LoV function in APEX.
Once both of these are established you would then build the query for the percent Dial and rename each appropriately.
Again I have not done specifically what you are requesting here but it does seem doable.
If you need more help writing the query let me know, or perhaps someone more exprienced then myself will pipe in with a bit more insight.
Randy -
Hi, I am using following sql as a source for my DIAL CHART... Chart is working fine for larger values (in millions) but for smaller values (around 1.4 million) it's showing repeated numbers on the dial grid (such as $0M, $0M... $1M, $1.M)...
select SUM(a.YTD/1000000) value,
1.68 as MAX_VALUE
from
(select sum(YTD) YTD from "BL"."MV_BILLING" where MKT_SEGMENT = 'ABC' and year = 2010) a
Over the grid, I want to show meaning full values such as for records close to $1.5 million it should show something like this .1 M, .2M, .3M and so on... Please advice
ThanksHi,
This might help with dial chart syntax
http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/app_comp.htm#sthref1111
I think you need have dynamical MAX VALUE also
Br,Jari -
Set multiple items with javascript function in chart link
Hi Folks
I am able to use the javascript $s function to set the value of one item from a chart link. I need to pass values to multiple items.
Is there a way to use javascript function to pass values for multiple items on a page from a chart link
Appreciate your responses
Thanks
GopalHi Arnau,
You need to surround your JavaScript code like this (without the spaces before and after script):
< script language="Javascript">
window.open("<%=ABAP_VARIABLE%>").focus();
</script >
Regards,
Patrick. -
Need help to develop report with column chart
Hi
I am new to SAP BO world.Could anyone please help me to design report with column chart.Please guide me how to develop report for the following requirement.I am not aware of variance columns and variance labels.Please provide some guidance or some tutorials(for column Chart) so that I can complete the task. Please reply me as soon as possible.Waiting for reply.Thanks in advance.
Type: Column Chart
u2022 Rows: Banking Asset Margin (%)
u2022 Start / End Columns: PY YTD Act(Prior year year to date); CY YTD Act(Current year Year to date)
u2022 Variance Columns: # Var (CY-PY Act) for GOLM; Volume; Rate; Non Banking NII; Banking Volatility in NII; Banking Volatility in OOI; Fees/One Offs/Other; Volatile Items; Sophie
u2022 Sub-total columns: PY YTD Underlying; CY YTD Underlying.
u2022 Variance Labels: % Var (CY-PY Act) for Total Income and Underlying Income
u2022 Sub-Total Labels: # Var (CY-PY Act) for Net Insurance Income; Banking Volatility; Other Operating Income
Additional information
u2022 Variance columns (bar) colours: Red = Adverse to Prior Year; Green = Favourable to Prior Year
u2022 Columns to show values. Adverse values to be shown in red text in brackets. Favourable results in black text.
u2022 All values in Black, but adverse to be shown below the bar.Hi,
This type of question is almost impossible to answer over a forum .
You need to work with your business to understand what these requirements mean in terms of data modelling and relationships between object entities.
- Some of these metrics should be delegated to source, and calculated in the update routines to your datatargets (aka Cubes/Tables)
- Others could be resolved in the semantic layer (Universe)
- Other will be calculated in the presentation layer as local formulae or variables.
whilst BusinessObjects is a fairly intuitive tool, it may be unreasonble to expect a new learner to deliver an advanced report with conditional formatting.
Regards,
H -
Problems with pie chart formatting - APEX v2
Hi - I have created a region with an SVG Pie Chart and set the CSS to display the three segments as red, yellow and green using one of the examples from a previous forum posting. That all works fine, but I still have two issues with the chart:-
- the legend is displaying too big and is overlapping the right hand region border which looks messy. Is there anyway to force the size of the legend as there is lots of blank space to the right of the labels/values?. If not, is there any way to get the legend to display at the bottom of the area rather than to the side of the chart?
- the pie chart is 3D but the colours are only displaying on the side, not the top. Is there something I need to set to get this to work OK? Current CSS included below.
Thanks Caroline
text{font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;fill:#000000;}
tspan{font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;fill:#000000;}
text.title{font-weight:bold;font-size:14;fill:#000000;}
text.moredatafound{font-size:12;}
rect.legend{fill:#EEEEEE;stroke:#000000;stroke-width:1;}
text.legend{font-size:10;}
#background{fill:#FFFFFF;stroke:none;}
rect.chartholderbackground{fill:#ffffff;stroke:#000000;stroke-width:1;}
#timestamp{text-anchor:start;font-size:9;}
text.tic{stroke:none;fill:#000000;font-size:12}
line.tic{stroke:#000000;stroke-width:1px;fill:none;}
#dial{stroke:#336699;stroke-width:2px;fill:#336699;fill-opacity:.5;}
#dial.alert{fill:#FF0000;fill-opacity:.5;}
#dialbackground{stroke:#000000;stroke-width:none;fill:none;filter:url(#MyFilter);}
#dialcenter{stroke:none;fill:#111111;filter:url(#MyFilter);}
#dialbackground-border{stroke:#DDDDDD;stroke-width:2px;fill:none;filter:url(#MyFilter);}#low{stroke-width:3;stroke:#336699;}
#high{stroke-width:3;stroke:#FF0000;}
#XAxisTitle{letter-spacing:2;kerning:auto;font-size:14;fill:#000000;text-anchor:middle;}
text{font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;fill:#000000;}
tspan{font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;fill:#000000;}
text.title{font-weight:bold;font-size:14;fill:#000000;}
text.moredatafound{font-size:12;}
rect.legend{fill:#EEEEEE;stroke:#000000;stroke-width:1;}
text.legend{font-size:10;}
#background{filter:url(#MyFilter);fill:#555555;stroke:none;}
rect.chartholderbackground{fill:#ffffff;stroke:#000000;stroke-width:1;}
#timestamp{text-anchor:start;font-size:9;}
text.tic{stroke:none;fill:#000000;font-size:12}
line.tic{stroke:#000000;stroke-width:1px;fill:none;}
#dial{stroke:#336699;stroke-width:2px;fill:#336699;fill-opacity:.5;}
#dial.alert{fill:#FF0000;fill-opacity:.5;}
#dialbackground{stroke:#000000;stroke-width:none;fill:none;filter:url(#MyFilter);}
#dialcenter{stroke:none;fill:#111111;filter:url(#MyFilter);}
#dialbackground-border{stroke:#DDDDDD;stroke-width:2px;fill:none;filter:url(#MyFilter);}#low{stroke-width:3;stroke:#336699;}
#high{stroke-width:3;stroke:#FF0000;}
#XAxisTitle{letter-spacing:2;kerning:auto;font-size:14;fill:#000000;text-anchor:middle;}
#YAxisTitle{letter-spacing:2;kerning:auto;font-size:14;fill:#000000;text-anchor:middle;writing-mode:tb;}
.XAxisValue{font-size:8;fill:#000000;}
.YAxisValue{font-size:8;fill:#000000;text-anchor:end;}
.AxisLabel{font-size:8;fill:#000000;}
.nodatafound{stroke:#000000;stroke-width:1;font-size:12;}
.AxisLine{stroke:#000000;stroke-width:2;fill:#FFFFFF;}
.GridLine{stroke:#000000;stroke-width:0.3;stroke-dasharray:2,4;fill:none;}
g.dataholder rect{stroke:#000000;stroke-width:0.5;}
.legenditem rect{stroke:#000000;stroke-width:0.5;}
#data1 ,rect.data1 ,path.data1{fill:#FF0000;}
#data2 ,rect.data2 ,path.data2{fill:#FFFF00;}
#data3 ,rect.data3 ,path.data3{fill:#00FF00;}hi Kishore,
For this we have to change the .pcxml file for the pie chart .This is the path
\OracleBI\web\app\res\s_oracle10\popbin\pie.pcxml
http://obiee101.blogspot.com/2008/08/obiee-cusstomising-your-pcxml.html
http://debaatobiee.wordpress.com/2009/09/26/customising-graph-obiee-a-charismatic-gradient-effect/
I am not sure whether it will work or not but try it out
thanks,
saichand.v -
Hidden report items with toggle are visible in Excel when a report is exported to Excel.
Hi
I have 4 Bar charts and 4 text boxes in one report in SSRS Report . These charts are hidden based on parameters. I have one visible chart and one text box when report is rendered .
When report is exported to excel 4 charts are visible. Each Bar chart has one textbox in toggle box. If I set toggle to None all hidden charts will be invisible in excel file.
I used iif(Globals!RenderFormat.Name=" EXCEL",False,True)
but it does not work when the chart is toggled by a text box.<v:shape alt="" id="Picture_x0020_1" o:spid="_x0000_i1025" style="width:6in;height:396pt;"
type="#_x0000_t75"></v:shape>Hi Katherine
Thank you for your quick response.
I am working with three versions .(SQL SERVER 2008, 2008 R2 and 2012)
I designed all reports in SQL Server 2008 and uploaded them in other versions.
For example, I have a chart that it is invisible when the report is initially run.
I want to hide this chart in excel when I export it to Excel format.
In SQL Server 2008: If the toggleitem of a chart sets to a text box the chart is visible in excel when it is a hidden item in the report .
I checked in PDF and word format it is fine and hidden items are not displayed.
There is this scenario for SQL Server 2008 R2 and SQL Server 2012. I tested Globals! RenderFormat in two versions but it does not
work. The main issue is toggleitem. If I remove toggleitem from hidden items they are invisible in three versions when they are exported to Excel. I am not sure if I design report in Sql Server 2008 R2 I can hide some
report items with toggle in Excel format or Not?
Thanks -
Copy financial statement version with different chart of accounts
Hi all,
it is possible to copy financial statement version with different chart of accounts? If I copy the financial statement version, the Financial statement items are assign from the chart of accounts which were in the original financial statement version.
But I need to change the chart of accounts and accounts assignment as well. Is this somehow possible?
Thanks
MiroslavHi,
It does not make much sense, as FSV is based on chart of accounts. You will have to build your FSV from the scratch.
Regards,
Eli -
Why does not "Copy data" menu item of Colormap chart work?
I need to get image of colormap chart (Sound and Vibration Toolkit v4.0) when program is running or stopped. It is very easy to get image in the clipboard by using "Copy data" popup menu item, but there is a problem.
There is "SVXMPL_Getting Started with SVT (Simulated).vi" example where colormap chart is used. In this example it is possible to get image of colormap chart (axes, grids and data) by simply clicking "Copy data" popup menu item.
Colormap chart in program puts into clipboard only image with axes and grids! I have compared colormap charts settings in both cases and have not found any difference related to "Copy data" functionality. Any ideas how to fix it?
Running Labview v8.0 and Sound and Vibration Toolkit v4.0 on Windows 2000/SP4.
In the attach there are chart and clipboard images.
Attachments:
colomap-chart-copy-data-pro.png 23 KBFor sure I am using intersity chart in my program (look at the attached image), but "Copy data" copies blank chart image.
I have done very simple test with modified intersity chart used in SVXMPL_Getting Started with SVT (Simulated).vi example:
1) Modified intersity chart was copied to my program - "Copy data" copies blank chart image.
2) Copy of modified intersity chart was copied back to the SVXMPL_Getting Started with SVT (Simulated).vi example. Two charts were connected in parallel with the same settings and property nodes. In original chart "Copy data" copies right chart image, in twice copied chart "Copy data" copies blank chart image.
So I am a little bit confused with such chart behaviour. Does it mean that some specific chart setting affects "Copy data" feature? And this setting is not copied by copy'n'paste?Message Edited by rsa1024 on 01-31-2007 03:51 PM
Attachments:
colormaps cmp.png 24 KB -
CR report with a chart takes a lot of time
Post Author: kushaljn
CA Forum: Charts and Graphs
Hi,
I have a CR-9. The dataset behind this report takes 4-5 seconds if I run separately.
When building a Bar Chart using the 10 rows which are returned in the dataset it takes ALMOST 30-35 seconds to fill the viewer.
Is this time acceptable/known time for a simple chart.
This is a test application which I started with in .Net, c#. I am trying to fix a bigger problem where my reports take almost 2 mins to fill up and show in the viewer.
Any suggestions/commets are welcome.
TIA.Post Author: srmalloy
CA Forum: Charts and Graphs
I am using CR XI, so my solution may not be directly applicable to your problem. I have a report that extracts data from a database containing workload by month that presents summary data by fiscal year, grouping and across four drill-down levels of aggregation. The report originally had the month-by month data visible at the deepest drill-down level, with three charts (average workload, total workload, total work units) for the month-by-month data. The full report would take two minutes or more for the top-level report (about 12 rows of data) to display.It appears that, regardless of whether or not it is visible, CR does enough rendering all the way down the report structure to determine where items will be placed on pages; for me, that was rendering each set of three charts for each of the thousands of leaf nodes in the drill-down before CR decides whether to display the page sections those charts were in. This was not an acceptable response speed. What I did was to make the month-by-month data its own subreport, using the fiscal year parameter set in the main report as its filter; this let me provide month-by-month breakouts at each detail level while having the charts display only when the subreport is requested; that eliminated the lag in displaying the main report. -
Any known issues with DateTimeAxis with Bar Charts?
Not column charts. I've seen plenty of simple ones for that. I'm using a floating bar chart with custom bar rendering to give the user an option of fill color.
Right now the issues I'm facing are:
-min/max values aren't being properly set by the chart
-padding doesn't stay consistent with larger date ranges
-dateTimeAxis labels do not wrap over a year change properly if only the month/year are scaled in the axis labels. (for example, if the label units are scaled to month/year (2/10 and 12/09 as end and start dates respectively), then the labels go from 2/10 (from origin of axis) to 12/09 instead of the other way around, the proper way.
If these are known bugs in Flex 4 Beta 2, please let me know! If you have any ideas of how I might solve these problems, please let me know!
Thanks.First, I apologize this took me so long. I was pulled elsewhere for a while on the project. Second, I couldn't post a sample as the conditions of the sample would require too much work and time. This is just a small part of a very large project.
I will lay out some cases and describe simply what you may not immediately see within the context.
Min Max Manually Set with custom padding
I created a custome padding ratio to give a better result since with the min and max manually set the padding wouldn't scale properly.
Min Max left to flex with only one item in the dataprovider
Notice the ranges... if you look above, the items min/max dates are not as small as below. Ignore the extra y-axis, this was my error when creating the reduced screenshot.
Padding Case - Min/Max not set
As you can see, this padding is not "2" padding. Not only that, but if you'll notice the padding on the right is much smaller than on the left.
Year Wrap & Padding Case - Min Max manually set
Using Math.min(), Math.max() I find the min/max and set it manually. You'll notice the padding is no longer working at this scale as it doesn't scale properly now even with min/max set properly.
Year Wrap Case - Min/Max set
Here you see the year wrapping over. It should be the other way around. There is no custom label function and the dates are all correct because if you look at the other examples you'll notice that a year only label (Above) will display properly and a month/day/year label (Below) will display properly.
Year Wrap Case - Month Example
Padding Case min/max manually set:
You'll notice that you can see the red bar below. This is because I have manually set the min and max so the range is visible.
Padding Case no min/max set:
For one reason or another it creates boundaries for the last item added and not all the items in the chart. This occured only for the first bar it would seem. If you rendered it with a two day inward difference between the first and second op, it would make the first item disappear.
If you need more examples, I can provide them. However, this was pretty thorough for the cases needed. -
Having email imap synchronization problems with outlook 365 proplus
Hello,
I have email imap synchronization problems with outlook 365 proplus.
If I sent emails , my sent items box does not synchronized.
This is really a bug, because I see more problems like this on internet.
Please make ASAP a solution , this is not professional
JMRHi JMR,
Assuming you are referring to Outlook 2013 by "outlook 365 proplus". This is actually because Outlook 2013’s IMAP implementation has changed when compared to previous versions of Outlook.
While configuring the IMAP account, Outlook will talk to the IMAP server for the correct folders first. If Outlook 2013 can’t find the correct folder for the Sent Items in your mail server, it will create a folder which doesn’t sync with the mail server.
To sync the Sent Items folder with IMAP server, we can try to root the mailbox:
Go to FILE->Account Settings->Account Settings…
Double click on your IMAP account.
Click More Options… button, then Advanced tab
Type "Inbox" as the "Root folder path"
Hope this helps.
Regards,
Ethan Hua
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs.
Maybe you are looking for
-
How hard is it to get a Genius Bar Appointment for a Macbook Pro
I could not update to Marvericks on my Macbook Pro as the install picked up a SMART error on hard drive meaning it is likely to fail soon. I have been trying to get an appointment for the last two weeks in any store in London to replace my hardrive a
-
I am unable to login to the 11g EM website on Windows x64 2003 server. I get the below error: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64; Trident/4.0) Timestamp: Wed, 6 Oct 2010 10:41:18 UTC Message: Ob
-
I use Acrobat 11 Pro (Nl). The document background colour is yellow. I can create a white bleed. How can I get the bleed in the same colour as the document? - thank you
-
Button into the title of a JFrame
How can I put Buttons or Icons (which can handle the mouse click) into the title bar of a JFrame? Is it possible anyway? Fast reply will be pleased. Bye Zafir
-
How do I uninstall 10.4 and install10.6?
I'm finally trying to update my iMac but I need help uninstalling 10.4.11 and installing 10.6, something I've never done. What suggestions or pointers do you have? What resources have you found helpful? I'm a novice so it can't be filled with jargon.