关键代码: using System; using System.Data; using System.Windows.Forms; using DevExpress.XtraCharts; namespace DevExpressChart { public partial class winDateTime : Form { public winDateTime() { InitializeComponent(); } private void winDateTime_Load(object…
using DevExpress.XtraCharts; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace WindowsFormsApplication1张奎…
关键代码: using System; using System.Data; using System.Windows.Forms; using CSharpUtilHelpV2; using DevExpress.XtraCharts; namespace DevExpressChart { public partial class winProduct : Form { public winProduct() { InitializeComponent(); } static readonl…
效果图一. public partial class Form3 : Form { public Form3() { InitializeComponent(); } private void Form3_Load(object sender, EventArgs e) { // Create an empty chart. ChartControl PieChart3D = new ChartControl(); // Create a pie series. Series series1 =…
Winform程序 ChartControl的RuntimeHitTesting属性一定要设为True. Line Series markers的Visible一定要弄成True.CalcHitInfo的SeriesPoint一直为null,最后跑到devexpress support center上问的(这个问题自己都抓狂了很久,完全懵逼的状态,说多了都是泪/(ㄒoㄒ)/~~).我的dev版本是13.1.5,设置属性的方法是Series->View->MarkerVisibility.有的版…
//using DevExpress.XtraEditors; //using DevExpress.XtraCharts; // Create an empty chart. ChartControl sideBySideBarChart = new ChartControl(); // Create the first side-by-side bar series and add points to it. Series series1 = new Series("Side-by-Side…
关键代码: using System; using System.Data; using System.Windows.Forms; using CSharpUtilHelpV2; using DevExpress.XtraCharts; namespace DevExpressChart { public partial class winGsp : Form { public winGsp() { InitializeComponent(); } static readonly string…
关键代码: using System; using System.Data; using System.Windows.Forms; using DevExpress.XtraCharts; namespace DevExpressChart { public partial class winPieSeriesView : Form { public winPieSeriesView() { InitializeComponent(); } private DataTable CreateCh…
using System; using System.Data; using System.Windows.Forms; using DevExpress.XtraCharts; namespace DevExpressChart { public partial class winDateTime : Form { public winDateTime() { InitializeComponent(); } private void winDateTime_Load(object sende…
加标题: using System; using System.Windows.Forms; using DevExpress.XtraCharts; // ... namespace SideBySideBar2D { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { // Crea…
用字典方式存储数据并绘图:http://www.xuebuyuan.com/465384.html 数据库存储数据,并对图形作各种设置:http://www.cnblogs.com/xuhaibiao/archive/2012/08/23/2652142.html 有图有代码:http://www.cnblogs.com/xuhaibiao/archive/2012/08/23/2652148.html using DevExpress.XtraCharts; using System…