Commit 84c4dddb0160b323f68f2fe40cec237cab647e3b
1 parent
cef147ce
Exists in
master
and in
7 other branches
inclusão de botão para acionar a ferramenta de gráficos interativos
Showing
1 changed file
with
13 additions
and
1 deletions
Show diff stats
ferramentas/tabela/index.js.php
... | ... | @@ -672,8 +672,20 @@ i3GEOF.tabela = { |
672 | 672 | var ins = "<br><img src='"+i3GEO.configura.locaplic+"/imagens/Rlogo.jpg'/>"; |
673 | 673 | ins += "<p class='paragrafo' >A representação gráfica dos dados tabulares utiliza todos os elementos da tabela ou os selecionados, se estiverem ativos no mapa."; |
674 | 674 | ins += "<p class='paragrafo' >Nas opçõs seguintes, defina o tipo e as opções do gráfico."; |
675 | - ins += "<p class='paragrafo' ><a href='http://www.r-project.org/' target=blank >Os gráficos são gerados com o software R.</a>"; | |
675 | + ins += "<p class='paragrafo' ><a href='http://www.r-project.org/' target=blank >Os gráficos são gerados com o software R,</a> mas vc pode optar por usar a ferramenta de gráficos interativos que possuem outras opções e geram gráficos em Flash."; | |
676 | + ins += "<p class='paragrafo' ><input type=button value='Gráficos interativos' id=i3GEOtabelaGraficoI /></p>"; | |
676 | 677 | i3GEO.util.proximoAnterior("","i3GEOF.tabela.t1()",ins,"i3GEOFtabelat0","i3GEOtabelaresultado"); |
678 | + new YAHOO.widget.Button( | |
679 | + "i3GEOtabelaGraficoI", | |
680 | + {onclick:{fn: function(){ | |
681 | + i3GEO.mapa.ativaTema(i3GEOF.tabela.tema); | |
682 | + var js = i3GEO.configura.locaplic+"/ferramentas/graficointerativo/index.js.php"; | |
683 | + i3GEO.util.scriptTag(js,"i3GEOF.graficointerativo.criaJanelaFlutuante()","i3GEOF.graficointerativo_script"); | |
684 | + | |
685 | + } | |
686 | + }} | |
687 | + ); | |
688 | + | |
677 | 689 | }, |
678 | 690 | t1: function(){ |
679 | 691 | var ins = "<p class='paragrafo' >Escolha o tipo de gráfico:</p>"; | ... | ... |