Skip to content

v1.3

Choose a tag to compare

@vishwas-r vishwas-r released this 19 Sep 06:05
· 16 commits to master since this release

Chart / StockChart Features:

  • Option to pass chart-options /stockchart-options from json file

Examples:

  • Regular way of passing options

[canvasjschart options="{title:{text: 'CanvasJS Column Chart1'}, data: new Array({dataPoints: new Array({ label: 'apple', y: 10 },{ label: 'orange', y: 15 },{ label: 'banana', y: 25 },{ label: 'mango', y: 30 },{ label: 'grape', y: 28 })})}" style="width:100%;height:360px"]

  • Passing options from json-file

[canvasjschart optionsUrl="https://api.npoint.io/5448b28da1502b036561" style="width:100%;height:360px"]