Skip to content

Commit

Permalink
fix 1444 remove duper caused by rebase error
Browse files Browse the repository at this point in the history
  • Loading branch information
toni-sharpe committed Sep 7, 2024
1 parent 1abc736 commit d8aba40
Showing 1 changed file with 0 additions and 185 deletions.
185 changes: 0 additions & 185 deletions packages/@ourworldindata/grapher/src/schema/grapher-schema.005.yaml
Original file line number Diff line number Diff line change
@@ -1,190 +1,5 @@
$schema: "http://json-schema.org/draft-07/schema#"
$id: "https://files.ourworldindata.org/schemas/grapher-schema.005.json"
$defs:
axis:
type: object
properties:
removePointsOutsideDomain:
type: boolean
default: false
label:
type: string
description: Axis label
min:
type: number
description: Minimum domain value of the axis. Inferred from data if not provided.
scaleType:
type: string
description: Toggle linear/logarithmic
default: linear
enum:
- linear
- log
max:
type: number
description: Maximum domain value of the axis. Inferred from data if not provided.
canChangeScaleType:
type: boolean
description: Allow user to change lin/log
default: false
facetDomain:
type: string
description: Whether the axis domain should be the same across faceted charts (if possible)
default: shared
enum:
- independent
- shared
additionalProperties: false
colorScale:
type: object
description: Color scale definition
properties:
customNumericLabels:
type: array
description: |
Custom labels for each numeric bin. Only applied when strategy is `manual`.
`null` falls back to default label.
items:
type:
- string
- "null"
customCategoryColors:
type: object
description: Map of categorical values to colors. Colors are CSS colors, usually in the form `#aa9944`
patternProperties:
".*":
type: string
baseColorScheme:
type: string
description: |
One of the predefined base color schemes.
If not provided, a default is automatically chosen based on the chart type.
enum:
- YlGn
- YlGnBu
- GnBu
- BuGn
- PuBuGn
- BuPu
- RdPu
- PuRd
- OrRd
- YlOrRd
- YlOrBr
- Purples
- Blues
- Greens
- Oranges
- Reds
- Greys
- PuOr
- BrBG
- PRGn
- PiYG
- RdBu
- RdGy
- RdYlBu
- Spectral
- RdYlGn
- Accent
- Dark2
- Paired
- Pastel1
- Pastel2
- Set1
- Set2
- Set3
- PuBu
- Magma
- Inferno
- Plasma
- Viridis
- continents
- stackedAreaDefault
- owid-distinct
- SingleColorDenim
- SingleColorTeal
- SingleColorPurple
- SingleColorDustyCoral
- SingleColorDarkCopper
- OwidCategoricalA
- OwidCategoricalB
- OwidCategoricalC
- OwidCategoricalD
- OwidCategoricalE
- OwidEnergy
- OwidEnergyLines
- OwidDistinctLines
- BinaryMapPaletteA
- BinaryMapPaletteB
- BinaryMapPaletteC
- BinaryMapPaletteD
- BinaryMapPaletteE
- SingleColorGradientDenim
- SingleColorGradientTeal
- SingleColorGradientPurple
- SingleColorGradientDustyCoral
- SingleColorGradientDarkCopper
equalSizeBins:
type: boolean
default: true
description: Whether the visual scaling for the color legend is disabled.
customHiddenCategories:
type: object
description: Allow hiding categories from the legend
patternProperties:
".*":
type: boolean
binningStrategy:
type: string
description: The strategy for generating the bin boundaries
default: ckmeans
enum:
- equalInterval
- quantiles
- ckmeans
- manual
legendDescription:
type: string
description: A custom legend description. Only used in ScatterPlot legend titles for now.
customNumericColors:
type: array
description: |
Override some or all colors for the numerical color legend.
Colors are CSS colors, usually in the form `#aa9944`
`null` falls back the color scheme color.
items:
type:
- string
- "null"
customNumericValues:
type: array
description: Custom maximum brackets for each numeric bin. Only applied when strategy is `manual`
items:
type: number
customNumericColorsActive:
type: boolean
default: false
description: Whether `customNumericColors` are used to override the color scheme
colorSchemeInvert:
type: boolean
default: false
description: Reverse the order of colors in the color scheme
customCategoryLabels:
type: object
description: Map of category values to color legend labels.
patternProperties:
".*":
type: string
binningStrategyBinCount:
type: integer
default: 5
description: The *suggested* number of bins for the automatic binning algorithm
minimum: 0
customNumericMinValue:
type: number
description: The minimum bracket of the first bin. Inferred from data if not provided.
additionalProperties: false
required:
- $schema
- dimensions
Expand Down

0 comments on commit d8aba40

Please sign in to comment.