1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 01:54:12 +02:00

Improved infopanel dashboard integration with e_dashboard addon. Charts now supports additional types.

This commit is contained in:
Cameron
2017-04-07 16:31:22 -07:00
parent abb7f66dd7
commit ca1fd4c40c
4 changed files with 80 additions and 54 deletions

View File

@@ -419,13 +419,17 @@ class e_chart
{
case 'bar':
//
$js .= "var chart = new google.visualization.BarChart(document.getElementById('".$id."')); ";
break;
case 'column':
$js .= "var chart = new google.visualization.ColumnChart(document.getElementById('".$id."')); ";
break;
case 'geo':
$js .= "var chart = new google.visualization.GeoChart(document.getElementById('".$id."')); ";
break;
case 'polar':
//TODO