...
The solution is to remap the data values to a normalized coordinate extent range and thus allow OpenGL to calculate and render correctly.
Step-by-step guide
Setup your data pipelines as followsFor an example with two columns of data, one for X and one for Y, you can do the following:
- Bring the X, Y, data into TableMapper as columns; ND0 and ND1 respectively. (ND = Node Data)
- Create a LinearAxisMap for each X & Y Axis by setting the Min/Max Coordinates to 0 and 1 respectively for the data range in question.
- You can set the Min/Max Value explicitly OR
- You can set the InputField as the output field from TableMapper and specify the NodeDataIndex (0 for ND0 and 1 for ND1).
- Pass the field from TableMapper and the two AxisMaps into a ScatterChart.
- Use the NewSeries (x0, y1, z-1) method specifying the corresponding node data array indices; 0 for X and 1 for Y.
- You can show a line by setting the ShowLine property on the ScatterChart to TRUE.
- On your Domain component, set the InputAxisMaps as the output from the ScatterChart for each of the dimensions.
...