SetAverage

From Catglobe Wiki
Jump to: navigation, search



setAverage

Enables or disables the average row which can be shown for table diagrams.

Syntax

setAverage(enabled)

Arguments

enabled: Is a boolean expression. If true the row will be included, if false the row will not be included

Return type

empty

Examples

setAverage(true);

bool b = getAverage();

if (b) print("Average row is enabled and can be shown for table diagrams.");

else print("Average row is disabled and cannot be shown for table diagrams.");

//Result: Average row is enabled and can be shown for table diagrams.

createFrequenceDiagram("Civil_status");

Availability

Version 5.4