-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathuser-styles.ts
More file actions
58 lines (57 loc) · 1.6 KB
/
user-styles.ts
File metadata and controls
58 lines (57 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import type {ChartData} from '../../../types';
export const pieUserStylesData: ChartData = {
series: {
data: [
{
type: 'pie',
borderRadius: 5,
borderWidth: 3,
center: ['25%', null],
dataLabels: {enabled: true},
data: [
{
name: 'One 1',
value: 50,
radius: '80%',
},
{
name: 'Two 1',
value: 20,
radius: '90%',
},
{
name: 'Three 1',
value: 90,
radius: '100%',
},
],
},
{
type: 'pie',
borderRadius: 5,
borderWidth: 3,
center: ['75%', null],
innerRadius: '50%',
radius: '75%',
dataLabels: {enabled: false},
data: [
{
name: 'One 2',
value: 50,
},
{
name: 'Two 2',
value: 20,
},
{
name: 'Three 2',
value: 90,
},
],
},
],
},
title: {text: 'Styled pies'},
legend: {enabled: false},
tooltip: {enabled: true},
};