RectSeries
A RectSeries
is a type of shape that provides a two-dimensional representation
of data in which various values are represented by colors. This shape excels at
allowing the user to compare values and observe patterns. One of the most
popular uses this shape can be used for are HeatMaps.
XYChart.RectSeries
XYChart.RectSeries
provides a slot for defining a RectSeries
.
XYChartRectSeriesProps
Name | Type | Default | Description |
---|---|---|---|
x1Accessor? | - | Accessor function to retrieve the data for the x1. | |
y1Accessor? | - | Accessor function to retrieve the data for the y1. | |
valueAccessor | - | Accessor function to retrieve the data for the value. | |
valueMin? | - | If specified, all values coming from the valueAccessor that are under this number will display a default color. Doesn't apply for category values. | |
valueMax? | - | If specified, all values coming from the valueAccessor that are above this number will display a default color. Doesn't apply for category values. | |
valueFormatter? | | <, > | - | If specified, the value coming from the valueAccessor will be formatted with given formatter options. Doesn't apply for string values. |
valueUnit? | - | A custom unit to be displayed in the Legend for number values | |
actions? | (datapoint: ) => | - | Custom actions to be shown in the tooltip |