528
edits
No edit summary |
No edit summary |
||
Line 52: | Line 52: | ||
=== Embed Charts === | === Embed Charts === | ||
This example demonstrates how we can embed highcharts into a template. This example uses static data, but you can route with data from the template.<syntaxhighlight lang="javascript" line="1"> | This example demonstrates how we can embed highcharts into a template. This example uses static data, but you can route with data from the template.<syntaxhighlight lang="javascript" line="1" start="1"> | ||
//This is the element which will be used as a wrapper | //This is the element which will be used as a wrapper | ||
console.log('element: ', element); | console.log('element: ', element); |