Francis

Members
  • Content count

    8
  • Joined

  • Last visited

Posts posted by Francis


  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head>

    <frameset rows="100%">

    <frame src="home.aspx" name="frameConteudo">

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head>

    <title> :: WAPPA® :: </title>

    <link href="css/empresaCliente.css" type="text/css" rel="stylesheet">

    <script type="text/javascript" language="javascript" src="js/jsEmpresaCliente.js">

    <title>:: WAPPA® ::</title>

    <link href="css/empresaCliente.css" type="text/css" rel="stylesheet">

    <script src="FusionCharts/FusionCharts.js" language="Javascript">

    <script src="FusionCharts/jquery.min.js" language="Javascript">

    <script src="FusionCharts/FusionChartsExportComponent.js" language="JavaScript">

    <script language="javascript">

    function verificaCampos() {

    var objDataInicial = document.getElementById("ctl00_ContentPlaceHolder1_wucTextDataInicio1_ucDataInicio");

    var objDataFinal = document.getElementById("ctl00_ContentPlaceHolder1_wucTextDataFim1_ucDataFim");

    if (objDataInicial.value == null) {

    alert("Favor informar o período inicial");

    objDataInicial.focus();

    return false;

    }

    if (!isDate(objDataInicial.value)) {

    objDataInicial.focus();

    return false;

    }

    if (objDataFinal.value == null) {

    alert("Favor informar o período final");

    objDataFinal.focus();

    return false;

    }

    if (!isDate(objDataFinal.value)) {

    objDataFinal.focus();

    return false;

    }

    }

    function ExportMyChart(type) {

    var chartObject = getChartFromId('MyChart');

    if (chartObject.hasRendered())

    chartObject.exportChart({ exportFormat: type }); //{ exportFormat: 'JPG', exportHandler: 'chartobject-1', exportAtClient: '1', showExportDialog: '1' });

    }

    </script>

    <script type="text/javascript" language="javascript">

    function carregaMenu(intIdMenuSuperior) {

    document.frmSubmitMenu.hIdMenuSuperior.value = intIdMenuSuperior;

    //document.getElementById("hIdCodigoMenu").value = '40';

    document.frmSubmitMenu.action = "menu.aspx";

    document.frmSubmitMenu.submit();

    //document.getElementById("hIdMenuSuperior").value = intIdMenuSuperior;

    //document.getElementById("btnSubmit").click();

    }

    </script>

    <link rel="stylesheet" type="text/css" href="/Empresa_Cliente.Web/WebResource.axd?d=g1mC_8AwnDa7Yu6xvM4yxXNjlTL3TeSUFs0jPVRTWxEzKd_RK0reSuQHX3Oqg_qOiM8NHyD2bQeBcgOzxPlGyiZpxGLvrNtidG5Zp74GxEP4oWne1BBxL5Mar1JFSgkBho7i_YVoTKycUiFaOIzOc362Aic1&t=634225823450937083">

    <script type="text/javascript">

    var head = document.getElementsByTagName('HEAD')[0];if (head) {var linkElement = document.createElement('link');linkElement.type = 'text/css';linkElement.rel = 'stylesheet';linkElement.href = '/Empresa_Cliente.Web/WebResource.axd?d=g1mC_8AwnDa7Yu6xvM4yxXNjlTL3TeSUFs0jPVRTWxEzKd_RK0reSuQHX3Oqg_qOiM8NHyD2bQeBcgOzxPlGyiZpxGLvrNtidG5Zp74GxEP4oWne1BBxL5Mar1JFSgkBho7i_YVoTKycUiFaOIzOc362Aic1&t=634225823450937083';head.appendChild(linkElement);}

    </script>

    <link type="text/css" rel="stylesheet" href="/Empresa_Cliente.Web/WebResource.axd?d=g1mC_8AwnDa7Yu6xvM4yxXNjlTL3TeSUFs0jPVRTWxEzKd_RK0reSuQHX3Oqg_qOiM8NHyD2bQeBcgOzxPlGyiZpxGLvrNtidG5Zp74GxEP4oWne1BBxL5Mar1JFSgkBho7i_YVoTKycUiFaOIzOc362Aic1&t=634225823450937083">

    </head>

    <body leftmargin="0" topmargin="0">

    <form id="frmSubmitMenu" method="post" name="frmSubmitMenu" action="menu.aspx">

    <input id="hIdMenuSuperior" type="hidden" name="hIdMenuSuperior">

    <input id="hIdCodigoMenu" type="hidden" name="hIdCodigoMenu">

    </form>

    <form id="aspnetForm" action="extratoCentroCustoMaisUsados.aspx" method="post" name="aspnetForm">

    <div>

    <input id="__EVENTTARGET" type="hidden" value="" name="__EVENTTARGET">

    <input id="__EVENTARGUMENT" type="hidden" value="" name="__EVENTARGUMENT">

    </div>

    <script type="text/javascript">

    //<![CDATA[

    var theForm = document.forms['aspnetForm'];

    if (!theForm) {

    theForm = document.aspnetForm;

    }

    function __doPostBack(eventTarget, eventArgument) {

    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {

    theForm.__EVENTTARGET.value = eventTarget;

    theForm.__EVENTARGUMENT.value = eventArgument;

    theForm.submit();

    }

    }

    //]]>

    </script>

    <script type="text/javascript" src="/Empresa_Cliente.Web/WebResource.axd?d=gPXidQrWGsPKyUPtMMlAeMu9rASu5esF3ybWBDdGL_UaMQ9z-nt7FlacXwFdSM_TquA7JtapQXBR6sq230Kb4_2gUt41&t=634208670757546466">

    <script type="text/javascript">

    <script type="text/javascript" src="/Empresa_Cliente.Web/ScriptResource.axd?d=EBsVwqXfIC7yDr0AlzvhPeavePwE4rW0A-xH3wlSO_6h1W-XJar8_jF-XQX6sBg7BoafH5rS6ZcFZ0ai58KuTIfr4qCRBIaAcpbftPqpqlOZTlKYxnPl56B92ZwjcTC7A1R9oeH3ncwsXdH-FUPNy9bAFn1lAEmKTa0HKu0xeWhpURPQ0&t=5c2f384e">

    <script type="text/javascript">

    //<![CDATA[

    if (typeof(Sys) === 'undefined') throw new Error('A estrutura do cliente do ASP.NET Ajax falhou ao ser carregada.');

    //]]>

    </script>

    <script type="text/javascript" src="/Empresa_Cliente.Web/ScriptResource.axd?d=fUOX8xee7k5tehd2b8y8_RREzsVbydad8rCn5151bGuiLn7jNyLT_dwzfvTMciJRrXRGhh71UcXJwfxJsuS1PYrh_3GPkggKf9WjkoTFzApm8P0LTB6xWP3U35wzYVAM4F6wpaHdfJlCBBpfwYM22FyOu-Pu4WFXGna1vVQvRXIGL5c40&t=5c2f384e">

    <script type="text/javascript" src="/Empresa_Cliente.Web/ScriptResource.axd?d=S8WPshQU7wu7-w35zwpL2lwM0jO2hHxNgkRQyvYu31ERVxmZh777Ularx5_eAM7sSC_9q6KNnPTylNB7ZaceHh_zObd9XCCTxWRRCr7rnfgAlCq5JCvk5PwJ_A-IC2HrMaM0mpdyDbIK7Ws2mRYmGJIGkqY1&t=4763c1a">

    <script type="text/javascript" src="/Empresa_Cliente.Web/ScriptResource.axd?d=a5cq40j4T4zSxS2MWTg8tQaKXNCsOe17daPwHrR39zuYm-YqnDPVy5zzYZ0zh-OyUZFYpQdvN-jW1ktsAOYmj1Vw248PZAtu24AGQPbTMWV9jws-AI20OcO2VkgrEFM5rKSK9tUCoW79zCCW946Msr9rKVI1&t=4763c1a">

    <script type="text/javascript" src="/Empresa_Cliente.Web/ScriptResource.axd?d=2bl2tKv0HnL-zOkrnJYAKrNEAE9aE_KTnetCl0hKYQGzYKwcX1SXpeK7IawoWOvOiX6slyxlAUptebWm_xvlxrRg8VK_POOkujINonWEKVeiAt6Np9aXGra__i0FQaOdTNACxgLZY8Jr06TljmemENViFeU1&t=4763c1a">

    <script type="text/javascript" src="/Empresa_Cliente.Web/ScriptResource.axd?d=56jYwHomRCgLD1Za_1HNfjcTmBdyIlVAPFzGyNdi8FxLTCep2fISf6VTrFdyhi0UxxTL3EKPJIFyU3aA5Liny32KaMete58XEgJOiybMOdE7kubFQqdMCXWYFgNMC7V0Kg0VQqUDlscLC6yDn-mmCHx0QC41&t=4763c1a">

    <script type="text/javascript" src="/Empresa_Cliente.Web/ScriptResource.axd?d=c8r7c_cclTvfW0KddRhr77w-lm0yoQoAo1MIcIey8XgGBDhwLTjjVnp_NKKP9Iori90ulu7eRcTpC5z8pA6JcZmOzP3fQ9AjgQEJtxl0OpvSwI46tLIwoGEF29T3iJC9QExxn9H_FRdjKzY-_2kixRVdF_A1&t=4763c1a">

    <script type="text/javascript" src="/Empresa_Cliente.Web/ScriptResource.axd?d=8e-6LTLK8luwo5fb3e3DtkULQVHRceu9jBTZ-V_HBxzyEtqeZI-KV-G9fI-YIgIpbLCMkTopgDK2vI_629sAMv_l_5J016mBJdkesSjPJocr-b-tn43W2-ShoZCylyaGXIaxEva11EY5rVkBwBEdtSNo9g01&t=4763c1a">

    <script type="text/javascript" src="/Empresa_Cliente.Web/ScriptResource.axd?d=kVyO4RJmxXkhTBcrljNajSYZ5tBfNzyTLlNEozklDPYxFFHnTx1Kds9-IjoF39pKiRouRSuJdDTWXmWDBc4PL1CrK-yz-Y1ITGV82feqzLlwgKR0obL19sk0vnRvNDB0l1jVLn0jyd8fpE-0e3utFH4VGL01&t=4763c1a">

    <script type="text/javascript" src="/Empresa_Cliente.Web/ScriptResource.axd?d=brxz_0KJkrrcfmOmn6Hdyil_qAUwDUpGEypw2ILDkD6YlP3WJTjygWp-Q8VutZawh_oIweGaoV-JrBIHO7y15tdvF9dqOFUzKk_UBVSVsVFyEhGKEOp0v7uSZpsH-2N6XLuMH39ke4iT49TND4gdTfHu6uk1&t=4763c1a">

    <script type="text/javascript" src="/Empresa_Cliente.Web/ScriptResource.axd?d=LmM3lMpEVfFxY-WDEPiSvUjZHWwQdNsZgexdRJaTBw7wV7SH8Jd1qiEH7qw-aIsb_536v8Jn8wTs_kwZWirEty-kPfElPXPhxmtr4nYe_SaWudSxmRYFaSeBFyDb-64dZ0CxB4neR8s7U9U3Eg-u-JdU-SA1&t=4763c1a">

    <div> </div>

    <table width="1000" cellspacing="0" cellpadding="0" border="0">

    <tbody>

    <tr>

    <td class="tdSiteMap" colspan="3">

    <!-- #2274C3 !-->

    </td>

    </tr>

    <tr class="trCabecalho">

    <td class="tdLogo">

    <img alt="WAPPA®" src="img/logo.png">

    </td>

    <td class="tdDadosUsuarioLogado">

    <span id="ctl00_lblDadosLogado">

    <span style="font-weight: normal;">Usuário: </span>

    GESTOR MASTER

    <br>

    <span style="font-weight: normal;">Empresa: </span>

    Pao de Acucar

    <br>

    <span style="font-weight: normal;">Data: </span>

    28/7/2011   -   

    <span style="font-weight: normal;">Nº acessos: </span>

    7690

    </span>

    </td>

    <td class="tdLinksRetorno">

    <table class="tdSiteMap" width="100%" cellspacing="0" cellpadding="0" border="0">

    <tbody>

    <tr>

    <td>

    <a style="text-decoration: none;" href="home.aspx">

    <font color="#333333">HOME</font>

    </a>

    |

    <a style="text-decoration: none;" href="/index.asp">

    <font color="#333333">LOGOUT</font>

    </a>

    </td>

    </tr>

    </tbody>

    </table>

    </td>

    </tr>

    </tbody>

    </table>

    <table width="1000" cellspacing="0" cellpadding="0" border="0">

    <tbody>

    <tr>

    <td class="tdMenuSuperior">

    <a class="lnkMenuSuperior" onclick="javascript:carregaMenu(16)" href="#">Empresa</a>

    <font color="#66CCFF">|</font>

    <a class="lnkMenuSuperior" onclick="javascript:carregaMenu(13)" href="#">Centros de Custo</a>

    <font color="#66CCFF">|</font>

    <a class="lnkMenuSuperior" onclick="javascript:carregaMenu(14)" href="#">Unidades</a>

    <font color="#66CCFF">|</font>

    <a class="lnkMenuSuperior" onclick="javascript:carregaMenu(15)" href="#">Administradores</a>

    <font color="#66CCFF">|</font>

    <a class="lnkMenuSuperior" onclick="javascript:carregaMenu(2)" href="#">Colaboradores</a>

    <font color="#66CCFF">|</font>

    <a class="lnkMenuSuperior" onclick="javascript:carregaMenu(1)" href="#">Financeiro</a>

    <font color="#66CCFF">|</font>

    <a class="lnkMenuSuperior" onclick="javascript:carregaMenu(17)" href="#">Relatórios</a>

    <font color="#66CCFF">|</font>

    <a class="lnkMenuSuperior" onclick="javascript:carregaMenu(5)" href="#">Autorizações para Terceiros</a>

    <font color="#66CCFF">|</font>

    <a class="lnkMenuSuperior" onclick="javascript:carregaMenu(143)" href="#">VAN</a>

    </td>

    </tr>

    <tr>

    <td class="tdMenuSuperiorLinhaDetalhe"> </td>

    </tr>

    </tbody>

    </table>

    <table width="1000" cellspacing="0" cellpadding="0" border="0">

    <tbody>

    <tr>

    <td class="tdSiteMap">

    <div id="ctl00_pnlNavegacao">

    <span id="ctl00_SiteMapPath1">

    <a href="#ctl00_SiteMapPath1_SkipLink">

    <img width="0" height="0" style="border-width:0px;" src="/Empresa_Cliente.Web/WebResource.axd?d=p2Qfy0SykDPjLculqSNSrxnCI8zlYSGhWV5ObWAl-SMmFu2pYCsTy8Oq-Ffc7c3Xhmu-HHzPzI3cXa4oYxmfvrNGM3o1&t=634208670757546466" alt="Pular Links de Navegação">

    </a>

    <span>Relatórios > Gráficos > Centros de Custo que mais utilizaram</span>

    <a id="ctl00_SiteMapPath1_SkipLink"></a>

    </span>

    </div>

    </td>

    </tr>

    </tbody>

    </table>

    <table width="1000" cellspacing="0" cellpadding="0" border="0">

    <tbody>

    <tr>

    <td class="tdTituloFuncionalidade">

    <span id="ctl00_lblTituloFuncionalidade">Centros de Custo que mais utilizaram</span>

    </td>

    </tr>

    <tr>

    <td class="tdLinhaFuncionalidade">

    <img alt="" src="img/linhaTituloFuncionalidade.jpg">

    </td>

    </tr>

    <tr>

    <td style="height: 30px;"> </td>

    </tr>

    <tr>

    <td class="tableConteudo">

    <script type="text/javascript">

    //<![CDATA[

    Sys.WebForms.PageRequestManager._initialize('ctl00$ContentPlaceHolder1$scpConteudo', document.getElementById('aspnetForm'));

    Sys.WebForms.PageRequestManager.getInstance()._updateControls(['tctl00$ContentPlaceHolder1$pnlConteudo'], [], [], 90);

    //]]>

    </script>

    <script language="javascript">

    // Get the PageRequestManager instance

    var pageRequest = Sys.WebForms.PageRequestManager.getInstance();

    // Add the beginRequest Event

    pageRequest.add_beginRequest(beginRequest);

    // Add the endRequest Event

    pageRequest.add_endRequest(endRequest)

    // Handle the Begin event

    function beginRequest(sender, eventArgs) {

    // Get the button

    //var Button1 = $get('ctl00_ContentPlaceHolder1_btnGenerico')

    //var Button2 = $get('ctl00_ContentPlaceHolder1_btnCancelar')

    //var Button3 = $get('ctl00_ContentPlaceHolder1_btnImprimir')

    }

    function endRequest(sender, eventArgs) {

    // Get the Button

    //var Button1 = $get('ctl00_ContentPlaceHolder1_btnGenerico')

    //var Button2 = $get('ctl00_ContentPlaceHolder1_btnCancelar')

    //var Button3 = $get('ctl00_ContentPlaceHolder1_btnImprimir')

    }

    </script>

    <div id="ctl00_ContentPlaceHolder1_pnlConteudo">

    <table class="tbCentral" width="650">

    <tbody>

    <tr id="ctl00_ContentPlaceHolder1_tdVerFiltro">

    <td style="padding-left: 5px;">

    <input id="ctl00_ContentPlaceHolder1_btnVerFiltro" class="botaoConteudo" type="submit" value="Mostrar Filtro" name="ctl00$ContentPlaceHolder1$btnVerFiltro">

    <input id="ctl00_ContentPlaceHolder1_wucExport1_btnExportar" class="botaoConteudo" type="submit" value=".: Exportar dados :." name="ctl00$ContentPlaceHolder1$wucExport1$btnExportar">

    </td>

    </tr>

    </tbody>

    </table>

    <br>

    <br>

    <div id="ctl00_ContentPlaceHolder1_pnlDetahes">

    <br>

    <span class="baixarGrafico">

    <b>Exportar gráfico:</b>

    <a href="javascript:ExportMyChart('JPG');">

    <img border="0" src="img/page_white_paint.png">

    Imagem (JPG)

    </a>

    |

    <a href="javascript:ExportMyChart('PNG');">

    <img border="0" src="img/page_white_paint.png">

    Imagem (PNG)

    </a>

    |

    <a href="javascript:ExportMyChart('PDF');">

    <img border="0" src="img/page_white_acrobat.png">

    Acrobat (PDF)

    </a>

    </span>

    <br>

    <br>

    <br>

    <div id="ctl00_ContentPlaceHolder1_print_area">

    <link href="css/empresaCliente.css" type="text/css" rel="stylesheet">

    <!-- START Code Block for Chart MyChart -->

    <object id="MyChart" width="800" height="400" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">

    <param value="FusionCharts/MSColumn3D.swf" name="movie">

    <param value="&registerWithJS=1&chartHeight=400&DOMId=MyChart&dataXML=<graph outCnvBaseFont='Arial' outCnvBaseFontSize='8' bgColor='F4F4F4' showBorder='1' borderColor='B8B7B7' borderThickness='1' showNames='1' showValues='0' decimalPrecision='0' decimalSeparator=',' thousandSeparator='.' formatNumberScale='0' xaxisname='Centro de Custo' yaxisname='Valores' hovercapbg='DEDEBE' hovercapborder='889E6D' rotateNames='1' yAxisMaxValue='' numdivlines='5' divLineColor='CCCCCC' divLineAlpha='80' showAlternateHGridColor='1' Alt...'2' /></dataset><dataset seriesname='Valor Total' color='56B9F9'><set showName='0' value='101650.44' /> <set showName='0' value='5741.91' /> <set showName='0' value='2800.31' /> <set showName='0' value='2335.72' /> <set showName='0' value='2140' /> <set showName='0' value='1556.84' /> <set showName='0' value='1390.17' /> <set showName='0' value='1077.54' /> <set showName='0' value='572.59' /> <set showName='0' value='550' /> </dataset></graph>〈=EN&scaleMode=noScale&chartWidth=800&debugMode=0" name="FlashVars">

    <param value="opaque" name="wMode">

    <param value="always" name="allowScriptAccess">

    <param value="best" name="quality">

    <param value="noScale" name="scaleMode">

    <embed id="MyChart" width="800" height="400" allowscriptaccess="always" flashvars="&registerWithJS=1&chartHeight=400&DOMId=MyChart&dataXML=<graph outCnvBaseFont='Arial' outCnvBaseFontSize='8' bgColor='F4F4F4' showBorder='1' borderColor='B8B7B7' borderThickness='1' showNames='1' showValues='0' decimalPrecision='0' decimalSeparator=',' thousandSeparator='.' formatNumberScale='0' xaxisname='Centro de Custo' yaxisname='Valores' hovercapbg='DEDEBE' hovercapborder='889E6D' rotateNames='1' yAxisMaxValue='' numdivlines='5' divLineColor='CCCCCC' divLineAlpha='80' showAlternateHGridColor='1' Alt...'2' /></dataset><dataset seriesname='Valor Total' color='56B9F9'><set showName='0' value='101650.44' /> <set showName='0' value='5741.91' /> <set showName='0' value='2800.31' /> <set showName='0' value='2335.72' /> <set showName='0' value='2140' /> <set showName='0' value='1556.84' /> <set showName='0' value='1390.17' /> <set showName='0' value='1077.54' /> <set showName='0' value='572.59' /> <set showName='0' value='550' /> </dataset></graph>〈=EN&scaleMode=noScale&chartWidth=800&debugMode=0" quality="best" scalemode="noScale" wmode="opaque" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" src="FusionCharts/MSColumn3D.swf">

    </object>

    <!-- END Code Block for Chart MyChart -->

    <br>

    <br>

    <table cellspacing="0" cellpadding="0" border="0" style="width: 780px">

    <tbody>

    <tr>

    <td class="textoConteudo13pxBold" colspan="3">

    <div>

    <table id="ctl00_ContentPlaceHolder1_gridCCMaisUtilizados" class="textoConteudo10pxBold" cellspacing="0" border="1" style="width:780px;border-collapse:collapse;" rules="all">

    <tbody>

    <tr class="headerNomeColuna">

    <th scope="col">Código</th>

    <th scope="col">Centro de Custo</th>

    <th scope="col">Quantidade de Corridas</th>

    <th scope="col">Valor Total</th>

    </tr>

    <tr class="linhaExtrato">

    <td>102</td>

    <td>TESTE DA EMPRESA 1</td>

    <td align="right" style="width:150px;">245</td>

    <td align="right">R$ 101.650,44</td>

    </tr>

    <tr class="linhaExtrato2">

    <td>1</td>

    <td>TECNOLOGIA</td>

    <td align="right" style="width:150px;">193</td>

    <td align="right">R$ 5.741,91</td>

    </tr>

    <tr class="linhaExtrato">

    <td>7</td>

    <td>Desenvolvimento</td>

    <td align="right" style="width:150px;">66</td>

    <td align="right">R$ 2.800,31</td>

    </tr>

    <tr class="linhaExtrato2">

    <td>0</td>

    <td> </td>

    <td align="right" style="width:150px;">7</td>

    <td align="right">R$ 2.335,72</td>

    </tr>

    <tr class="linhaExtrato">

    <td>44</td>

    <td>Tecnologia</td>

    <td align="right" style="width:150px;">56</td>

    <td align="right">R$ 2.140,00</td>

    </tr>

    <tr class="linhaExtrato2">

    <td>104</td>

    <td>CENTRO DE CUSTO NIVEL 3</td>

    <td align="right" style="width:150px;">23</td>

    <td align="right">R$ 1.556,84</td>

    </tr>

    <tr class="linhaExtrato">

    <td>714</td>

    <td> </td>

    <td align="right" style="width:150px;">19</td>

    <td align="right">R$ 1.390,17</td>

    </tr>

    <tr class="linhaExtrato2">

    <td>9</td>

    <td>P&B</td>

    <td align="right" style="width:150px;">142</td>

    <td align="right">R$ 1.077,54</td>

    </tr>

    <tr class="linhaExtrato">

    <td>4</td>

    <td>MARKETING</td>

    <td align="right" style="width:150px;">23</td>

    <td align="right">R$ 572,59</td>

    </tr>

    <tr class="linhaExtrato2">

    <td>2</td>

    <td>Financeiro</td>

    <td align="right" style="width:150px;">2</td>

    <td align="right">R$ 550,00</td>

    </tr>

    </tbody>

    </table>

    </div>

    </td>

    </tr>

    </tbody>

    </table>

    </div>

    <table>

    <tbody>

    <tr>

    <td>

    <input id="ctl00_ContentPlaceHolder1_hdnTipoGrafico" type="hidden" name="ctl00$ContentPlaceHolder1$hdnTipoGrafico">

    <input id="ctl00_ContentPlaceHolder1_hdnXML" type="hidden" name="ctl00$ContentPlaceHolder1$hdnXML">

    <br>

    <input id="ctl00_ContentPlaceHolder1_btnImprimir" class="botaoConteudo" type="submit" onclick="window.open('imprimirGrafico.aspx','Grafico','width=900,height=700');" value=".: Imprimir :." name="ctl00$ContentPlaceHolder1$btnImprimir">

    </td>

    </tr>

    </tbody>

    </table>

    </div>

    </div>

    <div id="ctl00_ContentPlaceHolder1_updPrgAguarde" style="display: none;">

    <div class="UpdatePG_Centro">

    <img alt="" src="img/processando.gif">

    <br>

    Aguarde, processando...

    </div>

    </div>

    </td>

    </tr>

    </tbody>

    </table>

    <script type="text/javascript">

    <span style="display: none ! important;">

    <input id="__VIEWSTATE" type="hidden" name="__VIEWSTATE" value="/wEPDwUJNTA5NDM1NTExD2QWAmYPZBYCAgMPZBYGAgEPDxYCHgRUZXh0BaYCPHNwYW4gc3R5bGU9J2ZvbnQtd2VpZ2h0OiBub3JtYWw7Jz5Vc3XDoXJpbzogPC9zcGFuPkdFU1RPUiBNQVNURVI8QlIgLz48c3BhbiBzdHlsZT0nZm9udC13ZWlnaHQ6IG5vcm1hbDsnPkVtcHJlc2E6IDwvc3Bhbj5QYW8gZGUgQWN1Y2FyPEJSIC8+PHNwYW4gc3R5bGU9J2ZvbnQtd2VpZ2h0OiBub3JtYWw7Jz5EYXRhOiA8L3NwYW4+MjgvNy8yMDExJm5ic3A7Jm5ic3A7Jm5ic3A7LSZuYnNwOyZuYnNwOyZuYnNwOzxzcGFuIHN0eWxlPSdmb250LXdlaWdodDogbm9ybWFsOyc+TsK6IGFjZXNzb3M6IDwvc3Bhbj43NjkwZGQCBw8WAh4HVmlzaWJsZWcWAgIBDw8WAh8ABSRDZW50cm9zIGRlIEN1c3...8PFgIfAAUDNzE0ZGQCAQ8PFgIfAAUGJm5ic3A7ZGQCAg8PFgIfAAUCMTlkZAIDDw8WAh8ABQtSJCAxLjM5MCwxN2RkAggPZBYIZg8PFgIfAAUBOWRkAgEPDxYCHwAFB1AmYW1wO0JkZAICDw8WAh8ABQMxNDJkZAIDDw8WAh8ABQtSJCAxLjA3Nyw1NGRkAgkPZBYIZg8PFgIfAAUBNGRkAgEPDxYCHwAFCU1BUktFVElOR2RkAgIPDxYCHwAFAjIzZGQCAw8PFgIfAAUJUiQgNTcyLDU5ZGQCCg9kFghmDw8WAh8ABQEyZGQCAQ8PFgIfAAUKRmluYW5jZWlyb2RkAgIPDxYCHwAFATJkZAIDDw8WAh8ABQlSJCA1NTAsMDBkZAILDw8WAh8BaGRkGAEFLmN0bDAwJENvbnRlbnRQbGFjZUhvbGRlcjEkZ3JpZENDTWFpc1V0aWxpemFkb3MPPCsACgEIAgFkQFq2Z/73ojXnxjGiML4o6J/E+hs=">

    </span>

    <span style="display: none ! important;">

    <input id="__EVENTVALIDATION" type="hidden" name="__EVENTVALIDATION" value="/wEWBgKi+O+xDwLtt9+YAQKF8vTWCwLg7seNCQK0z9GyCwKTjKTvC+EYHLgLIVzpCnSyVsUO4mOaxVGt">

    </span>

    <span style="display: none ! important;">

    <input id="__AjaxControlToolkitCalendarCssLoaded" type="hidden" name="__AjaxControlToolkitCalendarCssLoaded" value="">

    </span>

    </form>

    </body>

    </html>

    </frame>

    </frameset>

    </html>


  2. The problem started when I have added the exportTargetWindow="_blank" property! That was working ok before that, but my client need the download to start in a new window!

     

    The page where should be export show:

     

    DOMId=
    height=0
    width=0
    fileName=
    statusMessage=Insufficient data.
    statusCode=0

     

    Here is the debug:

     

     

     

     

    Info: Chart loaded and initialized.
    Initial Width: 770
    Initial Height: 400
    Scale Mode: noScale
    Debug Mode: Yes
    Application Message Language: EN
    Version: 3.2.1
    Chart Type: True 3D Combination Chart (Single Y)
    Chart Objects: 
    BACKGROUND
    CAPTION
    SUBCAPTION
    YAXISNAME
    XAXISNAME
    YAXISVALUES
    DATALABELS
    DATAVALUES
    TRENDVALUES
    TOOLTIP
    LEGEND
    
    INFO: Chart registered with external script. DOM Id of chart is MyChart
    INFO: XML Data provided using dataXML method.
    XML Data: <graph outCnvBaseFont="Arial" outCnvBaseFontSize="8" bgColor="F4F4F4" showBorder="1" borderColor="B8B7B7" borderThickness="1" startAngX="0" startAngY="0" endAngX="0" endAngY="0" divLineEffect="bevel" caption="Evolução de Táxi por Empresa" subcaption="(de 01/07/2010 até 30/06/2011)" hovercapbg="FFECAA" hovercapborder="F47E00" formatNumberScale="0" decimalPrecision="2" showvalues="0" numdivlines="10" numVdivlines="0" yaxisminvalue="0" yaxismaxvalue="800" rotateNames="1" exportEnabled="1" exportAtClient="0" exportTargetWindow="_blank" exportAction="download" exportFileName="EvolucaoEmpresa" exportHandler="/Empresa_Cliente.Web/FCExporter.aspx"><categories><category name="7/2010" /> <category name="8/2010" /> <category name="9/2010" /> <category name="10/2010" /> <category name="11/2010" /> <category name="12/2010" /> <category name="1/2011" /> <category name="2/2011" /> <category name="3/2011" /> <category name="4/2011" /> <category name="5/2011" /> <category name="6/2011" /> </categories><dataset seriesName="Pao de Acucar" color="839F2F" anchorBorderColor="839F2F" anchorBgColor="839F2F" renderAs="line"> <set value="96" /><set value="9" /><set value="0" /><set value="6288" /><set value="18" /><set value="200" /><set value="373" /><set value="100" /><set value="2" /><set value="0" /><set value="0" /><set value="115" /><set value="0" /><set value="0" /><set value="0" /><set value="0" /><set value="0" /><set value="0" /><set value="0" /></dataset></graph>
    Export Capture Process Start: The chart has started capturing bitmap data for export.
    Export Transmit Data Start: The chart has finished capture stage of bitmap export and is now initiating transfer of data to the module at '/Empresa_Cliente.Web/FCExporter.aspx'.

     

     

    Thanks ! :D

     

    No one?


  3. Hi,

     

    Welcome to FusionCharts Forum!smile.gif

     

    Please try the same by using getChartFromId() function instead of getElementById() function.

     

    More details at: http://www.fusioncha...PI/Methods.html

     

    Hope this helps.

     

    Sorry, I have posted the wrong source code... I am using getChartFromId(), I was tring getElementById() to check if this could fix the problem. But the problem happens with getChartFromId()!


  4. The problem started when I have added the exportTargetWindow="_blank" property! That was working ok before that, but my client need the download to start in a new window!

     

    The page where should be export show:

     

    DOMId=
    height=0
    width=0
    fileName=
    statusMessage=Insufficient data.
    statusCode=0

     

    Here is the debug:

     

     

     

     

    Info: Chart loaded and initialized.
    Initial Width: 770
    Initial Height: 400
    Scale Mode: noScale
    Debug Mode: Yes
    Application Message Language: EN
    Version: 3.2.1
    Chart Type: True 3D Combination Chart (Single Y)
    Chart Objects: 
    BACKGROUND
    CAPTION
    SUBCAPTION
    YAXISNAME
    XAXISNAME
    YAXISVALUES
    DATALABELS
    DATAVALUES
    TRENDVALUES
    TOOLTIP
    LEGEND
    
    INFO: Chart registered with external script. DOM Id of chart is MyChart
    INFO: XML Data provided using dataXML method.
    XML Data: <graph outCnvBaseFont="Arial" outCnvBaseFontSize="8" bgColor="F4F4F4" showBorder="1" borderColor="B8B7B7" borderThickness="1" startAngX="0" startAngY="0" endAngX="0" endAngY="0" divLineEffect="bevel" caption="Evolução de Táxi por Empresa" subcaption="(de 01/07/2010 até 30/06/2011)" hovercapbg="FFECAA" hovercapborder="F47E00" formatNumberScale="0" decimalPrecision="2" showvalues="0" numdivlines="10" numVdivlines="0" yaxisminvalue="0" yaxismaxvalue="800" rotateNames="1" exportEnabled="1" exportAtClient="0" exportTargetWindow="_blank" exportAction="download" exportFileName="EvolucaoEmpresa" exportHandler="/Empresa_Cliente.Web/FCExporter.aspx"><categories><category name="7/2010" /> <category name="8/2010" /> <category name="9/2010" /> <category name="10/2010" /> <category name="11/2010" /> <category name="12/2010" /> <category name="1/2011" /> <category name="2/2011" /> <category name="3/2011" /> <category name="4/2011" /> <category name="5/2011" /> <category name="6/2011" /> </categories><dataset seriesName="Pao de Acucar" color="839F2F" anchorBorderColor="839F2F" anchorBgColor="839F2F" renderAs="line"> <set value="96" /><set value="9" /><set value="0" /><set value="6288" /><set value="18" /><set value="200" /><set value="373" /><set value="100" /><set value="2" /><set value="0" /><set value="0" /><set value="115" /><set value="0" /><set value="0" /><set value="0" /><set value="0" /><set value="0" /><set value="0" /><set value="0" /></dataset></graph>
    Export Capture Process Start: The chart has started capturing bitmap data for export.
    Export Transmit Data Start: The chart has finished capture stage of bitmap export and is now initiating transfer of data to the module at '/Empresa_Cliente.Web/FCExporter.aspx'.

     

     

    Thanks ! :D


  5. I have the following function to download the files from links on the page:

     

     

    function ExportMyChart(type) {

    var chartObject = getElementById('MyChart');

    if (chartObject.hasRendered())

    chartObject.exportChart({ exportFormat: type });

    }

     

     

    Link sample: <a href="javascript:ExportMyChart('JPG');"><img

    border="0" src="img/page_white_paint.png" />

    Imagem (JPG)</a>

     

    Works just fine in IE, but in Firefox and Chrome says that chartObject is null.

     

    I'm using ASP.NET with C#

     

    The line to render the chart is:

     

    FCLiteral.Text = InfoSoftGlobal.FusionCharts.RenderChartHTML("FusionCharts/Pie3D.swf", "", xml, "MyChart", "770", "400", false, true);

     

    Any idea?