如何在C#中保存图表x,y数据 [英] How can I save the chart x, y data in C#

查看:90
本文介绍了如何在C#中保存图表x,y数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计我需要使用c#



我尝试过:
$ b我将图表数据保存在txt文件中$ b

将我的图表数据保存在txt文件中

guys i need to save my chart data in txt file using c#

What I have tried:

itried to save my chart data on txt file

推荐答案

这取决于你想如何存储它,以及如何你现在已经存储好了。



我建议的方式是你看一下像JSON这样的便携式格式:Json.NET - Newtonsoft [ ^ ]这是存储和恢复大部分内容的一两行代码。
That's going to depend on how you want to store it, and how you have it stored at the moment.

The way I'd suggest is you look at a "portable" format such as JSON: Json.NET - Newtonsoft[^] which is a line or two of code to store and restore most things.


这篇关于如何在C#中保存图表x,y数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆