*/
circumference: number;
+ /**
+ * Arc offset (in pixels).
+ */
+ offset: number;
+
/**
* Starting angle to draw this dataset from.
* @default 0
*/
cutout: Scriptable<number | string, ScriptableContext<'doughnut'>>;
+ /**
+ * Arc offset (in pixels).
+ */
+ offset: number;
+
/**
* The outer radius of the chart. String ending with '%' means percentage of maximum radius, number means pixels.
* @default '100%'
--- /dev/null
+import { Chart, ChartMeta, Element } from '../../index.esm';
+
+const chart = new Chart('id', {
+ type: 'doughnut',
+ data: {
+ labels: [],
+ datasets: [{
+ data: [],
+ offset: 40,
+ }]
+ },
+ options: {
+ offset: 20,
+ }
+});