You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Charts: timestamp x-axis, normalize mode, and explicit label control #8
For a 6-month, 12-company market-cap chart I had to precompute everything outside the widget:
No time axis. No DateTime/epoch input, so I formatted date strings, appended a synthetic "Now" point, forward-filled gaps across six exchanges' calendars, and passed one label per point.
No label control.Labels needs one string per point; a shorter array labels only the leading points (verified with 5 labels over 100 points). LabelEvery / MaxLabels belongs in ChartOpts.
Scale. With caps from $0.06T to $5.1T, the y-range flattens everything under the top three into indistinguishable lines. I built a second, percent-change series set to compare shapes.
Gaps. Whether NaN breaks a line is undocumented; I forward-filled to be safe.
Activity
albertwoo commentedon Nov 11, 2026
Fixed and merged in PR #14.