资源简介

开发实例,可显示24中不同风格的Visifire图表,内含源码、Access数据库、Visifire控件,程序可直接运行查看效果。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Data;
using System.Data.SqlClient;
using Visifire.Charts;
using Visifire.Commons;

namespace 图表
{
    /// 
    /// ducChart.xaml 的交互逻辑
    /// 

    public partial class ducChart : UserControl
    {
        public ducChart()
        {
            InitializeComponent();
        }

        public DataTable DtChartData
        {
            get;
            set;
        }

        public void CreateChart(string type)
        {
            switch (type.Trim())
            {
                case “LinesChart“:
                    LinesChart();
                    break;
                case “ColumnsChart“:
                    ColumnsChart();
                    break;
                case “AreaChart“:
                    AreaChart();
                    break;
                case “BarChart“:
                    BarChart();
                    break;
                case “BubbleChart“:
                    BubbleChart();
                    break;
                case “CandleStickChart“:
                    CandleStickChart();
                    break;
                case “DoughnutChart“:
                    DoughnutChart();
                    break;
                case “PieChart“:
                    PieChart();
                    break;
                case “PointChart“:
                    PointChart();
                    break;
                case “PolarChart“:
                    PolarChart();
                    break;
                case “PyramidChart“:
                    PyramidChart();
                    break;
                case “QuickLineChart“:
                    QuickLineChart();
                    break;
                case “RadarChart“:
                    RadarChart();
                    break;
                case “SectionFunnelChart“:
                    SectionFunnelChart();
                    break;
                case “SplineChart“:
                    SplineChart();
                    break;
                case “StackedAreaChart“:
                    StackedAreaChart();
                    break;
                case “StackedArea100Chart“:
                    StackedArea100Chart();
                    break;
                case “StackedBarChart“:
                    StackedBarChart();
                    break;
                case “StackedBar100Chart“:
                    StackedBar100Chart();
                    break;
                case “StackedColumnChart“:
                    StackedColumnChart();
                    break;
      

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2011-10-16 15:17  图表\
     文件         327  2011-10-15 13:26  图表\App.config
     文件        7641  2011-10-16 15:16  图表\Form1.Designer.cs
     文件        2831  2011-10-16 15:17  图表\Form1.cs
     文件        5814  2011-10-16 15:16  图表\Form1.resx
     文件         487  2011-10-15 10:55  图表\Program.cs
     目录           0  2011-10-15 10:55  图表\Properties\
     文件        1362  2011-10-15 10:55  图表\Properties\AssemblyInfo.cs
     文件        2862  2011-10-15 10:55  图表\Properties\Resources.Designer.cs
     文件        5612  2011-10-15 10:55  图表\Properties\Resources.resx
     文件        1091  2011-10-15 10:55  图表\Properties\Settings.Designer.cs
     文件         249  2011-10-15 10:55  图表\Properties\Settings.settings
     文件      459104  2011-07-08 10:19  图表\WPFToolkit.dll
     文件     1127936  2011-09-08 19:05  图表\WPFVisifire.Charts.dll
     文件      273408  2011-09-08 19:05  图表\WPFVisifire.Gauges.dll
     目录           0  2011-10-15 13:23  图表\bin\
     目录           0  2011-10-16 15:15  图表\bin\Debug\
     文件     8257536  2011-10-15 14:51  图表\bin\Debug\Northwind.mdb
     文件      459104  2011-07-08 10:19  图表\bin\Debug\WPFToolkit.dll
     文件     1127936  2011-09-08 19:05  图表\bin\Debug\WPFVisifire.Charts.dll
     文件      273408  2011-09-08 19:05  图表\bin\Debug\WPFVisifire.Gauges.dll
     文件       24576  2011-10-16 15:15  图表\bin\Debug\图表.exe
     文件         327  2011-10-15 13:26  图表\bin\Debug\图表.exe.config
     文件       54784  2011-10-16 15:15  图表\bin\Debug\图表.pdb
     文件       14848  2011-10-16 15:16  图表\bin\Debug\图表.vshost.exe
     文件         327  2011-10-15 13:26  图表\bin\Debug\图表.vshost.exe.config
     文件         490  2009-06-11 05:14  图表\bin\Debug\图表.vshost.exe.manifest
     文件         275  2011-10-15 11:21  图表\ducChart.xaml
     文件       26241  2011-10-15 15:41  图表\ducChart.xaml.cs
     目录           0  2011-10-15 10:55  图表\obj\
     目录           0  2011-10-16 15:15  图表\obj\Debug\
............此处省略18个文件信息

评论

共有 条评论