Skip to content

Documentation / @ripl/charts / AnnotationScales

Interface: AnnotationScales ​

Defined in: charts/src/components/annotation.ts:87

The x/y value scales an annotation resolves its values through.

Properties ​

PropertyTypeDescriptionDefined in
x?Scale<any, number>The x-axis scale (value → pixel). Omit when the x axis is categorical.charts/src/components/annotation.ts:90
y?Scale<any, number>The y-axis scale (value → pixel).charts/src/components/annotation.ts:93