chartjs / chart.lineargauge.js Goto Github PK
View Code? Open in Web Editor NEWLinear Gauge chart type for Chart.js
Home Page: https://chartjs.github.io/Chart.LinearGauge.js/example
License: MIT License
Linear Gauge chart type for Chart.js
Home Page: https://chartjs.github.io/Chart.LinearGauge.js/example
License: MIT License
Hello,
I am trying to use the LinearGauge extension with the angular-chart.js wrapper for Angular.js.
So far I am not really successful as I get the following error message:
Uncaught TypeError: Cannot read property 'extend' of undefined Chart.LinearGauge.js:313
The line 313 reads:
Chart.Type.extend({ name: "Linear", defaults: defaultConfig, ....
I am wondering if it could be caused by LinearGauge not being designed for Chart.js version 2x.
Can we have the gauge bars have higher width ?
It'd make sense to have the chart type and scale in different files that get combined together using gulp rather than trying to put everything in a single file.
For an example you can see:
https://github.com/benmccann/Chart.Financial.js
Wouldn't be useful to put an img on the README or a live demo?
Please select master
branch for GitHub Pages
in settings of repository to live preview example.html and add link to description. It will be https://chartjs.github.io/Chart.LinearGauge.js/example
after enabling it in settings
Chart.js allows for inverting ticks via the 'reverse' option:
ticks: {
reverse: true
}
This option does not work with LinearGauge. Is it possible? If yes, any help would be greatly appreciated.
Are there outside some CDN for this plugin?
In chartjs/Chart.js#4268 we've been talking about having the options below. Assuming this syntax is adopted, it would make sense for Chart.LinearGauge.js to utilize the same convention
ticks: {
minor: {}, //< use common tick options
major: {} //< use common tick options
}
Not compatible with 2.x according to #1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.