Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | import { ScatterPlotChart } from "../scatterCharts/ScatterPlotChart" import { TimeScatterChart } from "../scatterCharts/TimeScatterChart" import { SlopeChart } from "../slopeCharts/SlopeChart" import { LineChart } from "../lineCharts/LineChart" import { StackedAreaChart } from "../stackedCharts/StackedAreaChart" import { DiscreteBarChart } from "../barCharts/DiscreteBarChart" import { StackedBarChart } from "../stackedCharts/StackedBarChart" import { ChartTypeName } from "../core/GrapherConstants" import { MapChart } from "../mapCharts/MapChart" import { ChartInterface } from "./ChartInterface" import { ChartManager } from "./ChartManager" import { ComponentClass, Component } from "react" import { Bounds } from "../../clientUtils/Bounds" import { StackedDiscreteBarChart } from "../stackedCharts/StackedDiscreteBarChart" import { MarimekkoChart } from "../stackedCharts/MarimekkoChart" interface ChartComponentProps { manager: ChartManager bounds?: Bounds containerElement?: any // todo: remove? } interface ChartComponentClass extends ComponentClass<ChartComponentProps> { new (props: ChartComponentProps): Component & ChartInterface } export const ChartComponentClassMap = new Map< ChartTypeName, ChartComponentClass >([ [ChartTypeName.DiscreteBar, DiscreteBarChart], [ChartTypeName.LineChart, LineChart], [ChartTypeName.SlopeChart, SlopeChart], [ChartTypeName.StackedArea, StackedAreaChart], [ChartTypeName.StackedBar, StackedBarChart], [ChartTypeName.StackedDiscreteBar, StackedDiscreteBarChart], [ChartTypeName.ScatterPlot, ScatterPlotChart], [ChartTypeName.Marimekko, MarimekkoChart], [ChartTypeName.TimeScatter, TimeScatterChart], [ChartTypeName.WorldMap, MapChart], ]) export const DefaultChartClass = LineChart as ChartComponentClass |