Groups different types of charts so that they can perform actions all together, like moving the needle according to their x-axes, showing the tooltip for the corresponding series, or graying out the area being selected in all charts at the same time.
The component acts like a React fragment; it will not render an additional
tag in the DOM (it only enables grouping for all charts inside it). This
means that this component, unlike others, does not accept className
or
style
tags.
Usage
import { ChartGroup } from 'nr1'
Examples
Basic
Fill container
Props
childrenrequirednode
Arbitrary content. All charts inside ChartGroup
communicate between
each other.
Methods
ChartGroup.render
function () => undefined