";
// line 64
ob_start(function () { return ''; });
echo __("An optional name for this widget");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 65
echo " ";
ob_start(function () { return ''; });
echo __("Name");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 66
echo " ";
echo $context["forms"]->getinput("name", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "name"], "method"), ($context["helpText"] ?? null));
echo "
";
// line 68
ob_start(function () { return ''; });
echo __("Set a duration?");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 69
echo " ";
ob_start(function () { return ''; });
echo __("Select to provide a specific duration for this Widget");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 70
echo " ";
echo $context["forms"]->getcheckbox("useDuration", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getUseDuration", [], "method"), ($context["helpText"] ?? null));
echo "
";
// line 72
ob_start(function () { return ''; });
echo __("Duration");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 73
echo " ";
ob_start(function () { return ''; });
echo __("The duration in seconds this should be displayed");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 74
echo " ";
echo $context["forms"]->getnumber("duration", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getDuration", [], "method"), ($context["helpText"] ?? null), "duration-fields", "required");
echo "
";
// line 76
ob_start(function () { return ''; });
echo __("Enable Stats Collection?");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 77
echo " ";
ob_start(function () { return ''; });
echo __("Enable the collection of Proof of Play statistics for this Widget. Ensure that ‘Enable Stats Collection’ is set to ‘On’ in the Display Settings.");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 78
echo "
";
// line 79
ob_start(function () { return ''; });
echo __("Off");
$context["offOption"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 80
echo " ";
ob_start(function () { return ''; });
echo __("On");
$context["onOption"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 81
echo " ";
ob_start(function () { return ''; });
echo __("Inherit");
$context["inheritOption"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 82
echo " ";
$context["options"] = [0 => ["id" => "Off", "value" => // line 83
($context["offOption"] ?? null)], 1 => ["id" => "On", "value" => // line 84
($context["onOption"] ?? null)], 2 => ["id" => "Inherit", "value" => // line 85
($context["inheritOption"] ?? null)]];
// line 87
echo " ";
echo $context["forms"]->getdropdown("enableStat", "single", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "enableStat", 1 => $this->getAttribute(($context["theme"] ?? null), "getSetting", [0 => "WIDGET_STATS_ENABLED_DEFAULT"], "method")], "method"), ($context["options"] ?? null), "id", "value", ($context["helpText"] ?? null));
echo "
";
// line 92
echo __("Data");
echo "
";
// line 95
ob_start(function () { return ''; });
echo __("Bar");
$context["bar_chart"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 96
echo " ";
ob_start(function () { return ''; });
echo __("Line");
$context["line_chart"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 97
echo " ";
ob_start(function () { return ''; });
echo __("Horizontal Bar");
$context["horizontal_bar_chart"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 98
echo " ";
ob_start(function () { return ''; });
echo __("Pie");
$context["pie_chart"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 99
echo " ";
ob_start(function () { return ''; });
echo __("Donut");
$context["donut_chart"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 100
echo " ";
ob_start(function () { return ''; });
echo __("Radar");
$context["radar_chart"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 101
echo " ";
$context["options"] = [0 => ["typeid" => "line", "type" => // line 102
($context["line_chart"] ?? null)], 1 => ["typeid" => "bar", "type" => // line 103
($context["bar_chart"] ?? null)], 2 => ["typeid" => "pie", "type" => // line 104
($context["pie_chart"] ?? null)], 3 => ["typeid" => "doughnut", "type" => // line 105
($context["donut_chart"] ?? null)], 4 => ["typeid" => "horizontalBar", "type" => // line 106
($context["horizontal_bar_chart"] ?? null)], 5 => ["typeid" => "radar", "type" => // line 107
($context["radar_chart"] ?? null)]];
// line 109
echo "
";
// line 110
ob_start(function () { return ''; });
echo __("Chart Type");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 111
echo " ";
ob_start(function () { return ''; });
echo __("Select which type of chart to Display.");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 112
echo " ";
echo $context["forms"]->getdropdown("graphType", "single", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "graphType"], "method"), ($context["options"] ?? null), "typeid", "type", ($context["helpText"] ?? null));
echo "
";
// line 114
$context["message"] = ('' === $tmp = "Configure your Chart data using the below selectors. Use the `+` icon to add an X and Y-Axis and to include a Series Identifier (not available for Pie/Donut Chart Types) to breakdown values.") ? '' : new Markup($tmp, $this->env->getCharset());
// line 115
echo " ";
echo $context["forms"]->getmessage(($context["message"] ?? null));
echo "
";
// line 119
ob_start(function () { return ''; });
echo __("Always start the Y-Axis at 0?");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 120
echo " ";
echo $context["forms"]->getcheckbox("startYAtZero", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "startYAtZero"], "method"));
echo "
";
// line 125
echo __("Labels");
echo "
";
// line 128
ob_start(function () { return ''; });
echo __("Title");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 129
echo " ";
ob_start(function () { return ''; });
echo __("Enter a title to show on the Chart.");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 130
echo " ";
echo $context["forms"]->getinput("title", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "title"], "method"), ($context["helpText"] ?? null));
echo "
";
// line 132
ob_start(function () { return ''; });
echo __("X-Axis Label");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 133
echo " ";
ob_start(function () { return ''; });
echo __("Enter a label to show on the Charts x-axis.");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 134
echo " ";
echo $context["forms"]->getinput("x-axis-label", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "x-axis-label"], "method"), ($context["helpText"] ?? null));
echo "
";
// line 136
ob_start(function () { return ''; });
echo __("Y-Axis Label");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 137
echo " ";
ob_start(function () { return ''; });
echo __("Enter a label to show on the Charts y-axis.");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 138
echo " ";
echo $context["forms"]->getinput("y-axis-label", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "y-axis-label"], "method"), ($context["helpText"] ?? null));
echo "
";
// line 140
ob_start(function () { return ''; });
echo __("Top");
$context["positionTop"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 141
echo " ";
ob_start(function () { return ''; });
echo __("Left");
$context["positionLeft"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 142
echo " ";
ob_start(function () { return ''; });
echo __("Right");
$context["positionRight"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 143
echo " ";
ob_start(function () { return ''; });
echo __("Bottom");
$context["positionBottom"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 144
echo " ";
$context["options"] = [0 => ["typeid" => "top", "type" => // line 145
($context["positionTop"] ?? null)], 1 => ["typeid" => "left", "type" => // line 146
($context["positionLeft"] ?? null)], 2 => ["typeid" => "right", "type" => // line 147
($context["positionRight"] ?? null)], 3 => ["typeid" => "bottom", "type" => // line 148
($context["positionBottom"] ?? null)]];
// line 150
echo "
";
// line 151
ob_start(function () { return ''; });
echo __("Show legend?");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 152
echo " ";
echo $context["forms"]->getcheckbox("showLegend", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "showLegend"], "method"));
echo "
";
// line 154
ob_start(function () { return ''; });
echo __("Legend Position");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 155
echo " ";
ob_start(function () { return ''; });
echo __("Where should the legend be positioned.");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 156
echo " ";
echo $context["forms"]->getdropdown("legendPosition", "single", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "legendPosition"], "method"), ($context["options"] ?? null), "typeid", "type", ($context["helpText"] ?? null), "legend-fields");
echo "
";
// line 161
echo __("Style");
echo "
";
// line 164
ob_start(function () { return ''; });
echo __("Background Color");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 165
echo " ";
ob_start(function () { return ''; });
echo __("Select an optional background colour to put behind the chart, leaving this blank will make the graph transparent.");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 166
echo " ";
echo $context["forms"]->getinput("backgroundColor", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "backgroundColor"], "method"), ($context["helpText"] ?? null), "background-color-group");
echo "
";
// line 168
ob_start(function () { return ''; });
echo __("Font Color");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 169
echo " ";
ob_start(function () { return ''; });
echo __("Choose a font colour that will work well with your Layout's background - or the Region below this one.");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 170
echo " ";
echo $context["forms"]->getinput("fontColor", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "fontColor"], "method"), ($context["helpText"] ?? null));
echo "
";
// line 172
ob_start(function () { return ''; });
echo __("Font Size");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 173
echo " ";
ob_start(function () { return ''; });
echo __("Set the font size for all text that will show on the chart.");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 174
echo " ";
echo $context["forms"]->getnumber("fontSize", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "fontSize"], "method"), ($context["helpText"] ?? null));
echo "
";
// line 180
echo __("Colour Palette");
echo "
";
// line 183
ob_start(function () { return ''; });
echo __("Add a Colour Palette to use when drawing a charts data series. If no or too few colours are specified the default colours will be used.");
$context["message"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 184
echo " ";
echo $context["forms"]->getmessage(($context["message"] ?? null));
echo "
";
// line 190
ob_start(function () { return ''; });
echo __("The DataSet results can be ordered by any column and set below. New fields can be added by selecting the plus icon at the end of the current row. Should a more complicated order be required the advanced checkbox can be selected to provide custom SQL syntax.");
$context["message"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 191
echo " ";
echo $context["forms"]->getmessage(($context["message"] ?? null));
echo "
";
// line 195
ob_start(function () { return ''; });
echo __("Use advanced order clause?");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 196
echo " ";
ob_start(function () { return ''; });
echo __("Provide a custom clause instead of using the clause builder above.");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 197
echo " ";
echo $context["forms"]->getcheckbox("useOrderingClause", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "useOrderingClause", 1 => 0], "method"), ($context["helpText"] ?? null));
echo "
";
// line 199
ob_start(function () { return ''; });
echo __("Order");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 200
echo " ";
ob_start(function () { return ''; });
echo __("Please enter a SQL clause for how this dataset should be ordered");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 201
echo " ";
echo $context["forms"]->getinput("ordering", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "ordering"], "method"), ($context["helpText"] ?? null), "order-clause-field");
echo "
";
// line 205
ob_start(function () { return ''; });
echo __("The DataSet results can be filtered by any column and set below. New fields can be added by selecting the plus icon at the end of the current row. Should a more complicated filter be required the advanced checkbox can be selected to provide custom SQL syntax.");
$context["message"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 206
echo " ";
echo $context["forms"]->getmessage(($context["message"] ?? null));
echo "
";
// line 210
ob_start(function () { return ''; });
echo __("Use advanced filter clause?");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 211
echo " ";
ob_start(function () { return ''; });
echo __("Provide a custom clause instead of using the clause builder above.");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 212
echo " ";
echo $context["forms"]->getcheckbox("useFilteringClause", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "useFilteringClause", 1 => 0], "method"), ($context["helpText"] ?? null));
echo "
";
// line 214
ob_start(function () { return ''; });
echo __("Filter");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 215
echo " ";
ob_start(function () { return ''; });
echo __("Please enter a SQL clause to filter this DataSet.");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 216
echo " ";
echo $context["forms"]->getinput("filter", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "filter"], "method"), ($context["helpText"] ?? null), "filter-clause-field");
echo "
";
// line 220
ob_start(function () { return ''; });
echo __("Update Interval (mins)");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 221
echo " ";
ob_start(function () { return ''; });
echo __("Please enter the update interval in minutes. This should be kept as high as possible. For example, if the data will only change once per day this could be set to 60.");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 222
echo " ";
echo $context["forms"]->getnumber("updateInterval", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "updateInterval", 1 => 5], "method"), ($context["helpText"] ?? null), "", "required");
echo "