Immage of chart when program ran and bottom "GRAPH" is pressed
我怎样才能使数据不出现在图表的底部?
string path = @"c:\users\thebi\desktop\code\justins sample c# code\csv test (writing while open in matlab)\csv vs\csv test\bin\debug\outputfile.txt";
int time = 0;
string[] readText = File.ReadAllLines(path);
int sizeofarray;
sizeofarray = readText.Length;
for (int i = 0; i < sizeofarray; i++)
{
chart1.Series["Series1"].Points.AddXY(readText[i], time);
time++;
}
1条答案
按热度按时间vnjpjtjt1#
虽然你的问题不清楚,我假设你想去掉X轴数据点的长标签,你可以试试;