Comments (3)
Done. The sparkline
type has been added by f760d85
and QuickChart.io is updated.
The sparkline is a line chart with the following option defaults:
"options":{
"legend":{
"display":false
},
"elements":{
"line":{
"borderColor":"#000",
"borderWidth":1
},
"point":{
"radius":0
}
},
"scales":{
"yAxes":[
{
"display":false
}
],
"xAxes":[
{
"display":false
}
]
},
Also, labels are automatically null
ed and dataset linetension
is set to 0.
Here's an example:
https://quickchart.io/chart?c={type:'sparkline',data:{datasets:[{data:[140,60,274,370,199]}]}}
from quickchart.
Awesome. How would I disable the fill?
from quickchart.
According to the Chart.js documentation, set the dataset
property fill
to false. For example:
{
type:'sparkline',
data:{
datasets:[
{
data:[50, 60, 70, 180, 190],
fill: false,
}
]
}
}
from quickchart.
Related Issues (20)
- CI feature: integrate pull request preview environments
- Cannot POST /graphviz
- How to install quickchart locally HOT 1
- Failed to run on GCP HOT 1
- Unable to install this on Ubuntu 23.04 nodeJS 18 LTS
- Unable to change scale using min/max in options HOT 1
- FEATURE Request: Export To PDF
- linear regression
- Support for datalabels in v3+ charts? HOT 4
- Transparant table background HOT 1
- tickFormat not working in self-hosted instance
- JSON Integration? HOT 1
- de-facto quickchart docker image ianw/quickchart appears abandoned HOT 1
- Unique tags for inline SVG HOT 2
- Adding Elestio as deployment option
- Docker image randomly stopped working
- Feature Request for QR Codes. Add the text option HOT 2
- Horizontal Grid Lines Not Working on Line Charts HOT 1
- gauge charts working in main domain, but not self-hosted instance
- Still maintained ? HOT 1
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 quickchart.