-
Notifications
You must be signed in to change notification settings - Fork 4
/
SankeyItemMetadata.vb
37 lines (35 loc) · 1.36 KB
/
SankeyItemMetadata.vb
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
Imports System.ComponentModel
Imports DevExpress.DashboardCommon
Namespace DevExpress.DashboardWin.CustomItemExtension
<DisplayName("Sankey"), CustomItemDescription("Create a Sankey diagram dashboard item and insert it into the dashboard." & vbLf & vbLf & "The Sankey diagram visualizes data as weighted flows or relationships between nodes."), CustomItemImage("SankeyCustomItem.svg")>
Public Class SankeyItemMetadata
Inherits CustomItemMetadata
<DisplayName("Weight"), EmptyDataItemPlaceholder("Weight")>
Public Property Weight() As Measure
Get
Return GetPropertyValue(Of Measure)()
End Get
Set(ByVal value As Measure)
SetPropertyValue(value)
End Set
End Property
<DisplayName("Target"), EmptyDataItemPlaceholder("Target"), SupportColoring(DefaultColoringMode.None), SupportInteractivity>
Public Property Target() As Dimension
Get
Return GetPropertyValue(Of Dimension)()
End Get
Set(ByVal value As Dimension)
SetPropertyValue(value)
End Set
End Property
<DisplayName("Source"), EmptyDataItemPlaceholder("Source"), SupportColoring(DefaultColoringMode.Hue), SupportInteractivity>
Public Property Source() As Dimension
Get
Return GetPropertyValue(Of Dimension)()
End Get
Set(ByVal value As Dimension)
SetPropertyValue(value)
End Set
End Property
End Class
End Namespace