Page 1 of 1

Manual Data

Posted: Wed Jan 19, 2005 4:01 am
by 5890703
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?

Posted: Wed Jan 19, 2005 7:01 am
by Marjan
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.

Posted: Wed Jan 19, 2005 9:56 am
by 5890703
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.

Manual Data

Posted: Wed Jan 19, 2005 2:46 pm
by 5890703
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.

Posted: Tue Feb 01, 2005 11:36 pm
by Pep
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