#Devexpress chart how to
This video demonstrates how to use the Organization Chart functionality to generate relationship diagrams from the data source. These options are available from the orgChartController‘s Smart Tag. 4 minutes to read The DevExpress Chart Control for WinForms (ChartControl) is a powerful tool that allows you to visualize data as bars, areas, lines, and so on. Specifies the number of hierarchy levels that expand when the diagram is generated. Specifies the number of hierarchy levels retrieved from the data source when the diagram is generated. PropertyĭiagramOrgChartController.ExpandSubordinatesButtonModeĬontrols the availability of the expand/collapse button.ĭiagramOrgChartController.GenerationDepth The following properties allow you to configure the expand/collapse behavior. To make the resulting diagram easier to navigate, the DiagramOrgChartController introduces the expand/collapse functionality.
Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.
#Devexpress chart android
Regardless of the data source or the way application information is stored, the Chart Control promises flexibility and speed in its input data consumption as well as its ability to display information on-screen or on a printed page. DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, Delphi, HTML5 or iOS & Android development.
When you bind to a large data source, the generated diagram may occupy much space on the canvas. The ASP.NET Charts Suite offers a comprehensive set of 2D and 3D charts to address a broad range of business requirements. The following example demonstrates the DiagramControl bound to hierarchical data. Specifies the path to the property that contains subordinates of a diagram item.ĭiagramOrgChartController.ChildrenSelectorĪllows choosing an item’s subordinates based on custom logic. Specifies the path to a collection of root items. (via DiagramDataBindingControllerBase.DataSource) The following table lists the properties used to map the DiagramControl to hierarchical data.
Each item stores a collection of its subordinates. The following image demonstrates the result.Ī hierarchical data source usually contains a collection of root items. Using the Item Template Designer, map the shape’s Content property to the Employee.Name. Public Property Data() As List(Of Employee)ĭiagramOrgChartController1.DataSource = chart.Data ĭiagramOrgChartController1.DataSource = chart.Data