Bar Chart
Display graphically quantitative data on your websites.
Official documentation
For more detailed information and examples, see the official documentation: Chartist .
How to use?
Copy-paste the stylesheets <link>
into your <head>
to load the CSS.
Copy-paste the following <script>
s near the end of your pages under JS Implementing Plugins to enable them.
Copy-paste the following <script>
near the end of your pages under JS Front to enable it.
Copy-paste the init function under JS Plugins Init., before the closing </body>
tag, to enable it.
Methods
Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-
, as in data-series=""
.
Attribute | Description |
---|---|
|
The data on which the graphics will be based. |
|
Chart height. |
|
Highest value on the chart. |
|
The width of the individual column. |
|
Stroke color. |
|
Determines whether lines are displayed against the background of the graph along the X axis. |
|
Determines whether lines are displayed against the background of the graph along the Y axis. |