• <legend id='fQOgy'><style id='fQOgy'><dir id='fQOgy'><q id='fQOgy'></q></dir></style></legend>
    • <bdo id='fQOgy'></bdo><ul id='fQOgy'></ul>

      <small id='fQOgy'></small><noframes id='fQOgy'>

      <tfoot id='fQOgy'></tfoot>
      <i id='fQOgy'><tr id='fQOgy'><dt id='fQOgy'><q id='fQOgy'><span id='fQOgy'><b id='fQOgy'><form id='fQOgy'><ins id='fQOgy'></ins><ul id='fQOgy'></ul><sub id='fQOgy'></sub></form><legend id='fQOgy'></legend><bdo id='fQOgy'><pre id='fQOgy'><center id='fQOgy'></center></pre></bdo></b><th id='fQOgy'></th></span></q></dt></tr></i><div id='fQOgy'><tfoot id='fQOgy'></tfoot><dl id='fQOgy'><fieldset id='fQOgy'></fieldset></dl></div>

        谷歌图表错误:b.L 不是函数

        时间:2023-09-25

        • <tfoot id='zq5we'></tfoot>
            <tbody id='zq5we'></tbody>
          • <bdo id='zq5we'></bdo><ul id='zq5we'></ul>
            <i id='zq5we'><tr id='zq5we'><dt id='zq5we'><q id='zq5we'><span id='zq5we'><b id='zq5we'><form id='zq5we'><ins id='zq5we'></ins><ul id='zq5we'></ul><sub id='zq5we'></sub></form><legend id='zq5we'></legend><bdo id='zq5we'><pre id='zq5we'><center id='zq5we'></center></pre></bdo></b><th id='zq5we'></th></span></q></dt></tr></i><div id='zq5we'><tfoot id='zq5we'></tfoot><dl id='zq5we'><fieldset id='zq5we'></fieldset></dl></div>

                <legend id='zq5we'><style id='zq5we'><dir id='zq5we'><q id='zq5we'></q></dir></style></legend>

                <small id='zq5we'></small><noframes id='zq5we'>

                1. 本文介绍了谷歌图表错误:b.L 不是函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我使用 Google API 制作了一个包含 3 个图形的小页面.

                  I did a little page with 3 graphics using the Google API.

                  一切正常.然而,从一个时刻到另一个崩溃.

                  Everything worked perfectly. However from one moment to the other crashed.

                  在该位置的图表中出现此消息:bL 不是函数

                  In the chart of the place appears this message: bL is not the function

                  有人可以向我解释为什么会发生这种情况吗?

                  Does someone can explain to me why this happens?

                  我的例子工作:

                  <script type="text/javascript" src="https://www.google.com/jsapi"></script>
                  <script>
                      google.load("visualization", "1", {packages:["corechart"]});
                        google.setOnLoadCallback(drawChart);
                        function drawChart() {
                       var data = new google.visualization.DataTable();
                          data.addColumn('string', 'Date');
                          data.addColumn('number', '2015');
                          data.addColumn('number', '2014');
                          data.addRows([
                      ['Jan', 197680, 241921],
                      ['Fev', 183619,205572],
                      ['Mar', 205643,214666],
                      ['Abr', 205643,202097],
                      ['Mai', 0,210007],
                      ['Jun', 0,202434],
                      ['Jul', 0,217502],
                      ['Ago', 0,175038],
                      ['Set', 0,206510],
                      ['Out', 0,209802],
                      ['Nov', 0,197122],
                      ['Dez', 0,162796]
                  
                  ]);
                  
                          var options = {
                            title: 'Energia 2014/2015',
                            titleTextStyle: {color: 'white', fontSize: '18'},
                            chart_M: 'function',
                            legend: {textStyle: {color: 'white'}},
                            colors: ['#0099FF', '#11334c'],
                            backgroundColor: "transparent",
                            hAxis: {title: '', 
                              textStyle: {
                              color: '#C8C8C8' 
                              }},
                                  vAxis: {title: '', 
                              textStyle: {
                              color: '#C8C8C8' 
                              }}
                  
                          };
                  
                        var chart = new google.visualization.ColumnChart(document.getElementById('chart_energy'));
                          chart.draw(data, options);
                  
                        }
                  
                      </script>
                  

                  这就是它的工作方式.

                  从一个时刻到另一个时刻都是如此.

                  From one moment to the other was so.

                  推荐答案

                  感谢大家的回复.

                  我改了

                  <script type="text/javascript" src="https://www.google.com/jsapi"></script>
                  

                  为此:

                  <script type="text/javascript" src="https://www.google.com/jsapi?autoload={'modules':[{'name':'visualization','version':'1.1','packages':['corechart']}]}"></script>
                  

                  它对我来说很好.

                  很奇怪,但事实是它确实有效.

                  Is very strange, but the truth is that it was working.

                  这篇关于谷歌图表错误:b.L 不是函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:MySQL - 填充缺失的日期 下一篇:PHP 在命令提示符中未被识别为内部或外部命令

                  相关文章

                  最新文章

                  <legend id='FwIwp'><style id='FwIwp'><dir id='FwIwp'><q id='FwIwp'></q></dir></style></legend>
                2. <tfoot id='FwIwp'></tfoot>

                      <small id='FwIwp'></small><noframes id='FwIwp'>

                        <bdo id='FwIwp'></bdo><ul id='FwIwp'></ul>
                      <i id='FwIwp'><tr id='FwIwp'><dt id='FwIwp'><q id='FwIwp'><span id='FwIwp'><b id='FwIwp'><form id='FwIwp'><ins id='FwIwp'></ins><ul id='FwIwp'></ul><sub id='FwIwp'></sub></form><legend id='FwIwp'></legend><bdo id='FwIwp'><pre id='FwIwp'><center id='FwIwp'></center></pre></bdo></b><th id='FwIwp'></th></span></q></dt></tr></i><div id='FwIwp'><tfoot id='FwIwp'></tfoot><dl id='FwIwp'><fieldset id='FwIwp'></fieldset></dl></div>