Options
- Chart Level Options: We use these options to decide the overall main style of the chart, like what kind of chart do we have to make and what would be the size of it.
- Dataset Level Options: Here, you make each group of data in your chart look just right. You can make certain data stand out or blend in.
- Dataset Animation Options: With these options we can add some animations to the chart, we can set how our data on the charts appear with animations.
- Dataset Element Level Options: Here we focus on small parts of your chart, like bars, lines, or dots. With the help of this we can highlight some important part of the dataset.
- Scale Options: Here with these options we modify the scales, like the axes. We can set the labels, look and the range of the number on the scales.
- Plugin Options: We use the plugin options when we are using extra tools or features for the chart, so we can do that with the help of plugins.
- Scriptable Options: These options gives us the complete freedom, so that we can be creative and write own piece of code to do some specific stuff for the chart and the related data.
- Indexable Options: With these options we can make a list where each item on the list matches a point in your data. It simply works as an elements of the array.
- Option Context: These are some more complex options. It’s about how your chart understands what it’s working with at any time, like which part of the data or the chart itself.
Charts.js General
Chart.js General Accessibility ensures the accessibility rendered on user-provided canvas elements. Users can add accessibility features like ARIA attributes or fallback content within the canvas elements. This ensures that the content of the canvas, and chart information is accessible to all the user who relies on assistive technologies.
Accessible canvas
elements
role
="img":
indicates that the canvas should be treated as an image, suitable for contexts where the canvas represents graphical content.aria-label:
provides a text description of the content or purpose of the canvas, enhancing accessibility for users who rely on screen readers.
Contact Us