<commit_before><?php
/**
 * Usage example for Image_Graph.
 * 
 * Main purpose: 
 * Show pie chart
 * 
 * Other: 
 * None specific
 * 
 * $Id: plot_pie_rest.php,v 1.1 2005/10/13 20:18:27 nosey Exp $
 * 
 * @package Image_Graph
 * @author <NAME> <<EMAIL>>
 */

	require_once 'Image/Graph.php';
	
	require_once ("../../../../class/Session.class.php");
	require_once ("../../../../class/Oreon.class.php");

	Session::start();
	$oreon =& $_SESSION["oreon"];

	// create the graph
	$Graph =& Image_Graph::factory('graph', array(300, 200));
	// add a TrueType font
	$Font =& $Graph->addNew('font', 'Arial');
	// set the font size to 11 pixels
	$Font->setSize(7);
	$Graph->setFont($Font);
	
	// setup the plotarea, legend and their layout
	$Graph->add(
	   Image_Graph::vertical(
	      Image_Graph::factory('title', array('Host '.$_GET["host_name"].' Services ', 10)),        
	      Image_Graph::vertical(
	         $Plotarea = Image_Graph::factory('plotarea'),
	         $Legend = Image_Graph::factory('legend'),
	         80
	      ),10));
	      
	$Graph->setBackgroundColor('#F8FABE');
	$Legend->setPlotArea($Plotarea);
	
	$Plotarea->hideAxis();
	$Plotarea->setBackgroundColor('#F8FABE');
	
	$value =& $_GET["value"];
	$tab2 = array();<commit_msg>change color<commit_after><?php
/**
 * Usage example for Image_Graph.
 * 
 * Main purpose: 
 * Show pie chart
 * 
 * Other: 
 * None specific
 * 
 * $Id: plot_pie_rest.php,v 1.1 2005/10/13 20:18:27 nosey Exp $
 * 
 * @package Image_Graph
 * @author <NAME> <<EMAIL>>
 */

	require_once 'Image/Graph.php';
	
	require_once ("../../../../class/Session.class.php");
	require_once ("../../../../class/Oreon.class.php");

	Session::start();
	$oreon =& $_SESSION["oreon"];

	// create the graph
	$Graph =& Image_Graph::factory('graph', array(300, 200));
	// add a TrueType font
	$Font =& $Graph->addNew('font', 'Arial');
	// set the font size to 11 pixels
	$Font->setSize(7);
	$Graph->setFont($Font);
	
	// setup the plotarea, legend and their layout
	$Graph->add(
	   Image_Graph::vertical(
	      Image_Graph::factory('title', array('Host '.$_GET["host_name"].' Services ', 10)),        
	      Image_Graph::vertical(
	         $Plotarea = Image_Graph::factory('plotarea'),
	         $Legend = Image_Graph::factory('legend'),
	         80
	      ),10));
	      
	$Graph->setBackgroundColor('#f8Fef1');
	$Legend->setPlotArea($Plotarea);
	
	$Plotarea->hideAxis();
	$Plotarea->setBackgroundColor('#f8Fef1');
	
	$value =& $_GET["value"];
	$tab2 = array();
{'fraction_non_alphanumeric': 0.202328382175833, 'fraction_numerical': 0.028101164191087918, 'mean_word_length': 3.281786941580756, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6003578', 'n_tokens_mistral': 946, 'n_tokens_neox': 827, 'n_words': 172}