jedtrow / Chart.js-Rounded-Bar-Charts

Rounded Rectangles in Bar Charts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chart.js-Rounded-Bar-Charts

Rounded Rectangles in Bar Charts

Tested with Chart.js 2.7.0

To use include the following:

<script type="text/javascript" charset="utf-8" src="js/Chart.min.js"></script>
<script type="text/javascript" charset="utf-8" src="js/Chart.roundedBarCharts.min.js"></script>

Then set the radius in the options e.g.

var options = {
    cornerRadius: 20,
};

About

Rounded Rectangles in Bar Charts


Languages

Language:JavaScript 100.0%