有使用dotnetCharting的吗?

zhujinqiang 2009-10-16 10:46:46
大家用的是什么版本?
...全文
127 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
lvxianda 2010-01-18
  • 打赏
  • 举报
回复
dotnetCharting 带logo的不过开源 还不错
Dundas Chart 也不错 基于reporting service的

最近出的ASP.NET Charting Control也很好
http://weblogs.asp.net/scottgu/archive/2008/11/24/new-asp-net-charting-control-lt-asp-chart-runat-quot-server-quot-gt.aspx


zhujinqiang 2009-11-03
  • 打赏
  • 举报
回复
楼上你这个是 Microsoft Chart Controls艾
autton 2009-10-22
  • 打赏
  • 举报
回复
<asp:chart id="Chart1" runat="server" Height="296px" Width="412px" ImageLocation="~/TempImages/ChartPic_#SEQ(300,3)" Palette="BrightPastel" imagetype="Png" BorderDashStyle="Solid" BackSecondaryColor="White" BackGradientStyle="TopBottom" BorderWidth="2" backcolor="#D3DFF0" BorderColor="26, 59, 105">
<legends>
<asp:Legend IsTextAutoFit="False" Name="Default" BackColor="Transparent" Font="Trebuchet MS, 8.25pt, style=Bold"></asp:Legend>
</legends>
<borderskin skinstyle="Emboss"></borderskin>
<series>
<asp:Series Name="Column" BorderColor="180, 26, 59, 105">
<points>
<asp:DataPoint YValues="45" />
<asp:DataPoint YValues="34" />
<asp:DataPoint YValues="67" />
<asp:DataPoint YValues="31" />
<asp:DataPoint YValues="27" />
<asp:DataPoint YValues="87" />
<asp:DataPoint YValues="45" />
<asp:DataPoint YValues="32" />
</points>
</asp:Series>
</series>
<chartareas>
<asp:ChartArea Name="ChartArea1" BorderColor="64, 64, 64, 64" BorderDashStyle="Solid" BackSecondaryColor="White" BackColor="64, 165, 191, 228" ShadowColor="Transparent" BackGradientStyle="TopBottom">
<area3dstyle Rotation="10" perspective="10" Inclination="15" IsRightAngleAxes="False" wallwidth="0" IsClustered="False"></area3dstyle>
<axisy linecolor="64, 64, 64, 64">
<labelstyle font="Trebuchet MS, 8.25pt, style=Bold" />
<majorgrid linecolor="64, 64, 64, 64" />
</axisy>
<axisx linecolor="64, 64, 64, 64">
<labelstyle font="Trebuchet MS, 8.25pt, style=Bold" />
<majorgrid linecolor="64, 64, 64, 64" />
</axisx>
</asp:ChartArea>
</chartareas>
</asp:chart>
使用很方便,设置两个区域:series和ChartArea。
在设置好什么样的图表后,将你的数据在series里面进行填充。
 // Create new data series and set it's visual attributes
Series series = new Series("Spline");
series.ChartType = SeriesChartType.Spline;
series.BorderWidth = 3;
series.ShadowOffset = 2;

// Populate new series with data
series.Points.AddY(67);
series.Points.AddY(57);
series.Points.AddY(83);
series.Points.AddY(23);
series.Points.AddY(70);
series.Points.AddY(60);
series.Points.AddY(90);
series.Points.AddY(20);

// Add series into the chart's series collection
Chart1.Series.Add(series);
autton 2009-10-22
  • 打赏
  • 举报
回复
http://www.microsoft.com/downloads/details.aspx?FamilyId=130F7986-BF49-4FE5-9CA8-910AE6EA442C&displaylang=en
Microsoft Chart Controls for Microsoft .NET Framework 3.5

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=1d69ce13-e1e5-4315-825c-f14d33a303e9
Microsoft Chart Controls Add-on for Microsoft Visual Studio 2008
使用前需要下载安装上面两个,一个为chart framework,一个为Chart Visual Studio控件,安装了这两个你就可以用Chart进行开发图表了。注意,在使用时web.config里面有几处需要手工进行配置,才能正常使用Chart组件,具体的我忘记了,这个可以在网上搜到。

http://code.msdn.microsoft.com/mschart/Release/ProjectReleases.aspx?ReleaseId=1591
Samples Environment for Microsoft Chart Controls (里面有asp.net和winform例子,使用起来很方便)参照例子,学起来很方便。
zhujinqiang 2009-10-21
  • 打赏
  • 举报
回复
用过的来说说撒。
meema 2009-10-19
  • 打赏
  • 举报
回复
没用过 呵呵
zhujinqiang 2009-10-16
  • 打赏
  • 举报
回复
我刚找了个 dotnetCharting 4.4 WinForm/WebForm for VS2003
zhaozhijun0207 2009-10-16
  • 打赏
  • 举报
回复
还没用过

4,816

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 图表区
社区管理员
  • 图表区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧