-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathSunburstItemMetadata.cs
28 lines (27 loc) · 1.1 KB
/
SunburstItemMetadata.cs
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
using DevExpress.DashboardCommon;
using System.ComponentModel;
namespace DevExpress.DashboardWin.CustomItemExtension {
[
DisplayName("Sunburst"),
CustomItemDescription("Create a Sunburst dashboard item and insert it into the dashboard.\n\nThe Sunburst combines a TreeMap and a Pie chart to visualize hierarchical data in a circular layout."),
CustomItemImage("DevExpress.DashboardWin.CustomItemExtension.Images.SunburstCustomItem.svg")
]
public class SunburstItemMetadata : CustomItemMetadata {
readonly DimensionCollection arguments = new DimensionCollection();
[
DisplayName("Value"),
EmptyDataItemPlaceholder("Value"),
]
public Measure Value {
get { return GetPropertyValue<Measure>(); }
set { SetPropertyValue(value); }
}
[
DisplayName("Arguments"),
EmptyDataItemPlaceholder("Argument"),
SupportColoring(DefaultColoringMode.None),
SupportInteractivity
]
public DimensionCollection Arguments { get { return arguments; } }
}
}