4. Subdivisions enabled

The code below is the source for this graph.

// 4. Subdivisions enabled
require_once 'SVGGraph/autoloader.php';

$settings = [
  'auto_fit' => true,
  'back_stroke_width' => 0,
  'grid_division_v' => 1,
  'grid_division_h' => 2,
  'bar_space' => 4,
  'stroke_width' => 0,
  'show_grid_subdivisions' => true,
  'show_subdivisions' => true,

$graph = new Goat1000\SVGGraph\SVGGraph(300, 200, $settings);


Please note: the source code above comes from a script used to generate one of the example graphs on the site. This is simply a wrapper page to apply highlighting and make the source code easier to read, so there is no content here to describe what the source code is doing.