Refresh Delay with Radial Charts
Hi,
We have deployed a dashboard in XCelsius 2008 SP2 which is composited
of two screens. Both screens are published in a B.O. 3.1 environment.
One screen has the general information about our sales and the other
screen has more detailed data. We have connections to QaaWS
WebServices, and the test of them is succesful. Also We're using flash
variables to pass the parameters, and the behaviour it's right.
In fact, all the deployment seems to be right, but sometimes We're
experimenting any problems with the refresh action of radial charts.
These charts are loaded from different Webservices. But after the
reload of all the data, with a previous change of our parameters, the
visual refresh of our radial charts has a delay. This behaviour is
variable, so we aren't able to find a forecast about his performance.
We've tested the execution of our webservices, and also We have tested
the delay between the final execution time and the visual refresh
effect. Sometimes this delay has more than 30 seconds.
Have you experimented this problem before? Any tip?
Thanks in advance!
Best regards
Typically the datagrid in a scenario like yours would be
updated by a webservice call from the client i.e. from Flex to the
server. The datagrid might be bound to the lastResult of a
webservice for example, or to a data model, but that will not be
updated without calling the webservice itself. Oftentimes you will
see this call in a "creationComplete" event. If you want to
dynamically update the client when the server changes then you are
going to have to take some kind of action on the client, like a
timer for example that triggers the webservice that accesses the
data.
Similar Messages
-
I have a problem with a chart refreshing after its bound data provider changes.
I have a problem with a chart refreshing after its bound data
provider changes. After the subsetHighLowData.refresh() is called I
would expect the chart to redraw, but it still looks the same. I
even inspected the debugger to see if the slice had taken place and
it had.
Any ideas coding friends?"nikos101" <[email protected]> wrote in
message
news:gib6aa$prr$[email protected]..
>I have a problem with a chart refreshing after its bound
data provider
>changes.
> After the subsetHighLowData.refresh() is called I would
expect the chart
> to
> redraw, but it still looks the same. I even inspected
the debugger to see
> if
> the slice had taken place and it had.
>
> Any ideas coding friends?
>
> subsetHighLowData.source =
>
highLowData.source.slice(slider.values[0],slider.values[1]);
Just use the ArrayCollection's removeItemAt, and it should
handle the event
dispatching for you.
HTH;
Amy -
Regarding Pages charts, when I try to 'build' a 3D chart all I get is little dots but not graphics. No problems with 2D charts though. Guess my question is "Help?"
Sorry for the delay getting back to this.
Thanks to Fruhulda and Peter for their comments regarding the refusal of Pages to let me make 3D charts.
In answer to the questions put to me in this regard :
1. Pages version : Pages '09 v.4.1 (923)
2. Mac O/S : v.10.6.8
3. 3D chart : Can't find a 'name', but upright bars with rounded corners ???
4. Moved apps : Not that I'm aware of! All should be as installed off the disc.
5. A note : I have been able to create these in the past - related to a SW update?
and ... can create these charts perfectly in Keynote (go figure).
Thanks to all.
CM -
Hi everyone. I've got a problem with ABAP charts. I need to place a simple chart in screen's container.
REPORT ZWOP_TEST4 .
Contain the constants for the graph type
TYPE-POOLS: GFW.
DATA: VALUES TYPE TABLE OF GPRVAL WITH HEADER LINE.
DATA: COLUMN_TEXTS TYPE TABLE OF GPRTXT WITH HEADER LINE.
DATA: ok_code LIKE sy-ucomm.
DATA: my_container TYPE REF TO cl_gui_custom_container.
REFRESH VALUES.
REFRESH COLUMN_TEXTS.
VALUES-ROWTXT = 'Salary'.
VALUES-VAL1 = 50000.
VALUES-VAL2 = 51000.
APPEND VALUES.
VALUES-ROWTXT = 'Life cost'.
VALUES-VAL1 = 49000.
VALUES-VAL2 = 51200.
APPEND VALUES.
COLUMN_TEXTS-COLTXT = '2003'.
APPEND COLUMN_TEXTS.
COLUMN_TEXTS-COLTXT = '2004'.
APPEND COLUMN_TEXTS.
Call a chart into a standard container, this function could be used
for many different graphic types depending on the presentation_type
field :
gfw_prestype_lines
gfw_prestype_area
gfw_prestype_horizontal_bars
gfw_prestype_pie_chart
gfw_prestype_vertical_bars
gfw_prestype_time_axis
CALL SCREEN '1000'.
CALL FUNCTION 'GFW_PRES_SHOW'
EXPORTING
CONTAINER = 'CONTAINER' "A screen with an empty
container must be defined
PRESENTATION_TYPE = GFW_PRESTYPE_LINES
TABLES
VALUES = VALUES
COLUMN_TEXTS = COLUMN_TEXTS
EXCEPTIONS
ERROR_OCCURRED = 1
OTHERS = 2.
*& Module STATUS_1000 OUTPUT
text
MODULE STATUS_1000 OUTPUT.
SET PF-STATUS 'GUI_1000'.
SET TITLEBAR 'xxx'.
IF my_container IS INITIAL.
CREATE OBJECT my_container
EXPORTING container_name = 'CONTAINER'.
ENDIF.
ENDMODULE. " STATUS_1000 OUTPUT
*& Module USER_COMMAND_1000 INPUT
text
MODULE USER_COMMAND_1000 INPUT.
ok_code = sy-ucomm.
CASE ok_code.
WHEN 'EXIT'.
LEAVE TO SCREEN 0.
ENDCASE.
ENDMODULE. " USER_COMMAND_1000 INPUT
I created a screen 1000 in SCREENPAINTER, named it 'CONTAINER'. Then I try to launch code above and nothing appears on the screen. Could You give me some tip?Hi,
delete this lines:
IF my_container IS INITIAL.
CREATE OBJECT my_container
EXPORTING container_name = 'CONTAINER'.
ENDIF.
then it should work.
R -
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 -
Cube refresh fails with an error below
Hi,
We are experiencing this problem below during planning application database refresh. We have been refreshing the database everyday, but all of a sudden the below error is appearing in log. The error is something like below:
Cube refresh failed with error: java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.io.EOFException
When the database refresh is done from workspace manually, the database refresh is happening successfully. But when triggered from unix script, its throwing the above error.
Is it related to some provisioning related issue for which user has been removed from MSAD?? Please help me out on this.
Thanks,
mani
Edited by: sdid on Jul 29, 2012 11:16 PMI work with 'sdid' and here is a better explaination of what exactly is going on -
As part of our nightly schedule we have a unix shell script that executes refresh of essbase cubes from planning using the 'CubeRefresh.sh' shell script.
Here is how our shell looks like -
/opt/hyperion/Planning/bin/CubeRefresh.sh /A:<cube name> /U:<user id> /P:<password> /R /D /FS
Here is what 'CubeRefresh.sh' looks like -
PLN_JAR_PATH=/opt/hyperion/Planning/bin
export PLN_JAR_PATH
. "${PLN_JAR_PATH}/setHPenv.sh"
"${HS_JAVA_HOME}/bin/java" -classpath ${CLASSPATH} com.hyperion.planning.HspCubeRefreshCmd $1 $2 $3 $4 $5 $6 $7
And here is what 'setHPenv.sh' looks like -
HS_JAVA_HOME=/opt/hyperion/common/JRE/Sun/1.5.0
export HS_JAVA_HOME
HYPERION_HOME=/opt/hyperion
export HYPERION_HOME
PLN_JAR_PATH=/opt/hyperion/Planning/lib
export PLN_JAR_PATH
PLN_PROPERTIES_PATH=/opt/hyperion/deployments/Tomcat5/HyperionPlanning/webapps/HyperionPlanning/WEB-INF/classes
export PLN_PROPERTIES_PATH
CLASSPATH=${PLN_JAR_PATH}/HspJS.jar:${PLN_PROPERTIES_PATH}:${PLN_JAR_PATH}/hbrhppluginjar:${PLN_JAR_PATH}/jakarta-regexp-1.4.
jar:${PLN_JAR_PATH}/hyjdbc.jar:${PLN_JAR_PATH}/iText.jar:${PLN_JAR_PATH}/iTextAsian.jar:${PLN_JAR_PATH}/mail.jar:${PLN_JAR_PA
TH}/jdom.jar:${PLN_JAR_PATH}/dom.jar:${PLN_JAR_PATH}/sax.jar:${PLN_JAR_PATH}/xercesImpl.jar:${PLN_JAR_PATH}/jaxp-api.jar:${PL
N_JAR_PATH}/classes12.zip:${PLN_JAR_PATH}/db2java.zip:${PLN_JAR_PATH}/db2jcc.jar:${HYPERION_HOME}/common/CSS/9.3.1/lib/css-9_
3_1.jar:${HYPERION_HOME}/common/CSS/9.3.1/lib/ldapbp.jar:${PLN_JAR_PATH}/log4j.jar:${PLN_JAR_PATH}/log4j-1.2.8.jar:${PLN_JAR_
PATH}/hbrhppluginjar.jar:${PLN_JAR_PATH}/ess_japi.jar:${PLN_JAR_PATH}/ess_es_server.jar:${PLN_JAR_PATH}/commons-httpclient-3.
0.jar:${PLN_JAR_PATH}/commons-codec-1.3.jar:${PLN_JAR_PATH}/jakarta-slide-webdavlib.jar:${PLN_JAR_PATH}/ognl-2.6.7.jar:${HYPE
RION_HOME}/common/CLS/9.3.1/lib/cls-9_3_1.jar:${HYPERION_HOME}/common/CLS/9.3.1/lib/EccpressoAll.jar:${HYPERION_HOME}/common/
CLS/9.3.1/lib/flexlm.jar:${HYPERION_HOME}/common/CLS/9.3.1/lib/flexlmutil.jar:${HYPERION_HOME}/AdminServices/server/lib/easse
rverplugin.jar:${PLN_JAR_PATH}/interop-sdk.jar:${PLN_JAR_PATH}/HspCopyApp.jar:${PLN_JAR_PATH}/commons-logging.jar:${CLASSPATH
export CLASSPATH
case $OS in
HP-UX)
SHLIB_PATH=${HYPERION_HOME}/common/EssbaseRTC/9.3.1/bin:${HYPERION_HOME}/Planning/lib:${SHLIB_PATH:-}
export SHLIB_PATH
SunOS)
LD_LIBRARY_PATH=${HYPERION_HOME}/common/EssbaseRTC/9.3.1/bin:${HYPERION_HOME}/Planning/lib:${LD_LIBRARY_PATH:-}
export LD_LIBRARY_PATH
AIX)
LIBPATH=${HYPERION_HOME}/common/EssbaseRTC/9.3.1/bin:${HYPERION_HOME}/Planning/lib:${LIBPATH:-}
export LIBPATH
echo "$OS is not supported"
esac
We have not made any changes to either the shell or 'CubeRefresh.sh' or 'setHPenv.sh'
From the past couple of days the shell that executes 'CubeRefresh.sh' has been failing with the error message below.
Cube refresh failed with error: java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.io.EOFException
This error is causing our Essbase cubes to not get refreshed from Planning cubes through these batch jobs.
On the other hand the manual refesh from within Planning works.
We are on Hyperion® Planning – System 9 - Version : 9.3.1.1.10
Any help on this would be greatly appreciated.
Thanks
Andy
Edited by: Andy_D on Jul 30, 2012 9:04 AM -
Is CPA Cache refresh linked with ftp or file pooling process in XI?
Hi,
I have a file to file scenario using Transport protocol as FTP in XI 3.0 SP 15.
When we try to sends some file using ftp protocol where we are using
FTP connection parameters
Server = <CORRECT IP>,
Port = 21 ,
User name <CORRECT NAME>,
Password <PASSWORD> ,
Data Connection = Active
Connection Seq = None
Connection Mode = Permanently
Transfer Mode = Text
Processing Parameters
Quality of Service = Exactly Once
Pooling Interval = 1 sec
Processing Mode = delete
File Type = Text
File encoding = utf-8
The problem we are facing like some time the ftp is not working even the file is present in the location for pick up. If few files are stacked up to be collected then when we are using CPA Cache refresh in Full mode manually then it fetches all the files from the location but the problem is that ,we have a time constraint for this process to be completed in just 60 seconds if we are not able to pick up a file in 60 Secs then the file will be treated as invalid.
So I just want to know how Manual CPA CACHE refresh in full mode generally solve the problem.
Next if more files will be stacked up then cache refresh also failed to solve the problem and more cache refresh result in NOT pooling any other files in XI including the above discussed flow.
So,in anyway Cache refresh linked with ftp or file pooling process in XI?
Please assist me in correctly understating the whole problem and what solution could be put to solve this.
Thanks,
Satya
Edited by: Satya Jethy on Mar 14, 2008 12:28 PMHi Suraj,
If you see my query i have mentioned that the pooling interval is 1 Second.
If we are not able to pick the file with in 60 Secs as this is a real time scenario so the file will be treated as a invalid file.
Moreover this problem is happening some time.
I have also checked the component monitoring it is saying everything is ok as because we are receiving the file with out any error and the file transfer is also success.The only problem is that it is not collecting the files from the given location.
Hope i make you understnad the problem .If not please revert back i will try to explain once again.
Thanks,
Satya -
I'm working with this chart now and I would want to know if is possible when user pass the mouse in a bubble show legend and not the value... Is possible to do this???
Thank you!!Have a look here:
http://obiee101.blogspot.com/2008/01/obiee-xy-and-data-in-mouse-over-label.html
regards
John
http://obiee101.blogspot.com -
Hi EveryOne,
Me having problem with area chart,i have taken 3 area series
to plot when me plotting the values one of the series is getting
overlapped,Why its happening like this? Me attached the code
Thanks in advance.
<?xml version="1.0"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml">
<mx:Script><![CDATA[
import mx.collections.ArrayCollection;
[Bindable]
public var expenses:ArrayCollection = new ArrayCollection([
{Month:"Jan", Profit:0, Expenses:0, Amount:450},
{Month:"Feb", Profit:5, Expenses:0, Amount:600},
{Month:"Mar", Profit:5, Expenses:5, Amount:300},
{Month:"Mar", Profit:0, Expenses:5, Amount:300}
public var expenses1:ArrayCollection = new ArrayCollection([
{Month:"Jan", Profit:0, Expenses:5, Amount:450},
{Month:"Feb", Profit:5, Expenses:5, Amount:600},
{Month:"Mar", Profit:5, Expenses:10, Amount:300},
{Month:"Mar", Profit:0, Expenses:10, Amount:300}
public var expenses2:ArrayCollection = new ArrayCollection([
{Month:"Jan", Profit:5, Expenses:0, Amount:450},
{Month:"Feb", Profit:10, Expenses:0, Amount:600},
{Month:"Mar", Profit:10, Expenses:6, Amount:300},
{Month:"Mar", Profit:5, Expenses:6, Amount:300}
]]></mx:Script>
<mx:AreaChart id="myChart"
showDataTips="true">
<mx:series>
<mx:AreaSeries id="ara" dataProvider="{expenses}"
xField="Expenses"
yField="Profit"
/>
<mx:AreaSeries id="ara1" dataProvider="{expenses1}"
xField="Expenses"
yField="Profit"
/>
<mx:AreaSeries id="ara2" dataProvider="{expenses2}"
xField="Expenses"
yField="Profit"
/>
</mx:series>
</mx:AreaChart>
</mx:Application>Seems to simply be a problem with your data. See this
code. -
I've just rented Monsters vs Aliens on my Apple TV 3 and once we switched to default language - Russian we have experienced major lag in sound, apx. 1 sec delay with the picture. English soundtrack works fine, once we put Russian back - the delay is back. How can this be fixed? Please advise. Thank you in advance.
PS. Just bought the Monster's Inc. and Russian soundtrack works fine.Agreed! This bug with the ringtone delay (№4.1) is really annoying
-
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 -
Hi Experts!!
I've a little problem with a Pie Chart, I want to present a Pie Chart with 3 values which are defined on the Data Series, when I deploy I get the message: "Expected exactly 1 data series in XXXXX chart. Extra data series ignored". I don't understand why, because if I try to do a Column Chart with the same information, it works Ok!
Can anybody help me please?.
Emilio.Multiple data series with Pie Chart is not possible. you must have one series if u r using pie chart
-
Problem with displaying chart data
Hello everybody,
I have problem with displaying chart data correctly. I'm using a cartesian chart with DateTimeAxis. The stockdata I'm using is for half a year and
with ticks for every day. The problem is, that Flex displays the data of february in march together with the data of march. I have added a picture
to show the result. The second column of the grid is for february and the third for march.
Could anybody help me with this problem. Thanks in advance.
ThomasHi Chris,
thanks for your reply. Here you get the source code:
The following method creates the LineChart:
public function init():void
model.upperChart = this;
model.upperChartStyle.setChartViewStyle(this);
this.hAxis = new MyDateTimeAxis();
model.upperChartData.configureHAxis(this.hAxis);
this.vAxis = new LinearAxis();
model.upperChartData.configureVAxis(this.vAxis);
this.vAxisTitle = new Label();
this.vAxisTitle.text = model.upperChartData.getVAxisTitle();
model.upperChartStyle.setVAxisTitleLabelStyle(this.vAxisTitle);
this.vAxisTitle.x = 10
this.vAxisTitle.y = 0;
this.addChild(this.vAxisTitle);
this.myChart = new CartesianChart();
//remove default datatip
this.myChart.showDataTips = false;
this.myChart.x = 10;
this.myChart.y = 0;
this.myChart.width = 768;
this.myChart.height = 196;
model.upperChartStyle.setChartStyle(this.myChart);
this.addChild(this.myChart);
//Remove line shadow
this.myChart.seriesFilters = null;
this.myChart.horizontalAxis = this.hAxis;
this.myChart.verticalAxis = this.vAxis;
this.hAxisRenderer = new AxisRenderer();
model.upperChartData.configureHAxisRenderer(this.hAxisRenderer);
this.hAxisRenderer.axis = this.hAxis;
model.upperChartStyle.setHAxisRendererStyle(this.hAxisRenderer);
this.myChart.horizontalAxisRenderers.push(this.hAxisRenderer);
this.vAxisRenderer = new AxisRenderer();
model.upperChartData.configureVAxisRenderer(this.vAxisRenderer);
this.vAxisRenderer.axis = this.vAxis;
model.upperChartStyle.setVAxisRendererStyle(this.vAxisRenderer);
this.myChart.verticalAxisRenderers.push(this.vAxisRenderer);
model.upperChartStyle.setVAxisDataLabelStyle(this.vAxisMinLabel);
this.addChild(this.vAxisMinLabel);
model.upperChartStyle.setSeriesStyle(model.upperChartData.series, model.upperChartData.shares);
this.myChart.dataProvider = model.upperChartData.dataProvider;
this.myChart.series = model.upperChartData.series;
The data for dataprovider and series you can see in attached file dataprovider.xml.
xfield is equivalent to timestamp
yfield is equivalent to absolute
I think the problem could be the configuration of the datetimeaxis. The following method shows the parameter for the datetimeaxis:
public function configureHAxis(axis:MyDateTimeAxis):void
axis.parseFunction = UtilityClass.parseYYYYMMDDHHNNSSString2Date;
axis.dataUnits = "days";
axis.dataInterval = 1;
axis.title = "";
axis.minimum = new Date(UtilityClass.parseYYYYMMDDHHNNSSString2Date("2009-01-07 00:00:00").time);
axis.maximum = new Date(UtilityClass.parseYYYYMMDDHHNNSSString2Date("2009-07-06 00:00:00").time);
And finally you get the function, that I'm using for string to date conversion:
public static function parseYYYYMMDDHHNNSSString2Date(input:String):Date
var result:Date = new Date();
var year:Number = Number(input.substring(0,4));
var month:Number = Number(input.substring(5,7));
var date:Number = Number(input.substring(8,10));
var hours:Number = Number(input.substring(11,13));
var minutes:Number = Number(input.substring(14,16));
var seconds:Number = Number(input.substring(17,19));
result.setUTCFullYear(year);
result.setUTCMonth(month-1);
result.setUTCDate(date);
result.setUTCHours(hours);
result.setUTCMinutes(minutes);
result.setUTCSeconds(seconds);
return result;
I hope that will help to locate the reason for the wrong chart visualization.
Thanks for any help. -
Exporting a report with a chart.
Post Author: Coleen
CA Forum: Other
Hello, I am using Delphi7 with CR XI. When I export a report
with a chart to a pdf in my development environment it works fine. But
when I distribute my application, the export works correctly except the
chart does not display. I am using Installshield to distribute
the following merge modules: CR11_rdc_license, CR11_rdc_reportengine,
and CR11_rdc_runtime. What am I missing? Thanks,ColeenHello Russell,
The Joint Time Frequency and Order Analysis Tool comes with example data. If you use the sample data, do you see the same behavior? Here are the steps I took:
Run the VBS script Time Frequency and Order Analysis 111.VBS to launch the tool.
Select New Data File
Select Noise data.tdms and Open. This is in the Sample Data folder in the tool's folder Time Frequency and Order Analysis 111
Set the Time Channel to "1 Time" and set the Signal Channel to "3 Noise_2"
Select Spectrum 3D CharDiag.TDR as the Report Templace.
Select Joint Time Frequency Spectrum as the Analysis Type.
Select Run Analysis. This will load the analysis data into a report
Double-click on the graph to open the 3D Axis Definition window
Select ... next to the Characteristic diagram to open the Curve Parameters window
Under the Interpolation tab, uncheck Interpolation. Click OK and close both dialogs. The graph will re-draw.
Go to File > Clipboard or press the Copy Graphic to Clipboard button.
Paste the image in Paint or Microsoft Word
With these steps, I do not get an error with the clipboard. Are you able to export to clipboard if using the sample data Noise data.tdms? Does copying to clipboard work with any data? I'm trying to determine if maybe a certain large or small set of data could be causing the issue, or if you always have this issue.
Taylor B.
National Instruments -
I am trying to use apple configurator with ipads. I have been successful with preparing and supervising all ipads but one. When preparing it in configurator, I receive an error that it is refreshed but with an error. Under supervise, I am not able to add apps. I have erased all content to start over but this does not work either
Are you trying to restore a backup, or just sync some apps? Do you have profiles installed on the device?
Have you plugged the ipad into iTunes, and did a fresh install? I'm assuming the device went through the prepare setup properly. You many have to unsupervise it first, then plug it into iTunes to wipe it completely.
I'd then do each step seperately. Prepare it, then install 1 app, if that works, try another app, then maybe a profile.
Maybe you are looking for
-
Cisco WLC 2500 - 802.1x with Vasco Radius SMS OTP
Hello folks, I have what seems to be a complex implementation with many things that need to be done on a customers network and I wanted to be pointed in the right direction. The current scenario is such, the customer has a Cisco WLC 2500 device that
-
Hello. I am trying to create a white background in my images; eliminating shadows in the photos. Currently, I am using the quick selection tool to wrap the image, then I'm clicking on the oval icon in the bottom right corner, and I'm clicking on cu
-
I have a chart in a fillable PDF form built in Acrobat Pro X that functions using JavaScript. Unlike any of the other charts and fields in the form, this chart doesn't recognize the Enter key to submit and answer or tabulate a calculation. Any though
-
IPhoto prints blank on HP PhotoSmart A310
Interesting: I installed the printer driver for my HP PhotoSmart A310 on my crisp new MacBook Pro and I couldn't get iPhoto to print. I just got blank pages, also in the preview. Then, I installed a network printer, a HP DeskJet. After restarting iPh
-
How to call other number its number did my phone number into blacklist? Please......May I know...