MAIDR JavaScript API
    Preparing search index...

    Type Alias FrappeChartType

    FrappeChartType:
        | "area"
        | "axis-mixed"
        | "bar"
        | "bump"
        | "diverging"
        | "donut"
        | "dot"
        | "line"
        | "percentage"
        | "pie"
        | "scatter"

    Chart-type strings the adapter can convert.

    These are the adapter's names, not Frappe's own type strings. Frappe v1.6.2 draws only bar, line, axis-mixed, pie, donut, percentage and a calendar heatmap; several distinct statistical charts are all drawn with type: 'line' or type: 'bar' and differ only in their options or in what the numbers mean, which no chart instance records. Naming them here is how the author says which chart they drew, so MAIDR announces that one:

    • 'scatter' / 'dot'type: 'line' with lineOptions.hideLine
    • 'area'type: 'line' with lineOptions.regionFill (also inferred)
    • 'bump' — a multi-dataset type: 'line' chart whose y values are ranks
    • 'diverging' — a two-dataset type: 'bar' chart with signed values

    'percentage' is Frappe's own name as well as the adapter's: it is the one chart here that MAIDR reads as a different shape than Frappe draws it. See FrappeChartAdapterOptions.chartType and docs/frappe.md.

    The calendar-style heatmap is not supported: it is a year of days keyed by date, structurally unlike MAIDR's labelled matrix.