Expand description
Hit testing for chart series elements.
Provides functions to detect user clicks on candlesticks, bars, and lines.
Structs§
- HitTest
Config - Configuration for series hit testing (tolerance, wick inclusion).
Constants§
- BODY_
WIDTH_ RATIO - Body width ratio relative to bar spacing (from chart-rendering.md)
Functions§
- hit_
test_ candles - Hit test candles to find which bar was clicked.
- hit_
test_ line - Hit test a line series
- hit_
test_ volume - Hit test volume bars to find which bar was clicked.