Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:

  1. Bring the X, Y, data into TableMapper as columns; ND0 and ND1 respectively. (ND = Node Data)
  2. 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.
    1. You can set the Min/Max Value explicitly   OR
    2. You can set the InputField as the output field from TableMapper and specify the NodeDataIndex (0 for ND0 and 1 for ND1).
  3. Pass the field from TableMapper and the two AxisMaps into a ScatterChart.
  4. Use the NewSeries (x0, y1, z-1) method specifying the corresponding node data array indices; 0 for X and 1 for Y.
    1. You can show a line by setting the ShowLine property on the ScatterChart to TRUE.
  5. On your Domain component, set the InputAxisMaps as the output from the ScatterChart for each of the dimensions.

...