API reference¶
Enumerations¶
| Enumeration | Description |
|---|---|
| ColumnTypeNames | - |
| DimensionProperty | - |
Classes¶
| Class | Description |
|---|---|
| OwidTable | - |
| Grapher | - |
| GrapherLoader | Builder for rendering a Grapher chart into a DOM container. |
Interfaces¶
| Interface | Description |
|---|---|
| OwidChartDimensionInterface | - |
| OwidColumnDef | - |
| GrapherInterface | - |
| GrapherState | - |
| FromTableOptions | Options for GrapherLoader.fromTable. |
| FromApiOptions | Options for GrapherLoader.fromApi. |
Type Aliases¶
| Type Alias | Description |
|---|---|
| FromCsvOptions | Options for GrapherLoader.fromCsv. Provide the CSV either inline (csv) or as a URL to fetch (csvUrl). It must have an entityName column and a year (or day) column, plus one or more value columns; entityCode and entityId columns are optional. |
Functions¶
| Function | Description |
|---|---|
| FetchingGrapher | - |