|
|
@@ -14,6 +14,8 @@ class Chart {
|
|
|
private $datalabelSuffixes = [];
|
|
|
private $datalabelFormatterCallback = false;
|
|
|
|
|
|
+ public $beforeHtml = null;
|
|
|
+ public $afterHtml = null;
|
|
|
public $print = false;
|
|
|
|
|
|
public function __construct() {
|
|
|
@@ -176,7 +178,7 @@ class Chart {
|
|
|
|
|
|
public function printDataTable() {
|
|
|
?>
|
|
|
- <table class="mt-3 w-100 table-bordered">
|
|
|
+ <table class="mt-3 w-100 table table-sm small table-bordered">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th></th>
|
|
|
@@ -217,6 +219,14 @@ class Chart {
|
|
|
<?php
|
|
|
}
|
|
|
|
|
|
+ public function setBeforeHtml($html) {
|
|
|
+ $this->beforeHtml = $html;
|
|
|
+ }
|
|
|
+
|
|
|
+ public function setAfterHtml($html) {
|
|
|
+ $this->afterHtml = $html;
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
?>
|