MAIDR JavaScript API
    Preparing search index...

    A rendered Frappe Charts instance. Only the fields the adapter reads are declared here.

    interface FrappeChart {
        data: FrappeData;
        config?: { maxSlices?: number };
        lineOptions?: { regionFill?: number };
    }
    Index

    Properties

    config?: { maxSlices?: number }

    The chart's resolved configuration. Only maxSlices is read, and only for pie / donut charts: Frappe collapses everything past that many slices into a single "Rest" wedge, and the conversion has to collapse the same way to stay aligned with the wedges it draws. Absent on a plain { data } object, in which case Frappe's own default (20) is assumed.

    lineOptions?: { regionFill?: number }

    The chart's line rendering options, an instance field on Frappe's AxisChart rather than part of config. Only regionFill is read: it is what fills the band between the line and the baseline, which makes the chart an area chart rather than a line chart, and reading it here means an author cannot mislabel one as the other. Absent on a plain { data } object — pass chartType: 'area' in that case.