Teknik is a suite of services with attractive and functional interfaces. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DESIGN 648B

12345678910111213141516171819202122232425262728
  1. #
  2. # Sparkline PHP Graphing Library
  3. # Copyright 2004 James Byers <jbyers@gmail.com>
  4. # http://sparkline.org
  5. #
  6. # Dual-licensed under the BSD (LICENSE-BSD.txt) and GPL (LICENSE-GPL.txt)
  7. # licenses.
  8. #
  9. # $Id: DESIGN,v 1.4 2008/03/11 19:12:49 jbyers Exp $
  10. #
  11. Not much to see. It's 0.1, after all.
  12. Flow
  13. ------------------------------------------------------------------------------
  14. Instantiate appropriate Sparkline subclass
  15. Load data, set parameters, all Set* calls
  16. Render
  17. convert coordinates
  18. calculate image size
  19. create image handle
  20. set colors
  21. fill background
  22. draw graph
  23. draw features
  24. Optionally call Draw* functions
  25. Output / OutputFile