Marker styling

The code below is the source for this graph.

<?php
// Marker styling
require_once 'SVGGraph/autoloader.php';

$settings = [
  'auto_fit' => true,
  'show_legend' => true,
  'show_axes' => false,
  'show_tooltips' => false,
  'back_stroke_width' => 0,
  'legend_draggable' => false,
  'legend_position' => 'inner top left 10 10',
  'legend_entry_height' => 21,
  'legend_round' => 5,
  'axis_max_h' => 10,
  'axis_max_v' => 16,
  'grid_division_v' => 2,
  'grid_back_colour' => '#f9f9f9',
  'pad_left' => 5,
  'pad_top' => 5,
  'pad_right' => 5,
  'pad_bottom' => 5,
  'fill_under' => true,
  'fill_opacity' => 0.8,
  'marker_type' => ['square', 'circle'],
  'marker_size' => [3, 4, 5, 6, 8],
  'marker_stroke_colour' => [null, '#fff', '#0f0', '#000', '#f00'],
  'marker_stroke_width' => [null, 1, 2, 3, 4],
];

$values = [];
for($c = 5; $c > 0; --$c) {
  $values[] = [1 => 6 - $c, 2, 3, 2, 2, 2, 3, 2, 6 - $c];
}

$graph = new Goat1000\SVGGraph\SVGGraph(670, 200, $settings);
$graph->colours([
  ['#e11','#fff'],
  ['#1b1','#fff'],
  ['#11e','#fff'],
  ['#e71','#fff'],
  ['#333','#fff'],
]);
$graph->values($values);

$graph->render('StackedLineGraph');

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.