|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
Owning chart settings, validated during preparation. More...
#include <chart.hpp>
Public Attributes | |
| ChartMode | mode {ChartMode::LINE} |
| Render closes or OHLC candles. | |
| std::optional< ChartRange > | y_range |
| Explicit finite scale, or automatic visible-only scale. | |
| CellStyle | background |
| Clear the complete local viewport with this style. | |
| CellStyle | line {RgbColor{80, 180, 240}, {}, false, false, false} |
| Line and isolated point style. | |
| CellStyle | rising {RgbColor{60, 200, 120}, {}, false, false, false} |
| Close >= open candle style. | |
| CellStyle | falling {RgbColor{230, 90, 90}, {}, false, false, false} |
| Close < open candle style. | |
| WidthPolicy | width_policy |
| Captured text policy; frame renderer must use the same policy. | |
| ChartGlyphSet | glyph_set {ChartGlyphSet::ASCII} |
| Candle appearance; ASCII preserves the portable default. | |
| std::int32_t | candle_gap {} |
| Nonnegative empty columns between candles; ignored in LINE mode. | |
Owning chart settings, validated during preparation.