The following Line Chart, drawn by Chartist.js library:
Using our plugin, named Blazing Charts, I added the following shortcode to this post:
(left-bracket)BlazingChart charttype="chartist" source="chartist-chart-1"(right bracket)
The first parameter specifies which charting library is used. The second parameter is the slug of a Custom Post Type, named Chart Snippets, introduced by that plugin.
The source of the script for the drawing is added as plain text to a Chart Snippet. The content of the chart snippet for the above chart is as following.
For Right-To-Left languages, I would suggest to add style=”direction:ltr;” to the container div.