Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "components/LineChart/index"

File containing the top level LineChart component

Index

Interfaces

Type aliases

Variables

Functions

Type aliases

LineChartProps

LineChartProps: LineChartSelfProps & Dimensions & Partial<Domains> & Partial<Pick<CommonProps, "color" | "maxPoints" | "tooltipEntryHeight" | "contextHeight">> & Pick<CommonProps, "data">

All LineChart Props

Variables

Const CONTEXT_HEIGHT

CONTEXT_HEIGHT: 40 = 40

Functions

Const LineChart

  • LineChart(__namedParameters: { color: ScaleOrdinal<string, string>; contextHeight: number; data: LineProps[]; height: number; margin: Margin; maxContextPoints: number; maxPoints: number; selectionCallback: (selections: Array<TRangeSelection>) => void; tooltipEntryHeight: number; viewMode: "overlapped" | "stacked"; width: number; xDomain: [number, number]; yDomain: [number, number]; yDomainPadding: number }): Element
  • LineChart Component

    Parameters

    • __namedParameters: { color: ScaleOrdinal<string, string>; contextHeight: number; data: LineProps[]; height: number; margin: Margin; maxContextPoints: number; maxPoints: number; selectionCallback: (selections: Array<TRangeSelection>) => void; tooltipEntryHeight: number; viewMode: "overlapped" | "stacked"; width: number; xDomain: [number, number]; yDomain: [number, number]; yDomainPadding: number }
      • color: ScaleOrdinal<string, string>
      • contextHeight: number
      • data: LineProps[]
      • height: number
      • margin: Margin
      • maxContextPoints: number
      • maxPoints: number
      • selectionCallback: (selections: Array<TRangeSelection>) => void
      • tooltipEntryHeight: number
      • viewMode: "overlapped" | "stacked"
      • width: number
      • xDomain: [number, number]
      • yDomain: [number, number]
      • yDomainPadding: number

    Returns Element

Const filterDomain

  • filterDomain(data: CommonProps["data"], selectedDomain: DomainState["selectedDomain"]): Coordinate[][]
  • Parameters

    • data: CommonProps["data"]

      Original Data Set to be filtered

    • selectedDomain: DomainState["selectedDomain"]

      Upper and lower bound domain restriction on the data set

    Returns Coordinate[][]

    Filtered data set

Generated using TypeDoc