old_sql 1.12.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- data/public/javascripts/old_sql/MochiKit-1.4.2/Changes +362 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/LICENSE.txt +69 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/MANIFEST +179 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/META.json +17 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Async.html +814 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Base.html +1703 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Color.html +755 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/DOM.html +1197 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/DateTime.html +168 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/DragAndDrop.html +187 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Format.html +300 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Iter.html +524 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Logging.html +420 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/LoggingPane.html +142 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Position.html +38 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Selector.html +240 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Signal.html +508 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Sortable.html +244 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Style.html +385 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/VersionHistory.html +384 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Visual.html +1161 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/index.html +447 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/js/toc.js +113 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Async.rst +767 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Base.rst +1445 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Color.rst +651 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/DOM.rst +1143 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/DateTime.rst +145 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/DragAndDrop.rst +197 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Format.rst +258 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Iter.rst +454 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Logging.rst +348 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/LoggingPane.rst +128 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Position.rst +26 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Selector.rst +203 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Signal.rst +498 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Sortable.rst +186 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Style.rst +353 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/VersionHistory.rst +362 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Visual.rst +895 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/index.rst +83 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/ajax_tables.css +69 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/ajax_tables.js +401 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/domains.json +10 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/domains.xml +40 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/index.html +96 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/color_wheel/color_wheel.css +4 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/color_wheel/color_wheel.js +95 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/color_wheel/index.html +31 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/dnd_sortable.css +23 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/dropmarker.png +0 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/icon.png +0 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/index.html +54 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable2_test.html +150 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable3_test.html +42 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable4_test.html +90 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable5_test.html +29 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable_test.html +38 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable_tree_test.html +189 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/draggable/draggable.css +28 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/draggable/draggable.js +73 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/draggable/index.html +38 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_bigslide.html +36 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_blind.html +65 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_blindslide.html +31 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_combi.css +18 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_fadeappear.html +61 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_grow_shrink.html +38 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_onload.html +67 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_queue.html +67 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_queue_limit.html +30 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_scroll.html +483 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_slide.html +62 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/full.html +71 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/icon.png +0 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/index.html +150 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/interpreter/index.html +88 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/interpreter/interpreter.css +54 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/interpreter/interpreter.js +373 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/key_events/index.html +78 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/key_events/key_events.css +5 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/key_events/key_events.js +85 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/index.html +46 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/logging_pane.css +78 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/logging_pane.js +11 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mochiregexp/index.html +74 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mochiregexp/mochiregexp.css +73 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mochiregexp/mochiregexp.js +125 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mouse_events/index.html +88 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mouse_events/mouse_events.css +17 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mouse_events/mouse_events.js +59 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/rounded_corners/index.html +28 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/rounded_corners/rounded_corners.css +3 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/rounded_corners/rounded_corners.js +19 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_boxes.html +45 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_full.html +119 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_ghost.html +40 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_hoverclass.html +43 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_scroll.html +91 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_snap.html +54 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/index.html +93 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/simple_dnd.css +64 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/sortable_tables/index.html +71 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/sortable_tables/sortable_tables.css +66 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/sortable_tables/sortable_tables.js +203 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/SyntaxHighlighter.css +177 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/Tests.html +339 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushCSharp.js +30 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushDelphi.js +31 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushJScript.js +22 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushPhp.js +23 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushPython.js +71 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushSql.js +40 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushVb.js +29 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushXml.js +61 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shCore.js +622 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/view-source.css +1 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/view-source.html +19 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/view-source.js +70 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/include/_img/bg_docheader.gif +0 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/include/_img/g_bullet.gif +0 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/include/_img/g_logo_doc.gif +0 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/include/css/documentation.css +130 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/include/css/general.css +48 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Async.js +682 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Base.js +1489 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Color.js +863 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/DOM.js +1256 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/DateTime.js +222 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/DragAndDrop.js +793 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Format.js +304 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Iter.js +844 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Logging.js +315 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/LoggingPane.js +353 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/MochiKit.js +188 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/MockDOM.js +115 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Position.js +236 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Selector.js +415 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Signal.js +897 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Sortable.js +589 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Style.js +594 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Test.js +162 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Visual.js +2026 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/__package__.js +18 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/packed/MochiKit/MochiKit.js +7829 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/packed/MochiKit/__package__.js +6 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/packed/MochiKit/customize.html +251 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/FakeJSAN.js +40 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/SimpleTest/SimpleTest.js +381 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/SimpleTest/TestRunner.js +159 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/SimpleTest/test.css +28 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/cli.js +6 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/index.html +25 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/standalone.js +16 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Base.js +577 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Color.js +137 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_DateTime.js +52 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_DragAndDrop.js +30 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Format.js +89 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Iter.js +186 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Logging.js +88 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Async.html +408 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Async.json +1 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Base.html +34 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Color.html +84 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DOM-Safari.html +48 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DOM.html +363 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DateTime.html +39 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DragAndDrop.html +54 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Format.html +39 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Iter.html +38 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-JSAN.html +32 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Logging.html +40 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-MochiKit.html +18 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Selector.html +295 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Signal.html +43 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Style.html +223 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Visual.html +197 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Signal.js +481 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/COPYING +28 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/Base.js +406 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/Canvas.js +683 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/EasyPlot.js +161 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/Layout.js +756 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/PlotKit.js +151 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/PlotKit_Packed.js +2177 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/SVG.js +705 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/SweetCanvas.js +348 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/SweetSVG.js +247 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/dummy.svg +9 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/excanvas.js +723 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/README +1 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/MochiKitAdditions.html +2 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/MochiKitAdditions.txt +2 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Base.html +302 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Base.txt +139 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Canvas.html +172 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Canvas.txt +81 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.EasyPlot.html +155 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.EasyPlot.txt +50 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Layout.html +428 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Layout.txt +330 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.QuickStart.html +368 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.QuickStart.txt +256 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Renderer.html +436 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Renderer.txt +299 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SVG.html +159 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SVG.txt +64 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetCanvas.html +131 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetCanvas.txt +34 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetSVG.html +131 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetSVG.txt +34 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.html +334 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.txt +151 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/SVGCanvasCompat.html +304 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/SVGCanvasCompat.txt +144 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/barsample.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/black.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/blue.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/cyan.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/doc.css +62 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/generate.py +37 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/green.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/orange.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/piesample.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/purple.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/red.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/scripts/custom_rhino.jar +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/scripts/pack.py +58 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/axis.html +31 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/basic.html +25 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/basic.js +143 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/debug.html +56 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo-svg.html +58 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo-svg.js +133 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo.html +57 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo.js +136 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/dynamic.html +161 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/firefox.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/konqueror.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/mozilla.ico +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/msie.gif +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/opera.ico +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/safari.gif +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/labels-img.html +38 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/labels.html +43 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/prototype_compat.html +28 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-easy.html +29 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-horiz.html +53 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-neg.html +29 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-svg.html +61 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart.html +57 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/sample.txt +6 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg-sweet.html +29 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg-sweet.js +141 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg.html +26 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg.js +147 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/sweet.html +24 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/sweet.js +89 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/tests.css +66 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/testsvg.html +20 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/testsvg.js +31 -0
- metadata +264 -2
@@ -0,0 +1,299 @@
|
|
1
|
+
{% extends "basex.html" %}
|
2
|
+
{% load markup %}
|
3
|
+
{% block pageid %}code{% endblock %}
|
4
|
+
{% block headers %}
|
5
|
+
<link href="doc.css" media="screen" rel="stylesheet" type="text/css" />
|
6
|
+
{% endblock %}
|
7
|
+
{% block title %}PlotKit.Renderer{% endblock %}
|
8
|
+
|
9
|
+
{% block content %}
|
10
|
+
<div class="page doc api">
|
11
|
+
{% filter markdown %}
|
12
|
+
[PlotKit Home](PlotKit.html) | [<<](PlotKit.Layout.html) | [>>](PlotKit.Canvas.html)
|
13
|
+
|
14
|
+
PlotKit Renderer
|
15
|
+
================
|
16
|
+
|
17
|
+
A Renderer is responsible for translating the layout calculated by PlotKit.Layout and draw it on to a HTML Canvas, SVG object or any other way. One way to use the renderer is to allow theming of graphs by tweaking the layout.
|
18
|
+
|
19
|
+
PlotKit includes some common basic renderers, so you do not need to customise anything if you just plan to change the spacing, colors, fonts, or layout.
|
20
|
+
|
21
|
+
PlotKit Renderers should follow an informal protocol to allow users to plug and play different renderers. Below is the informal protocol:
|
22
|
+
|
23
|
+
PlotKit Renderer Protocol
|
24
|
+
-------------------------
|
25
|
+
* Constructor: ``new Renderer(element, layout, options = {})``
|
26
|
+
|
27
|
+
``element`` is the element which this renderer will perform on, ``layout`` is the PlotKit.Layout object and ``options`` is an associative dictionary described below.
|
28
|
+
|
29
|
+
* class function: ``isSupported()``
|
30
|
+
|
31
|
+
Optional check that returns ``true`` if the renderer is supported in the current browser.
|
32
|
+
|
33
|
+
* object method: ``render()``
|
34
|
+
|
35
|
+
Renders to canvas, can be called multiple times, but ``clear()`` must be called between invokations.
|
36
|
+
|
37
|
+
* object method: ``clear()``
|
38
|
+
|
39
|
+
Clear the canvas.
|
40
|
+
|
41
|
+
PlotKit Renderer Options
|
42
|
+
------------------------
|
43
|
+
To allow some basic flexibility of the output, a renderer should
|
44
|
+
accept and act on the following options passed in the constructor.
|
45
|
+
|
46
|
+
|
47
|
+
<table cellpadding="0" cellspacing="0">
|
48
|
+
<thead>
|
49
|
+
<tr><td>Option name</td><td>Description</td><td>Type</td><td>Default</td></tr>
|
50
|
+
</thead>
|
51
|
+
<tbody>
|
52
|
+
<tr>
|
53
|
+
<th>backgroundColor</th>
|
54
|
+
<td>color to use for background</td>
|
55
|
+
<td>MochiKit.Color.Color</td>
|
56
|
+
<td>Color.whiteColor()</td>
|
57
|
+
</tr>
|
58
|
+
<tr>
|
59
|
+
<th>colorScheme</th>
|
60
|
+
<td>Color scheme used</td>
|
61
|
+
<td>Array of MochiKit.Color.Color</td>
|
62
|
+
<td>output of PlotKit.Base.colorScheme()</td>
|
63
|
+
</tr>
|
64
|
+
<tr>
|
65
|
+
<th>strokeColor</th>
|
66
|
+
<td>Color used stroking. If set to null, the renderer will
|
67
|
+
attempt to use strokeColorTransform</td>
|
68
|
+
<td>MochiKit.Color.Color or null</td>
|
69
|
+
<td>null</td>
|
70
|
+
</tr>
|
71
|
+
<tr>
|
72
|
+
<th>strokeColorTransform</th>
|
73
|
+
<td>Name of the method to call to transform Color into stroke color.</td>
|
74
|
+
<td>string (name of a function that accepts no arguments)</td>
|
75
|
+
<td>"asStrokeColor"</td>
|
76
|
+
</tr>
|
77
|
+
<tr>
|
78
|
+
<th>drawBackground</th>
|
79
|
+
<td>Whether the background should be drawn</td>
|
80
|
+
<td>boolean</td>
|
81
|
+
<td>true</td>
|
82
|
+
</tr>
|
83
|
+
<tr>
|
84
|
+
<th>shouldFill</th>
|
85
|
+
<td>Should fill in area under chart</td>
|
86
|
+
<td>boolean</td>
|
87
|
+
<td>true</td>
|
88
|
+
</tr>
|
89
|
+
<tr>
|
90
|
+
<th>shouldStroke</th>
|
91
|
+
<td>Should stroke the borders of shapes in chart</td>
|
92
|
+
<td>boolean</td>
|
93
|
+
<td>true</td>
|
94
|
+
</tr>
|
95
|
+
<tr>
|
96
|
+
<th>strokeWidth</th>
|
97
|
+
<td>Width of stroke used (if shouldStroke is set)</td>
|
98
|
+
<td>float</td>
|
99
|
+
<td>0.1</td>
|
100
|
+
</tr>
|
101
|
+
<tr>
|
102
|
+
<th>padding</th>
|
103
|
+
<td>Padding of the graph drawn (excluding labels)</td>
|
104
|
+
<td>Object with properties: top, bottom, left, right.</td>
|
105
|
+
<td>{left: 30, right:20, top: 10, bottom: 10}</td>
|
106
|
+
</tr>
|
107
|
+
<tr>
|
108
|
+
<th>drawYAxis</th>
|
109
|
+
<td>draw Y Axis</td>
|
110
|
+
<td>boolean</td>
|
111
|
+
<td>true</td>
|
112
|
+
</tr>
|
113
|
+
<tr>
|
114
|
+
<th>drawXAxis</th>
|
115
|
+
<td>draw X Axis</td>
|
116
|
+
<td>boolean</td>
|
117
|
+
<td>true</td>
|
118
|
+
</tr>
|
119
|
+
<tr>
|
120
|
+
<th>axisLineColor</th>
|
121
|
+
<td>Color of axes line.</td>
|
122
|
+
<td>MochiKit.Color.Color</td>
|
123
|
+
<td>Color.blackColor()</td>
|
124
|
+
</tr>
|
125
|
+
<tr>
|
126
|
+
<th>axisLineWidth</th>
|
127
|
+
<td>axis line width</td>
|
128
|
+
<td>float</td>
|
129
|
+
<td>0.5</td>
|
130
|
+
</tr>
|
131
|
+
<tr>
|
132
|
+
<th>axisTickSize</th>
|
133
|
+
<td>length or height of a tick on the y and x axis respectively, in pixels</td>
|
134
|
+
<td>float</td>
|
135
|
+
<td>3.0</td>
|
136
|
+
</tr>
|
137
|
+
<tr>
|
138
|
+
<th>axisLabelColor</th>
|
139
|
+
<td>color of text label on axis.</td>
|
140
|
+
<td>MochiKit.Color.Color</td>
|
141
|
+
<td>Color.blackColor()</td>
|
142
|
+
</tr>
|
143
|
+
<tr>
|
144
|
+
<th>axisLabelFontSize</th>
|
145
|
+
<td>Font size of labels in pixels </td>
|
146
|
+
<td>integer</td>
|
147
|
+
<td>9</td>
|
148
|
+
</tr>
|
149
|
+
<tr>
|
150
|
+
<th>axisLabelWidth</th>
|
151
|
+
<td>Width of labels on ticks, in pixels</td>
|
152
|
+
<td>integer</td>
|
153
|
+
<td>50</td>
|
154
|
+
</tr>
|
155
|
+
<tr>
|
156
|
+
<th>enableEvents</th>
|
157
|
+
<td>Enable events (if supported)</td>
|
158
|
+
<td>boolean</td>
|
159
|
+
<td>true</td>
|
160
|
+
</tr>
|
161
|
+
</tbody>
|
162
|
+
</table>
|
163
|
+
|
164
|
+
Internal Renderer Methods and Style
|
165
|
+
===================================
|
166
|
+
|
167
|
+
The default renderers that are available follow a rough structure. If
|
168
|
+
you plan to write a new renderer, you should think about using a
|
169
|
+
similar structure.
|
170
|
+
|
171
|
+
Also, it is important that you follow an Object Orientated style and
|
172
|
+
split up the rendering methods as much as logically possible to allow
|
173
|
+
other developers to extend the work by using a "psuedo subclassing"
|
174
|
+
method described below.
|
175
|
+
|
176
|
+
Subclassing
|
177
|
+
-----------
|
178
|
+
|
179
|
+
PlotKit Renderers should adopt a Javascript subclassing structure to
|
180
|
+
allow developers/themers to customise certain aspects of the
|
181
|
+
rendering. Here is an example of what is expected:
|
182
|
+
|
183
|
+
MyRenderer = function(element, layout, options) {
|
184
|
+
if (arguments.length > 0)
|
185
|
+
this.__init__(element, layout, options);
|
186
|
+
};
|
187
|
+
|
188
|
+
MyRenderer.prototype.__init__ = function(element, layout, options) {
|
189
|
+
....
|
190
|
+
};
|
191
|
+
|
192
|
+
In this case, the default javascript constructor acts only when passed
|
193
|
+
arguments. ``MyRenderer.prototype.__init__`` is the real
|
194
|
+
constructor. It is named in similar vein to Python's constructor.
|
195
|
+
|
196
|
+
For users who would like to subclass, they will need to use the
|
197
|
+
following snippet of code:
|
198
|
+
|
199
|
+
MyAlternateRenderer = function(element, layout. options) {
|
200
|
+
if (arguments.length > 0)
|
201
|
+
this.__init__(element, layout, options);
|
202
|
+
};
|
203
|
+
MyAlternateRenderer.prototype = new MyRenderer();
|
204
|
+
MyAlternateRenderer.prototype.constructor = MyAlternateRenderer;
|
205
|
+
MyAlternateRenderer.__super__ = MyRenderer.prototype;
|
206
|
+
|
207
|
+
MyAlternateRenderer.prototype.__init__ = function(element, layout, options) {
|
208
|
+
MyAlternateRenderer.__super__.__init__.call(this, element, layout, options);
|
209
|
+
};
|
210
|
+
|
211
|
+
|
212
|
+
For subclasses, they will need the following magic in order to
|
213
|
+
initialise their subclass. But after that, you can either override
|
214
|
+
``MyAlternateRenderer.prototype.__init__`` with your own
|
215
|
+
implementation or just leave the superclass to deal with the
|
216
|
+
constructor.
|
217
|
+
|
218
|
+
A more thorough example can be found in the PlotKit source for
|
219
|
+
``Canvas.js`` and ``SweetCanvas.js`` respectively.
|
220
|
+
|
221
|
+
Internal Renderer Properties
|
222
|
+
----------------------------
|
223
|
+
|
224
|
+
The bundled renderers are have the following common properties to
|
225
|
+
allow standard access by all subclasses:
|
226
|
+
|
227
|
+
* ``this.layout``
|
228
|
+
|
229
|
+
The PlotKit.Layout object passed by the user.
|
230
|
+
|
231
|
+
* ``this.element``
|
232
|
+
|
233
|
+
The HTML element to use, either a Canvas Element or SVG Element depending
|
234
|
+
on whether a Canvas Renderer or SVG Renderer is in use.
|
235
|
+
|
236
|
+
* ``this.options``
|
237
|
+
|
238
|
+
A dictionary of options that are applicable to the rendering style.
|
239
|
+
|
240
|
+
* ``this.xlabels``
|
241
|
+
|
242
|
+
A list of elements that represent the axis. Should be cleared whenever
|
243
|
+
``clear()`` is executed.
|
244
|
+
|
245
|
+
* ``this.ylabels``
|
246
|
+
|
247
|
+
A list of elements that represent the axis. Should be cleared whenever
|
248
|
+
``clear()`` is executed.
|
249
|
+
|
250
|
+
Internal Renderer Methods
|
251
|
+
-------------------------
|
252
|
+
|
253
|
+
* ``_renderBarChart()``
|
254
|
+
|
255
|
+
Renders only the bars of a bar chart on the element by looking at
|
256
|
+
``this.layout.bars`` for the bars to render. Will only be called if
|
257
|
+
``this.layout.style == "bars"``
|
258
|
+
|
259
|
+
* ``_renderLineChart()``
|
260
|
+
|
261
|
+
Renders only the lines of a line chart on the element by looking at
|
262
|
+
``this.layout.points`` for the points to render. Will only be called if
|
263
|
+
``this.layout.style == "line"``
|
264
|
+
|
265
|
+
* ``_renderPieChart()``
|
266
|
+
|
267
|
+
Renders only the slices of the pie in ``this.layout.slices``.
|
268
|
+
Will only be called if ``this.layout.style == "pie"``
|
269
|
+
|
270
|
+
* ``_renderBarAxis()``
|
271
|
+
|
272
|
+
Renders the axis for a bar chart by looking at the
|
273
|
+
``this.layout.xticks`` and ``this.layout.yticks``.
|
274
|
+
|
275
|
+
* ``_renderLineAxis()``
|
276
|
+
|
277
|
+
Renders the axis for a line chart by looking at the
|
278
|
+
``this.layout.xticks`` and ``this.layout.yticks``.
|
279
|
+
|
280
|
+
* ``_renderPieAxis()``
|
281
|
+
|
282
|
+
Renders the labels for a pie chart by looking at
|
283
|
+
``this.layout.xticks`` only.
|
284
|
+
|
285
|
+
* ``_renderBackground()``
|
286
|
+
|
287
|
+
Called to render the background of the chart. Should check whether
|
288
|
+
``this.options.drawsBackground`` is set before proceeding.
|
289
|
+
|
290
|
+
|
291
|
+
Events from the Chart
|
292
|
+
=====================
|
293
|
+
|
294
|
+
There is preliminary support for events from the chart for the Canvas
|
295
|
+
Renderer but the API is not stablised and subject to change. __(TODO)__.
|
296
|
+
|
297
|
+
{% endfilter %}
|
298
|
+
</div>
|
299
|
+
{% endblock %}
|
@@ -0,0 +1,159 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" >
|
4
|
+
<head>
|
5
|
+
<title>PlotKit.SVG | liquidx</title>
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
7
|
+
<link href="http://media.liquidx.net/css/x_general.css" media="screen" rel="Stylesheet" type="text/css" />
|
8
|
+
<link href="http://media.liquidx.net/css/x_header.css" media="screen" rel="Stylesheet" type="text/css" />
|
9
|
+
<link href="http://media.liquidx.net/css/x_layout.css" media="screen" rel="Stylesheet" type="text/css" />
|
10
|
+
<link href="http://media.liquidx.net/css/x_blocks.css" media="screen" rel="Stylesheet" type="text/css" />
|
11
|
+
<link rel="icon" href="/favicon.png" type="image/x-png">
|
12
|
+
<link rel="shortcut icon" href="/favicon.png" type="image/x-png">
|
13
|
+
<!--[if lt IE 7.]>
|
14
|
+
<script defer type="text/javascript" src="http://media.liquidx.net/js/pngfix.js"></script>
|
15
|
+
<![endif]-->
|
16
|
+
|
17
|
+
<link href="doc.css" media="screen" rel="stylesheet" type="text/css" />
|
18
|
+
|
19
|
+
</head>
|
20
|
+
|
21
|
+
<body>
|
22
|
+
<div id="header">
|
23
|
+
<div id="logo"><a href="http://www.liquidx.net/"><img src="http://media.liquidx.net/imgx/logo.png" width="256" height="128" alt="liquidx.net" /></a></div>
|
24
|
+
<div id="menu-hack">
|
25
|
+
<div id="menu-l"><img src="http://media.liquidx.net/imgx/menu_l.png" width="17" height="28" alt="menu cap" /></div><div id="menu-r"><img src="http://media.liquidx.net/imgx/menu_r.png" width="17" height="28" alt="menu cap" /></div>
|
26
|
+
<div id="menu-main">
|
27
|
+
<ul id="menu" class="code">
|
28
|
+
<li class="tab" id="blog"><a href="http://www.liquidx.net/" title="blog/home">blog</a></li>
|
29
|
+
<li class="tab" id="code"><a href="http://www.liquidx.net/code/" title="software i have written">software</a></li>
|
30
|
+
<li class="tab" id="dev"><a href="http://projects.liquidx.net/" title="source code for my open source projects">dev</a></li>
|
31
|
+
<li class="tab" id="photos"><a href="http://al.tse.id.au/gallery/" title="photos and videos">photos</a></li>
|
32
|
+
<li class="tab" id="research"><a href="http://al.tse.id.au/research/" title="research profile">research</a></li>
|
33
|
+
<li class="tab" id="links"><a href="http://www.liquidx.net/links/" title="my bookmarks">linkblog</a></li>
|
34
|
+
<li class="tab" id="stats"><a href="http://stats.liquidx.net/" title="stats for various parts of my website">stats</a></li>
|
35
|
+
<li class="tab" id="status"><a href="http://www.liquidx.net/status/" title="weather report for alastair">status</a></li>
|
36
|
+
<li class="tab" id="about"><a href="http://al.tse.id.au/" title="about alastair tse">aboutme</a></li>
|
37
|
+
</ul>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
<div id="quickbuttons">
|
41
|
+
<span class="quickbutton"><a href="http://www.liquidx.net/albumartwidget/"><img src="http://media.liquidx.net/imgx/quick_widget.png" alt="album art widget" /></a></span>
|
42
|
+
<span class="quickbutton"><a href="http://www.liquidx.net/plotkit/"><img src="http://media.liquidx.net/imgx/quick_plotkit.png" alt="plotkit" /></a></span>
|
43
|
+
<span class="quickbutton"><a href="http://www.liquidx.net/fruity/"><img src="http://media.liquidx.net/imgx/quick_fruity.png" alt="fruity" /></a></span>
|
44
|
+
</div>
|
45
|
+
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<div id="body">
|
49
|
+
<div class="page doc api">
|
50
|
+
|
51
|
+
<p> <a href="PlotKit.html">PlotKit Home</a> | <a href="PlotKit.Canvas.html"><<</a> | <a href="PlotKit.SweetCanvas.html">>></a>
|
52
|
+
</p>
|
53
|
+
|
54
|
+
<h1> PlotKit SVG</h1>
|
55
|
+
<p>PlotKit SVG includes the SVGRenderer which allows chart plotting on SVG capable browsers such as Firefox 1.5 and Opera 9.0. It should support Adobe SVG plugin, but is current untested.
|
56
|
+
</p>
|
57
|
+
|
58
|
+
<h2> Important Implementation Requirements</h2>
|
59
|
+
<p>In order to use the SVG Renderer, the file and webserver must support inline SVG files. This means the following conditions must exist:
|
60
|
+
</p>
|
61
|
+
|
62
|
+
<h3>The HTML file must be XHTML compliant. </h3>
|
63
|
+
<p>So it should start off with this:
|
64
|
+
</p>
|
65
|
+
<pre><code><?xml version="1.0" encoding="UTF-8"?>
|
66
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
67
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
68
|
+
<html
|
69
|
+
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
|
70
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
71
|
+
xmlns:xlink="http://www.w3.org/1999/xlink">
|
72
|
+
<head>
|
73
|
+
<object id="AdobeSVG" classid="clsid:78156a80-c6a1-4bbf-8e6a-3cd390eeb4e2" width="1" height="1"></object>
|
74
|
+
<?import namespace="svg" implementation="#AdobeSVG"?>
|
75
|
+
...
|
76
|
+
</code></pre>
|
77
|
+
<h3>Correct XHTML Mime-Type</h3>
|
78
|
+
<p>Firefox and MSIE are fussy about the mimetype to do in-line
|
79
|
+
SVG. Firefox requires that either the URL ends in .html or that the
|
80
|
+
file is returned as mime type <code>application/xhtml+xml</code> in the HTTP
|
81
|
+
headers.
|
82
|
+
</p>
|
83
|
+
<p>However, MSIE does not recognise <code>application/xhtml+xml</code> and will
|
84
|
+
work fine with regular <code>text/html</code> mimetype for XHTML.
|
85
|
+
</p>
|
86
|
+
|
87
|
+
<h3>Non XHTML Compliant javascript includes</h3>
|
88
|
+
<p>You cannot use the autoloading MochiKit.js, but instead include all the JS files individually or use the packed MochiKit. This is because MochiKit's way of autoloading is not XHTML compliant.
|
89
|
+
</p>
|
90
|
+
<p>An example of this is in the tests.
|
91
|
+
</p>
|
92
|
+
|
93
|
+
<h2> PlotKit SVG Options</h2>
|
94
|
+
<p>There are no additional options for the SVG Renderer apart from the default Renderer options.
|
95
|
+
</p>
|
96
|
+
|
97
|
+
|
98
|
+
</div>
|
99
|
+
</div>
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
<div id="footer">
|
105
|
+
<div class="block">
|
106
|
+
<h3>Syndication Feeds:</h3>
|
107
|
+
<p>
|
108
|
+
<ul class="tiny">
|
109
|
+
<li><a href="http://www.liquidx.net/blog/feed/atom/" class="feed" title="feed for all posts on liquidx.net"><img src="http://media.liquidx.net/imgx/feed.gif" class="feed" alt="feed" />Atom Feed for the Blog Entries</a></li>
|
110
|
+
<li><a href="http://www.liquidx.net/blog/feed/rss/" class="feed" title="feed for all posts on liquidx.net"><img src="http://media.liquidx.net/imgx/feed.gif" class="feed" alt="feed" />RSS Feed for the Blog Entries</a></li>
|
111
|
+
<li><a href="http://www.liquidx.net/comments/feed/atom/" class="feed" title="feed for all posts on liquidx.net"><img src="http://media.liquidx.net/imgx/feed.gif" class="feed" alt="feed" />Feed for All Comments</a></li>
|
112
|
+
<li><a href="http://www.liquidx.net/links/feed/atom/" class="feed" title="feed for all bookmarked links"><img src="http://media.liquidx.net/imgx/feed.gif" class="feed" alt="feed" />Feed for Links</a></li>
|
113
|
+
</ul>
|
114
|
+
</p>
|
115
|
+
</div>
|
116
|
+
<div class="block">
|
117
|
+
<h3>About this site:</h3>
|
118
|
+
<p>Content on this site is licensed under <a href="http://creativecommons.org/licenses/by/2.5/">CC By Attribution</a> unless otherwise specified.
|
119
|
+
Copyright (c) 2002-2006, <a href="http://al.tse.id.au/">Alastair Tse</a>.</p>
|
120
|
+
<p>For more information, see <a href="http://al.tse.id.au/">al.tse.id.au</a>.</p>
|
121
|
+
<p><script type="text/javascript" src="http://technorati.com/embed/itwctkzez.js"></script></p>
|
122
|
+
</div>
|
123
|
+
<div class="block">
|
124
|
+
<h3>Is Made Possible By:</h3>
|
125
|
+
<p>
|
126
|
+
<dl>
|
127
|
+
<dt><a href="http://ecto.kung-foo.tv/" class="clean">ecto</a>. </dt>
|
128
|
+
<dd>Blogging client for Mac</dd>
|
129
|
+
<dt><a href="http://djangoproject.com/" class="clean">Django</a>. </dt>
|
130
|
+
<dd>Python Web Framework</dd>
|
131
|
+
<dt><a href="http://www.lighttpd.net/" class="clean">lighttpd</a>. </dt>
|
132
|
+
<dd>Really Fast Web Server</dd>
|
133
|
+
<dt><a href="http://www.saddi.com/software/flup/" class="clean">flup</a>. </dt>
|
134
|
+
<dd>FastCGI for Python</dd>
|
135
|
+
</dl>
|
136
|
+
</p>
|
137
|
+
</div>
|
138
|
+
<div class="block">
|
139
|
+
<h3>Search My Sites:</h3>
|
140
|
+
<p>
|
141
|
+
<div style='margin: 10px; text-align: center; width: 160px;'><form action='http://www.rollyo.com/search.html' ><fieldset style='margin: 0; padding: 4px 0 0 0; height: 60px; border: none; background: url(http://rollyo.com/remote/togo-bg4.png) no-repeat top left;'><div style="position: absolute; float:left; z-index:99; width: 46px; height: 50px;"><a href="http://rollyo.com"><img style="border: none;" height="50" width="46" src="http://rollyo.com/remote/x.gif"></a></div> <input type='text' size='30' style='float: left; width: 90px; margin: 2px 0 0 48px; padding: 0; font-size: 12px;' name='q' value='Search...' onclick='this.value="";' /><br /> <select name='sid' style='float: left; width: 78px; height: 15px; margin: 12px 0 0 46px; font-size: 7pt; padding: 0;'><option value='106081' selected='selected'>liquidx</option><option value='web'>Search The Web</option></select><input type='image' src='http://rollyo.com/remote/btn-togo.png' alt='Go' style='margin: 12px 0 0 3px; float: left;' /><input type='hidden' name='togo-v' value='1' /></fieldset></form></div>
|
142
|
+
</p>
|
143
|
+
</div>
|
144
|
+
|
145
|
+
|
146
|
+
<div class="clear"> </div>
|
147
|
+
|
148
|
+
</div>
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
|
153
|
+
<script type="text/javascript">
|
154
|
+
_uacct = "UA-58117-1";
|
155
|
+
urchinTracker();
|
156
|
+
</script>
|
157
|
+
|
158
|
+
</body>
|
159
|
+
</html>
|
@@ -0,0 +1,64 @@
|
|
1
|
+
{% extends "basex.html" %}
|
2
|
+
{% load markup %}
|
3
|
+
{% block pageid %}code{% endblock %}
|
4
|
+
{% block headers %}
|
5
|
+
<link href="doc.css" media="screen" rel="stylesheet" type="text/css" />
|
6
|
+
{% endblock %}
|
7
|
+
{% block title %}PlotKit.SVG{% endblock %}
|
8
|
+
|
9
|
+
{% block content %}
|
10
|
+
<div class="page doc api">
|
11
|
+
{% filter markdown %}
|
12
|
+
[PlotKit Home](PlotKit.html) | [<<](PlotKit.Canvas.html) | [>>](PlotKit.SweetCanvas.html)
|
13
|
+
|
14
|
+
PlotKit SVG
|
15
|
+
===========
|
16
|
+
|
17
|
+
PlotKit SVG includes the SVGRenderer which allows chart plotting on SVG capable browsers such as Firefox 1.5 and Opera 9.0. It should support Adobe SVG plugin, but is current untested.
|
18
|
+
|
19
|
+
Important Implementation Requirements
|
20
|
+
-------------------------------------
|
21
|
+
|
22
|
+
In order to use the SVG Renderer, the file and webserver must support inline SVG files. This means the following conditions must exist:
|
23
|
+
|
24
|
+
###The HTML file must be XHTML compliant.
|
25
|
+
|
26
|
+
So it should start off with this:
|
27
|
+
|
28
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
29
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
30
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
31
|
+
<html
|
32
|
+
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
|
33
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
34
|
+
xmlns:xlink="http://www.w3.org/1999/xlink">
|
35
|
+
<head>
|
36
|
+
<object id="AdobeSVG" classid="clsid:78156a80-c6a1-4bbf-8e6a-3cd390eeb4e2" width="1" height="1"></object>
|
37
|
+
<?import namespace="svg" implementation="#AdobeSVG"?>
|
38
|
+
...
|
39
|
+
|
40
|
+
###Correct XHTML Mime-Type
|
41
|
+
|
42
|
+
Firefox and MSIE are fussy about the mimetype to do in-line
|
43
|
+
SVG. Firefox requires that either the URL ends in .html or that the
|
44
|
+
file is returned as mime type ``application/xhtml+xml`` in the HTTP
|
45
|
+
headers.
|
46
|
+
|
47
|
+
However, MSIE does not recognise ``application/xhtml+xml`` and will
|
48
|
+
work fine with regular ``text/html`` mimetype for XHTML.
|
49
|
+
|
50
|
+
###Non XHTML Compliant javascript includes
|
51
|
+
|
52
|
+
You cannot use the autoloading MochiKit.js, but instead include all the JS files individually or use the packed MochiKit. This is because MochiKit's way of autoloading is not XHTML compliant.
|
53
|
+
|
54
|
+
An example of this is in the tests.
|
55
|
+
|
56
|
+
|
57
|
+
PlotKit SVG Options
|
58
|
+
-------------------
|
59
|
+
|
60
|
+
There are no additional options for the SVG Renderer apart from the default Renderer options.
|
61
|
+
|
62
|
+
{% endfilter %}
|
63
|
+
</div>
|
64
|
+
{% endblock %}
|
@@ -0,0 +1,131 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" >
|
4
|
+
<head>
|
5
|
+
<title>PlotKit.SweetCanvas | liquidx</title>
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
7
|
+
<link href="http://media.liquidx.net/css/x_general.css" media="screen" rel="Stylesheet" type="text/css" />
|
8
|
+
<link href="http://media.liquidx.net/css/x_header.css" media="screen" rel="Stylesheet" type="text/css" />
|
9
|
+
<link href="http://media.liquidx.net/css/x_layout.css" media="screen" rel="Stylesheet" type="text/css" />
|
10
|
+
<link href="http://media.liquidx.net/css/x_blocks.css" media="screen" rel="Stylesheet" type="text/css" />
|
11
|
+
<link rel="icon" href="/favicon.png" type="image/x-png">
|
12
|
+
<link rel="shortcut icon" href="/favicon.png" type="image/x-png">
|
13
|
+
<!--[if lt IE 7.]>
|
14
|
+
<script defer type="text/javascript" src="http://media.liquidx.net/js/pngfix.js"></script>
|
15
|
+
<![endif]-->
|
16
|
+
|
17
|
+
<link href="doc.css" media="screen" rel="stylesheet" type="text/css" />
|
18
|
+
|
19
|
+
</head>
|
20
|
+
|
21
|
+
<body>
|
22
|
+
<div id="header">
|
23
|
+
<div id="logo"><a href="http://www.liquidx.net/"><img src="http://media.liquidx.net/imgx/logo.png" width="256" height="128" alt="liquidx.net" /></a></div>
|
24
|
+
<div id="menu-hack">
|
25
|
+
<div id="menu-l"><img src="http://media.liquidx.net/imgx/menu_l.png" width="17" height="28" alt="menu cap" /></div><div id="menu-r"><img src="http://media.liquidx.net/imgx/menu_r.png" width="17" height="28" alt="menu cap" /></div>
|
26
|
+
<div id="menu-main">
|
27
|
+
<ul id="menu" class="code">
|
28
|
+
<li class="tab" id="blog"><a href="http://www.liquidx.net/" title="blog/home">blog</a></li>
|
29
|
+
<li class="tab" id="code"><a href="http://www.liquidx.net/code/" title="software i have written">software</a></li>
|
30
|
+
<li class="tab" id="dev"><a href="http://projects.liquidx.net/" title="source code for my open source projects">dev</a></li>
|
31
|
+
<li class="tab" id="photos"><a href="http://al.tse.id.au/gallery/" title="photos and videos">photos</a></li>
|
32
|
+
<li class="tab" id="research"><a href="http://al.tse.id.au/research/" title="research profile">research</a></li>
|
33
|
+
<li class="tab" id="links"><a href="http://www.liquidx.net/links/" title="my bookmarks">linkblog</a></li>
|
34
|
+
<li class="tab" id="stats"><a href="http://stats.liquidx.net/" title="stats for various parts of my website">stats</a></li>
|
35
|
+
<li class="tab" id="status"><a href="http://www.liquidx.net/status/" title="weather report for alastair">status</a></li>
|
36
|
+
<li class="tab" id="about"><a href="http://al.tse.id.au/" title="about alastair tse">aboutme</a></li>
|
37
|
+
</ul>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
<div id="quickbuttons">
|
41
|
+
<span class="quickbutton"><a href="http://www.liquidx.net/albumartwidget/"><img src="http://media.liquidx.net/imgx/quick_widget.png" alt="album art widget" /></a></span>
|
42
|
+
<span class="quickbutton"><a href="http://www.liquidx.net/plotkit/"><img src="http://media.liquidx.net/imgx/quick_plotkit.png" alt="plotkit" /></a></span>
|
43
|
+
<span class="quickbutton"><a href="http://www.liquidx.net/fruity/"><img src="http://media.liquidx.net/imgx/quick_fruity.png" alt="fruity" /></a></span>
|
44
|
+
</div>
|
45
|
+
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<div id="body">
|
49
|
+
<div class="page doc">
|
50
|
+
|
51
|
+
<p> <a href="PlotKit.html">PlotKit Home</a> | <a href="PlotKit.SVG.html"><<</a> | <a href="PlotKit.SweetSVG.html">>></a>
|
52
|
+
</p>
|
53
|
+
|
54
|
+
<h1> PlotKit Sweet Canvas Renderer</h1>
|
55
|
+
<p>This renderer is an extension of the basic Canvas Renderer to show off
|
56
|
+
what you can do to make graphs pretty without learning any graph
|
57
|
+
layout code.
|
58
|
+
</p>
|
59
|
+
<p>There are no extra methods or options to use. The interface is exactly
|
60
|
+
the same as <code>PlotKit.Canvas</code>'s CanvasRenderer.
|
61
|
+
</p>
|
62
|
+
<p>SweetCanvasRenderer adds a fake shadow around bars, lines and circles
|
63
|
+
along with a 2.0 width white outline and a etched light coloured
|
64
|
+
background.
|
65
|
+
</p>
|
66
|
+
|
67
|
+
<h1> Example</h1>
|
68
|
+
|
69
|
+
|
70
|
+
</div>
|
71
|
+
</div>
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
<div id="footer">
|
77
|
+
<div class="block">
|
78
|
+
<h3>Syndication Feeds:</h3>
|
79
|
+
<p>
|
80
|
+
<ul class="tiny">
|
81
|
+
<li><a href="http://www.liquidx.net/blog/feed/atom/" class="feed" title="feed for all posts on liquidx.net"><img src="http://media.liquidx.net/imgx/feed.gif" class="feed" alt="feed" />Atom Feed for the Blog Entries</a></li>
|
82
|
+
<li><a href="http://www.liquidx.net/blog/feed/rss/" class="feed" title="feed for all posts on liquidx.net"><img src="http://media.liquidx.net/imgx/feed.gif" class="feed" alt="feed" />RSS Feed for the Blog Entries</a></li>
|
83
|
+
<li><a href="http://www.liquidx.net/comments/feed/atom/" class="feed" title="feed for all posts on liquidx.net"><img src="http://media.liquidx.net/imgx/feed.gif" class="feed" alt="feed" />Feed for All Comments</a></li>
|
84
|
+
<li><a href="http://www.liquidx.net/links/feed/atom/" class="feed" title="feed for all bookmarked links"><img src="http://media.liquidx.net/imgx/feed.gif" class="feed" alt="feed" />Feed for Links</a></li>
|
85
|
+
</ul>
|
86
|
+
</p>
|
87
|
+
</div>
|
88
|
+
<div class="block">
|
89
|
+
<h3>About this site:</h3>
|
90
|
+
<p>Content on this site is licensed under <a href="http://creativecommons.org/licenses/by/2.5/">CC By Attribution</a> unless otherwise specified.
|
91
|
+
Copyright (c) 2002-2006, <a href="http://al.tse.id.au/">Alastair Tse</a>.</p>
|
92
|
+
<p>For more information, see <a href="http://al.tse.id.au/">al.tse.id.au</a>.</p>
|
93
|
+
<p><script type="text/javascript" src="http://technorati.com/embed/itwctkzez.js"></script></p>
|
94
|
+
</div>
|
95
|
+
<div class="block">
|
96
|
+
<h3>Is Made Possible By:</h3>
|
97
|
+
<p>
|
98
|
+
<dl>
|
99
|
+
<dt><a href="http://ecto.kung-foo.tv/" class="clean">ecto</a>. </dt>
|
100
|
+
<dd>Blogging client for Mac</dd>
|
101
|
+
<dt><a href="http://djangoproject.com/" class="clean">Django</a>. </dt>
|
102
|
+
<dd>Python Web Framework</dd>
|
103
|
+
<dt><a href="http://www.lighttpd.net/" class="clean">lighttpd</a>. </dt>
|
104
|
+
<dd>Really Fast Web Server</dd>
|
105
|
+
<dt><a href="http://www.saddi.com/software/flup/" class="clean">flup</a>. </dt>
|
106
|
+
<dd>FastCGI for Python</dd>
|
107
|
+
</dl>
|
108
|
+
</p>
|
109
|
+
</div>
|
110
|
+
<div class="block">
|
111
|
+
<h3>Search My Sites:</h3>
|
112
|
+
<p>
|
113
|
+
<div style='margin: 10px; text-align: center; width: 160px;'><form action='http://www.rollyo.com/search.html' ><fieldset style='margin: 0; padding: 4px 0 0 0; height: 60px; border: none; background: url(http://rollyo.com/remote/togo-bg4.png) no-repeat top left;'><div style="position: absolute; float:left; z-index:99; width: 46px; height: 50px;"><a href="http://rollyo.com"><img style="border: none;" height="50" width="46" src="http://rollyo.com/remote/x.gif"></a></div> <input type='text' size='30' style='float: left; width: 90px; margin: 2px 0 0 48px; padding: 0; font-size: 12px;' name='q' value='Search...' onclick='this.value="";' /><br /> <select name='sid' style='float: left; width: 78px; height: 15px; margin: 12px 0 0 46px; font-size: 7pt; padding: 0;'><option value='106081' selected='selected'>liquidx</option><option value='web'>Search The Web</option></select><input type='image' src='http://rollyo.com/remote/btn-togo.png' alt='Go' style='margin: 12px 0 0 3px; float: left;' /><input type='hidden' name='togo-v' value='1' /></fieldset></form></div>
|
114
|
+
</p>
|
115
|
+
</div>
|
116
|
+
|
117
|
+
|
118
|
+
<div class="clear"> </div>
|
119
|
+
|
120
|
+
</div>
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
|
125
|
+
<script type="text/javascript">
|
126
|
+
_uacct = "UA-58117-1";
|
127
|
+
urchinTracker();
|
128
|
+
</script>
|
129
|
+
|
130
|
+
</body>
|
131
|
+
</html>
|