Change 'current' to '44' and it should work.
On Mon, Feb 29, 2016 at 4:27 AM, David Segarra <[email protected]
> wrote:
> there has been some change in column charts? Saturday graphics are
> perfectly looked and this morning, without changing anything, not
> displayed.
>
> The code is as follows:
>
> <div id="chart_div" style="padding-bottom: 10px;"></div>
> <script type="text/javascript">
> google.charts.load('current', {packages:
> ['corechart', 'bar'], 'language': 'es'});
> google.charts.setOnLoadCallback(drawChart);
> function drawChart() {
>
> var data = google.visualization.arrayToDataTable([
> ["", "", { role: "style" }],
> [""+<%=request.getAttribute("ano1") %>,
> <%=total%>, '#A4A4A4'],
> [""+<%=request.getAttribute("ano2") %>,
> <%=total2%>, '#D8D8D8'],
> ]);
>
> var options = {
> legend: { position: 'none' },
> bar: {groupWidth: "50%"},
> chart: {
> title: ' ',
> },
> bars: 'vertical',
> vAxis: {format: 'currency', minValue: 0},
> height: 500,
> width: 500,
> colors: ['#A4A4A4', '#D8D8D8']
> };
> var chart = new
> google.visualization.ColumnChart(document.getElementById("chart_div"));
> chart.draw(data,
> google.charts.Bar.convertOptions(options));
> }
> </script>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to
> [email protected].
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/9f6880f2-030b-48be-8bda-c4c236fb702e%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/9f6880f2-030b-48be-8bda-c4c236fb702e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
[email protected] <[email protected]> 5CC, Cambridge MA
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJO2VKwz2JomGj_4xRTBfAZBF7_JHC29ube4GaEcG1z88Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.