Flash chart error: scroller position should be positive and integer
Hi
I am periodically getting this error when running a flash chart.
It seems to be related to the amount of data that I am using.
Any Idea whats causing it and how to resolve it
Keith
This only happens when using custom xml. If I change it to use the built-in xml, I get a no data found message.
That happens even if i just reset the custom xml.
Apex 3.1 with built in anychart
Edited by: Keith Jamieson on Aug 20, 2010 1:47 PM
Similar Messages
-
Chart Error - scroller positions should be positive and integer
<p>
Hello Expert
I have created a flash chart with two filters on the chart region.
i) ‘Select list with submit' ----- (:P23_TRC)
ii) ‘Radio button with submit' -----(:P23_IMPACTC)
The chart should display as per the filters selection.
However, I get the error message "<strong>scroller positions should be positive and integer</strong>", once, whenever I load this chart page for the 1st time in a new IE window.
After I change the filter's value it will work perfectly fine.
In filters default value is one value from respective filter list of value
</p>
<p>
If I remove the filter conditions from chart query, it works perfectly without error.
<u>Here are my chart series queries</u>
select null link, V.LOB label, COUNT(TR) "Customer Care"
from V_PROCESSTRACKING V
Where V.ProcessArea like '%Customer Care%' and (V.TR = :P23_TRC) AND ((V.IMPACT = :P23_IMPACTC)OR (:P23_IMPACTC = 'ALL'))
group by V.LOB
order by V.LOB
select null link, V.LOB label, COUNT(TR) "Sales"
from V_PROCESSTRACKING V
Where V.ProcessArea like '%Sales%' and (V.TR = :P23_TRC) AND ((V.IMPACT = :P23_IMPACTC)OR (:P23_IMPACTC = 'ALL'))
group by V.LOB
order by V.LOB
<u>Customer XML</u>
<?xml version = "1.0" encoding="utf-8" standalone = "yes"?>
<root>
<type>
<chart type="Stacked Horizontal 3DColumn">
<animation enabled="yes" appearance="size" speed="10" />
<hints auto_size="yes">
<text><![CDATA[{NAME}, {VALUE}]]></text>
<font type="Verdana" size="10" color="0x000000" />
</hints>
<names show="no"/>
<values show="no" prefix="" postfix="" decimal_separator="." thousand_separator="," decimal_places="0" />
<arguments show="no" />
<column_chart column_space="3" block_space="12">
<border enabled="no" />
<block_names enabled="yes" placement="chart" position="left" >
<font type="Verdana" size="10" color="0x000000" />
</block_names>
</column_chart>
</chart>
<workspace>
<background enabled="yes" type="solid" color="0xffffff" alpha="0" />
<base_area enabled="no" />
<chart_area enabled="yes" x="215" y="50" width="705" height="500" deep="0">
<background enabled="no"/>
<border enabled="yes" size="1"/>
</chart_area>
<x_axis name="Line of Business" smart="yes" direction="horizontal" rotation="-90" position="left_center" >
<font type="verdana_embed_tf" size="14" color="0x000099" bold="yes" align="center" />
</x_axis>
<y_axis name="No. of Process" smart="yes" position="center_bottom" >
<font type="Verdana" size="14" color="0x000099" bold="yes" align="center" />
</y_axis>
<grid>
<values />
</grid>
</workspace>
<legend enabled="yes" x="935" y="50">
<names enabled="yes">
<font type="Verdana" size="9" color="0x000000" bold="yes"/>
</names>
<values enabled="no"/>
<scroller enabled="no"/>
<header enabled="no"/>
<background alpha="0"/>
</legend>
</type>
#DATA#
</root>
<strong>Help please!!!!! It's urgent</strong>
Sagar
</p>Hi Rima,
I found the solution,
My graph is dependent on the page items. What I found was when I load the page, item default value was displayed but it was not stored in the memory. Item value only gets stored in memory when the page is submitted.
Line: -----
Soultion : - Create a page level before header process and define the default value over here as well. This will resolve your error.
Hopefully you understood what I am trying to explain. If not let me know and I will trying to put in picture and email you.
Sagar -
Chart Flash Chart error: ORA-20001: Print Chart Data: Flash Chart error: OR
Hi,
if the query where my resource gantt chart is based on returns more the 107 rows, i will get the following error:
chart Flash Chart error: ORA-20001: Print Chart Data: Flash Chart error: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
If i reduce the number of results, the chart is working fine.
Max rows attribute of the series is adjusted to 4000
Any idea?
Thank youThank you,
I have tried it, but it I am not able to make it work, here you find a snip of my pagesource:
<anygantt> <resource_chart>
<resources>
<resource id="341" name="Drexler, Franz" />
<resource id="5" name="Gross, Johannes-Ludwig" />
<resource id="8" name="Pecherski, Andrzej" />
<resource id="131" name="Steinmetz, Raphael" />
<resource id="191" name="Jenks, Raymond" />
<resource id="33" name="Alhambra, Roda Marie" />
<resource id="31" name="Daminescu, Adrian" />
</resources>
<periods>
<period resource_id= "31" start="24-DEC-12 12.00.00.000000000 AM" end="31-DEC-12 12.00.00.000000000 AM" style="green" />
<period resource_id= "8" start="27-DEC-12 12.00.00.000000000 AM" end="28-DEC-12 12.00.00.000000000 AM" style="green" />
<period resource_id= "8" start="02-JAN-13 12.00.00.000000000 AM" end="04-JAN-13 12.00.00.000000000 AM" style="green" />
<period resource_id= "131" start="26-JAN-13 12.00.00.000000000 AM" end="04-FEB-13 12.00.00.000000000 AM" style="green" />
<period resource_id= "131" start="01-JAN-13 12.00.00.000000000 AM" end="06-JAN-13 12.00.00.000000000 AM" style="green" />
<period resource_id= "131" start="22-DEC-12 12.00.00.000000000 AM" end="31-DEC-12 12.00.00.000000000 AM" style="green" />
<period resource_id= "5" start="21-DEC-12 12.00.00.000000000 AM" end="31-DEC-12 12.00.00.000000000 AM" style="green" />
<period resource_id= "31" start="07-JAN-13 12.00.00.000000000 AM" end="11-JAN-13 12.00.00.000000000 AM" style="green" />
<period resource_id= "8" start="21-DEC-12 12.00.00.000000000 AM" end="21-DEC-12 12.00.00.000000000 AM" style="blue" />
<period resource_id= "33" start="26-DEC-12 12.00.00.000000000 AM" end="28-DEC-12 12.00.00.000000000 AM" style="green" />
<period resource_id= "33" start="25-FEB-13 12.00.00.000000000 AM" end="25-FEB-13 12.00.00.000000000 AM" style="red" />
<period resource_id= "33" start="28-MAR-13 12.00.00.000000000 AM" end="29-MAR-13 12.00.00.000000000 AM" style="red" />
<period resource_id= "33" start="09-APR-13 12.00.00.000000000 AM" end="09-APR-13 12.00.00.000000000 AM" style="red" />
<period resource_id= "33" start="01-MAY-13 12.00.00.000000000 AM" end="01-MAY-13 12.00.00.000000000 AM" style="red" />
<period resource_id= "33" start="12-JUN-13 12.00.00.000000000 AM" end="12-JUN-13 12.00.00.000000000 AM" style="red" />
<period resource_id= "33" start="26-AUG-13 12.00.00.000000000 AM" end="26-AUG-13 12.00.00.000000000 AM" style="red" />
<period resource_id= "33" start="01-NOV-13 12.00.00.000000000 AM" end="01-NOV-13 12.00.00.000000000 AM" style="red" />
<period resource_id= "33" start="30-DEC-13 12.00.00.000000000 AM" end="30-DEC-13 12.00.00.000000000 AM" style="red" />
<period resource_id= "33" start="31-DEC-13 12.00.00.000000000 AM" end="31-DEC-13 12.00.00.000000000 AM" style="red" />
<period resource_id= "33" start="21-AUG-13 12.00.00.000000000 AM" end="21-AUG-13 12.00.00.000000000 AM" style="red" />
<period resource_id= "33" start="15-OCT-13 12.00.00.000000000 AM" end="15-OCT-13 12.00.00.000000000 AM" style="red" />
<period resource_id= "8" start="23-DEC-13 12.00.00.000000000 AM" end="23-DEC-13 12.00.00.000000000 AM" style="green" />
<period resource_id= "8" start="27-DEC-13 12.00.00.000000000 AM" end="27-DEC-13 12.00.00.000000000 AM" style="green" />
<period resource_id= "8" start="30-DEC-13 12.00.00.000000000 AM" end="30-DEC-13 12.00.00.000000000 AM" style="green" />
<period resource_id= "8" start="02-JAN-14 12.00.00.000000000 AM" end="03-JAN-14 12.00.00.000000000 AM" style="green" />
<period resource_id= "5" start="31-MAY-13 12.00.00.000000000 AM" end="31-MAY-13 12.00.00.000000000 AM" style="green" />
<period resource_id= "8" start="21-MAY-13 12.00.00.000000000 AM" end="24-MAY-13 12.00.00.000000000 AM" style="green" />
<period resource_id= "8" start="27-MAY-13 12.00.00.000000000 AM" end="29-MAY-13 12.00.00.000000000 AM" style="green" />
<period resource_id= "8" start="31-MAY-13 12.00.00.000000000 AM" end="31-MAY-13 12.00.00.000000000 AM" style="green" />
<period resource_id= "8" start="02-APR-13 12.00.00.000000000 AM" end="05-APR-13 12.00.00.000000000 AM" style="green" />
<period resource_id= "5" start="11-FEB-13 12.00.00.000000000 AM" end="11-FEB-13 12.00.00.000000000 AM" style="green" />
<period resource_id= "131" start="29-JUN-13 12.00.00.000000000 AM" end="14-JUL-13 12.00.00.000000000 AM" style="green" />
<period resource_id= "131" start="16-AUG-13 12.00.00.000000000 AM" end="16-AUG-13 12.00.00.000000000 AM" style="blue" />
<period resource_id= "8" start="26-AUG-13 12.00.00.000000000 AM" end="30-AUG-13 12.00.00.000000000 AM" style="green" />
<period resource_id= "8" start="02-SEP-13 12.00.00.000000000 AM" end="06-SEP-13 12.00.00.000000000 AM" style="green" />
<period resource_id= "8" start="15-FEB-13 12.00.00.000000000 AM" end="15-FEB-13 12.00.00.000000000 AM" style="blue" />
<period resource_id= "5" start="13-MAR-13 12.00.00.000000000 AM" end="13-MAR-13 12.00.00.000000000 AM" style="green" />
<period resource_id= "8" start="22-MAR-13 12.00.00.000000000 AM" end="22-MAR-13 12.00.00.000000000 AM" style="blue" />
<period resource_id= "33" start="20-MAR-13 12.00.00.000000000 AM" end="20-MAR-13 12.00.00.000000000 AM" style="green" />
<period resource_id= "5" start="08-APR-13 12.00.00.000000000 AM" end="08-APR-13 12.00.00.000000000 AM" style="blue" />
<period resource_id= "31" start="05-APR-13 12.00.00.000000000 AM" end="05-APR-13 12.00.00.000000000 AM" style="green" />
<period resource_id= "31" start="02-MAY-13 12.00.00.000000000 AM" end="03-MAY-13 12.00.00.000000000 AM" style="green" />
<period resource_id= "341" start="01-JUL-13 12.00.00.000000000 AM" end="22-JUL-13 12.00.00.000000000 AM" style="green" />
<period resource_id= "341" start="09-MAY-13 12.00.00.000000000 AM" end="12-MAY-13 12.00.00.000000000 AM" style="green" />
<period resource_id= "191" start="04-JUL-13 12.00.00.000000000 AM" end="06-JUL-13 12.00.00.000000000 AM" style="red" />
<period resource_id= "31" start="15-JUN-13 12.00.00.000000000 AM" end="30-JUN-13 12.00.00.000000000 AM" style="green" />
</periods>
</resource_chart></anygantt>
</textarea>
<div id="chartDiv"></div>
<script type="text/javascript" language="javascript">
/* Set default swf path */
AnyChart.swfFile = 'i/flashchart/anychart_6/swf/OracleAnyChart.swf';
/* Create new gantt chart */
var chart = new AnyChart();
chart.width="2500";
chart.height="2500";
/* Get string data from text area */
var data = document.getElementById('rowData').value.toString();
/* Set data */
chart.setData(data);
/* Write chart to "chart" div */
chart.write("chartDiv");
</script>
do you have a idea whats wrong? thank you -
Flash chart - Error - No chart data available
Hi
I have a Flash chart that shows the message "Error - No chart data available" (not the no data found message).
If I run its query in sql*plus (using the same parameters) I get 4 rows (with url, label and value columns). I am clueless about how to start investigating this as the chart does not show any other information... Any advice?
What does that message mean? Obviously is something different from no data found?
Thanks
LuisHi Marco
Thanks for the reply. I did what you said and found out the problem:
chart Flash Chart error: ORA-20001: get_data error: ORA-20001: Fetch error: ORA-01843: not a valid monthThis was caused because I used the following construction:
where date_from = :p5_date_fromIf this was a report, this would run fine as I set the date format mask using a application level process. However, as Flash charts use separate database connections, they ignore that setting (btw I posted a message about this problem).
I fixed it hardcoding a format mask in my SQL. Not nice but it works!
Thanks
Luis -
Asynchronous update of Flash chart error in IE
Hi gurus,
I had a post a while ago about an update command for a flash chart:
[Asynchronous update of flash chart when select list value changes|http://forums.oracle.com/forums/thread.jspa?messageID=3491745]
The goal was when I clicked a button or changed a select list the flash chart should update. Here is the command to update the flash chart:
apex_RefreshChart ($v('pFlowStepId'), $v('Pxx_REGION_ID').substr(1), navigator.language );This worked really well in Firefox but IE always created an error:
Details zum Fehler auf der Webseite
Benutzer-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Zeitstempel: Mon, 5 Oct 2009 06:16:52 UTC
Message: Object doesn't support this property or method
Line: 1
Char: 31991
Code: 0
URI: http://apex.oracle.com/i/javascript/apex_3_1.jsTry this example:
[http://apex.oracle.com/pls/otn/f?p=65555:23|http://apex.oracle.com/pls/otn/f?p=65555:23]
I found out that IE used another function to get the client language. I fixed that but an error still occurs:
Details zum Fehler auf der Webseite
Benutzer-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Zeitstempel: Mon, 5 Oct 2009 06:27:02 UTC
Message: Unkown error.
Line: 49
Char: 5
Code: 0
URI: http://SERVER:8080/apex/f?p=150:1:10579031101899::NO::P1_I_ID,P1_INSTANCE_NAME:1,DB1That is the javascript I used now:
//check the Browser type to set the right browser language
function fnc_checkBrowserLanguage()
var nav_lng="en"; //default language string
if(navigator.language)nav_lng=navigator.language;
if(navigator.browserLanguage)nav_lng=navigator.userLanguage;
if(navigator.systemLanguage)nav_lng=navigator.systemLanguage;
if(navigator.browserLanguage)nav_lng=navigator.browserLanguage;
if(navigator.userLanguage)nav_lng=navigator.userLanguage;
if(window.navigator.language)nav_lng=window.navigator.language;
return nav_lng;
// return 'en-us';
function fnc_setTablespaceItem (pItem)
var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=dummy',0);
get.add(pItem,$x(pItem).value)
gReturn = get.get();
// alert('Item '+pItem+' Session State set to '+$x(pItem).value+'!');
var v_flow_id = $v('pFlowStepId');
var v_region_id = new String($v('P1_REGION_ID_TU').substr(1));
var v_browser_lang = fnc_checkBrowserLanguage();
//alert(v_flow_id);
//alert(v_region_id);
//alert(v_browser_lang);
var vOriginal_apex_RefreshChart = apex_RefreshChart;
apex_RefreshChart = function(v_flow_id,v_region_id,v_browser_lang)
vOriginal_apex_RefreshChart(v_flow_id, v_region_id, v_browser_lang);
apex_RefreshChart(v_flow_id, v_region_id, v_browser_lang);
get = null;
}If I set the alert boxed all variables have a value. Firefox works well. And I have no idea what I could do next???
TobiasI just found out that the original time based flash update option creates the same error I get all the time. It can be configured under:
Chart attributes > Refresh: Asynchronous Update = YES and Update Interval (Seconds) = 10
Error: (line 49) (JScript - script block):
function __flash__addCallback(instance, name) {
instance[name] = function () {
return eval(instance.CallFunction("<invoke name=\""+name+"\" returntype=\"javascript\">" + __flash__argumentsToXML(arguments,0) + "</invoke>"));
}By the way I use the newest APEX version: "Application Express 3.2.1.00.10"
Seems more like a general error? Everybody should be able to rebuild this under IE 8 or IE 7. I use IE8!
Created source code:
<script type="text/javascript" language="javascript">
function chart_r2258227549390282_InitRefresh(pNow) {
setTimeout("chart_r2258227549390282_InitRefresh(true)",10000);
if (pNow){apex_RefreshChart (1, '2258227549390282', 'de');}
apex_SWFFormFix('c2258227549390282');
</script>It still works well with Firefox.
Tobias
Edited by: Tobias Arnhold on Oct 6, 2009 2:37 PM -
Flash Chart Error "A Start-tag was not matched with an end-tag."
All of the Flash charts on a page started displaying the error "A Start-tag was not matched with an end-tag." The charts were all working prefectly and no changes were made to the page. Any thoughts?
Thanks.Here is what I get when I click Show XML in debug mode. Thanks.
<?xml version="1.0" ?>
- <root>
- <styles>
<style type="background" id="background" background_type="solid" color="0xffffff" alpha="0" />
<style type="deal_background" id="dealBackground" enabled="yes" color="0xdddddd" alpha="100" />
<style type="deal_border" id="dealBorder" enabled="yes" thickness="1" color="0x666666" alpha="100" />
<style type="deal_position" id="dealPosition" left="146" top="169.1707317" />
<style type="deal_size" id="dealSize" startAngle="0" endAngle="180" innerRadius="0" outerRadius="109.5" />
<style type="indicator_background" id="indicatorBackground" enabled="yes" color="0x000000" alpha="100" />
<style type="indicator_border" id="indicatorBorder" enabled="yes" color="0xFFFFFF" thickness="1" alpha="0" />
<style type="scale_size" id="scaleSize" length="7.3" />
<style type="scale_position" id="scalePosition" radius="102.2" />
<style type="scale_lines" id="scaleLines" enabled="yes" thickness="1" color="0x000000" alpha="100" />
<style type="scale_labels_position" id="scaleLabelsPosition" radius="109.5" />
<style type="scale_labels_background" id="scaleLabelsBackground" enabled="no" />
<style type="scale_labels_border" id="scaleLabelsBorder" enabled="no" color="0x000000" />
<style type="scale_labels_text" id="scaleLabelsText" font="Verdana" size="10" color="0x000000" bold="no" italic="no" underline="no" align="right" />
<style type="scale_labels_size" id="scaleLabelsSize" />
<style id="areaBackground0" type="area_background" enabled="yes" color="0x669999" alpha="100" />
<style id="areaBackground1" type="area_background" enabled="yes" color="0xCCCCCC" alpha="100" />
<style id="areaBorder" type="area_border" enabled="yes" thickness="1" color="0xFFFFFF" alpha="100" />
<style id="areaBorder0" type="area_border" enabled="yes" thickness="1" color="0x666666" alpha="100" />
<style id="areaSize" type="area_size" outerRadius="105.85" innerRadius="36.5" />
<style type="circle_object_border" id="dotBorder" enabled="no" />
<style type="circle_object_position" id="dotPosition" left="146" top="169.1707317" />
<style type="circle_object_size" id="dotSize" radius="7.3" />
<style type="circle_object_background" id="dotBackground" enabled="yes" color="0x000000" alpha="100" />
<style id="emptyBorder" enabled="no" />
</styles>
- <shapes>
- <shape id="indicatorShape" type="polygon">
<point x="0" y="-4" />
<point x="-97.82" y="0" />
<point x="0" y="4" />
<point x="0" y="-4" />
</shape>
</shapes>
- <objects>
<circle sizeStyleId="dotSize" positionStyleId="dotPosition" backgroundStyleId="dotBackground" borderStyleId="dotBorder" />
</objects>
- <data>
<deal minimum="0" maximum="100" sizeStyleId="dealSize" positionStyleId="dealPosition" backgroundStyleId="dealBackground" borderStyleId="dealBorder" />
- <areas>
<area startValue="1" endValue="99" backgroundStyleId="areaBackground1" borderStyleId="areaBorder" sizeStyleId="areaSize" />
</areas>
- <scales>
<scale startAngle="0" endAngle="180" angleStep="18" labelsPrefix="" labelsPostfix="%" decimalPlaces="0" sizeStyleId="scaleSize" positionStyleId="scalePosition" linesStyleId="scaleLines" labelPositionStyleId="scaleLabelsPosition" labelBackgroundStyleId="scaleLabelsBackground" labelBorderStyleId="scaleLabelsBorder" labelTextStyleId="scaleLabelsText" labelSizeStyleId="scaleLabelsSize" />
</scales>
<indicator value="51.7412935" backgroundStyleId="indicatorBackground" borderStyleId="indicatorBorder" shapeId="indicatorShape" />
</data>
</root> -
Hi
Can anyone assit with this ...
I get following error when using a 2 series 2d line chart with animation set to scale, in apex 3:
"A Script in this movie is causing adobe flash player to run slowly. If it continues, your computer may become unresponsive."
When I accept to debug, it breaks on this parameter as an undefined error:
__flash__addCallback(c2741428313213918, "SetXMLText");
Thanks
KezieHi
I upgraded my browser flash from v8 to v9 and tested again. The flash upgrade did not resolve the issues as the error still occurs.
I did looked on the adobe site and found this link which sheds some light on why the error might occur: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15512&sliceId=1
I am not loading a large amount of data or displaying too many data points however, so I'm not sure about why I get this error.
Any other pointers would be appreciated.
I have pasted the XML below ...
Thanks
Kez
<p><?xml version = "1.0" encoding="utf-8" standalone = "yes"?><br>
<root><br>
<type><br>
<chart type="2DLine" minimum_value="99.5" maximum_value="100"><br>
<animation enabled="no"/><br>
<hints auto_size="yes"><br>
<text><![CDATA[{NAME}, {VALUE}]]></text><br>
<font type="Verdana" size="10" color="0x000000" /><br>
</hints><br>
<names show="yes" width="150" placement="chart" position="bottom" ><br>
<font type="Arial" size="10" color="0x000000" /><br>
</names><br>
<values show="no" prefix="" postfix="" decimal_separator="." decimal_places="0"
/><br>
<arguments show="no" /><br>
<line_chart left_space="5" right_space="5"><br>
<block_names enabled="no" /><br>
</line_chart><br>
</chart><br>
<workspace><br>
<background enabled="yes" type="gradient" gradient_type="linear"><br>
<colors><br>
<color>0xFFFFFF</color><br>
<color>0xFFFFFF</color><br>
</colors><br>
<alphas><br>
<alpha>100</alpha><br>
<alpha>100</alpha><br>
</alphas><br>
<ratios><br>
<ratio>0</ratio><br>
<ratio>0xFF</ratio><br>
</ratios><br>
<matrix r="0"/><br>
</background><br>
<base_area enabled="no" /><br>
<chart_area enabled="yes" x="60" y="50" width="400" height="300" deep="0"><br>
<background enabled="no"/><br>
<border enabled="yes" size="1"/><br>
</chart_area><br>
<grid><br>
<values lines_step=".1"><br>
<captions><br>
<font type="Arial" size="10" color="0x000000" /><br>
</captions><br>
</values><br>
</grid><br>
</workspace><br>
<legend enabled="yes" x="480" y="50"><br>
<names enabled="yes"><br>
<font type="Arial" size="10" color="0x000000" /><br>
</names><br>
<values enabled="no"/><br>
<scroller enabled="no"/><br>
<header enabled="no"/><br>
<background alpha="0"/><br>
</legend><br>
</type><br>
<data><br>
<block name="Uptime" color="0xFF6347" border_color="0xFF6347" ><br>
<set name="Ahmedabad Mob" value="99.98" color="0xFF6347" /><br>
<set name="Bangalore Mob" value="0" color="0xFF6347" /><br>
<set name="Chandigarh Mob" value="99.99" color="0xFF6347" /><br>
<set name="Mumbai Mob" value="0" color="0xFF6347" /><br>
</block><br>
<block name="Target" color="0xFFA500" border_color="0xFFA500" ><br>
<set name="Ahmedabad Mob" value="99.5" color="0xFFA500" /><br>
<set name="Bangalore Mob" value="99.5" color="0xFFA500" /><br>
<set name="Chandigarh Mob" value="99.5" color="0xFFA500" /><br>
<set name="Mumbai Mob" value="99.5" color="0xFFA500" /><br>
</block><br>
</data><br>
</root><br>
</p>
Message was edited by:
Kezie -
"Column Width should be positive" error
I have a flash chart that has a fairly simple query (whic works fine when run via SQLPLUS etc), that when I run via Apex I get "Column Width should be positive" errors. What does this mean, and how do I debug it?
I realise that I have to have a chart query to generate the chart. The query (see below) runs perfectly fine in SQLPLUS, TOAD, SQL Developer etc, with no negative values returned.
select null, to_char(targcompdate , 'RRRR-IW'), count(*)
from work_tab
where worktype = 'RO'
and integ_priority in ('2','3','4')
and comp_person = 'Structural'
and targcompdate >= sysdate
and status = 'APPR'
group by to_char(targcompdate , 'RRRR-IW')
order by to_char(targcompdate , 'RRRR-IW') -
Error: Failed to restore data position
We are running a report in the Crystal Reports Java runtime engine and receive the following:
"Error
Failed to restore data position, target: section = SectionCode;, printRecordNumber = 339, pageN = 2, result: section = SectionCode:, printRecordNumber = 399, pageN = 2"
The report includes header with formulas and logos, 3 sub reports, and a cross tab.
In case the cross tab has a small number of records and is printed in one page, there is no error. Once the cross tab has more records and requires another page to print, the error message is displayed.
The report data contains tables and an SQL command, all from one database.
This happens only on the runtime engine. When we run the report through Crystal Reports designer - no errors even if the cross tab requires 2 or more pages to print.
System:
Development: Crystal Reports designer 2008 SP3, ODBC, mySQL
Runtime: Java runtime engine (latest release from SAP's web site), JDBC, mySQL
Thanks,
OriOri,
If the report runs in the CR design interface there isn't a CR issue. You should have better luck getting an answer to your question is you post it in the [Java - SAP Crystal Reports|SAP Crystal Reports, version for Eclipse; forum.
Also, take a look at this thread in regards to mixing commands and linked tables... [Multiple "command" connections to the database. Linking + Performance|Re: Multiple "command" connections to the database. Linking + Performance].
HTH,
Jason -
Error while creating the Flash Chart
Hi ,
While creating the Flash Chart i got the following error..
Error Item ID (4789301958029267) is not an item defined on the current page.
What does it mean????
My Chart Series is:
SELECT NULL LINK, DISTRIBUTOR, CLGASSETS, FOLIOS FROM (
select NULL Link, distributor,SUM(Clgassets) Clgassets,SUM(folios) FOLIOS from (
select Month,distributor,
clgassets,sales,red,trxns,folios,
row_number() over(partition by SchType order by clgassets desc) rn,
dense_rank() over(partition by SchType order by clgassets desc) den_rank
from(
Select Month,
Scheme_type SchType,
Broker Distributor,
sum(CLGASSETS) CLGASSETS,
sum(SALES) SALES,
sum(RED) RED,
sum(TRXNS) TRXNS,
sum(FOLIOS) FOLIOS
from TABLE
MFDEX_TOPN_QUERY_PKG.TOPN_REPORT_QUERY
'OWNPERF',
:p_amc_code,
'X',
'X',
:p6001_month,
'X',
'X',
'X'
) op where instr(':'||:P6001_schtype||':',':'||scheme_type||':') > 0
group by Month, Scheme_type,Broker
order by CLGASSETS DESC)
order by clgassets desc)
where den_rank<=5
GROUP BY DISTRIBUTOR
ORDER BY Clgassets DESC)
WHERE ROWNUM<=5Help me out to clear this error.
Cheers,
Shan.Hi Sa'ad
Its been a little while since I used Web Analysis but I remember that there are issues if you have more than 1 dimension in rows or columns. What I cannot remember is whether it automatically shifts a dimension to the page or whether as you suggest it just doesn't display.
Pie charts can only display data from two dimensions (1 rows, 1 columns), you can filter using dimensions on pages. If that doesn't give you what you need then I'm afraid you need to stick to a different chart type.
Hope this helps
Stuart -
CreateInsert puts table scroll at the top position
Hi all,
I've found a strange behaviour with ADF Tables with editingMode="editAll":
Clicking the CreateInsert button always puts the table scroll at the top position, which is really annoying. Does anyone know how to solve it?
Thanks in advance
Barbara
Version
ADF Business Components 11.1.1.56.60
Java(TM) Platform 1.6.0_18
Oracle IDE 11.1.1.3.37.56.60In my case, rows don't have to be added as the last in the table, just next to the current row. Anyway, your link gave me a clue: use displayRow="selected" in af:table instead of the default value (displayRow="first") turns the selected row always visible, which is exactly what I wanted : )
Thanks, Shay! -
How can I should the position number in sequence via ppom_old or ppome
Our user creates the position number via ppom_old and get the position number from this screen. The position number has been shown on sequence. However, something seems collapse. Do you guys know how I can show insequence again?
It is based on Priority (Edit-> Priorirty)
Use
Sequence Priority of Objects
The Priority field is optional. It is used to determine the sequence in
which objects are presented in Simple Maintenance and Structural
Graphics.
When multiple objects are located on the same hierarchical level of a
structure, these must be ordered in a specific sequence from left to
right (or from top to bottom).
This is done by assigning alphanumeric priority values, where the value
1 is the highest (far left or top) and 99 the lowest priority (far right
or bottom).
If you specify no priority, the system places objects according to their
object IDs.
Priority When Defining Evaluation Paths
It is only necessary to prioritize evaluation paths as an exception.
Generally, you should use '*', so that all relationships are read.
Use the Priority field to define evaluation paths if you want only
objects which are assigned a certain priority (see above) to be
considered in an evaluation path.
Note
You can find more information on the meaning of the priority field with
reference to evaluation paths in the online IMG documentation for
'Maintain evaluation paths'.
Priority for Responsibilities
If you are using responsibilities for role resolution in Workflow, you
Example: There are various responsibilities for a standard role for
processing orders, grouped, for example according to order value (one
responsibility for orders up to a certain value, another for orders with
a greater order value).
Assuming that orders for a particular customer are always to be
processed with the same responsibility (and therefore by the same
agent), you can access it via another responsibility with a higher
priority that contains the customer name as the only criterion. The
responsibility (-ies) with lower priority, and therefore the order
value, is then no longer taken into account during agent determination.
Use only numeric values here, and note that, logically, the
responsibility with the highest numberic value in this field has the
highest priority.
Procedure
1. Sequence Priority of Objects
In Create mode, assign a priority to the objects you wish to rank.
To do so, assign an alphanumeric value (1, 2, 3... or A, B, C...) to
each object.
2. Priority When Defining Evaluation Paths
In the Priority field, enter the priority or priorities for objects
that should be considered in evaluation paths. Enter "*" if you want
to have no restriction.
3. Priority for Responsibilities
Maintain the priority directly in the detail screen for the
responsibility or in the overview screen for the responsibilities
for the rule. Note that you must use numeric values here. On the
overview screen, the system sorts the responsibilities in descending
order of priority. -
When i'm starting adobe flash professional there is an error 5 what should i do?
When i'm starting adobe flash professional there is an error 5 what should i do?
Can you check the solution mentioned in this thread to see if it helps?
Configuration error 5 (http://forums.adobe.com/thread/628476)
Thanks,
Preran -
MIRO : Internal error in program SAPLEINR in position L014 (RC = 4)
Hi Gurus,
I have got a problem with MIRO.
When i provide 'test' in Reference field and PO number in PO Reference tab i am getting error message saying
"Internal error in program SAPLEINR in position L014 (RC = 4)".
What could be the reason for this error message and solution if any?
Thanks in Advance!
Pavan.Hi Pavan,
I take it the error message number is C+509?
This error is usually caused by inconsistencies between table EKPO and KONV. Check out note 205723 and implement the
report ZKORKONV, you might want to run it in test mode first with the flag db_upd unchecked.
Hope this helps,
Adam. -
Hi, I am having a weird issue. When I scroll down on a window (in any program) the scroll resets to the top position. If I let go of the mouse or trackpad the scroll goes back to the top position.
I am using 1.6.8 on MacBook
Any suggestions?
Thanks!
:_) claudiaThanks Mohammad
I tried this but doesn't work. Also I save the getRangeStart return value before Rollback and tried to set with scrollRange(range) or scrollToRangePage(range) methods after Rollback but nothing changes, the scrollbar resets to the top position. The getCurrentRow and getRangeStart methods return the original values before rollback, but the scrollbar continue moving at the top position of the table...
Any suggestions?
Maybe you are looking for
-
Blue screen of death of hp desktop p6212f error 0x34
I was resetting my PC and had a power outage during recovery (with a surge protector hookup). It says problem detected and shut down windows to protect pc. Cache_manager Error 0x34 HPs excellent customer support said it would be fixed if I purchase a
-
My iPhone 5 will not sync any music from iTunes
I have ios 7.0.3 (the most recent update) and the newest version of itunes, and have never had a problem like this before. I am using the same computer I always do, which is authorized. Yesterday I attampted to add 100 songs, which were already on m
-
How to install RDP CALs pack on Windows Server 2012 R2 (member of NT domain)
OS: Windows Server 2012R2 (64-bit), member of NT (Samba 3) domain. Task: install RDP CAL pack, to allow connecting above its default 3 sessions limit. Problem: when setting up RDP licensing/other required service, I came to a problem: RDP access brok
-
Hi there. I have the iPhone NJ 6 (64Gb) I got (unlock). After returning home, I put the phone to the local operator's sim card. After the first attempt, however, was a problem on the phone screen. the screen was invisible. Scratches appeared. Improvi
-
Safari (6.0) issues an error message re extension being disabled.
Since installing the 'latest' version of Safari - an extension I had running is creating an error when Safari starts up. However, when I got to the Extension tab in Safari Preferences, the extension is NOT there (anymore) so I cannot remove it. Where