A chart.js plugin for Imperavi Redactor WYSIWYG editor.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
bower.json
charts.js

README.md

redactor-charts

A Chart.js plugin for Redactor.

Prerequisites

Redactor is NOT FREE. So you may need to consider buying a license before using it on your website.

Installing with Bower

$ bower install redactor-charts

Enabling plugin

First you need to include Chart.js and charts.js on your page.

<script src="Chart.js"></script>
<script src="charts.js"></script>

Then simply enable the charts pluin when you initialize Redactor.

<script type="text/javascript">
    $(function()
    {
        $('#redactor').redactor({
            focus: true,
            plugins: ['charts']
        });
    });
</script>