I need a few tips on how to generate a new TChartSeries for use with
TChart in Delphi 3.
There is an llustration of the problem at
http://www.gpsu.co.uk/tchart.html
I have a set of X,Y points which I want to graph and connect with
lines. However, both X and Y are not monotonic.
If I use TPointSeries, the result appears OK, but I also wish to
connect the points by lines. If I use TLineSeries then the points are
connected in ascending x-axis order rather than in the original
sequence supplied to the series.
So I need a new ChartSeries which is like TLineSeries, but it should
not sort the points by x-axis value when connecting them.
I am not too sure on how to go about this and I do not have the source
for TChart or TChartSeries so I don't know how difficult it might be.
However, I feel that this should be a fairly simple requirement which
should be easily soluable. I am using Delphi 3.
If someone can solve this problem for me or advise me on how to do it,
then they will be welcome to a free registration to my "GPS Utility"
application. (see http://www.gpsu.co.uk)
A test set of data might be
X Y
0 , 4
2 , 6
4 , 8
6 , 9
8 , 7
9 , 5
7, 3
5 , 1
3 , 0
1 , 2
which should be a rotated rectangular shape, rather than a zig-zag
line.
Many thanks,
Alan Murphy
To reply remove two '.null's from
murph...@enterprise.net.null
at approx N51°00' W001°22'
http://homepages.enterprise.net/murphy/
"Alan Murphy" <murph...@enterprise.net.null> schreef in bericht
news:39a09a3c...@news.enterprise.net...