ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

一款开源免费的WPF图表控件ModernuiCharts

2021-07-23 12:02:10  阅读:316  来源: 互联网

标签:控件 Silverlight code charts ModernuiCharts application WPF data


款简洁好看的Chart控件  支持WPF、silverlight、Windows8  ,基本够用,主要是开源免费的。(商业控件ComponentOne for WPF要4w多呢)

This project provides a small library to display charts in Modern UI Style (formerly known as Metro) in WPF, Silverlight and Windows 8applications. You can check the charts with the Silverlight test application here: http://www.tetracon.de/charts

Available Charts

  • ColumnChart (ClusteredColumnChart, StackedColumnChart, StackedColumnChart100Percent)
  • PieChart (PieChart and Dognut)
  • BarChart (ClusteredBarChart, StackedBarChart, StackedBarChart100Percent)
  • Doughnut Chart
  • Radial Gauge Chart

News

  • 2013-05-05: Release of BETA version with several bug fixes and new charts (Doughnut, Radial Gauge, improved test applications and many more)
  • 2013-05-04: Availability of Silverlight test application via http://www.tetracon.de/charts

Screenshots

Default Layout

Dark Layout

Custom Palette (e.g.. with gradients or mono chrome)

Easy Switch of Axes (same data, switched axes)

Intention 1
I needed Modern UI Charts for my own application which should run on Desktop (WPF), Web (Silverlight) and Windows 8 devices and I didn't want to use 3 different third party charting components. That’s why I created the charts from scratch and used them in the tool “SharePoint Code Analysis Framework (SPCAF)” (http://go.spcaf.com/VSGallery) which I have developed with Matthias Einig.

Intention 2
I think that XAML is the greatest way to "describe” the UI of an application via a markup language. I don’t want to miss things like data binding, styling of controls, data templates, animation of state changes, easy re-use of custom controls, design support with Blend and many more. I don’t hope that HTML5 and JavaScript are the only future for our UIs. That’s why I wanted to discover how the same XAML could be used “cross-plattform” in WPF, Silverlight and Windows 8. For the charts I wanted to use as much as possible of the same XAML code which is available on all these plattforms. So finally the code for the charts uses the lowest common XAML subset of all three worlds. Check out the sample application in this project and see how it works.

Features
The charts have been developed from scratch with keeping in mind to fully support MVVM data binding, styling, retemplating, animation, dynamic series etc.

  • Dynamic binding of data
  • Animation after loading and after changes to underlying data
  • Custom Color Palette
  • Hidable Title and Legend
  • Switchable series
  • Light and dark layout support
  • Configurable font size

Try it out
The download contains the binaries, source code and test applications for WPF, Windows 8 and Silverlight. Download the release and try it out.

Important
This code is intended to be a sample how code can be created for WPF, Silverlight and Windows8. The code is an BETA release and still may have some bugs!

Screenshot Windows 8

 
Screenshot WPF


Screenshot Silverlight

 

源码地址:https://archive.codeplex.com/?p=modernuicharts

标签:控件,Silverlight,code,charts,ModernuiCharts,application,WPF,data
来源: https://www.cnblogs.com/Im-Victor/p/15048251.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有