google.load("visualization", "1.1", {packages:["bar"]});
var chart = new google.charts.Bar(document.getElementById('columnchart_material'));
var data = new google.visualization.DataTable(); google.load('visualization', '1', {packages: ['corechart', 'bar']});
var chart = new google.visualization.BarChart(document.getElementById('columnchart_material'));
var data = google.visualization.arrayToDataTable([]);--
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 google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/4947fca2-35ba-41b2-8686-3cd201eb137f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The layout of the material charts is different from that of the classic charts. For the classic charts, the chart area and area above the chart are determined proportionally to the total height. But you can override the default by specifying a chartArea.top option. e.g.chartArea: { top: 20 }
On Sun, Oct 25, 2015 at 6:31 AM, Chris <kain...@gmail.com> wrote:
I am creating a column chart with Google Charts API -> http://plnkr.co/edit/GTg6MfMephB8lR3Kp66S?p=previewbut for some reason an odd space is forming on top of the page.This started happening after I changed the Material Chart library :google.load("visualization", "1.1", {packages:["bar"]});
var chart = new google.charts.Bar(document.getElementById('columnchart_material'));
var data = new google.visualization.DataTable();and used a classic chart instead (I need it since the Material Library is not complete and it doesn't allow custom Tooltips):google.load('visualization', '1', {packages: ['corechart', 'bar']});
var chart = new google.visualization.BarChart(document.getElementById('columnchart_material'));
var data = google.visualization.arrayToDataTable([]);This is the original Material Chart -> http://plnkr.co/edit/dMVKt3ISlMtyiYmVeN1K?p=previewWhat's wrong?
--
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 google-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/4947fca2-35ba-41b2-8686-3cd201eb137f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks...this is what happens though --> http://plnkr.co/edit/GTg6MfMephB8lR3Kp66S?p=preview
Is there a way to keep the subtitle (With the classic chart it disappears) and at the same time keep some spacing between it and the chart?
On Monday, October 26, 2015 at 2:02:10 AM UTC+1, Daniel LaLiberte wrote:
The layout of the material charts is different from that of the classic charts. For the classic charts, the chart area and area above the chart are determined proportionally to the total height. But you can override the default by specifying a chartArea.top option. e.g.chartArea: { top: 20 }
On Sun, Oct 25, 2015 at 6:31 AM, Chris <kain...@gmail.com> wrote:
I am creating a column chart with Google Charts API -> http://plnkr.co/edit/GTg6MfMephB8lR3Kp66S?p=previewbut for some reason an odd space is forming on top of the page.This started happening after I changed the Material Chart library :google.load("visualization", "1.1", {packages:["bar"]});
var chart = new google.charts.Bar(document.getElementById('columnchart_material'));
var data = new google.visualization.DataTable();and used a classic chart instead (I need it since the Material Library is not complete and it doesn't allow custom Tooltips):google.load('visualization', '1', {packages: ['corechart', 'bar']});
var chart = new google.visualization.BarChart(document.getElementById('columnchart_material'));
var data = google.visualization.arrayToDataTable([]);This is the original Material Chart -> http://plnkr.co/edit/dMVKt3ISlMtyiYmVeN1K?p=previewWhat's wrong?
--
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 google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/4947fca2-35ba-41b2-8686-3cd201eb137f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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 google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/b3802358-7f33-4798-93ca-77c9e6f470de%40googlegroups.com.