Skip to main content
Module

x/fresh_charts/deps.ts>ChartJs.DoughnutControllerDatasetOptions

A server-side-rendered charting library for Fresh
Go to Latest
interface ChartJs.DoughnutControllerDatasetOptions
import { type ChartJs } from "https://deno.land/x/fresh_charts@0.2.0/deps.ts";
const { DoughnutControllerDatasetOptions } = ChartJs;

Properties

circumference: number

Sweep to allow arcs to cover.

offset: number

Arc offset (in pixels).

rotation: number

Starting angle to draw this dataset from.

weight: number

The relative thickness of the dataset. Providing a value for weight will cause the pie or doughnut dataset to be drawn with a thickness relative to the sum of all the dataset weight values.

spacing: number

Similar to the offset option, but applies to all arcs. This can be used to to add spaces between arcs