PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Jorge Guerrero  >  PHP Histogram Titos  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Calling Script for Class HistogramTitos
Class: PHP Histogram Titos
Render a histogram of stacked values in a Web page
Author: By
Last change:
Date: 3 years ago
Size: 888 bytes



Class file image Download
<!DOCTYPE html>
<head><title>Histogram Call File</title></head>
<h4>Tito's Histogram</h4>
<p>The following Histogram takes in an array of monthly salaries offered for PHP Programmers in Mexico City for the months of September and October 2016.
All Values are in New Mexican Pesos <em>in Thousands</em>
include 'Histogram.php';


$histogram=new histogram();

$chart=$histogram->histogramTitos('Starting Monthly Salaries',$Salaries);

You may output as many histograms in a single file as needed just be sure to change the title for each!