We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As per the given documentation I have added guage in packages array.
const image = await GoogleChartsNode.render(drawChart, { width: 400, height: 300, packages:['gauge'] });
And draw function is given as
function drawChart() { var data = google.visualization.arrayToDataTable([ ['Label', 'Value'], ['Memory', 80] ]); var options = { width: 400, height: 120, redFrom: 90, redTo: 100, yellowFrom:75, yellowTo: 90, minorTicks: 5 }; const chart = new google.visualization.Guage(container); chart.draw(data, options); }
But If I try to access it from express server I am getting
Page error: Error: TypeError: google.visualization.Guage is not a constructor. Please help
The text was updated successfully, but these errors were encountered:
You're spelling Gauge wrong. Gauge, not Guage
Sorry, something went wrong.
Add gauge chart example. #9
409be58
No branches or pull requests
As per the given documentation I have added guage in packages array.
And draw function is given as
But If I try to access it from express server I am getting
Page error: Error: TypeError: google.visualization.Guage is not a constructor.
Please help
The text was updated successfully, but these errors were encountered: