File: DESIGN

package info (click to toggle)
sparkline-php 0.2-4
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 120 kB
  • ctags: 278
  • sloc: php: 1,093; makefile: 10
file content (27 lines) | stat: -rw-r--r-- 639 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#
# Sparkline PHP Graphing Library
# Copyright 2004 James Byers <jbyers@users.sf.net>
# http://sparkline.org
#
# Sparkline is distributed under a BSD License.  See LICENSE for details.
#
# $Id: DESIGN,v 1.3 2004/11/09 07:10:42 jbyers Exp $
#

Not much to see.  It's 0.1, after all.

Flow
------------------------------------------------------------------------------

Instantiate appropriate Sparkline subclass
Load data, set parameters, all Set* calls
Render
  convert coordinates
  calculate image size
  create image handle
  set colors
  fill background
  draw graph
  draw features
Optionally call Draw* functions
Output / OutputFile