Skip to content

warp view pie

xavier edited this page Oct 23, 2020 · 5 revisions

Pie, donut

type = pie

pie

type = donut

donut

CSS vars

  • Tooltip
    • --warp-view-chart-legend-bg
    • --warp-view-chart-legend-color
  • Size
    • --warp-view-chart-width
    • --warp-view-chart-height

Specific attributes

See common attributes

Events

See common events

Data format

GTS, GTS array, complex data or specific format for data:

[
    {
        "key":"serie0",
        "value":0.5018233101070095
    },
    {
        "key":"serie1",
        "value":0.3114082214643945
    },
    ...
]

Specific complex data params

Name Type Description
datasetColor string Color of the trace

Specific options and globalParams

See common options