You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/sankey/data-bind.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,10 +29,10 @@ The `SankeyDataLink` object contains all the information for the link. It expose
29
29
30
30
| Property | Type and Default Value | Description |
31
31
| --------- | ---- | ----------- |
32
-
|`ColorType`|`SankeyLinksColorType` enum <br/> (`SankeyLinksColorType.Static`) | The color type of the link. Provides the following values <ul><li>`Static` the link color is set based on the `Color` property;</li><li>`Source` - the link color is set based on the source node color; </li><li>`Target` - the link color is set based on the target node color; </li></ul> |
33
-
|`Color`|`string`| The color of the link. Applies when `ColorType="@SankeyLinksColorType.Static"`. |
32
+
|`ColorType`|`SankeyLinksColorType` enum <br/> (`Static`) | The color type of the link. Provides the following values <ul><li>`Static` the link color is set based on the `Color` property;</li><li>`Source` - the link color is set based on the source node color; </li><li>`Target` - the link color is set based on the target node color; </li></ul> |
33
+
|`Color`|`string`<br/> (`#666666`) | The color of the link. Applies when `ColorType="@SankeyLinksColorType.Static"`. |
34
34
|`Highlight`|[`SankeyDataLinkHighlight`](/blazor-ui/api/Telerik.Blazor.Components.SankeyDataLinkHighlight)| The opacity of the active and inactive links when the user hovers a link. |
35
-
|`Opacity`|`double?`| The opacity of the link. |
35
+
|`Opacity`|`double?`<br/> (`0.4`) | The opacity of the link. |
36
36
|`SourceId`|`object`| The source node ID of the link. The source node is the node from which the link originates. Required. |
37
37
|`TargetId`|`object`| The target node ID of the link. The target node is the node to which the link points. Required. |
38
38
|`Value`|`double?`| The value of the link. The value represents the weight of the link and determines the width of the link. Required. |
@@ -49,10 +49,10 @@ The `SankeyDataNode` object contains all the information for the node and its la
49
49
|`Id`|`object`| The ID of the node. The ID is used to connect the nodes with the links. Required. |
50
50
|`Label`|[`SankeyDataNodeLabel`](/blazor-ui/api/Telerik.Blazor.Components.SankeyDataNodeLabel)| Contains all the information for the node label - text, alignment, color, border and more. |
51
51
|`Offset`|[`SankeyDataNodeOffset`](/blazor-ui/api/Telerik.Blazor.Components.SankeyDataNodeOffset)| The left and top offset of the node from the `<div class="k-sankey">` container. |
52
-
|`Opacity`|`double?`| The opacity of the node. |
52
+
|`Opacity`|`double?`<br/> (`1`) | The opacity of the node. |
53
53
|`Padding`|`double?`| The minimum vertical space between two nodes. |
54
-
|`Width`|`double?`| The width of the node. |
55
-
|`Align`|`SankeyNodesAlign?` enum <br/> (`SankeyNodesAlign.Stretch`) | The alignment of the node. Supports the following values - `Stretch`, `Left`, and `Right`.|
54
+
|`Width`|`double?`<br/> (`24`)| The width of the node. |
55
+
|`Align`|[`SankeyNodesAlign?` enum](/blazor-ui/api/telerik.blazor.sankeynodesalign) <br/> (`Stretch`) | The alignment of the node.|
56
56
57
57
>tip The visual properties (`Color`, `Opacity` etc.) are not required. You can use these properties to [provide custom settings for the separate nodes through the data](#customize-elements-through-data). If you want to apply the same settings for all the nodes and labels in the Sankey use the component options for [nodes]({%slug sankey-nodes%}) and [labels]({%slug sankey-labels%}).
Copy file name to clipboardExpand all lines: components/sankey/elements/labels.md
+31-34Lines changed: 31 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,10 +21,10 @@ To customize the labels, declare a `<SankeyLabels>` tag as a direct child of `<T
21
21
22
22
| Parameter | Type and Default Value | Description |
23
23
| --------- | ---- | ----------- |
24
-
|`Align`|`string`| The alignment of the labels. |
25
-
|`Color`|`string`| The color of the labels. |
26
-
|`Font`|`string`| The font of the labels. |
27
-
|`Position`|`string`<br/> (`inside`) | The position of the labels. The supported values are: <ul><li>`inside` - the label is positioned after the node, except for the nodes at the end of the Sankey, that are placed before the node;</li><li>`before` - the label is positioned before the node; </li><li>`after` - the label is positioned after the node; </li></ul>|
24
+
|`Align`|[`SankeyLabelsAlign` enum](/blazor-ui/api/telerik.blazor.sankeylabelsalign) <br/> (`Left`)| The alignment of the labels. |
25
+
|`Color`|`string`<br/> (`rgb(66, 66, 66)`) | The color of the labels. |
26
+
|`Font`|`string`<br/> (`14px Metric, Arial, Helvetica, sans-serif`)| The font of the labels. |
27
+
|`Position`|[`SankeyLabelsPosition` enum](/blazor-ui/api/telerik.blazor.sankeylabelsposition)<br/> (`Inside`) | The position of the labels. |
28
28
|`Visible`|`bool` <br/> (`true`) | Whether the labels are visible. |
29
29
30
30
@@ -39,8 +39,8 @@ By design, the labels do not have border. You may add border by declaring the `<
39
39
| Parameter | Type and Default Value | Description |
40
40
| --------- | ---- | ----------- |
41
41
|`Color`|`string`| The color of the border. |
42
-
|`DashType`|`DashType` enum <br/> (`DashType.Solid`) | The type of the border. |
43
-
|`Width`|`double?`| The width of the border. |
42
+
|`DashType`|[`DashType` enum](/blazor-ui/api/telerik.blazor.dashtype) <br/> (`Solid`) | The style of the border. |
43
+
|`Width`|`double?`<br/> (`0`)| The width of the border. |
44
44
45
45
### Margin
46
46
@@ -78,16 +78,15 @@ The `<SankeyLabelsStroke>` child tag provides the following properties:
78
78
| Parameter | Type | Description |
79
79
| --------- | ---- | ----------- |
80
80
|`Color`|`string`| The color of the stroke. |
81
-
|`LineJoin`|`string`| The [line join](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-linejoin) of the stroke. |
82
-
|`Left`|`double?`| The width of the stroke. |
81
+
|`Width`|`double?` <br/> (`0`) | The width of the stroke. |
83
82
84
83
## Example
85
84
86
-
Here is an example customization of the labels in the Sankey diagram.
85
+
>caption Customizing the labels in the Sankey diagram
Copy file name to clipboardExpand all lines: components/sankey/elements/legend.md
+31-32Lines changed: 31 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,13 +19,13 @@ To customize the legend in the Sankey chart, declare a `<SankeyLegend>` tag as a
19
19
20
20
| Parameter | Type and Default Value | Description |
21
21
| --------- | ---- | ----------- |
22
-
|`Align`|`SankeyLegendAlign` enum | The alignment of the legend. |
22
+
|`Align`|[`SankeyLegendAlign` enum](/blazor-ui/api/telerik.blazor.sankeylegendalign) <br/> (`Start`)| The alignment of the legend. |
23
23
|`Background`|`string`| The background color of the legend. |
24
24
|`Height`|`double?`| The height of the legend. |
25
25
|`OffsetX`|`double?`| The X offset of the legend. The offset is relative to the current position of the legend. |
26
26
|`OffsetY`|`double?`| The Y offset of the legend. The offset is relative to the current position of the legend. |
27
-
|`Orientation`|`SankeyLegendOrientation` enum <br/> (`SankeyLegendOrientation.Horizontal`) | The orientation of the legend. |
28
-
|`Position`|`SankeyLegendPosition` enum <br/> (`SankeyLegendPosition.Bottom`)| The position of the legend. |
27
+
|`Orientation`|[`SankeyLegendOrientation` enum](/blazor-ui/api/telerik.blazor.sankeylegendorientation) <br/> (`Horizontal`) | The orientation of the legend. |
28
+
|`Position`|[`SankeyLegendPosition` enum](/blazor-ui/api/telerik.blazor.sankeylegendposition) <br/> (`Bottom`)| The position of the legend. |
29
29
|`Reverse`|`double?`| Whether the legend items are reversed. |
30
30
|`Spacing`|`double?`| The spacing between the labels of the legend. |
31
31
|`Visible`|`bool?` <br/> (`true`) | Whether the legend is visible. |
@@ -52,57 +52,56 @@ The `<SankeyLegend>` tag exposes nested tags for further customization of the se
52
52
53
53
## Example
54
54
55
-
Customize the Sankey legend by using nested tag settings.
55
+
>caption Customizing the Sankey legend by using nested tag settings
Copy file name to clipboardExpand all lines: components/sankey/elements/links.md
+26-28Lines changed: 26 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ To customize the nodes, declare the `<SankeyLinks>` tag as a direct child of `<T
21
21
22
22
| Parameter | Type and Default Value | Description |
23
23
| --------- | ---- | ----------- |
24
-
|`ColorType`|`SankeyLinksColorType` enum <br /> (`Static`) | The origin of the link color: <ul><li>`Static` - the link color is based on the `Color` property;</li><li>`Source` - the link color is based on the source node color; </li><li>`Target` - the link color is based on the target node color; </li></ul>|
24
+
|`ColorType`|[`SankeyLinksColorType` enum](/blazor-ui/api/telerik.blazor.sankeylinkscolortype) <br /> (`Static`) | The origin of the link color: could be based on the `Color` property, on the source node color, or on the target node color.|
25
25
|`Color`|`string` <br/> (`#666666`) | The color of the links. Applies when `ColorType="@SankeyLinksColorType.Static"`. |
26
26
|`Opacity`|`double?` <br/> (`0.4`) | The opacity of the links. |
27
27
@@ -36,52 +36,50 @@ The `<SankeyLinks>` tag exposes a child `<SankeyLinksHighlight>` tag that allows
36
36
37
37
## Example
38
38
39
-
Here is an example customization of the links in the Sankey Diagram.
39
+
>caption Customizing the links in the Sankey diagram
0 commit comments