b2evolution PHP Cross Reference Blogging Systems

Source: /inc/sessions/views/inc/_bar_chart.inc.php - 113 lines - 2372 bytes - Text - Print

   1  <?php
   2  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
   3  
   4      $chart[ 'chart_type' ] = 'stacked column';
   5  
   6      $chart[ 'series_color' ] = array (
   7              '0099ff',
   8              '00ccff',
   9              '00ffcc',
  10              '00ff99',
  11              'ffff00',
  12              'ff9900',
  13  
  14              'cccccc',
  15          );
  16  
  17      $chart[ 'series_gap' ] = array ( 'set_gap'=>0, 'bar_gap'=>0 );
  18  
  19      $chart[ 'axis_category' ] = array (
  20              'font'  =>"arial",
  21              'bold'  =>true,
  22              'size'  =>11,
  23              'color' =>'000000',
  24              'alpha' =>75,
  25              'orientation' => 'diagonal_up',
  26              // 'skip'=>2
  27          );
  28  
  29      $chart[ 'axis_value' ] = array (
  30              // 'font'   =>"arial",
  31              // 'bold'   =>true,
  32              'size'   => 11,
  33              'color'  => '000000',
  34              'alpha'  => 75,
  35              'steps'  => 4,
  36              'prefix' => "",
  37              'suffix' => "",
  38              'decimals'=> 0,
  39              'separator'=> "",
  40              'show_min'=> false );
  41  
  42      $chart[ 'canvas_bg' ] = array (
  43              'width'  => 780,
  44              'height' => 355,
  45              'color'  => $AdminUI->get_color( 'payload_background' )
  46          );
  47  
  48      $chart[ 'chart_rect' ] = array (
  49              'x'      => 50,
  50              'y'      => 5,
  51              'width'  => 720,
  52              'height' => 250
  53          );
  54  
  55      $chart[ 'legend_rect' ] = array (
  56              'x'      => 50,
  57              'y'      => 320,
  58              'width'  => 720,
  59              'height' => 8,
  60              'margin' => 6
  61          );
  62  
  63  
  64      $chart[ 'chart_bg' ] = array (
  65              'positive_color' => "ffffff",
  66              // 'negative_color'  =>  string,
  67              'positive_alpha' => 100,
  68              // 'negative_alpha'  =>  int
  69          );
  70  
  71      $chart [ 'legend_bg' ] = array (
  72              'bg_color'          =>  "ffffff",
  73              'bg_alpha'          =>  100,
  74              // 'border_color'      =>  "000000",
  75              // 'border_alpha'      =>  100,
  76              // 'border_thickness'  =>  1
  77          );
  78  
  79      $chart [ 'legend_label' ] = array(
  80              // 'layout'  =>  "horizontal",
  81              // 'font'    =>  string,
  82              // 'bold'    =>  boolean,
  83              'size'    =>  10,
  84              // 'color'   =>  string,
  85              // 'alpha'   =>  int
  86          );
  87  
  88  
  89      $chart[ 'chart_border' ] = array (
  90              'color'=>"cccccc",
  91              'top_thickness'=>1,
  92              'bottom_thickness'=>1,
  93              'left_thickness'=>1,
  94              'right_thickness'=>1
  95          );
  96  
  97      $chart[ 'chart_value' ] = array (
  98              // 'prefix'         =>  string,
  99              // 'suffix'         =>  " views",
 100              // 'decimals'       =>  int,
 101              // 'separator'      =>  string,
 102              'position'       =>  "cursor",
 103              'hide_zero'      =>  true,
 104              // 'as_percentage'  =>  boolean,
 105              'font'           =>  "arial",
 106              'bold'           =>  true,
 107              'size'           =>  14,
 108              'color'          =>  "000000",
 109              'alpha'          =>  75
 110          );
 111  
 112  
 113  ?>

title

Description

title

Description

title

Description

title

title

Body