Skip to main content

render_candle_selection_dots

Function render_candle_selection_dots 

Source
pub fn render_candle_selection_dots<F>(
    painter: &Painter,
    visible_range: Range<usize>,
    coords: &ChartMapping,
    closes: &[f64],
    price_to_y: F,
    config: &SelectionHandleConfig,
)
where F: Fn(f64) -> f32,
Expand description

Render selection dots on candle data points.

For candlestick charts, places dots at the close price of each candle at regular intervals.