程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> .NET網頁編程 >> C# >> C#入門知識 >> csharp:Chart,csharpchart

csharp:Chart,csharpchart

編輯:C#入門知識

csharp:Chart,csharpchart


http://www.dotnetperls.com/chart

using System;
using System.Windows.Forms;
using System.Windows.Forms.DataVisualization.Charting;////net4.0需添加引用

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
	public Form1()
	{
	    InitializeComponent();
	}

	private void Form1_Load(object sender, EventArgs e)
	{
	    // Data arrays.
	    string[] seriesArray = { "Cats", "Dogs" };
	    int[] pointsArray = { 1, 2 };

	    // Set palette.
	    this.chart1.Palette = ChartColorPalette.SeaGreen;

	    // Set title.
	    this.chart1.Titles.Add("Pets");

	    // Add series.
	    for (int i = 0; i < seriesArray.Length; i++)
	    {
		// Add series.
		Series series = this.chart1.Series.Add(seriesArray[i]);

		// Add point.
		series.Points.Add(pointsArray[i]);
	    }
	}
    }
}

  

http://stackoverflow.com/questions/10622674/chart-creating-dynamically-in-net-c-sharp

https://msdn.microsoft.com/en-us/library/system.windows.forms.datavisualization.charting.chart.aspx

https://github.com/beto-rodriguez/Live-Charts

http://gigasoft.com/netchart.html

http://www.codeproject.com/Articles/9318/Drawing-a-Dynamic-Chart-in-C

https://github.com/killnine/MetroChart

https://github.com/martinobordin/Chart.Mvc

https://github.com/veigr/LevelChartPlugin

https://github.com/beto-rodriguez/Live-Charts

https://github.com/igorcrevar/WPFCanvasChart

https://github.com/imclem/Highcharts-export-module-asp.net

https://github.com/ButchersBoy/SystemColorChart

https://github.com/lukencode/FlugleCharts

https://github.com/HammerZhao/Chart

https://github.com/helloyou2012/ChartProject

https://github.com/HoussemDellai/Xamarin-Forms-Pie-Chart

https://github.com/hwthomas/NPlot

 

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved