TickMarkSet¶
Overview¶
Shows tick marks within or next to a chart.
@author Sam Reid (PhET Interactive Simulations)
Class TickMarkSet¶
Constructor¶
new TickMarkSet( chartTransform : ChartTransform, axisOrientation : Orientation, spacing : number, providedOptions? : TickMarkSetOptions )¶
Instance Methods¶
setSpacing( spacing : number )¶
getSpacing() : number¶
update()¶
(protected)
dispose()¶
getSpacingBorders() : Range¶
Static Properties¶
DEFAULT_EXTENT¶
(readonly)
Type TickMarkSetOptions¶
- value?: number
- edge?: null | "min" | "max"
- origin?: number
- skipCoordinates?: number[]
- lineWidth?: number
- extent?: number
- clippingType?: ClippingType
determines whether the rounding is lenient, see ChartTransform - & PathOptions
Source Code¶
See the source for TickMarkSet.ts in the bamboo repository.