JSFiddle - React, Tailwind, and code Playground

by Derek Anderson

HTML

<div id="surfer">

</div>

JavaScript

(function(window, undefined){
    var __grapher = window.grapher || undefined;
    var _grapher = function(g,o){
        this.noConflict = function(foo){

    }//
            
this.initialize = function(g,o){
  ct = 0
  if(o.axis == undefined){o.axis = true}
  if (o.axis){
  var G = document.getElementById(g);
   var htmlstring = "";
    htmlstring +=axis('y',o);
    htmlstring +=axis('x',o);
    htmlstring += mkLin(25,351,400,351,G);
    htmlstring += mkLin(25,1,25,351,G);
    htmlstring += '<style>ul.xAxis{float:left;clear:left;display:inline;width:454px;margin:0 0 0 27px;padding:0} ul.yAxis{display:inline;float:left;margin:14px 0 0;padding:0;height:370px;} ul.xAxis li{float:left;list-style:none;width:33px;text-align:center} ul.yAxis li{list-style:none;height:33px;text-align:right;float:left;clear:left}</style>'
    m(htmlstring,G);
    }else
    {

    }
  }

    /* This notice must be untouched at all times.

wz_jsgraphics.js    v. 3.05
The latest version is available at
http://www.walterzorn.com
or http://www.devira.com
or http://www.walterzorn.de

Copyright (c) 2002-2009 Walter Zorn. All rights reserved.
Created 3. 11. 2002 by Walter Zorn (Web: http://www.walterzorn.com )
Last modified: 2. 2. 2009

Performance optimizations for Internet Explorer
by Thomas Frank and John Holdsworth.
fillPolygon method implemented by Matthieu Haller.

High Performance JavaScript Graphics Library.
Provides methods
- to draw lines, rectangles, ellipses, polygons
    with specifiable line thickness,
- to fill rectangles, polygons, ellipses and arcs
- to draw text.
NOTE: Operations, functions and branching have rather been optimized
to efficiency and speed than to shortness of source code.

LICENSE: LGPL

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License (LGPL) as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is...