Sitemap Sitemap  |  Contact Us Contact Us  |  Clients Clients
   DrawLegendColor
  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
DrawLegendColor
  This function will generate a box with the colour of the graph element
 
Library wh::graphics/graphs.whlib
 
Syntax PUBLIC BLOB FUNCTION DrawLegendColor (RECORD ARRAY graphdata,INTEGER part,INTEGER width,INTEGER height)
 
Parameters
graphdata RECORD ARRAY the data the graph was generated with
  The record contains the following cells:
color optional RGB color for this element
part INTEGER Specifies the part for which the coloured box should be generated
width INTEGER Specifies the width of the generated image
height INTEGER Specifies the height of the generated image
 
Returns Blob containing the coloured box as a PNG image
 
 
In library 'graphs'
DrawLegend
DrawLegendColor
GenerateBarChart
GenerateLineChart
GeneratePieChart
 
Top To top of page