Charts Dashkit only Plugin
Create beautiful charts with a simple, but powerful and flexible JavaScript Chart.js plugin. Please read the official documentation for a full list of options.
Line
A line chart is a way of plotting data points on a line. Often, it is used to show trend data, or the comparison of two data sets.
Bar
A bar chart provides a way of showing data values represented as vertical bars. It is sometimes used to show trend data, and the comparison of multiple data sets side by side.
Doughnut
Excellent at showing the relational proportions between data.
Sparkline
A simple little line chart with disabled interactions.
Toggle chart data
Easily toggle hidden datasets with a simple interface based on the data attributes.
Options
| Name | Type | Default | Description |
|---|---|---|---|
data-toggle
|
string | chart | Activates the toggle functionality. |
data-target
|
string | - | The selector of a chart the new set of data will be applied to. |
data-trigger
|
string | - | How datasets are triggered. Should be a valid JavaScript event. |
data-action
|
string | - |
Use toggle to replace an active dataset, or add to add a new one.
|
data-dataset
|
number | - |
The order of the dataset in the datasets array to toggle.
|
Conversions
Last year comparision:Sales
Please refer to src/js/user.js for more examples.