responsive chart
See original GitHub issueHi.
I drawing chart with angular-google-chart.
it is good.
then chart fullscreen look like below
var elem = document.getElementById("myvideo"); function openFullscreen() { if (elem.requestFullscreen) { elem.requestFullscreen(); } else if (elem.mozRequestFullScreen) { /* Firefox */ elem.mozRequestFullScreen(); } else if (elem.webkitRequestFullscreen) { /* Chrome, Safari & Opera */ elem.webkitRequestFullscreen(); } else if (elem.msRequestFullscreen) { /* IE/Edge */ elem.msRequestFullscreen(); } }
and then not responsive in full screen.
please help me.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Responsive Charts - Chart.js
Chart.js provides a few options to enable responsiveness and control the resize behavior of charts by detecting when the canvas display size ...
Read more >Responsive chart | Highcharts.com
This demo shows how breakpoints can be defined in order to change the chart options depending on the screen width. All charts automatically ......
Read more >JavaScript Responsive Charts & Graphs - CanvasJS.com
Responsive JavaScript Chart that adjusts to different screen sizes including Tablets, Desktops & Phones. All Graphs are Cross-Browser compatible and have ...
Read more >A Fully Responsive Chart.js Chart | by Nora Brown - ITNEXT
Chart.js is a full-featured but easy-to-use Javascript library for creating many types of charts and graphs, which it draws on a canvas element....
Read more >How to Make a Chart Mobile Responsive in Chart js - YouTube
How to Make a Chart Mobile Responsive in Chart jsIn this video we will cover how to make a chart mobile responsive in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The chart builds to the size you specify, or tries to fill the container.
You’ll probably need some CSS to make the container element height-responsive. But how to do that is beyond the scope of this project.
Here’s an example where I was working with something else (positioning image elements relative to the chart axes), but it’s the only sample I have ready where I override the height of the chart in CSS.
https://codepen.io/nbering/pen/yNZxKr
Don’t pay any attention to this part:
It was needed for rendering the weather icons which is not what you’re working on.
That looks like you probably just need to set the height property on the chart options.
https://developers.google.com/chart/interactive/docs/gallery/linechart#configuration-options