Below is part of my code. Whole database has 7 columns. I have a problem 
with animation on wykres1, wykres2 is normally animated, but on wykres1 I 
have got that communicate: 'Invalid column index 3. Should be an integer in 
the range [0-1]'. Column 3 has data below zero. Can it be a problem?
var wykres1 = new google.visualization.ChartWrapper({
          chartType: 'LineChart',
          containerId: 'wykresLiniowy1_div',
          options: {
            width: 600,
            height: 400,
            legend: 'top',
            vAxis: {format: 'percent'},
            animation: {
              duration: 4000,
              startup: 'true'
            }
          },
          view: { columns: [0, 3]},
        });
        
        var wykres2 = new google.visualization.ChartWrapper({
          chartType: 'LineChart',
          containerId: 'wykresLiniowy2_div',
          options: {
            width: 600,
            height: 400,
            legend: 'top',
            vAxis: {format: '# ###'},
            animation: {
              duration: 4000,
              startup: 'true'
            }
          },
          view: { columns: [0, 2, 1]},
          
        });
        
        var tabela7 = new google.visualization.ChartWrapper({
          chartType: 'Table',
          containerId: 'tabela7_div',
          options: {
            width: "100%", 
            height: 100
          },
          view: { 
              columns: [1],
              rows: [0]
          }
        });
        
        var tabela8 = new google.visualization.ChartWrapper({
          chartType: 'Table',
          containerId: 'tabela8_div',
          options: {
            width: "100%", 
            height: 100
          },
          view: { 
              columns: [2],
              rows: [0]
          }
        });

        dashboard.bind(filtr, [tabela1, tabela2, tabela3, tabela4,  
tabela5, tabela6, wykres1, wykres2, tabela7, tabela8]);

        // Draw the dashboard.
        dashboard.draw(daneDoZasileniaWykresu);



-- 


 
<https://www.veolia.pl/zasady-bezpieczenstwa-w-biurze-w-czasie-pandemii-koronawirusa>



 <https://www.veolia.pl/>






 <https://pl-pl.facebook.com/VeoliaPL/>  
<https://www.linkedin.com/company/18582540/>  <https://twitter.com/veolia>  
<https://www.youtube.com/channel/UCyRkGF4PFNRdq_UOc_6ky-g>

Twoje dane 
osobowe przetwarzamy w celu umożliwienia komunikowania się i obsługi 
korespondencji. Współadministratorami Twoich danych osobowych są spółki z 
Grupy Veolia. Więcej informacji o przysługujących Ci prawach oraz o 
przetwarzaniu Twoich danych osobowych znajdziesz w polityce prywatności 
<https://www.veolia.pl/polityka-prywatnosci>.


-- 
You received this message because you are subscribed to the Google Groups 
"Google Chart API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-chart-api/dcc69546-7af8-4630-8d78-dc74d38cdcd0o%40googlegroups.com.

Reply via email to