SankeyTitleCollection.AddRange(IEnumerable<SankeyTitle>) Method
In This Article
Adds multiple Sankey titles to the SankeyTitleCollection.
Namespace: DevExpress.Xpf.Charts.Sankey
Assembly: DevExpress.Xpf.Charts.v24.2.dll
NuGet Package: DevExpress.Wpf.Charts
#Declaration
public void AddRange(
IEnumerable<SankeyTitle> items
)
#Parameters
Name | Type | Description |
---|---|---|
items | IEnumerable<Sankey |
A range of titles. |
#Remarks
The following example adds two titles to the Sankey diagram:
sankeyDiagramControl1.Titles.AddRange(new List<SankeyTitle> {
new SankeyTitle() {
Content="Export/Import",
Dock = Dock.Top,
HorizontalAlignment= HorizontalAlignment.Center },
new SankeyTitle() {
Content="2019",
Dock = Dock.Bottom,
HorizontalAlignment= HorizontalAlignment.Center }
});
See Also