Hi,
I tried to import a text data file following the article "Importing text data from Dat or Txt file". But it doesn't work. The text file is
0.1 24
0.5 143
0.2 321
0.1 100
After I import it, it gives me 4 zeros for x=0,1,2,3. I tried lineseries and point3Dseries. Help
Fang
import text data problem
-
- Newbie
- Posts: 27
- Joined: Sat Dec 06, 2003 5:00 am
- Location: baltimore
Hi.
Which TeeChart version are you using ? For point series it should work fine, providing you connect first column to x values and second column to y values (see TeeChart demo how exactly it's done). How did you define the column separator ?
For point3D series you need three columns, namely x,y and z.
Which TeeChart version are you using ? For point series it should work fine, providing you connect first column to x values and second column to y values (see TeeChart demo how exactly it's done). How did you define the column separator ?
For point3D series you need three columns, namely x,y and z.
Marjan Slatinek,
http://www.steema.com
http://www.steema.com
-
- Newbie
- Posts: 27
- Joined: Sat Dec 06, 2003 5:00 am
- Location: baltimore
Hi.
The Tee7New.exe, included with binaries installer. Check the "All Features -> Components -> Text source" example. The example is for bar series, but very similar code can be used with other series types as well.could you tell me where is the demo?
Marjan Slatinek,
http://www.steema.com
http://www.steema.com
-
- Newbie
- Posts: 27
- Joined: Sat Dec 06, 2003 5:00 am
- Location: baltimore
Hi,
I've just test it here and works fine. To import the values of your first post (at design time) you only must add the Series (point series for example) go to the DataSource tab, select Text File, set Separator as "Space", Num. of Header File = 0, Text Column field = empty, X field = 1, Y Field = 2, and click "Apply".
I've just test it here and works fine. To import the values of your first post (at design time) you only must add the Series (point series for example) go to the DataSource tab, select Text File, set Separator as "Space", Num. of Header File = 0, Text Column field = empty, X field = 1, Y Field = 2, and click "Apply".
Pep Jorge
http://support.steema.com
http://support.steema.com