Open
Conversation
Bar chart renders time-bucketed data (e.g. volume) alongside the existing line/candlestick chart. Two modes: - default: bars in a separate strip below the main chart (20% height) - overlay: semi-transparent bars behind the line Features: - Smooth Y-range scaling using the same lerp pattern as the line chart - Scrub dimming, reveal animations, and choreographed entrance - Optional value labels (barLabels prop) - Custom bar color override (barColor prop) - Works with both line and candlestick chart modes New props: bars, barMode, barWidth, barColor, barLabels New types: BarPoint, BarMode Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix out-of-scope adaptiveSpeed in candle pipeline causing bars to not render - Consolidate two bar chart sections into single chart with mode toggle - Add volume bars demo to index.html dev page Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Right padding was hardcoded to 80px (space for the badge). Now it adapts: 80px with badge, 54px with grid labels only, 12px with both off — so the chart fills the available width. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Reduce the time-axis buffer from 5% to 1.5% when the badge is hidden, so the live dot and fill extend closer to the chart edge. Candle mode always uses the smaller buffer since it never renders a badge. Add badge toggle to the demo page. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Fix Right Padding
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bar chart renders time-bucketed data (e.g. volume) alongside the existing line/candlestick chart. Two modes:
Features:
New props: bars, barMode, barWidth, barColor, barLabels
New types: BarPoint, BarMode
Sample (demo.html):
