Usage
import { BarChart } from 'nr1'
Examples
Props
Due November 1st, 2022
The accountId is deprecated, use accountIds instead
Sets the account ID to perform the query.
Sets the account IDs to perform the query.
Appends class names to the component.
Data is an array of objects where each object represents a series to be drawn. Each series comprises visualization metadata and an array of data points.
false
Expands the chart to occupy all available height.
false
Expands the chart to occupy all available width.
Adds a click listener that gets triggered when the user clicks over the corresponding bar.
Adds a hover listener that gets triggered when the cursor is hovered over the corresponding bar.
NRQL query used for fetching data. The query is performed against the
provided accountIds
.
Inline style for custom styling.