Ejemplo n.º 1
0
 /**
  * Render the chart image
  *
  * @access	public
  * @param	string		name of the file to render the image to (optional)
  */
 function render($imgType, $fileName = null)
 {
     $this->computeLabelMargin();
     $this->computePercent();
     $this->createImage();
     $this->printLogo();
     $this->printTitle();
     $this->printPie();
     $this->printLabel();
     parent::render($imgType, $filename);
 }
Ejemplo n.º 2
0
							<div class="clear"></div>
                        </div>
					</div>

					<div class="block" style="float:left;margin-right:2em;width:100%;">
						<div class="hd">
							<h2>OS Version</h2>
						</div>
						<div class="bd">
							<div id="chart_app_activity" class="chart"></div>
						</div>
					</div>
              
                </div></div>
            </div>
            <div id="sidebar" class="yui-b">

            </div>
        </div>

<?php 
include 'inc/footer.inc.php';
?>
<script type="text/javascript" charset="utf-8">
	$(document).ready(function() {
		<?php 
$chart_app_activity->render();
?>
	});
</script>