KSC Open API  13.1
Kaspersky Security Center API description
List of diagram creation attributes

List of diagram creation attributes

NameTypeDescriptionRemarks
"KLDSH_OPT_FILENAME"paramStringOutput file name for the png image; must have ".png" extension.This attribute is required.
"KLDSH_OPT_WIDTH"paramIntSets diagram width.Required.
"KLDSH_OPT_HEIGHT"paramIntSets diagram height.Required.
"KLDSH_OPT_DRAW_VALS_IN_LEGEND"paramBoolDraw numeric values in the legendOptional. The default value is true.
"KLDSH_OPT_STYLES"paramIntDiagram styles. A set of flags joined with or may be used. See List of diagram styles.Optional.
"KLDSH_OPT_STYLES_MASK"paramIntDiagram styles mask. See "KLDSH_OPT_STYLES" and List of diagram styles.Optional.
"KLDSH_OPT_COLORS"paramArrayDiagram counters colors. Each collection entry is an integer that describes a color. Lowest byte (byte 0) is red, byte 1 is green, byte 2 is blue, and the highest byte (byte 3) must be zero.Optional.
"KLDSH_OPT_FONTNAME"paramStringName of the font.Optional.
"KLDSH_OPT_FONTSIZE"paramIntSize of the font in pixels.Optional.
"KLDSH_OPT_FONTNAME_BOLD"paramStringName of the bold font.Optional.
"KLDSH_OPT_FONTSIZE_BOLD"paramIntSize of the bold font in pixels.Optional.
"KLDSH_OPT_COLOR_BKG"paramIntBackground color.Optional. The default value is 0x00FFFFFF (white).