日期:2014-05-20  浏览次数:21088 次

C#2010 mschart 如何生成连续的box chart 急!!!!
本帖最后由 dianzi011 于 2011-06-02 15:02:45 编辑 C# mschart控件的例子都是只生成只有一个box的boxchart,我想要的例子是:
一个月内,每天都有好多数据,chart按日期生成box,并在一个图上显示出来,类似point chart,只是将每天很多的point经过运算换成了每天一个box

效果如下图所示,不知如何实现,最好能提供code



附微软提供的只有一个box的code:
// Add data to Box Plot Source series.
yValues = {55.62, 45.54, 73.45, 9.73, 88.42, 45.9, 63.6, 85.1, 67.2, 23.6};
Chart1.Series["DataSeries"].Points.DataBindY(yValues);

// Specify data series name for the Box Plot.
Chart1.Series["BoxPlotSeries"]["BoxPlotSeries"] = "DataSeries";

// Set other custom attributes
Chart1.Series["BoxPlotSeries"]["BoxPlotWhiskerPercentile"] = "15";
Chart1.Series["BoxPlotSeries"]["BoxPlotShowAverage"] = "true";
Chart1.Series["BoxPlotSeries"]["BoxPlotShowMedian"] = "true";
Chart1.Series["BoxPlotSeries"]["BoxPlotShowUnusualValues"] = "true";

------解决方案--------------------
看不到图片
------解决方案--------------------
引用:
看不到图片


图片我传不上,具体就是一个chart中按日期显示多个box

我现在想用DataBindCrossTable这个函数绑定数据,发现不行。。。
------解决方案--------------------
BOX chart 每人用过???
------解决方案--------------------
LZ有法子解决吗?遇到同样问题