FooterScale
A mapping from values to colour or size, which a scale row keys.
@internote/canvas-sdkimport { FooterScale } from '@internote/canvas-sdk';Every field is part of the mapping, so two environments contributing equal scales are drawing the same thing, and the host shows one row for both.
ramp: a hue's or a ramp's run fromlotohi;invertflips the colours, never the numbers.wheel: domain colouring, the argument round the hue wheel from −π to π.graded: several scales, one per category, over one window of readings.size: a quantity drawn as a mark's size, fromlotohi;drawnis the mark's size at each end, in the picture's own units (a disc's radius, a stroke's width in pixels), so the key draws them in the picture's proportion.
Declared in packages/canvas-sdk/src/footer/index.ts:139.