@graphty/graphty-element / index / ScreenshotLegendSection
Interface: ScreenshotLegendSection ​
Defined in: graphty-element/src/screenshot/types.ts:123
One section of the key a capture draws (ScreenshotOptions.legend), in the caller's words.
Properties ​
note? ​
optionalnote?:string
Defined in: graphty-element/src/screenshot/types.ts:131
A line under the section, such as how many values were left out.
ramp? ​
optionalramp?:object
Defined in: graphty-element/src/screenshot/types.ts:129
A continuous scale from min to max: a bar painted with colors, or a size wedge without them.
colors? ​
optionalcolors?: readonlystring[]
max ​
max:
string
min ​
min:
string
rows? ​
optionalrows?: readonlyobject[]
Defined in: graphty-element/src/screenshot/types.ts:127
A line per value: its words, an optional color chip, and an optional value at the right.
title ​
title:
string
Defined in: graphty-element/src/screenshot/types.ts:125
The section's heading.