google-chart icon indicating copy to clipboard operation
google-chart copied to clipboard

Dashboards and controls

Open juanramb opened this issue 9 years ago • 4 comments

Hi, is there a way of composing a chart with a chartRangeFilter using polymer elements? There is https://developers.google.com/chart/interactive/docs/gallery/controls but don't know if it can be used with google-chart element

juanramb avatar Jan 17 '16 19:01 juanramb

The google-chart elements don't support that. Think we'd probably have to create something new like google-chart-dashboard.

ebidel avatar Jan 18 '16 00:01 ebidel

Yeah, that would be the right approach. I'm also very interested in this, so I'll be taking a look at it.

wesalvaro avatar Mar 15 '16 04:03 wesalvaro

My current idea is to move the data into a behavior and create two new elements:

<google-chart-dashboard>
<google-chart-control>

Theses elements should be used like so:

<google-chart-dashboard data="...">
  <google-chart-control type="number-range" options="..."></google-chart-control>
  <google-chart options="..."></google-chart>
</google-chart-dashboard>

wesalvaro avatar Mar 15 '16 05:03 wesalvaro

I have a preliminary CL with this functionality in #91.

wesalvaro avatar Mar 16 '16 08:03 wesalvaro