Manual Data

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Hans Wolfgang
Newbie
Newbie
Posts: 58
Joined: Fri Nov 15, 2002 12:00 am
Location: Naples, FL
Contact:

Manual Data

Post by Hans Wolfgang » Wed Jan 19, 2005 4:01 am

I want to create my series and data by manual entry at runtime. When I create a new series and open the Data tab I see a column called Text, but what is wanted is X. What property setting is needed here?

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Wed Jan 19, 2005 7:01 am

Hi, Hans.

Xvalues datafield accepts only numeric field. Does your dataset contain a separate x values field with *true* float values, not strings ?

In case you want to populate series with data you can use TChartSeries.Add or AddXY method to add new points to series.
Marjan Slatinek,
http://www.steema.com

Hans Wolfgang
Newbie
Newbie
Posts: 58
Joined: Fri Nov 15, 2002 12:00 am
Location: Naples, FL
Contact:

Post by Hans Wolfgang » Wed Jan 19, 2005 9:56 am

i want to edit the data manually, not programatically. I want to enter the data in the Data tab. When I create the series and select the Data tab, there are two columns, labeled Text and Y. I am trying to have X and Y instead of Text and Y. Where is the property editor that allows me to change the data type manually? Hope this is clear.

Hans Wolfgang
Newbie
Newbie
Posts: 58
Joined: Fri Nov 15, 2002 12:00 am
Location: Naples, FL
Contact:

Manual Data

Post by Hans Wolfgang » Wed Jan 19, 2005 2:46 pm

On further trials, I removed all series and created a new point series and a new line series (I need one of each). Sometimes the Data tab shows X and Y, and other times the Data tab shows Text and Y. I cannot find the trick to force X and Y every time.

This is not a dataset. I want to enter data manually at run time or at design time.

I noted that with a Bubble series, the Data tab shows bubble radius, X and Y every time. I could use that but it is more complex. I need to keep things simple for the average user.

Pep
Site Admin
Site Admin
Posts: 3298
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Tue Feb 01, 2005 11:36 pm

Hi Hans,

this cannot be done at runtime (via code). For the moment you only have the option to active it using the Button on the Data tab. However I've added this feature on our wish list to be considered for further releases.

Alternatively you can use a ChartGrid component, this one allows you to make that the XValues appear as default :
ChartGrid1.ShowXValues:=cgsYes

Post Reply