FormatPieData
FormatPieData PHP Methods
getCountryAddData(string $type, string $title, $total) v5
Gets country stats data
PARAMETERS:
$type = string, Map type (for countries = "country")
$title = string, Country name 2 letters code
$total = Stats total amount
RETURN VALUE:
string = country stats data as HTML getCountryTitle(string $country) v5
Gets country title from 2 letters code
PARAMETERS:
$country = string, Country name 2 letters code
RETURN VALUE:
string = country title from 2 letters code getReport(string $reportName, $titleLabel, $valueLabel, $chartUniqueID = 1, string $type = "piechart") v5
Gets pie chart report details
PARAMETERS:
$reportName = string, Report name
$titleLabel = string, Report column title
$valueLabel = string, Report column value
$chartUniqueID = int, Chart unique ID
$type = string, Chart type
RETURN VALUE:
string = pie chart report details setLocation(\WMT\Map\Location $location) v5
Set report location
PARAMETERS:
$location = object
RETURN VALUE:
void __construct(Settings $reportSettings, Data $data, array $jsArr) v5
initialize report pie chart object
PARAMETERS:
$reportSettings = object
$data = object
$jsArr = array, Pie chart javascript as an array
RETURN VALUE:
voidFormatPieData PHP Variables
🔎︎ %l4610%