Commit b1e45274 authored by Daniel Suarez Souto's avatar Daniel Suarez Souto
Browse files

Updated Readme

parent ec99dd68
......@@ -13,11 +13,19 @@ This web component accepts the following parameters:
icon="<!-- an iron-icon name -->"
param="{{param}}"
id="<!-- id -->"
filters="{{filters}}">
filters="{{filters}}"
color="<!-- background-color for the entities represented-->"
legend="<!-- json array with parameters for the legend-->">
</entities-chart>
```
The `legend` parameter is an optional field to indicate if you want or not to show a legend with the type of entities represented by the component. Its value must follow the following structure:
```
[{"name":"legend_name_1","type":"ES_field_1","color":"background_color"},
{"name":"legend_name_2","type":"ES_field_2","color":"background_color"}]
```
An example of use is given in the folder demo.
### Installation
This web component is available in bower.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment