Sitemap Sitemap  |  Contact Us Contact Us  |  Clients Clients
   DrawLegend
  Home |  WebHare Lite |  Downloads |  HareScript |  Websites/CMS |  Applications
Search for:  in: 
HareScript
Graphics
Graphics HareScript functions
 
Graphics core functions
Standard colors for the graphics libraries
DrawLegend
  This function will generate legend for a graph
 
Library wh::graphics/graphs.whlib
 
Syntax PUBLIC BLOB FUNCTION DrawLegend (RECORD ARRAY graphdata)
 
Parameters
graphdata RECORD ARRAY the data to generate the graph with
  The record contains the following cells:
value FLOAT The value for this element
color optional RGB color for this element
 
Returns Blob containing the legend as a PNG image
 
 
In library 'graphs'
DrawLegend
DrawLegendColor
GenerateBarChart
GenerateLineChart
GeneratePieChart
 
Top To top of page