phpLens
 home  products examples manual  faq support forum  contact news  login store

More Examples:   View Source:   Live Demo - Charting UnitsInStock

Free Download

The following example displays a list of products, with bar charts of units in stock.

  PHPLens
E Nxt End Srch
(E) (e)Product (e)Supplier (e)Qty/Unit (e)Stock (e)Price
  (e)0
1Grandma's Boysenberry SpreadGrandma Kelly's Homestead12 - 8 oz jars
150 
25.00
 Subtotal:
150
 
  (e)Beverages
2LEOExotic Liquids10 boxes x 20 bags
 39 
18.00
3ChangieGrandma Kelly's Homestead24 - 12 oz bottles
 17 
0.00
4Guaraná FantásticaRefrescos Americanas LTDA12 - 355 ml cans
 20 
4.50
5Sasquatch AleBigfoot Breweries24 - 12 oz bottles
111 
14.00
6Steeleye StoutBigfoot Breweries24 - 12 oz bottles
 20 
18.00
7Côte de BlayeAux joyeux ecclésiastiques12 - 75 cl bottles
 17 
263.50
8Chartreuse verteAux joyeux ecclésiastiques750 cc per bottle
 69 
18.00
9Ipoh CoffeeLeka Trading16 - 500 g tins
 17 
46.00
10Laughing Lumberjack LagerBigfoot Breweries24 - 12 oz bottles
 52 
14.00
 Subtotal:
362
 
 Total:
512
 
  00> Visualize your Information   (Page 1)  
E Nxt End Srch

Notes

We did it in a couple of minutes by generating it with the Grid Builder and then configuring it in our Web browser.

The charting is configured in Column Settings: Stocks. Then we Generated PHP Code, and pasted the code (chartLens and chartParams properties) into ex180.php.

email: contact#phplens.com (change # to @)     telephone (malaysia): 60-3-7947 2888     fax (malaysia): 60-3-7947 2800