将 ASP.NET 图表控件输出保存在服务器上?

发布于 2024-09-28 05:23:35 字数 125 浏览 1 评论 0原文

我现在刚刚熟悉 .NET 图表控件。我想知道是否可以将图表的内容保存为服务器上的 .jpg 或类似文件。

我希望能够让用户下载文件或在非 .net 页面中将其显示给用户。

我认为应该可以做到这一点。如何?

I'm just now getting familiar with the .NET chart controls. I'd like to know if I can save the contents of a chart as a .jpg or similar file on the server.

I would like to be able to have the user download the file or display it to the user in a non-.net page.

I think it should be possible to do this. How?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

放赐 2024-10-05 05:23:35

中使用它

在 asp:chart ImageStorageMode="UseImageLocation"
ImageLocation="~/your server path"

ImageType="Png"

服务器路径 示例:~/Images/TempImages/compare

比较的是图像的名称

use this in asp:chart

ImageStorageMode="UseImageLocation"
ImageLocation="~/your server path"

ImageType ="Png"

server path example:~/Images/TempImages/compare

compare is the name of image

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文