I'm using Delphi and Fast reports, specifically the TeeChart object inside Fast Reports. I'm trying to plot a scatter graph (preferably with a line between the points) Four points of typical X,Y data might look like this
- X=10, Y=35
- X=15, Y=40
- X=23, Y=44
- X=27, Y=8
I've set the X axis automatic to false and set a min of 0 and a max of 30.
However, when Teechart plots the points it plots the Y values at the correct height but puts them in X positions 0, 1, 2, 3 instead of 10, 15, 23, 27
This even happens when I hard code the data by setting 'Data Source' to 'Fixed Data' and putting 35;40;44;8 in the Y values box and 10;15;23;27 in the X values box.
How do I set up Teechart to plot the points at the correct X-Y coordinates?