Initializing help system before first use

svgaddtext

Purpose
Add a text to an object group.
Synopsis
procedure svgaddtext(gid: string, x: real, y: real, msg: text)
procedure svgaddtext(x: real, y: real, msg: text)
Arguments
gid 
Object group ID.
The x coordinate of the point.
The y coordinate of the point.
text 
The text that will be displayed at the given point.
Example
This code complements the time graph with a dial:
! This should complement the example for svgaddarrow
forall(i in 1..12)
  svgaddtext(4.8*cos(1.57-6.28*i/12), 5*sin(1.57-6.28*i/12), text(i))
Further information
1. By default the specified point denotes the lower left corner of the text display area; the vertical alignment can be changed via the style option SVG_ANCHOR (values 'start', 'middle', or 'end').
2. If no group ID is specified, the text is added to the last group that has been created.
Related topics

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.