Home > Software engineering >  How to read in the CSV file for draw a line chart
How to read in the CSV file for draw a line chart

Time:10-08

Each master:

I have a CSV file, two columns of sampling time and speed, want to write a program that reads the contents of this file and draw a line chart, someone can guide it to me? Thank you very much!

CodePudding user response:

Set the ADO to connect to. The CSV file, data binding MSChart control to the ADO data,

CodePudding user response:

And if he read CSV file directly, the CSV file is a text file, use Spaces, commas,

Directly in the open,,, for input as,, open,
The way to read text reads it
Input the # 1, a, b

CodePudding user response:


On the first floor of the method is the most convenient,
  • Related