Initializing help system before first use

# svgaddpie

Purpose
Add a filled pie slice at the given coordinates.
Synopsis
`procedure svgaddpie(gid: string, x: real, y: real, r: real, p1: real, p2: real)`
`procedure svgaddpie(x: real, y: real, r: real, p1: real, p2: real)`
Arguments

gid | Object group ID.
x | The x coordinate of the center point.
y | The y coordinate of the center point.
r | Radius (side length of the pie slice).
p1 | Start position on the circle (percentage).
p2 | End position on the circle (percentage).

Example
This code draws a pie chart with 5 slices of 20% width each around the center point (150,150) with a radius of 100.

    forall(i in 1..5) do
      svgaddgroup("gp"+i, "Pie"+i)
      svgaddpie(150, 150, 100, (i-1)*0.2, i*0.2)
    end-do

Further information
1. Pie slices are by default filled with the group color. If they are not to be filled with any color specify value SVG_NONE for the style property SVG_FILL.
2. If no group ID is specified, the pie slice is added to the last group that has been created.
Parent Topic Procedures and Functions

© 2001-2026 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.