Comments (4)
anything specific that you wanna achieve? Then I could create a code pen for it
from chartjs-chart-error-bars.
Nothing fancy, the interface IErrorBarStyling
is self explanatory but I was looking for a way to apply the options, something like what they did for the datalabels plugins.
Specifically I've tried this with variation of the 'errorbars' key (camel cased, with the '-', 'chart-error-bar', ...)
const chart = new Chart(ctx, {
options: {
plugins: {
errorbars: {
errorBarColor: '#36A2EB'
}
}
},
// ...
}
from chartjs-chart-error-bars.
since they are regular graphical elements there are two locations where they can be configured.
- similar to configure the backgroundColor of the rect: once per dataset (next to the
data: ...
) - in the default options of the elements:
options: { elements: { rectangleWithErrorBar: { ... }}}
.
see also https://codepen.io/sgratzl/pen/ExVYQXB.
from chartjs-chart-error-bars.
Thanks, I didn't understood it that way. For the record, styling error bars on a scatter:
elements: {
pointWithErrorBar: {
errorBarWhiskerSize: 10
},
point: {
radius: 5
}
},
from chartjs-chart-error-bars.
Related Issues (19)
- support multi error bars
- Removing y-axis labels HOT 1
- Add style options to readme? HOT 3
- lineWithErrorBars HOT 5
- elements.point configurations does not apply in lineWithErrorBars HOT 4
- add license badge
- Setting animation to false breaks line and scatter error bars HOT 3
- Uncaught Error: "barWithErrorBars" is not a registered controller (v3.9.1) HOT 5
- Line with error bars fails for linear scale
- Updating a dataset without ErrorBar still draws the ErrorBars HOT 1
- check compatibility for chart.js 2.9.x HOT 1
- ie11 compatibility HOT 1
- String Parsing with Min / Max Values HOT 3
- LineWithErrorBars does not render when using scale of type time HOT 4
- Is there a .js file to import the plugin? HOT 2
- Hello Can you please share how to use chart-error-bars on Line Graph? HOT 2
- chart-error-bars on Line Graph HOT 2
- Error: "barWithErrorBars" is not a chart type. 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 chartjs-chart-error-bars.