My application functionated well until yesterday. It seams that
something in the http://www.google.com/jsapi was changed. The error
only occurs when I put references to rich faces libs in the head of
the html.

Thanks a lot,
      Roberto

I created a html that produces the error:

<html>
<head>

     <link class="component"
href="http://siga.inep.gov.br/SIGA/a4j/s/3_3_1.GAorg/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAGLXj9BKHT5DGkAD!cDXA__";
rel="stylesheet" type="text/css" /><link class="component"
href="http://siga.inep.gov.br/SIGA/a4j/s/3_3_1.GAorg/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAGLXj9BKHT5DGkAD!cDXA__";
media="rich-extended-skinning" rel="stylesheet" type="text/css"
/><script 
src="http://siga.inep.gov.br/SIGA/a4j/g/3_3_1.GAorg.ajax4jsf.javascript.AjaxScript";
type="text/javascript"></script><script
src="http://siga.inep.gov.br/SIGA/a4j/g/3_3_1.GAorg.ajax4jsf.javascript.PrototypeScript";
type="text/javascript"></script><script
src="http://siga.inep.gov.br/SIGA/a4j/g/3_3_1.GAorg.ajax4jsf.javascript.DnDScript";
type="text/javascript"></script><script
src="http://siga.inep.gov.br/SIGA/a4j/g/3_3_1.GAorg/richfaces/renderkit/html/scripts/utils.js";
type="text/javascript"></script><script
src="http://siga.inep.gov.br/SIGA/a4j/g/3_3_1.GAorg/richfaces/renderkit/html/scripts/json/json-dom.js";
type="text/javascript"></script><script
src="http://siga.inep.gov.br/SIGA/a4j/g/3_3_1.GAorg/richfaces/renderkit/html/scripts/dnd/dnd-common.js";
type="text/javascript"></script><script
src="http://siga.inep.gov.br/SIGA/a4j/g/3_3_1.GAorg/richfaces/renderkit/html/scripts/browser_info.js";
type="text/javascript"></script><script
src="http://siga.inep.gov.br/SIGA/a4j/g/3_3_1.GAscripts/drag-indicator.js";
type="text/javascript"></script><link class="component"
href="http://siga.inep.gov.br/SIGA/a4j/s/3_3_1.GAorg/richfaces/renderkit/html/css/dragIndicator.xcss/DATB/eAGLXj9BKHT5DGkAD!cDXA__";
rel="stylesheet" type="text/css" /><script
src="http://siga.inep.gov.br/SIGA/a4j/g/3_3_1.GAscripts/scriptaculous/effects.js";
type="text/javascript"></script><script
src="http://siga.inep.gov.br/SIGA/a4j/g/3_3_1.GAorg/richfaces/renderkit/html/script/processEffect.js";
type="text/javascript"></script><script
src="http://siga.inep.gov.br/SIGA/a4j/g/3_3_1.GAorg/richfaces/renderkit/html/scripts/json/json-mini.js";
type="text/javascript"></script><script
src="http://siga.inep.gov.br/SIGA/a4j/g/3_3_1.GAorg/richfaces/renderkit/html/scripts/dnd/dnd-draggable.js";
type="text/javascript"></script><script
src="http://siga.inep.gov.br/SIGA/a4j/g/3_3_1.GAorg/richfaces/renderkit/html/scripts/simple-draggable.js";
type="text/javascript"></script><script
src="http://siga.inep.gov.br/SIGA/a4j/g/3_3_1.GAorg/richfaces/renderkit/html/scripts/dnd/dnd-dropzone.js";
type="text/javascript"></script><script
src="http://siga.inep.gov.br/SIGA/a4j/g/3_3_1.GAorg/richfaces/renderkit/html/scripts/simple-dropzone.js";
type="text/javascript"></script><link class="component"
href="http://siga.inep.gov.br/SIGA/a4j/s/3_3_1.GAcss/table.xcss/DATB/eAGLXj9BKHT5DGkAD!cDXA__";
rel="stylesheet" type="text/css" /><script
src="http://siga.inep.gov.br/SIGA/a4j/g/3_3_1.GAorg/richfaces/renderkit/html/scripts/modalPanel.js";
type="text/javascript"></script><script
src="http://siga.inep.gov.br/SIGA/a4j/g/3_3_1.GAorg/richfaces/renderkit/html/scripts/modalPanelBorders.js";
type="text/javascript"></script><link class="component"
href="http://siga.inep.gov.br/SIGA/a4j/s/3_3_1.GAorg/richfaces/renderkit/html/css/modalPanel.xcss/DATB/eAGLXj9BKHT5DGkAD!cDXA__";
rel="stylesheet" type="text/css" /><script
src="http://siga.inep.gov.br/SIGA/a4j/g/3_3_1.GAorg/richfaces/renderkit/html/scripts/available.js";
type="text/javascript"></script><script
src="http://siga.inep.gov.br/SIGA/a4j/g/3_3_1.GAorg/richfaces/renderkit/html/scripts/jquery/jquery.js";
type="text/javascript"></script><script
src="http://siga.inep.gov.br/SIGA/a4j/g/3_3_1.GAorg/richfaces/renderkit/html/script/controlUtils.js";
type="text/javascript"></script><script
type="text/javascript">window.RICH_FACES_EXTENDED_SKINNING_ON=true;</script><script
src="http://siga.inep.gov.br/SIGA/a4j/g/3_3_1.GAorg/richfaces/renderkit/html/scripts/skinning.js";
type="text/javascript"></script><link class="user"
href="http://siga.inep.gov.br/SIGA/stylesheet/theme.css";
rel="stylesheet" type="text/css" /><meta http-equiv="Content-Type"
content="text/html; charset=UTF-8" />


      <script type="text/javascript" src="http://www.google.com/jsapi";></script>
          <script type="text/javascript">
        google.load('visualization', '1', {language : 'pt-BR',  packages:
['geomap','gauge','corechart', 'imagelinechart', 'corechart',
'imagepiechart' ]});
      </script>

</head>
<body>
<script type="text/javascript">
                        var browserName=navigator.appName;
                        google.setOnLoadCallback(drawChartDia);
                    function drawChartDia() {
                              var data = new google.visualization.DataTable();
                              data.addColumn('string', 'Dia');
                              data.addColumn('number', 'Total');
                              data.addRows(26);
                               data.setValue( 0, 0, '21'); data.setValue( 0, 1, 
258663);
data.setValue( 1, 0, '22'); data.setValue( 1, 1, 259837);
data.setValue( 2, 0, '23'); data.setValue( 2, 1, 201183);
data.setValue( 3, 0, '24'); data.setValue( 3, 1, 162275);
data.setValue( 4, 0, '25'); data.setValue( 4, 1, 104460);
data.setValue( 5, 0, '26'); data.setValue( 5, 1, 85118);
data.setValue( 6, 0, '27'); data.setValue( 6, 1, 70423);
data.setValue( 7, 0, '28'); data.setValue( 7, 1, 146494);
data.setValue( 8, 0, '29'); data.setValue( 8, 1, 196208);
data.setValue( 9, 0, '30'); data.setValue( 9, 1, 207679);
data.setValue( 10, 0, '01'); data.setValue( 10, 1, 189447);
data.setValue( 11, 0, '02'); data.setValue( 11, 1, 113254);
data.setValue( 12, 0, '03'); data.setValue( 12, 1, 89042);
data.setValue( 13, 0, '04'); data.setValue( 13, 1, 99082);
data.setValue( 14, 0, '05'); data.setValue( 14, 1, 287929);
data.setValue( 15, 0, '06'); data.setValue( 15, 1, 323530);
data.setValue( 16, 0, '07'); data.setValue( 16, 1, 360504);
data.setValue( 17, 0, '08'); data.setValue( 17, 1, 499091);
data.setValue( 18, 0, '09'); data.setValue( 18, 1, 450152);
data.setValue( 19, 0, '10'); data.setValue( 19, 1, 61531);
data.setValue( 20, 0, '11'); data.setValue( 20, 1, 50771);
data.setValue( 21, 0, '12'); data.setValue( 21, 1, 114104);
data.setValue( 22, 0, '13'); data.setValue( 22, 1, 118587);
data.setValue( 23, 0, '14'); data.setValue( 23, 1, 133126);
data.setValue( 24, 0, '15'); data.setValue( 24, 1, 186916);
data.setValue( 25, 0, '16'); data.setValue( 25, 1, 412965);
                                  var chart = new
google.visualization.LineChart(document.getElementById('dia'));
                          if (browserName=="Microsoft Internet Explorer") {
                                              var chart = new
google.visualization.ImageLineChart(document.getElementById('dia'));
                                              chart.draw(data, {width: 670, 
height: 140, legend: 'none'
,color: 'red'});
                                  } else {
                                              var chart = new
google.visualization.LineChart(document.getElementById('dia'));
                                              chart.draw(data, {width: 670, 
height: 140, legend: 'none'
,colors:['red','black']});
                                  }
                        }
            </script>
        

         <!-- INÍCIO CONTEÚDO -->
         <div style="min-height:145px;max-height:145px;">

                <div id="dia" style="height: 140px; width: 430px; position:
relative;margin-left:-10px;"></div>
         </div>
         <!-- FIM CONTEÚDO -->

</body>
</html>

2010/8/11 Viz Kid <[email protected]>:
>
> Can you provide an example which can reproduce this problem?
> Thanks
>   Viz Kid
>
> On Wed, Aug 11, 2010 at 5:47 PM, Gabriel Viragine
> <[email protected]> wrote:
>>
>> Hi,  I'm having the same problem ;-(
>>
>> Gabriel.
>>
>> On 11 ago, 11:14, ynot <[email protected]> wrote:
>> > Hi all,
>> >
>> > I'm using Visualisation API. Unfortunatly I can't insert the
>> > Javascripts in the Header of the page. Anyway since this morning I
>> > keep getting this error:
>> >
>> > Assertion failed: bucket size must be a non-negative number
>> >
>> > I checked all of code.google.com but can't find any information or
>> > clues of this. If I take all the code regarding Visualisation API and
>> > insert into an example app everything's fine. I also tried to erase
>> > all other javascripts without success.
>> >
>> > I would be thankful for any help
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Visualization API" group.
>> To post to this group, send email to
>> [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/google-visualization-api?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-visualization-api?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to