Module: Ccharts::Settings

Defined in:
lib/ccharts/settings.rb

Overview

Settings builders for each chart type. Every field is optional — unset fields take the C library's defaults (which is what the conformance suite checks byte-for-byte), and plain forces no ANSI escapes at all.

Each builder has a #to_ffi that materialises the matching C struct and returns [struct, keepalive], where keepalive holds every backing Fiddle::Pointer (labels, color escapes, ...) alive across the render call.

Defined Under Namespace

Classes: BarSettings, BoxSettings, ChartSettings, HeatSettings, HistSettings, PieSettings, SparkSettings, StackSettings