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 @@
|
|
1
|
+
For more information, go to http://www.liquidx.net/plotkit/.
|
@@ -0,0 +1,302 @@
|
|
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.Base | 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.Layout.html">>></a>
|
52
|
+
</p>
|
53
|
+
|
54
|
+
<h1> PlotKit Base</h1>
|
55
|
+
<p>PlotKit Base contains a number of simple functions that are needed for the rest of the PlotKit libraries.
|
56
|
+
</p>
|
57
|
+
|
58
|
+
<h2> PlotKit.Base Functions</h2>
|
59
|
+
<ul>
|
60
|
+
<li>
|
61
|
+
<code>collapse()</code>
|
62
|
+
</li>
|
63
|
+
</ul>
|
64
|
+
<p> Given an array, it will collapse all the values from the passed array into one big array.
|
65
|
+
</p>
|
66
|
+
<p> <code>[[1,2], [3,4], [5,6]] --> [1, 2, 3, 4, 5, 6]</code>
|
67
|
+
</p>
|
68
|
+
<ul>
|
69
|
+
<li>
|
70
|
+
<code>findPosX(element)</code>
|
71
|
+
</li>
|
72
|
+
</ul>
|
73
|
+
<p> Returns the X value of the element relative to the document in a browser independent way.
|
74
|
+
</p>
|
75
|
+
<ul>
|
76
|
+
<li>
|
77
|
+
<code>findPosY(element)</code>
|
78
|
+
</li>
|
79
|
+
</ul>
|
80
|
+
<p> Returns the Y value of the element relative to the document in a browser independent way.
|
81
|
+
</p>
|
82
|
+
<ul>
|
83
|
+
<li>
|
84
|
+
<code>palette(baseColor, fromLevel = -0.2, toLevel = 0.2, increment = 0.1)</code>
|
85
|
+
</li>
|
86
|
+
</ul>
|
87
|
+
<p> Takes in a base colour and generates a palette of colours based on the intensive levels.
|
88
|
+
</p>
|
89
|
+
<ul>
|
90
|
+
<li>
|
91
|
+
<code>roundInterval(value, precision)</code>
|
92
|
+
</li>
|
93
|
+
</ul>
|
94
|
+
<p> Rounds a number to a specified precision. <strong>TODO: make more robust</strong>
|
95
|
+
</p>
|
96
|
+
<ul>
|
97
|
+
<li>
|
98
|
+
<code>uniq(array)</code>
|
99
|
+
</li>
|
100
|
+
</ul>
|
101
|
+
<p> Acts like the UNIX uniq, takes a sorted array and returns a new array that only contains uniq elements.
|
102
|
+
</p>
|
103
|
+
<ul>
|
104
|
+
<li>
|
105
|
+
<code>isFuncLike(obj)</code> (PlotKit 0.9+)
|
106
|
+
</li>
|
107
|
+
</ul>
|
108
|
+
<p> Returns true if it is of type <code>function</code>.
|
109
|
+
</p>
|
110
|
+
<ul>
|
111
|
+
<li>
|
112
|
+
<code>usingPrototype()</code> (PlotKit 0.9+)
|
113
|
+
</li>
|
114
|
+
</ul>
|
115
|
+
<p> Checks whether the javascript runtime is polluted by prototype.js
|
116
|
+
</p>
|
117
|
+
<ul>
|
118
|
+
<li>
|
119
|
+
<code>items(lst)</code> (PlotKit 0.9+)
|
120
|
+
</li>
|
121
|
+
</ul>
|
122
|
+
<p> A version of <code>MochiKit.Base.items()</code> that is aware of prototype.js
|
123
|
+
</p>
|
124
|
+
<ul>
|
125
|
+
<li>
|
126
|
+
<code>keys(lst)</code> (PlotKit 0.9+)
|
127
|
+
</li>
|
128
|
+
</ul>
|
129
|
+
<p> A version of <code>MochiKit.Base.keys()</code> that is aware of prototype.js
|
130
|
+
</p>
|
131
|
+
<ul>
|
132
|
+
<li>
|
133
|
+
<code>map(fn, lst)</code> (PlotKit 0.9+)
|
134
|
+
</li>
|
135
|
+
</ul>
|
136
|
+
<p> A version of <code>MochiKit.Base.map()</code> that is aware of prototype.js
|
137
|
+
</p>
|
138
|
+
|
139
|
+
<h1> Preset Styles</h1>
|
140
|
+
|
141
|
+
<h2> Color Schemes</h2>
|
142
|
+
<p>There are some colour schemes, which are an array of
|
143
|
+
MochiKit.Color.Colors.
|
144
|
+
</p>
|
145
|
+
<ul>
|
146
|
+
<li>
|
147
|
+
<code>colorScheme()</code>
|
148
|
+
</li>
|
149
|
+
</ul>
|
150
|
+
<p>A default colour scheme that consists of red, orange, yellow, green, cyan, blue, purple and magenta.
|
151
|
+
</p>
|
152
|
+
<ul>
|
153
|
+
<li>
|
154
|
+
<code>baseDarkPrimaryColors()</code>
|
155
|
+
</li>
|
156
|
+
</ul>
|
157
|
+
<p>A set of five dark colours.
|
158
|
+
</p>
|
159
|
+
<ul>
|
160
|
+
<li>
|
161
|
+
<code>basePrimaryColors()</code>
|
162
|
+
</li>
|
163
|
+
</ul>
|
164
|
+
<p>A set of five bright primary colours.
|
165
|
+
</p>
|
166
|
+
<ul>
|
167
|
+
<li>
|
168
|
+
<code>baseBlueColors()</code>
|
169
|
+
</li>
|
170
|
+
</ul>
|
171
|
+
<p>Three colour set that have a nice professional blue hue.
|
172
|
+
</p>
|
173
|
+
|
174
|
+
<h2> Office Style</h2>
|
175
|
+
<p>These are base styles that were inspired by charts in Office 12. The
|
176
|
+
color schemes are fairly similar to those found in screenshots of
|
177
|
+
charts available online.
|
178
|
+
</p>
|
179
|
+
<ul>
|
180
|
+
<li>
|
181
|
+
<code>officeBaseStyle</code>
|
182
|
+
</li>
|
183
|
+
</ul>
|
184
|
+
<p> Contains the basic style independent of colours.
|
185
|
+
</p>
|
186
|
+
<ul>
|
187
|
+
<li>
|
188
|
+
<code>officeBlue()</code>
|
189
|
+
</li>
|
190
|
+
</ul>
|
191
|
+
<p> Blue colors: <img src="blue.png" alt="bluecolors"/>
|
192
|
+
</p>
|
193
|
+
<ul>
|
194
|
+
<li>
|
195
|
+
<code>officeRed()</code>
|
196
|
+
</li>
|
197
|
+
</ul>
|
198
|
+
<p> Red colors: <img src="red.png" alt="redcolors"/>
|
199
|
+
</p>
|
200
|
+
<ul>
|
201
|
+
<li>
|
202
|
+
<code>officeGreen()</code>
|
203
|
+
</li>
|
204
|
+
</ul>
|
205
|
+
<p> Green colors: <img src="green.png" alt="greencolors"/>
|
206
|
+
</p>
|
207
|
+
<ul>
|
208
|
+
<li>
|
209
|
+
<code>officePurple()</code>
|
210
|
+
</li>
|
211
|
+
</ul>
|
212
|
+
<p> Purple colors: <img src="purple.png" alt="purplecolors"/>
|
213
|
+
</p>
|
214
|
+
<ul>
|
215
|
+
<li>
|
216
|
+
<code>officeCyan()</code>
|
217
|
+
</li>
|
218
|
+
</ul>
|
219
|
+
<p> Cyan colors: <img src="cyan.png" alt="cyancolors"/>
|
220
|
+
</p>
|
221
|
+
<ul>
|
222
|
+
<li>
|
223
|
+
<code>officeOrange()</code>
|
224
|
+
</li>
|
225
|
+
</ul>
|
226
|
+
<p> Orange colors: <img src="orange.png" alt="orangecolors"/>
|
227
|
+
</p>
|
228
|
+
<ul>
|
229
|
+
<li>
|
230
|
+
<code>officeBlack()</code>
|
231
|
+
</li>
|
232
|
+
</ul>
|
233
|
+
<p> Black colors: <img src="black.png" alt="blackcolors"/>
|
234
|
+
</p>
|
235
|
+
|
236
|
+
<h2> Usage</h2>
|
237
|
+
<p> <code>var layout = PlotKit.Layout("bar", officeOrange());</code>
|
238
|
+
</p>
|
239
|
+
|
240
|
+
|
241
|
+
</div>
|
242
|
+
</div>
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
<div id="footer">
|
248
|
+
<div class="block">
|
249
|
+
<h3>Syndication Feeds:</h3>
|
250
|
+
<p>
|
251
|
+
<ul class="tiny">
|
252
|
+
<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>
|
253
|
+
<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>
|
254
|
+
<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>
|
255
|
+
<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>
|
256
|
+
</ul>
|
257
|
+
</p>
|
258
|
+
</div>
|
259
|
+
<div class="block">
|
260
|
+
<h3>About this site:</h3>
|
261
|
+
<p>Content on this site is licensed under <a href="http://creativecommons.org/licenses/by/2.5/">CC By Attribution</a> unless otherwise specified.
|
262
|
+
Copyright (c) 2002-2006, <a href="http://al.tse.id.au/">Alastair Tse</a>.</p>
|
263
|
+
<p>For more information, see <a href="http://al.tse.id.au/">al.tse.id.au</a>.</p>
|
264
|
+
<p><script type="text/javascript" src="http://technorati.com/embed/itwctkzez.js"></script></p>
|
265
|
+
</div>
|
266
|
+
<div class="block">
|
267
|
+
<h3>Is Made Possible By:</h3>
|
268
|
+
<p>
|
269
|
+
<dl>
|
270
|
+
<dt><a href="http://ecto.kung-foo.tv/" class="clean">ecto</a>. </dt>
|
271
|
+
<dd>Blogging client for Mac</dd>
|
272
|
+
<dt><a href="http://djangoproject.com/" class="clean">Django</a>. </dt>
|
273
|
+
<dd>Python Web Framework</dd>
|
274
|
+
<dt><a href="http://www.lighttpd.net/" class="clean">lighttpd</a>. </dt>
|
275
|
+
<dd>Really Fast Web Server</dd>
|
276
|
+
<dt><a href="http://www.saddi.com/software/flup/" class="clean">flup</a>. </dt>
|
277
|
+
<dd>FastCGI for Python</dd>
|
278
|
+
</dl>
|
279
|
+
</p>
|
280
|
+
</div>
|
281
|
+
<div class="block">
|
282
|
+
<h3>Search My Sites:</h3>
|
283
|
+
<p>
|
284
|
+
<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>
|
285
|
+
</p>
|
286
|
+
</div>
|
287
|
+
|
288
|
+
|
289
|
+
<div class="clear"> </div>
|
290
|
+
|
291
|
+
</div>
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
|
296
|
+
<script type="text/javascript">
|
297
|
+
_uacct = "UA-58117-1";
|
298
|
+
urchinTracker();
|
299
|
+
</script>
|
300
|
+
|
301
|
+
</body>
|
302
|
+
</html>
|
@@ -0,0 +1,139 @@
|
|
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.Base{% endblock %}
|
8
|
+
|
9
|
+
{% block content %}
|
10
|
+
<div class="page doc api">
|
11
|
+
{% filter markdown %}
|
12
|
+
[PlotKit Home](PlotKit.html) | [>>](PlotKit.Layout.html)
|
13
|
+
|
14
|
+
PlotKit Base
|
15
|
+
============
|
16
|
+
|
17
|
+
PlotKit Base contains a number of simple functions that are needed for the rest of the PlotKit libraries.
|
18
|
+
|
19
|
+
PlotKit.Base Functions
|
20
|
+
----------------------
|
21
|
+
|
22
|
+
* ``collapse()``
|
23
|
+
|
24
|
+
Given an array, it will collapse all the values from the passed array into one big array.
|
25
|
+
|
26
|
+
``[[1,2], [3,4], [5,6]] --> [1, 2, 3, 4, 5, 6]``
|
27
|
+
|
28
|
+
* ``findPosX(element)``
|
29
|
+
|
30
|
+
Returns the X value of the element relative to the document in a browser independent way.
|
31
|
+
|
32
|
+
* ``findPosY(element)``
|
33
|
+
|
34
|
+
Returns the Y value of the element relative to the document in a browser independent way.
|
35
|
+
|
36
|
+
* ``palette(baseColor, fromLevel = -0.2, toLevel = 0.2, increment = 0.1)``
|
37
|
+
|
38
|
+
Takes in a base colour and generates a palette of colours based on the intensive levels.
|
39
|
+
|
40
|
+
* ``roundInterval(value, precision)``
|
41
|
+
|
42
|
+
Rounds a number to a specified precision. __TODO: make more robust__
|
43
|
+
|
44
|
+
* ``uniq(array)``
|
45
|
+
|
46
|
+
Acts like the UNIX uniq, takes a sorted array and returns a new array that only contains uniq elements.
|
47
|
+
|
48
|
+
* ``isFuncLike(obj)`` (PlotKit 0.9+)
|
49
|
+
|
50
|
+
Returns true if it is of type ``function``.
|
51
|
+
|
52
|
+
* ``usingPrototype()`` (PlotKit 0.9+)
|
53
|
+
|
54
|
+
Checks whether the javascript runtime is polluted by prototype.js
|
55
|
+
|
56
|
+
* ``items(lst)`` (PlotKit 0.9+)
|
57
|
+
|
58
|
+
A version of ``MochiKit.Base.items()`` that is aware of prototype.js
|
59
|
+
|
60
|
+
* ``keys(lst)`` (PlotKit 0.9+)
|
61
|
+
|
62
|
+
A version of ``MochiKit.Base.keys()`` that is aware of prototype.js
|
63
|
+
|
64
|
+
* ``map(fn, lst)`` (PlotKit 0.9+)
|
65
|
+
|
66
|
+
A version of ``MochiKit.Base.map()`` that is aware of prototype.js
|
67
|
+
|
68
|
+
Preset Styles
|
69
|
+
=============
|
70
|
+
|
71
|
+
Color Schemes
|
72
|
+
-------------
|
73
|
+
|
74
|
+
There are some colour schemes, which are an array of
|
75
|
+
MochiKit.Color.Colors.
|
76
|
+
|
77
|
+
* ``colorScheme()``
|
78
|
+
|
79
|
+
A default colour scheme that consists of red, orange, yellow, green, cyan, blue, purple and magenta.
|
80
|
+
|
81
|
+
* ``baseDarkPrimaryColors()``
|
82
|
+
|
83
|
+
A set of five dark colours.
|
84
|
+
|
85
|
+
* ``basePrimaryColors()``
|
86
|
+
|
87
|
+
A set of five bright primary colours.
|
88
|
+
|
89
|
+
* ``baseBlueColors()``
|
90
|
+
|
91
|
+
Three colour set that have a nice professional blue hue.
|
92
|
+
|
93
|
+
Office Style
|
94
|
+
------------
|
95
|
+
|
96
|
+
These are base styles that were inspired by charts in Office 12. The
|
97
|
+
color schemes are fairly similar to those found in screenshots of
|
98
|
+
charts available online.
|
99
|
+
|
100
|
+
* ``officeBaseStyle``
|
101
|
+
|
102
|
+
Contains the basic style independent of colours.
|
103
|
+
|
104
|
+
* ``officeBlue()``
|
105
|
+
|
106
|
+
Blue colors: ![bluecolors](blue.png)
|
107
|
+
|
108
|
+
* ``officeRed()``
|
109
|
+
|
110
|
+
Red colors: ![redcolors](red.png)
|
111
|
+
|
112
|
+
* ``officeGreen()``
|
113
|
+
|
114
|
+
Green colors: ![greencolors](green.png)
|
115
|
+
|
116
|
+
* ``officePurple()``
|
117
|
+
|
118
|
+
Purple colors: ![purplecolors](purple.png)
|
119
|
+
|
120
|
+
* ``officeCyan()``
|
121
|
+
|
122
|
+
Cyan colors: ![cyancolors](cyan.png)
|
123
|
+
|
124
|
+
* ``officeOrange()``
|
125
|
+
|
126
|
+
Orange colors: ![orangecolors](orange.png)
|
127
|
+
|
128
|
+
* ``officeBlack()``
|
129
|
+
|
130
|
+
Black colors: ![blackcolors](black.png)
|
131
|
+
|
132
|
+
Usage
|
133
|
+
-----
|
134
|
+
|
135
|
+
``var layout = PlotKit.Layout("bar", officeOrange());``
|
136
|
+
|
137
|
+
{% endfilter %}
|
138
|
+
</div>
|
139
|
+
{% endblock %}
|
@@ -0,0 +1,172 @@
|
|
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.Canvas | 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.Renderer.html"><<</a> | <a href="PlotKit.SVG.html">>></a>
|
52
|
+
</p>
|
53
|
+
|
54
|
+
<h1> PlotKit Canvas</h1>
|
55
|
+
<p>This contains the CanvasRenderer, the default renderer and most well supported one used in PlotKit.
|
56
|
+
</p>
|
57
|
+
<p>It supports Safari 2, Firefox 1.5, Opera 9 and IE 6. Note that for IE6
|
58
|
+
support, you will need iecanvas.htc which is included with PlotKit.
|
59
|
+
</p>
|
60
|
+
<p>Please see the <a href="SVGCanvasCompat.html">Canvas/SVG Browser Support Status</a> for bugs
|
61
|
+
with the Canvas implementation on different browsers.
|
62
|
+
</p>
|
63
|
+
|
64
|
+
<h2> PlotKit Canvas Extra Options</h2>
|
65
|
+
<p>In addition to the options outlined in <a href="PlotKit.Renderer.html">PlotKit.Renderer</a>, here are additional options that the CanvasRenderer supports.
|
66
|
+
</p>
|
67
|
+
<table>
|
68
|
+
<thead>
|
69
|
+
<tr><td>Option name</td><td>Description</td><td>Type</td><td>Default</td></tr>
|
70
|
+
</thead>
|
71
|
+
<tbody>
|
72
|
+
<tr>
|
73
|
+
<th>IECanvasHTC</th>
|
74
|
+
<td>Path relative to the HTML document of the iecanvas.htc file.</td>
|
75
|
+
<td>string</td>
|
76
|
+
<td>iecanvas.htc</td>
|
77
|
+
</tr>
|
78
|
+
</tbody>
|
79
|
+
</table>
|
80
|
+
|
81
|
+
|
82
|
+
<h2> PlotKit Canvas Example</h2>
|
83
|
+
<pre><code>var options = {
|
84
|
+
"drawsBackground": true,
|
85
|
+
"drawYAxis": false,
|
86
|
+
"IECanvasHTC": "contrib/iecanvas.htc"
|
87
|
+
};
|
88
|
+
|
89
|
+
var layout = new Layout("bar", {});
|
90
|
+
layout.addDataset("squares", [[0, 0], [1, 1], [2, 4], [3, 9], [4, 16]]);
|
91
|
+
layout.evaluate()
|
92
|
+
var renderer = new CanvasRenderer($('canvas'), layout, options);
|
93
|
+
layout.render();
|
94
|
+
</code></pre>
|
95
|
+
<h2> PlotKit Canvas Events/Signals</h2>
|
96
|
+
<p>There is preliminary support for events in the CanvasRenderer. If <code>enableEvents</code> is set <code>true</code> in the options, you can hook into the <code>onmousemove</code>, <code>onclick</code>, <code>onmouseover</code> and <code>onmouseout</code> events via the MochiKit.Signal.connect. Note that you must have included MochiKit/Signal.js before instantiating the CanvasRenderer
|
97
|
+
</p>
|
98
|
+
|
99
|
+
<h2> PlotKit Canvas Notes</h2>
|
100
|
+
|
101
|
+
<h3> IE Support</h3>
|
102
|
+
<p>IE Support is done thanks to webfx's great iecanvas.htc which emulates
|
103
|
+
part of the WHATWG canvas specification. Note that alpha values and
|
104
|
+
clear() does not work in IE.
|
105
|
+
</p>
|
106
|
+
<p>Remember that iecanvas.htc <strong>must</strong> reside on the same domain as the
|
107
|
+
HTML page itself.
|
108
|
+
</p>
|
109
|
+
|
110
|
+
|
111
|
+
</div>
|
112
|
+
</div>
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
<div id="footer">
|
118
|
+
<div class="block">
|
119
|
+
<h3>Syndication Feeds:</h3>
|
120
|
+
<p>
|
121
|
+
<ul class="tiny">
|
122
|
+
<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>
|
123
|
+
<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>
|
124
|
+
<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>
|
125
|
+
<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>
|
126
|
+
</ul>
|
127
|
+
</p>
|
128
|
+
</div>
|
129
|
+
<div class="block">
|
130
|
+
<h3>About this site:</h3>
|
131
|
+
<p>Content on this site is licensed under <a href="http://creativecommons.org/licenses/by/2.5/">CC By Attribution</a> unless otherwise specified.
|
132
|
+
Copyright (c) 2002-2006, <a href="http://al.tse.id.au/">Alastair Tse</a>.</p>
|
133
|
+
<p>For more information, see <a href="http://al.tse.id.au/">al.tse.id.au</a>.</p>
|
134
|
+
<p><script type="text/javascript" src="http://technorati.com/embed/itwctkzez.js"></script></p>
|
135
|
+
</div>
|
136
|
+
<div class="block">
|
137
|
+
<h3>Is Made Possible By:</h3>
|
138
|
+
<p>
|
139
|
+
<dl>
|
140
|
+
<dt><a href="http://ecto.kung-foo.tv/" class="clean">ecto</a>. </dt>
|
141
|
+
<dd>Blogging client for Mac</dd>
|
142
|
+
<dt><a href="http://djangoproject.com/" class="clean">Django</a>. </dt>
|
143
|
+
<dd>Python Web Framework</dd>
|
144
|
+
<dt><a href="http://www.lighttpd.net/" class="clean">lighttpd</a>. </dt>
|
145
|
+
<dd>Really Fast Web Server</dd>
|
146
|
+
<dt><a href="http://www.saddi.com/software/flup/" class="clean">flup</a>. </dt>
|
147
|
+
<dd>FastCGI for Python</dd>
|
148
|
+
</dl>
|
149
|
+
</p>
|
150
|
+
</div>
|
151
|
+
<div class="block">
|
152
|
+
<h3>Search My Sites:</h3>
|
153
|
+
<p>
|
154
|
+
<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>
|
155
|
+
</p>
|
156
|
+
</div>
|
157
|
+
|
158
|
+
|
159
|
+
<div class="clear"> </div>
|
160
|
+
|
161
|
+
</div>
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
|
166
|
+
<script type="text/javascript">
|
167
|
+
_uacct = "UA-58117-1";
|
168
|
+
urchinTracker();
|
169
|
+
</script>
|
170
|
+
|
171
|
+
</body>
|
172
|
+
</html>
|