Recommend this page to a friend! |
Classes of No name | RT Adminlte | core/assets/plugins/ckeditor/plugins/chart/README.md | Download |
|
DownloadCKEditor Chart PluginThis is a proof-of-concept plugin that adds support for injecting charts into CKEditor. To render charts, the Chart.js library is used. The plugin serves as an example of using external JavaScript libraries in CKEditor, using the widgets feature. It has lots of comments inside to help you understand how it was built. Live DemoView live demo. Installation
<pre> CKEDITOR.replace( 'editor1', {
} ); </pre> In case of any problems with installation, there is an online sample available that should help you get started. Rendering charts on a websiteChart created in CKEditor is represented as a simple To convert Configuration Optionsconfig.chart_heightThe default chart height (in pixels) in the Edit Chart dialog window.
config.chart_maxItemsThe number of rows (items to enter) in the Edit Chart dialog window.
config.chart_colorsColors used to draw charts. See <a href="http://www.chartjs.org/docs/#bar-chart-data-structure">Bar chart data structure</a> and <a href="http://www.chartjs.org/docs/#doughnut-pie-chart-data-structure">Pie chart data structure</a>. <pre> config.chart_colors = {
}; </pre> config.chart_configBarChart.js configuration to use for Bar charts.
config.chart_configDoughnutChart.js configuration to use for Doughnut charts.
config.chart_configLineChart.js configuration to use for Line charts.
config.chart_configPieChart.js configuration to use for Pie charts.
config.chart_configPolarAreaChart.js configuration to use for PolarArea charts.
ScreenshotThe future of this pluginFor now, this is a proof-of-concept plugin. However if you would like to leave any feedback, fill a future request, report a bug etc., feel free to do so. Browser compatibilityAny modern browser should be supported. IE8 is not supported. LicenseLicensed under the GPL, LGPL and MPL licenses, at your choice. For full details about the license, please check the LICENSE.md file. |