Chart.Scatter icon indicating copy to clipboard operation
Chart.Scatter copied to clipboard

Chart.Scatter support for Polymer

Open sandro-k opened this issue 10 years ago • 0 comments

Hi,

Polymer is a library to create custom HTML elements aka WebComponents. There was already a library to encapsulate Chart.js robdodson/chart-elements to create chart elements supported by Chart.js with minimal HTML. To draw a line chart you could declare it in your html with:

<chart-line data="{{data}}" options="{{options}}"></chart-line>

I have forked robdodson/chart-elements and updated it to Polymer 1.0 and added support for Chart.Scatter in the 1.0 branch.

Now you can create a scattered chart with

<chart-scatter data="{{data}}" options="{{options}}"></chart-scatter>

Please give it a try :)

sandro-k avatar Jul 24 '15 11:07 sandro-k