Module "components/LineChart/index"
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
-
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
-
-
height: number
-
-
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"]
-
selectedDomain: DomainState["selectedDomain"]
Filtered data set
File containing the top level LineChart component