|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 12/6/2007 8:11:22 AM
Posts: 5,
Visits: 16
|
|
| Hello Im trying the Sample of Combining FusionCharts, ASP.NET & JavaScript (dataURL) method but on the following code, IE shows me the error Object support this property or Method not //Get reference to chart object using Dom ID "FactoryDetailed" var chartObj = getChartFromId("FactoryDetailed"); chartObj.setDataURL(strURL);
its NOT the same like "<<ChartId>> is undefined", or? Ist it perhaps because of the code is in a Masterpage-File? greetings, Peter
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 12/6/2007 8:11:22 AM
Posts: 5,
Visits: 16
|
|
|
|
|
|
Supreme Being
      
Group: Moderators
Last Login: Today @ 5:38:52 AM
Posts: 884,
Visits: 1,420
|
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 12/6/2007 8:11:22 AM
Posts: 5,
Visits: 16
|
|
| Hello I've tried with the new JS, but doesn't works... :-(
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 12/6/2007 8:11:22 AM
Posts: 5,
Visits: 16
|
|
| Hi again. I've debugged a littlebit in IE. Perhaps, it helps a little bit factoryIndex 123 Long strURL "FactoryData.aspx%3FfactoryId%3D123" String - chartObj {...} Object className "" String id "FactoryDetailed" String tagName "OBJECT" String + parentElement {...} Object + style {...} Object onhelp null Variant onclick null Variant ondblclick null Variant onkeydown null Variant onkeyup null Variant onkeypress null Variant onmouseout null Variant onmouseover null Variant onmousemove null Variant onmousedown null Variant onmouseup null Variant + document {...} Object title "" String language "" String onselectstart null Variant sourceIndex 368 Long recordNumber null Variant lang "" String offsetLeft 200 Long offsetTop 0 Long offsetWidth 600 Long offsetHeight 250 Long + offsetParent {...} Object innerHTML "<PARAM NAME=\"_cx\" VALUE=\"15875\"><PARAM NAME=\"_cy\" VALUE=\"6615\"><PARAM NAME=\"FlashVars\" VALUE=\"\"><PARAM NAME=\"Movie\" VALUE=\"../AUTODIAL_AUSWERTUNG/FusionCharts/FCF_column3D.swf?ChartNoDataText=Please select a factory from pie chart above to view detailed data.\"><PARAM NAME=\"Src\" VALUE=\"../AUTODIAL_AUSWERTUNG/FusionCharts/FCF_column3D.swf?ChartNoDataText=Please select a factory from pie chart above to view detailed data.\"><PARAM NAME=\"WMode\" VALUE=\"Window\"><PARAM NAME=\"Play\" VALUE=\"0\"><PARAM NAME=\"Loop\" VALUE=\"-1\"><PARAM NAME=\"Quality\" VALUE=\"High\"><PARAM NAME=\"SAlign\" VALUE=\"LT\"><PARAM NAME=\"Menu\" VALUE=\"-1\"><PARAM NAME=\"Base\" VALUE=\"\"><PARAM NAME=\"AllowScriptAccess\" VALUE=\"always\"><PARAM NAME=\"Scale\" VALUE=\"NoScale\"><PARAM NAME=\"DeviceFont\" VALUE=\"0\"><PARAM NAME=\"EmbedMovie\" VALUE=\"0\"><PARAM NAME=\"BGColor\" VALUE=\"\"><PARAM NAME=\"SWRemote\" VALUE=\"\"><PARAM NAME=\"MovieData\" VALUE=\"\"><PARAM NAME=\"SeamlessTabbing\" VALUE=\"1\"><PARAM NAME=\"Profile\" VALUE=\"0\"><PARAM NAME=\"ProfileAddress\" VALUE=\"\"><PARAM NAME=\"ProfilePort\" VALUE=\"0\"><PARAM NAME=\"AllowNetworking\" VALUE=\"all\"><PARAM NAME=\"AllowFullScreen\" VALUE=\"false\">" String innerText "" String outerHTML " <OBJECT id=FactoryDetailed height=250 width=600 classid=clsid 27CDB6E-AE6D-11cf-96B8-444553540000><PARAM NAME=\"_cx\" VALUE=\"15875\"><PARAM NAME=\"_cy\" VALUE=\"6615\"><PARAM NAME=\"FlashVars\" VALUE=\"\"><PARAM NAME=\"Movie\" VALUE=\"../AUTODIAL_AUSWERTUNG/FusionCharts/FCF_column3D.swf?ChartNoDataText=Please select a factory from pie chart above to view detailed data.\"><PARAM NAME=\"Src\" VALUE=\"../AUTODIAL_AUSWERTUNG/FusionCharts/FCF_column3D.swf?ChartNoDataText=Please select a factory from pie chart above to view detailed data.\"><PARAM NAME=\"WMode\" VALUE=\"Window\"><PARAM NAME=\"Play\" VALUE=\"0\"><PARAM NAME=\"Loop\" VALUE=\"-1\"><PARAM NAME=\"Quality\" VALUE=\"High\"><PARAM NAME=\"SAlign\" VALUE=\"LT\"><PARAM NAME=\"Menu\" VALUE=\"-1\"><PARAM NAME=\"Base\" VALUE=\"\"><PARAM NAME=\"AllowScriptAccess\" VALUE=\"always\"><PARAM NAME=\"Scale\" VALUE=\"NoScale\"><PARAM NAME=\"DeviceFont\" VALUE=\"0\"><PARAM NAME=\"EmbedMovie\" VALUE=\"0\"><PARAM NAME=\"BGColor\" VALUE=\"\"><PARAM NAME=\"SWRemote\" VALUE=\"\"><PARAM NAME=\"MovieData\" VALUE=\"\"><PARAM NAME=\"SeamlessTabbing\" VALUE=\"1\"><PARAM NAME=\"Profile\" VALUE=\"0\"><PARAM NAME=\"ProfileAddress\" VALUE=\"\"><PARAM NAME=\"ProfilePort\" VALUE=\"0\"><PARAM NAME=\"AllowNetworking\" VALUE=\"all\"><PARAM NAME=\"AllowFullScreen\" VALUE=\"false\"></OBJECT>" String outerText "" String + parentTextEdit {...} Object isTextEdit false Boolean + filters {...} Object ondragstart null Variant onbeforeupdate null Variant onafterupdate null Variant onerrorupdate null Variant onrowexit null Variant onrowenter null Variant ondatasetchanged null Variant ondataavailable null Variant ondatasetcomplete null Variant onfilterchange null Variant + children {...} Object + all {...} Object scopeName "HTML" String onlosecapture null Variant onscroll null Variant ondrag null Variant ondragend null Variant ondragenter null Variant ondragover null Variant ondragleave null Variant ondrop null Variant onbeforecut null Variant oncut null Variant onbeforecopy null Variant oncopy null Variant onbeforepaste null Variant onpaste null Variant + currentStyle {...} Object onpropertychange null Variant tabIndex 0 Integer accessKey "" String onblur null Variant onfocus null Variant onresize null Variant clientHeight 250 Long clientWidth 600 Long clientTop 0 Long clientLeft 0 Long readyState 4 Variant onreadystatechange null Variant onrowsdelete null Variant onrowsinserted null Variant oncellchange null Variant dir "" String scrollHeight 250 Long scrollWidth 600 Long scrollTop 0 Long scrollLeft 0 Long oncontextmenu null Variant canHaveChildren false Boolean + runtimeStyle {...} Object + behaviorUrns {...} Object tagUrn "" String onbeforeeditfocus null Variant readyStateValue 4 Long isMultiLine true Boolean canHaveHTML false Boolean onlayoutcomplete null Variant onpage null Variant inflateBlock false Boolean onbeforedeactivate null Variant contentEditable "inherit" String isContentEditable false Boolean hideFocus false Boolean disabled false Boolean isDisabled false Boolean onmove null Variant oncontrolselect null Variant onresizestart null Variant onresizeend null Variant onmovestart null Variant onmoveend null Variant onmouseenter null Variant onmouseleave null Variant onactivate null Variant ondeactivate null Variant glyphMode 0 Long onmousewheel null Variant onbeforeactivate null Variant onfocusin null Variant onfocusout null Variant uniqueNumber 1 Long uniqueID "ms__id1" String nodeType 1 Long + parentNode {...} Object + childNodes {...} Object + attributes {...} Object nodeName "OBJECT" String nodeValue null Variant + firstChild {...} Object + lastChild {...} Object previousSibling null Object nextSibling null Object + ownerDocument {...} Object dataFld "" String dataSrc "" String dataFormatAs "" String + object {...} Object recordset Object align "" String name "" String codeBase "" String codeType "" String code "" String BaseHref "http://localhost:3711/Autodial_auswertung/Anlage_tag.aspx" String type "" String + form {...} Object width "600" Variant height "250" Variant onerror null Variant altHtml "" String vspace 0 Long hspace 0 Long classid "clsid 27CDB6E-AE6D-11cf-96B8-444553540000" String data "" String archive "" String alt "" String declare false Boolean standby "" String border "" Variant useMap "" String
|
|
|
|
|
Supreme Being
      
Group: Moderators
Last Login: Today @ 5:38:52 AM
Posts: 884,
Visits: 1,420
|
|
Hi, Which version of chart are you using? FREE or v3. free charts swf file names begin with FCF_. FREE charts do not support Javascript setDataURL method to UPDATE chart live from JavaScript. You can only update its XMl using updateXML method (note that the js that i have referred to u in the earlier post does not have that method. You need to use the FusionCharts.js given with the FREE pack.)
Regards,
Sudipto Choudhury FusionCharts Team
|
|
|
|