|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home ChartPack RChart Class TSmithChart Methods MarkAt|
|See also: DrawMarkOnCanvas, Text, AvoidDuplicateMarks|
The method MarkAt displays a symbol at the position [x,y] using the color DataColor. MarkAt can be drawn in two different coordinate systems: version  uses the world coordinates (these are the coordinates shown at the axes of the chart), version  uses the screen coordinates in pixels. Using screen coordinates has the effect that the mark remains at a fixed position even if the chart is panned or zoomed.
The shape of the symbol is defined by the parameter mk:
If the parameter mk is greater than MAXCANVASMARKS, a character corresponding to its ASCII code is displayed instead of a symbol. Digits can be drawn by setting mk to the codes 200..209 (200 = '0', 209 = '9').