Module "components/Context/index"
Functions
Const Context
- Context(__namedParameters: { color: ScaleOrdinal<string, string>; data: LineProps[]; domainState: DomainState; graphHeight: number; graphIndex: number; height: number; margin: Margin; onBrush: (domainState: DomainState) => void; width: number; xScaleContext: ScaleLinear<number, number>; yScaleContext: ScaleLinear<number, number> }): Element
-
Parameters
-
__namedParameters: { color: ScaleOrdinal<string, string>; data: LineProps[]; domainState: DomainState; graphHeight: number; graphIndex: number; height: number; margin: Margin; onBrush: (domainState: DomainState) => void; width: number; xScaleContext: ScaleLinear<number, number>; yScaleContext: ScaleLinear<number, number> }
-
color: ScaleOrdinal<string, string>
-
-
-
graphHeight: number
-
graphIndex: number
-
height: number
-
-
onBrush: (domainState: DomainState) => void
-
width: number
-
xScaleContext: ScaleLinear<number, number>
-
yScaleContext: ScaleLinear<number, number>
Returns Element
Component to render the graph context displayed below each graph