and how do I add code as a code window in this forum? sorry for ignorance
Printable View
and how do I add code as a code window in this forum? sorry for ignorance
I'm afraid you are really to the point where you have to figure out the nuances of your design for yourself. :(
I can provide a couple more tips here, but I really don't have much more I can add to help you figure out what you need to accomplish with the data you have.
1, you show code in a 'code window' in your post by putting it between tags (CODE) (/CODE) ... (but change the parenthesis to brackets.)
2, you can get all the lines in your data file by doing the following...
3, many types have conversion methods such as Parse() and TryParse() that will help you get a value from string to int, double, long, etc... such as:Code:List<string> lines = File.ReadAllLines(@"J:\test.txt").ToList();
4, most important, you really gotta know what kind of chart you are going to make with the data you have in each line... then you will need to devise a way to store the values from that data in a way that makes it intuitive to transfer them to chart series... if it's possible for what you're trying to do.Code:int val = int.Parse("32");
5, further questions on your project will need to be specific to accomplishing a minute task in order to obtain more assistance... I don't mean to leave you hangin, it's just hard for me to grasp everything you are trying to do receiving little snippets with each post exchange.
Best of luck! :)