I followed all the steps, but even so the graph did not render when exporting, would the jsapi library have changed? since when entering I am redirected to loader.js
Thanks for the tutorial :) Try to do the same with Bar graph type but in the pdf I get a message "'undefined' is not afunction"
// google.charts.load('current', {'packages':['corechart', 'bar']}); // google.charts.setOnLoadCallback(drawStuff); function init(){ google.load('visualization' , '1.1' , { packages: ['corechart', 'bar'], callback: 'drawStuff' }); } function drawStuff() { var data = google.visualization.arrayToDataTable([ ['Galaxy', 'Distance', 'Brightness'], ['Canis Major Dwarf', 8000, 23.3], ['Sagittarius Dwarf', 24000, 4.5], ['Ursa Major II Dwarf', 30000, 14.3], ['Lg. Magellanic Cloud', 50000, 0.9], ['Bootes I', 60000, 13.1] ]); var materialOptions = { width: 900, chart: { title: 'Nearby galaxies', subtitle: 'distance on the left, brightness on the right' }, series: { 0: { axis: 'distance' }, // Bind series 0 to an axis named 'distance'. 1: { axis: 'brightness' } // Bind series 1 to an axis named 'brightness'. }, axes: { y: { distance: {label: 'parsecs'}, // Left y-axis. brightness: {side: 'right', label: 'apparent magnitude'} // Right y-axis. } } };
var materialChart = new google.charts.Bar(document.getElementById('chart_div')); materialChart.draw(data, google.charts.Bar.convertOptions(materialOptions));
};
developers.google.com/chart/interactive/docs/gallery/columnchart?hl=es Any suggestion?
Generate PDFs in Laravel with Spatie/Browsershot
ua-cam.com/video/320vwRDqi9w/v-deo.html
why I'm having an error. " Failed to load PDF document. ". I follow all the steps but it doesn't work
I followed all the steps, but even so the graph did not render when exporting, would the jsapi library have changed? since when entering I am redirected to loader.js
I am also not able to render the graph in PDF but working as HTML, please suggest the work around
Thanks for the tutorial :)
Try to do the same with Bar graph type but in the pdf I get a message "'undefined' is not afunction"
// google.charts.load('current', {'packages':['corechart', 'bar']});
// google.charts.setOnLoadCallback(drawStuff);
function init(){
google.load('visualization' , '1.1' , {
packages: ['corechart', 'bar'],
callback: 'drawStuff'
});
}
function drawStuff() {
var data = google.visualization.arrayToDataTable([
['Galaxy', 'Distance', 'Brightness'],
['Canis Major Dwarf', 8000, 23.3],
['Sagittarius Dwarf', 24000, 4.5],
['Ursa Major II Dwarf', 30000, 14.3],
['Lg. Magellanic Cloud', 50000, 0.9],
['Bootes I', 60000, 13.1]
]);
var materialOptions = {
width: 900,
chart: {
title: 'Nearby galaxies',
subtitle: 'distance on the left, brightness on the right'
},
series: {
0: { axis: 'distance' }, // Bind series 0 to an axis named 'distance'.
1: { axis: 'brightness' } // Bind series 1 to an axis named 'brightness'.
},
axes: {
y: {
distance: {label: 'parsecs'}, // Left y-axis.
brightness: {side: 'right', label: 'apparent magnitude'} // Right y-axis.
}
}
};
var materialChart = new google.charts.Bar(document.getElementById('chart_div'));
materialChart.draw(data, google.charts.Bar.convertOptions(materialOptions));
};
developers.google.com/chart/interactive/docs/gallery/columnchart?hl=es
Any suggestion?
It's not working in windows
Can you please help me via video
anyone if he solve this i will give hime 30$
why I'm having an error. " Failed to load PDF document. ". I follow all the steps but it doesn't work