The code below is automatically generated by RichFaces (Jboss
RichFaces) , richFaces
load the prototype js, inside a jar, so the url looks like this.

Gabriel.


<script src="
http://siga.inep.gov.br/SIGA/a4j/g/3_3_1.GAorg.ajax4jsf.javascript.PrototypeScript
" type="text/javascript"></script>


On Wed, Aug 11, 2010 at 3:22 PM, Viz Kid <[email protected]> wrote:

>
> Thank you very much for the example!
>
> It seems that there is one specific script tag that causes the problems.
> However, since it is obfuscated, I'm not sure what this script is.
> Can you elaborate what this script is about?
> <script src="
> http://siga.inep.gov.br/SIGA/a4j/g/3_3_1.GAorg.ajax4jsf.javascript.PrototypeScript
> " type="text/javascript"></script>
>
> Here is the short example which also demonstrates the error:
> <html>
> <head>
> <script src="
> http://siga.inep.gov.br/SIGA/a4j/g/3_3_1.GAorg.ajax4jsf.javascript.PrototypeScript
> "
> type="text/javascript"></script>
> <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', 'imagepiechart' ]});
> </script>
> </head>
> <body>
> <script type="text/javascript">
>   google.setOnLoadCallback(drawChartDia);
>   function drawChartDia() {
>     var data = new google.visualization.DataTable();
>     data.addColumn('string', 'Dia');
>     data.addColumn('number', 'Total');
>     data.addRows([['abc', 5], ['def', 6]]);
>     var chart = new
> google.visualization.LineChart(document.getElementById('dia'));
>     chart.draw(data, {width: 670, height: 140, legend: 'none'
> ,colors:['red','black']});
>   }
> </script>
> <div style="min-height:145px;max-height:145px;">
>   <div id="dia" style="height: 140px; width: 430px; position:
> relative;margin-left:-10px;"></div>
> </div>
> </body>
> </html>
>
> Thanks,
>   Viz Kid
>
> On Wed, Aug 11, 2010 at 8:49 PM, gforce <[email protected]> wrote:
>
>> I also have the same problem since yesterday, exact same error for
>> BarChart and some other error with PieChart ( b[o] is undefined )
>>
>> My website is hosted as a ruby on rail application,  I tried a few
>> different browsers with the same results.
>> Then I took my chart scripts and ran them locally from plain html
>> using apache as host and it worked.
>> There was modifications to the website in between the time when it was
>> working and yesterday ( when it stopped working ) but even after
>> reverting to the old version of the website, the error message still
>> persist.
>>
>> I'll send an example when i can.
>>
>> G
>>
>>
>> On Aug 11, 11:15 am, Viz Kid <[email protected]> wrote:
>> > 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]<google-visualization-api%[email protected]>
>> <google-visualization-api%[email protected]<google-visualization-api%[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]<google-visualization-api%[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]<google-visualization-api%[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