ig-chart #
Overview #
A Chart component renders a chart for the configured data.
Properties #
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
chartId |
chart-id |
Identifier of the chart configuration | string |
undefined |
filterId |
filter-id |
Optionally, the identifier of a filter which will be applied to retrieve a range of resources | string |
undefined |
filterInput |
filter-input |
Optionally, the input for the given filter | any |
undefined |
resourceId |
resource-id |
Optionally, a resource identifier to filter the configured data to one specific resource. | string |
undefined |
Methods #
refresh() => Promise<void>
#
Refreshes the chart by fetching the data again for the given chartId.
Returns #
Type: Promise<void>