Directory

Keen Charts Add-on - Vaadin Add-on Directory

A component to render Keen IO charts in Vaadin applications Keen Charts Add-on - Vaadin Add-on Directory
Keen Charts is a Vaadin integration for [Keen IO](https://keen.io/), an analytics service to easily collect, explore, and visualize data. # Usage You don't need to recompile the widgetset in order to use this add-on. You need the project ID and the read key provided by Keen IO when you create an account at . Creating a chart is pretty simple:
``` // define the query to be sent to Keen IO Query query = new Query.Builder(QueryType.COUNT) .withEventCollection("gifts") .withTimeframe(new AbsoluteTimeframe("2016-08-01", "2016-08-05")) .withInterval("daily") .build(); // define the UI component KeenChart chart = new KeenChart(projectId, readKey, KeenChartType.BARCHART, query); layout.addComponent(chart); ```
Use your own values for PROJECT_ID and READ_KEY. For more information about the Keen IO Java API, consult the documentation at . For more information about Keen IO, consult the documentation at . ## License Add-on is distributed under [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0).