I have created a new plugin to TFS, it generates PieCharts for Top x Most used Operating Systems, Browsers and Countries. It is in fact an extension to the psnStat module.

Samples of graphical 3D PieChart for TFS Statistic….(figures for those last 7 days)

echo TFStatOSPie3D(‘thisweek’,5,1,400,200,true,’idaho_stat’); echo TFStatBrowserPie3D(‘thisweek’,5,1,400,200,true,’idaho_stat’); echo TFStatCountryPie3D(‘thisweek’,5,1,400,200,true,’idaho_stat’);

It uses the fabulous « jpgraph » library.

Three functions have been created for this :

  • TFStatOSPie3D($Frequency = « today », $nMax = 5, $Header=2, $Width=400, $Height=200, $Legend=true, $dbname =  » )
  • TFStatBrowserPie3D($Frequency = « today », $nMax = 5, $Header=2, $Width=400, $Height=200, $Legend=true,$dbname =  » )
  • TFStatCountryPie3D($Frequency = « today », $nMax = 5, $Header=2, $Width=400, $Height=200, $Legend=true,$dbname =  » )

I will package and document those new functions and they will be available for download very soon.

Un commentaire

  1. True but so sad that so many people do use Windows and IE.

Comments are closed.