用于 VB.NET WPF 多点触控应用程序的组织结构图控件/插件

发布于 2024-09-30 20:11:30 字数 952 浏览 7 评论 0原文

我一直在开发一个 UI 应用程序(用 VB.NET 编写并使用 WPF),它使用 Windows 窗体的 Microsoft 图表控件创建图表。该应用程序定期从远程数据库检索数据,解析数据并格式化数据以创建系列,然后根据该系列创建图表,然后将其托管在 WindowsFormsHost 控件中。到目前为止,这个过程运作良好。

我现在的任务是添加组织结构图。要求规定它应该具有“向下钻取”和触摸功能。我一直无法找到像我一直在使用的图表控件那样的组织控件。我发现的最接近的一个是.NET Studio 附带的树视图控件。我查看了 WPF: Org Chart TreeView条件格式 SO问题,并阅读推荐的Josh Smith CodeProject 文章,但我的老板不希望我此时继续开发自己的组织控件。

是否有好的第三方解决方案/插件可用?它需要:

  • ...能够集成 作为控件进入 WPF(如 上面提到的图表控件),
  • ...动态生成组织结构图 通过连接到远程 Oracle 数据库检索数据的基础 在预定义视图或 特定的选择语句(或读取 平面文件以生成 XML 文件 包含所有关系和 分支),
  • ...有一个层次结构 可通过触摸导航,即触摸 节点将显示下面的分支 那个节点——再次触及该节点 会隐藏树枝。

非常感谢任何建议/帮助。我无法找到任何满足所有这些要求的第三方选项。

I have been working on a UI app (written in VB.NET and using WPF) which creates charts using the Microsoft Chart Control for Windows Forms. The application retrieves data periodically from a remote database, parses and formats the data to create series, and then creates a chart based off the series which is then hosted in a WindowsFormsHost control. So far this process has been working well.

I have now been tasked with adding an organizational chart. The requirements state that it should have "drill-down" and touch functionality. I have not been able to find an org control like the chart controls I have been using. The closest one I found was the tree view control that comes with .NET Studio. I have looked at the WPF: Org Chart TreeView Conditional Formatting SO question, and also read the recommended Josh Smith CodeProject articles, but my boss does not want me to pursue developing my own org control at this time.

Is there a good third-party solution/plug-in already available? It would need:

  • ...to be capable of being integrated
    into the WPF as a control (like the
    Chart Control mentioned above),
  • ...to generate org charts dynamically
    by connecting to a remote Oracle
    Database to retrieve the data based
    on either predefined views or
    specific select statements (or read a
    flat file to generate an XML file
    containing all the relationships and
    branches),
  • ...to have a hierarchy that was
    navigable by touch, i.e. touching a
    node would show the branches beneath
    that node--touching the node again
    would hide the branches.

Any suggestions/help are greatly appreciated. I haven't been able to find any third-party options that fit all these requirements.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夜无邪 2024-10-07 20:11:30

Unifosys Chart4.NET 是一个功能齐全的组织结构图组件:

文档:chart4.net

-支持数据库(ODBC)/datatable/XML/CSV
- 具有展开/折叠
-具有向下钻取和超链接
-适用于 winforms 和 webforms

从数据库创建组织结构图:
http://unifosys.com/hierarchy-chart/Create_Organization_Chart_From_Database_Sample.html

在线数据库演示:
http://organization.unifosys.com/Create_Organization_Chart_From_Database_Sample_WebForm.aspx

Unifosys Chart4.NET is a fully-featured organization chart component:

Documentation: chart4.net

-Supports database(ODBC)/datatable/XML/CSV
-Has Expand/Collapse
-Has Drill-down and hyperlinking
-Availbale for winforms and webforms

Create Org Chart from Database:
http://unifosys.com/hierarchy-chart/Create_Organization_Chart_From_Database_Sample.html

Online Database Demo:
http://organization.unifosys.com/Create_Organization_Chart_From_Database_Sample_WebForm.aspx

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文