Pre loader

Feature Request: Expose bar pixel geometry in FastHistoBarRenderableSeries for overlay alignment

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

Hi SciChart team,

We are using FastHistoBarRenderableSeries to render per-candle volume profile histograms in a trading application.
The series works well for the bars themselves, but we need to draw a 1px outline rectangle around the full column of each bar group (from the lowest to the highest price level, spanning the full bid+ask width).

The problem is that FastHistoBarRenderableSeries does not expose its internal bar geometry — specifically the pixel coordinates of xCenter, halfCol (column half-width), yTop, and yBot for each rendered bar. Without these, any overlay CustomRenderableSeries we add to draw the border cannot reliably align with the bars, because it has to reverse-engineer the same width formula from DataPointWidth and MaxBarHeight, which does not produce a pixel-perfect match.

We would like to request one of the following (in order of preference):

  1. A callback or event such as OnBarGeometryCalculated(int dataIndex, Rect barBoundsPixels) fired during InternalDraw, allowing external code to receive the exact pixel rect for each rendered bar group.

  2. A public read-only property DataPointWidthPixels (or equivalent) that returns the computed column width in pixels for the current viewport, updated after each render pass.

  3. Official documentation or a code example showing how to draw a pixel-accurate overlay on top of FastHistoBarRenderableSeries bars.

Our use case is a per-candle market profile / footprint chart where the column border is a key visual element for traders. Performance is critical — we are targeting 60fps with 200+ candles visible.

Thank you for considering this request. Happy to provide more details or a reproducible example if helpful.

Version
8.11.0.28985
  • Lex
    Hi Marcello, Thank you for contacting us. I’m forwarding your inquiry to our dev team for further discussion. We’ll get back to you as soon as we have an update. Kind regards, Lex, SciChart Technical Support Engineer
  • Marcello Bugnoli
    Thanks, appreciated
  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.