Skip to content

GrapherInterface

Extends

  • SortConfig$1

Properties

Property Type
sortBy? SortBy
sortOrder? SortOrder
sortColumnSlug? string
$schema? string
chartTypes? ( | "LineChart" | "ScatterPlot" | "StackedArea" | "DiscreteBar" | "StackedDiscreteBar" | "SlopeChart" | "StackedBar" | "Marimekko" | "Dumbbell")[]
id? number
version? number
slug? string
title? string
subtitle? string
sourceDesc? string
note? string
hideAnnotationFieldsInTitle? AnnotationFieldsInTitle
minTime? number | TimeBoundValueStr
maxTime? number | TimeBoundValueStr
timelineMinTime? number | TimeBoundValueStr
timelineMaxTime? number | TimeBoundValueStr
dimensions? OwidChartDimensionInterface[]
addCountryMode? EntitySelectionMode
comparisonLines? ComparisonLineConfig[]
stackMode? StackMode
showNoDataArea? boolean
hideSeriesLabels? boolean
logo? LogoOption
hideLogo? boolean
hideRelativeToggle? boolean
entityType? string
entityTypePlural? string
hideTimeline? boolean
zoomToSelection? boolean
showYearLabels? boolean
hasMapTab? boolean
tab? | "table" | "map" | "chart" | "line" | "scatter" | "stacked-area" | "discrete-bar" | "stacked-discrete-bar" | "slope" | "stacked-bar" | "marimekko" | "dumbbell"
relatedQuestions? RelatedQuestionsConfig[]
details? DetailDictionary
internalNotes? string
variantName? string
originUrl? string
license? LicenseOption
isPublished? boolean
baseColorScheme? ColorSchemeName
invertColorScheme? boolean
hideConnectedScatterLines? boolean
hideScatterLabels? boolean
scatterPointLabelStrategy? ScatterPointLabelStrategy
compareEndPointsOnly? boolean
matchingEntitiesOnly? boolean
hideTotalValueLabel? boolean
excludedEntityNames? string[]
includedEntityNames? string[]
inapplicableEntityNames? string[]
selectedEntityNames? string[]
selectedEntityColors? { [entityName: string]: string | undefined; }
focusedSeriesNames? string[]
peerCountryStrategy? PeerCountryStrategy
missingDataStrategy? MissingDataStrategy
hideFacetControl? boolean
facettingLabelByYVariables? string
selectedFacetStrategy? FacetStrategy
xAxis? Partial<AxisConfigInterface>
yAxis? Partial<AxisConfigInterface>
colorScale? Partial<ColorScaleConfigInterface>
map? Partial<MapConfigInterface>
dumbbell? Partial<DumbbellChartConfigInterface>
ySlugs? string
xSlug? string
sizeSlug? string
colorSlug? string
tableSlugs? string