-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprintconfig.php
57 lines (51 loc) · 1.44 KB
/
printconfig.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
/**
* Configuration Frontend Printout for nx-chartBox
* @package nx-chartBox
*
* @copyright Copyright (C) 2009 - 2016 nx-designs.
* @license GNU General Public License version 2 or later
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
class chartBoxprintout {
public static function legend($displaylegend,$legendpos,$legenditemboxwidth,$legenditemfontsize,$legendfontstyle,$legendfontcolor)
{
$print ='<div class="nx-debug legend">
<table class="table">
<tr>
<th><h3>Legend Settings</h3></th>
<td></td>
</tr>
<tr>
<th>Display Legend</th>
<td>'.$displaylegend.'</td>
</tr>
<tr>
<th>Legend Position</th>
<td>'.$legendpos.'</td>
</tr>
<tr>
<th>Legend Item Colorbox Width</th>
<td>'.$legenditemboxwidth.'</td>
</tr>
<tr>
<th>Legend Item Fontsize</th>
<td>'.$legenditemfontsize.'</td>
</tr>
<tr>
<th>Legend Item Fontstyle</th>
<td>'.$legendfontstyle.'</td>
</tr>
<tr>
<th>Legend Item Fontcolor</th>
<td><div class="nx-colorbox" style="background-color:'.$legendfontcolor.'"></div>
'.$legendfontcolor.'
</td>
</tr>
</table>
</div>';
return $print;
}
}
?>