Comments (6)
Sorry, pretty busy these days.
I have added fixed width
and height
properties. They must be used with options.responsive: false
const lineChart = {
type: 'line',
height: 200,
width: 500,
options: {
responsive: false
},
data: {
// ...
},
}
If you are using responsive charts and you want your chart to conform to the parent container dimensions you can try using options.maintainAspectRatio: false,
from vue3-chartjs.
I have this issue too
from vue3-chartjs.
Please help to solve this problem
from vue3-chartjs.
@ras24 I literally have no idea what to do, @J-T-McC any ideas?
from vue3-chartjs.
Awesome, it's working now. @ras24 your issue should be solved, so this issue can be closed
from vue3-chartjs.
@J-T-McC thank you very much for your help, it's working now.
from vue3-chartjs.
Related Issues (18)
- Changing Font Family HOT 1
- TypeScript support HOT 6
- Cannot read property 'Chart' of undefined HOT 1
- Tooltip options not working HOT 2
- Can not render horizontal bar chart HOT 1
- can't change chart type HOT 1
- Updating options does not have effect after update HOT 2
- Multiple chartRefs did not work
- Sandbox Examples Problem HOT 2
- Auto reset zoom after chart update
- [email protected] support HOT 1
- Really strange behavior with vue-cli HOT 1
- Chart.js v4 support
- Error: Maximum recursive updates exceeded - watch chart data from props and trigger chartRef.value.update() HOT 1
- How to change default aspect ratio of charts HOT 1
- Correct way to add plugins HOT 3
- Colours / Options HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue3-chartjs.