Coder Social home page Coder Social logo

devexpress-examples / winforms-dashboard-designer-merge-dashboards-to-tabs Goto Github PK

View Code? Open in Web Editor NEW
1.0 58.0 1.0 182 KB

This example creates a single merged dashboard from multiple individual dashboards, inserting them as tab pages in a tab container.

License: Other

C# 54.26% Visual Basic .NET 45.74%
business-intelligence tabs winforms-dashboard combination winforms winforms-dashboard-designer desktop dashboard-for-winforms

winforms-dashboard-designer-merge-dashboards-to-tabs's Introduction

BI Dashboard for WinForms - How to Combine Multiple Dashboards into a Dashboard with Multiple Tab Pages

This example creates a single merged dashboard from multiple individual dashboards, inserting them as tab pages in a tab container.

Run the application. Click the Merge Dashboard button in the dashboard title. In the Open file dialog select the "sample-dashboard.xml" and "another-sample-dashboard.xml" files (you can select any other dashboard xml definition files) and click Open.

screenshot

To insert a dashboard as a tab page contained in another dashboard, the application performs the following tasks:

  1. Load the specified dashboard and check whether it has a tab container.
  2. Copy dashboard data sources and resolve name conflicts. Create a dictionary containing old and new names.
  3. Copy dashboard groups and resolve name conflicts. Create a dictionary containing old and new names.
  4. Copy dashboard items except groups and resolve name conflicts. Create a dictionary containing old and new names. Update data bindings using the data source names dictionary created while resolving the data source name conflicts.
  5. Update the layout. Move the layout root to the tab page as a child node. Item and group names specified as source items for the layout items should be updated if they are changed while resolving name conflicts.

In a merged dashboard, you can clean up the data source collection by discovering identical data sources with different names and using the Data Source Browser command button to switch the data source for the selected dashboard item:

DataSourceBrowser

Files to Review

Documentation

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

winforms-dashboard-designer-merge-dashboards-to-tabs's People

Contributors

alexanderkovalenko avatar briandx avatar natakazakova avatar ritazakhodyaeva avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

bechirzf

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.