Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "components/Context/index"

Component to render the graph context displayed below each graph

Index

Interfaces

Type aliases

Functions

Type aliases

ContextProps

ContextProps: ContextSelfProps & Pick<DomainStateManagement, "domainState"> & Dimensions & Pick<Scales, "xScaleContext" | "yScaleContext"> & Partial<Pick<CommonProps, "color" | "graphIndex">> & Pick<CommonProps, "data" | "graphHeight">

All Context's Props

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
  • Context Component

    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>
      • 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>

    Returns Element

Generated using TypeDoc