Roxen.git / server / modules / graphics / business.pike

version» Context lines:

Roxen.git/server/modules/graphics/business.pike:4:    *    * Made by Peter Bortas <peter@roxen.com> and Henrik Wallin <hedda@roxen.com>    * in October 1997    */      #include <module.h>   #include <roxen.h>      inherit "module";    - constant cvs_version = "$Id: business.pike,v 1.160 2012/05/09 13:52:11 jenny Exp $"; + constant cvs_version = "$Id$";   constant thread_safe = 1;   constant module_type = MODULE_TAG;   constant module_name = "Graphics: Business graphics";   constant module_doc =   #"Provides the <tt>&lt;diagram&gt;</tt> tag that draws bar charts, line charts,   pie charts or graphs.";      #define VOIDSYMBOL "\n"   #define SEP "\t"   
Roxen.git/server/modules/graphics/business.pike:439:   ({ "xgridspace", "ygridspace", "horgrid", "size", "type", "3d", "do3d",    "templatefontsize", "fontsize", "tone", "background","colorbg", "subtype",    "dimensions", "dimensionsdepth", "xsize", "ysize", "fg", "bg",    "orientation", "xstart", "xstop", "ystart", "ystop", "data", "colors",    "xnames", "xvalues", "ynames", "yvalues", "axcolor", "gridcolor",    "gridwidth", "vertgrid", "labels", "labelsize", "legendfontsize",    "legendfont",    "legend_texts", "labelcolor", "axwidth", "linewidth", "center",    "rotate", "image", "bw", "eng", "neng", "xmin", "ymin", "turn", "notrans",    "colortable_cache", "tonedbox", "name","color-scheme" }); - constant diagram_args = mkmapping(_diagram_args,_diagram_args); + mapping diagram_args = mkmapping(_diagram_args,_diagram_args);      constant _shuffle_args =   ({ "dimensions", "dimensionsdepth", "ygridspace", "xgridspace",    "xstart", "xstop", "ystart", "ystop", "colors", "autocolors","xvalues", "yvalues",    "axwidth", "xstor", "ystor", "xunit", "yunit", "fg", "bg", "voidsep" }); - constant shuffle_args = mkmapping( _shuffle_args, _shuffle_args ); + mapping shuffle_args = mkmapping( _shuffle_args, _shuffle_args );      string container_diagram(string tag, mapping m, string contents,    object id, object f)   {    int l=query("maxstringlength")-1;    contents=replace(contents, "\r\n", "\n");    contents=replace(contents, "\r", "\n");      #ifdef BG_DEBUG    bg_timers->names = 0;