chartjs-chart-geo / ISizeScaleOptions
Interface: ISizeScaleOptions
Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/scales/SizeScale.ts:5
Extends
ILegendScaleOptions
Properties
display
display:
boolean
Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/scales/LegendScale.ts:15
whether to render a color legend
Default
trueInherited from
ILegendScaleOptions.display
legend
legend:
object
Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/scales/LegendScale.ts:23
align
align:
"left"|"top"|"bottom"|"right"
alignment of the scale, e.g., right means that it is a vertical scale with the ticks on the right side
Default
rightindicatorWidth
indicatorWidth:
number
how many pixels should be used for the color bar
Default
10length
length:
number
length of the legend, i.e., for a horizontal scale the width if a value < 1 is given, is it assume to be a ratio of the corresponding chart area
Default
100margin
margin:
number|ChartArea
margin pixels such that it doesn't stick to the edge of the chart
Default
8position
position:
"left"|"top"|"bottom"|"right"| {x:number;y:number; } |"top-left"|"top-right"|"bottom-right"|"bottom-left"
location of the legend on the chart area
Default
bottom-rightwidth
width:
number
how wide the scale is, i.e., for a horizontal scale the height if a value < 1 is given, is it assume to be a ratio of the corresponding chart area
Default
50Inherited from
ILegendScaleOptions.legend
missing
missing:
number
Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/scales/SizeScale.ts:29
radius to render for missing values
Default
1mode
mode:
"area"|"radius"
Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/scales/SizeScale.ts:23
operation mode for the scale, area means that the area is linearly increasing whereas radius the radius is. The area one is the default since it gives a better visual comparison of values
Default
areaproperty
property:
string
Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/scales/LegendScale.ts:21
the property name that stores the value in the data elements
Default
valueInherited from
ILegendScaleOptions.property
range
range: [
number,number]
Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/scales/SizeScale.ts:16
radius range in pixel, the minimal data value will be mapped to the first entry, the maximal one to the second and a linear interpolation for all values in between.
Default
[2, 20]