alchemy 1.0.2 → 8.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +24 -17
- data/README.md +538 -4
- data/lib/alchemy.rb +3 -6
- metadata +61 -266
- data/Rakefile +0 -21
- data/app/assets/fonts/alchemy/LiberationSans-Bold-webfont.eot +0 -0
- data/app/assets/fonts/alchemy/LiberationSans-Bold-webfont.svg +0 -154
- data/app/assets/fonts/alchemy/LiberationSans-Bold-webfont.ttf +0 -0
- data/app/assets/fonts/alchemy/LiberationSans-Bold-webfont.woff +0 -0
- data/app/assets/fonts/alchemy/LiberationSans-BoldItalic-webfont.eot +0 -0
- data/app/assets/fonts/alchemy/LiberationSans-BoldItalic-webfont.svg +0 -154
- data/app/assets/fonts/alchemy/LiberationSans-BoldItalic-webfont.ttf +0 -0
- data/app/assets/fonts/alchemy/LiberationSans-BoldItalic-webfont.woff +0 -0
- data/app/assets/fonts/alchemy/LiberationSans-Italic-webfont.eot +0 -0
- data/app/assets/fonts/alchemy/LiberationSans-Italic-webfont.svg +0 -154
- data/app/assets/fonts/alchemy/LiberationSans-Italic-webfont.ttf +0 -0
- data/app/assets/fonts/alchemy/LiberationSans-Italic-webfont.woff +0 -0
- data/app/assets/fonts/alchemy/LiberationSans-Regular-webfont.eot +0 -0
- data/app/assets/fonts/alchemy/LiberationSans-Regular-webfont.svg +0 -154
- data/app/assets/fonts/alchemy/LiberationSans-Regular-webfont.ttf +0 -0
- data/app/assets/fonts/alchemy/LiberationSans-Regular-webfont.woff +0 -0
- data/app/assets/fonts/alchemy/Red Hat Liberation License.txt +0 -78
- data/app/assets/fonts/alchemy/overpass_bold-web.eot +0 -0
- data/app/assets/fonts/alchemy/overpass_bold-web.svg +0 -470
- data/app/assets/fonts/alchemy/overpass_bold-web.ttf +0 -0
- data/app/assets/fonts/alchemy/overpass_bold-web.woff +0 -0
- data/app/assets/fonts/alchemy/overpass_regular-web.eot +0 -0
- data/app/assets/fonts/alchemy/overpass_regular-web.svg +0 -470
- data/app/assets/fonts/alchemy/overpass_regular-web.ttf +0 -0
- data/app/assets/fonts/alchemy/overpass_regular-web.woff +0 -0
- data/app/assets/images/alchemy/icons/action-icons.png +0 -0
- data/app/assets/images/alchemy/icons/arrow_icon.png +0 -0
- data/app/assets/images/alchemy/icons/chosen-sprite.png +0 -0
- data/app/assets/images/alchemy/icons/error_icon.png +0 -0
- data/app/assets/images/alchemy/icons/objects.png +0 -0
- data/app/assets/images/alchemy/icons/spinner.gif +0 -0
- data/app/assets/images/alchemy/icons/spinner_head.gif +0 -0
- data/app/assets/images/alchemy/icons/success_icon.png +0 -0
- data/app/assets/images/alchemy/icons/warning_icon.png +0 -0
- data/app/assets/javascripts/alchemy/flash_messages.js +0 -12
- data/app/assets/javascripts/alchemy/forms.js +0 -25
- data/app/assets/javascripts/alchemy/i18n.js +0 -36
- data/app/assets/javascripts/alchemy/login.js +0 -130
- data/app/assets/javascripts/alchemy/password.js +0 -99
- data/app/assets/stylesheets/alchemy/components/_chosen.scss +0 -423
- data/app/assets/stylesheets/alchemy/components/_content.scss +0 -58
- data/app/assets/stylesheets/alchemy/components/_helpers.scss +0 -38
- data/app/assets/stylesheets/alchemy/components/_media.scss +0 -49
- data/app/assets/stylesheets/alchemy/components/_media_object.scss +0 -22
- data/app/assets/stylesheets/alchemy/components/_normalize.scss +0 -448
- data/app/assets/stylesheets/alchemy/components/_shared.scss +0 -18
- data/app/assets/stylesheets/alchemy/components/buttons/_buttons.scss +0 -241
- data/app/assets/stylesheets/alchemy/components/buttons/_buttons_vars.scss +0 -10
- data/app/assets/stylesheets/alchemy/components/flash_messages/_flash_messages.scss +0 -93
- data/app/assets/stylesheets/alchemy/components/flash_messages/_flash_messages_vars.scss +0 -3
- data/app/assets/stylesheets/alchemy/components/fonts/_liberation.scss +0 -44
- data/app/assets/stylesheets/alchemy/components/fonts/_overpass.scss +0 -24
- data/app/assets/stylesheets/alchemy/components/footer/_footer.scss +0 -53
- data/app/assets/stylesheets/alchemy/components/footer/_footer_vars.scss +0 -4
- data/app/assets/stylesheets/alchemy/components/forms/_forms.scss +0 -536
- data/app/assets/stylesheets/alchemy/components/forms/_forms_ie.scss +0 -45
- data/app/assets/stylesheets/alchemy/components/forms/_forms_mixins.scss +0 -18
- data/app/assets/stylesheets/alchemy/components/forms/_forms_responsive.scss +0 -161
- data/app/assets/stylesheets/alchemy/components/forms/_forms_vars.scss +0 -25
- data/app/assets/stylesheets/alchemy/components/header/_header.scss +0 -214
- data/app/assets/stylesheets/alchemy/components/header/_header_vars.scss +0 -11
- data/app/assets/stylesheets/alchemy/components/login/_login.scss +0 -169
- data/app/assets/stylesheets/alchemy/components/login/_login_mixins.scss +0 -7
- data/app/assets/stylesheets/alchemy/components/login/_login_vars.scss +0 -19
- data/app/assets/stylesheets/alchemy/components/sprites/_sprites.scss +0 -110
- data/app/assets/stylesheets/alchemy/components/sprites/_sprites_mixins.scss +0 -9
- data/app/assets/stylesheets/alchemy/components/text/_text.scss +0 -30
- data/app/assets/stylesheets/alchemy/components/text/_text_vars.scss +0 -1
- data/app/assets/stylesheets/alchemy/composites/content_elements.scss +0 -6
- data/app/assets/stylesheets/alchemy/composites/login.scss +0 -9
- data/app/assets/stylesheets/alchemy/composites/shell.scss +0 -4
- data/app/assets/stylesheets/alchemy/partials/_base.scss +0 -8
- data/app/assets/stylesheets/alchemy/partials/_colors.scss +0 -99
- data/app/assets/stylesheets/alchemy/partials/_mixins.scss +0 -24
- data/app/assets/stylesheets/alchemy/partials/_vars.scss +0 -31
- data/app/helpers/alchemy/gettext_translations.rb +0 -28
- data/app/helpers/alchemy/layout_helper.rb +0 -19
- data/app/helpers/alchemy/rails_translations.rb +0 -21
- data/app/helpers/alchemy/translation_helper.rb +0 -19
- data/app/views/alchemy/layouts/_change_password_layout.html.haml +0 -20
- data/app/views/alchemy/layouts/_common_i18n.haml +0 -4
- data/app/views/alchemy/layouts/_header_layout.haml +0 -13
- data/app/views/alchemy/layouts/_login_layout.html.haml +0 -58
- data/app/views/alchemy/layouts/_user_session_layout.haml +0 -17
- data/app/views/alchemy/layouts/base.html.haml +0 -20
- data/app/views/alchemy/layouts/shell_layout.haml +0 -10
- data/lib/alchemy/version.rb +0 -3
- data/test/alchemy_test.rb +0 -7
- data/test/test_helper.rb +0 -9
- data/vendor/assets/javascripts/alchemy/html5shiv.js +0 -298
- data/vendor/assets/javascripts/alchemy/jquery/jquery-1.6.2.js +0 -8981
- data/vendor/assets/javascripts/alchemy/jquery/plugins/chosen.jquery.js +0 -1003
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/API.txt +0 -1201
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/FAQ.txt +0 -76
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/LICENSE.txt +0 -22
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/Makefile +0 -9
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/NEWS.txt +0 -508
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/PLUGINS.txt +0 -137
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/README.txt +0 -90
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/ajax.html +0 -143
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/annotating.html +0 -75
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/arrow-down.gif +0 -0
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/arrow-left.gif +0 -0
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/arrow-right.gif +0 -0
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/arrow-up.gif +0 -0
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/basic.html +0 -38
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/data-eu-gdp-growth-1.json +0 -4
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/data-eu-gdp-growth-2.json +0 -4
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/data-eu-gdp-growth-3.json +0 -4
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/data-eu-gdp-growth-4.json +0 -4
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/data-eu-gdp-growth-5.json +0 -4
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/data-eu-gdp-growth.json +0 -4
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/data-japan-gdp-growth.json +0 -4
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/data-usa-gdp-growth.json +0 -4
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/graph-types.html +0 -75
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/hs-2004-27-a-large_web.jpg +0 -0
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/image.html +0 -45
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/index.html +0 -44
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/interacting-axes.html +0 -97
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/interacting.html +0 -93
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/layout.css +0 -6
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/multiple-axes.html +0 -60
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/navigate.html +0 -118
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/percentiles.html +0 -57
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/pie.html +0 -756
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/realtime.html +0 -83
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/resize.html +0 -61
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/selection.html +0 -114
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/setting-options.html +0 -61
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/stacking.html +0 -77
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/symbols.html +0 -49
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/thresholding.html +0 -54
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/time.html +0 -71
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/tracking.html +0 -95
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/turning-series.html +0 -98
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/visitors.html +0 -90
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/zooming.html +0 -98
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/excanvas.js +0 -1427
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/excanvas.min.js +0 -1
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.colorhelpers.js +0 -179
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.colorhelpers.min.js +0 -1
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.crosshair.js +0 -167
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.crosshair.min.js +0 -1
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.fillbetween.js +0 -183
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.fillbetween.min.js +0 -1
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.image.js +0 -238
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.image.min.js +0 -1
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.js +0 -2599
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.min.js +0 -6
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.navigate.js +0 -336
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.navigate.min.js +0 -1
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.pie.js +0 -750
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.pie.min.js +0 -1
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.resize.js +0 -60
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.resize.min.js +0 -1
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.selection.js +0 -344
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.selection.min.js +0 -1
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.stack.js +0 -184
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.stack.min.js +0 -1
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.symbol.js +0 -70
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.symbol.min.js +0 -1
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.threshold.js +0 -103
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.threshold.min.js +0 -1
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/blank.svg +0 -3
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/custom_test.js +0 -67
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svg.css +0 -9
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svg.js +0 -1101
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svg.min.js +0 -7
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svg.pack.js +0 -7
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svgfilter.js +0 -396
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svgfilter.min.js +0 -7
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svgfilter.pack.js +0 -7
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svggraph.js +0 -1337
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svggraph.min.js +0 -7
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svggraph.pack.js +0 -7
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/lion.svg +0 -161
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/test.js +0 -714
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.ajaxfileupload.js +0 -205
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.ba-bbq.js +0 -1137
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.ba-resize.js +0 -246
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.cookie.js +0 -92
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.easing.1.3.js +0 -205
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.fancyqueries.js +0 -106
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.flash.js +0 -288
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.form.js +0 -964
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.hoverIntent.js +0 -106
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.jeditable.ajaxupload.js +0 -62
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.jeditable.js +0 -556
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.jnotify.js +0 -210
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.jscrollpane.js +0 -1390
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.jscrollpane.min.js +0 -11
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.linkHover.js +0 -89
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.loadmask.min.js +0 -10
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.mousewheel.js +0 -78
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.multiselect.filter.js +0 -176
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.multiselect.js +0 -668
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.pack.js +0 -11
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.periodicalupdater.js +0 -175
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.sortElements.js +0 -75
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.sparkline.min.js +0 -94
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.text-overflow.js +0 -60
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.timepickr.js +0 -214
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.timers.js +0 -142
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.tipsy.js +0 -358
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.treeTable.js +0 -226
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.trunk8.js +0 -203
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.ui.multiselect.js +0 -338
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.ui.totop.js +0 -58
- data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.uitablefilter.js +0 -95
- data/vendor/assets/javascripts/alchemy/jquery/plugins/ui.spinner.js +0 -683
- data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-bg_highlight-hard_75_dadada_1x100.png +0 -0
- data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-bg_highlight-hard_75_e6e6e6_1x100.png +0 -0
- data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-bg_highlight-hard_95_ffffff_1x100.png +0 -0
- data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-bg_highlight-soft_80_e0e0e0_1x100.png +0 -0
- data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-bg_inset-hard_65_ffffff_1x100.png +0 -0
- data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-bg_inset-soft_95_fef1ec_1x100.png +0 -0
- data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-icons_8f8f8f_256x240.png +0 -0
- data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-icons_97baed_256x240.png +0 -0
- data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/jquery-ui-1.8.11.custom.css +0 -573
- data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/js/jquery-1.5.1.min.js +0 -16
- data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/js/jquery-ui-1.8.11.custom.min.js +0 -783
- data/vendor/assets/javascripts/alchemy/rails.js +0 -331
- data/vendor/assets/javascripts/alchemy/underscore-1.3.1.js +0 -999
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
5
|
-
<title>Flot Examples</title>
|
|
6
|
-
<link href="layout.css" rel="stylesheet" type="text/css">
|
|
7
|
-
<!--[if lte IE 8]><script language="javascript" type="text/javascript" src="../excanvas.min.js"></script><![endif]-->
|
|
8
|
-
<script language="javascript" type="text/javascript" src="../jquery.js"></script>
|
|
9
|
-
<script language="javascript" type="text/javascript" src="../jquery.flot.js"></script>
|
|
10
|
-
<script language="javascript" type="text/javascript" src="../jquery.flot.crosshair.js"></script>
|
|
11
|
-
</head>
|
|
12
|
-
<body>
|
|
13
|
-
<h1>Flot Examples</h1>
|
|
14
|
-
|
|
15
|
-
<div id="placeholder" style="width:600px;height:300px"></div>
|
|
16
|
-
|
|
17
|
-
<p>You can add crosshairs that'll track the mouse position, either
|
|
18
|
-
on both axes or as here on only one.</p>
|
|
19
|
-
|
|
20
|
-
<p>If you combine it with listening on hover events, you can use
|
|
21
|
-
it to track the intersection on the curves by interpolating
|
|
22
|
-
the data points (look at the legend).</p>
|
|
23
|
-
|
|
24
|
-
<p id="hoverdata"></p>
|
|
25
|
-
|
|
26
|
-
<script type="text/javascript">
|
|
27
|
-
var plot;
|
|
28
|
-
$(function () {
|
|
29
|
-
var sin = [], cos = [];
|
|
30
|
-
for (var i = 0; i < 14; i += 0.1) {
|
|
31
|
-
sin.push([i, Math.sin(i)]);
|
|
32
|
-
cos.push([i, Math.cos(i)]);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
plot = $.plot($("#placeholder"),
|
|
36
|
-
[ { data: sin, label: "sin(x) = -0.00"},
|
|
37
|
-
{ data: cos, label: "cos(x) = -0.00" } ], {
|
|
38
|
-
series: {
|
|
39
|
-
lines: { show: true }
|
|
40
|
-
},
|
|
41
|
-
crosshair: { mode: "x" },
|
|
42
|
-
grid: { hoverable: true, autoHighlight: false },
|
|
43
|
-
yaxis: { min: -1.2, max: 1.2 }
|
|
44
|
-
});
|
|
45
|
-
var legends = $("#placeholder .legendLabel");
|
|
46
|
-
legends.each(function () {
|
|
47
|
-
// fix the widths so they don't jump around
|
|
48
|
-
$(this).css('width', $(this).width());
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
var updateLegendTimeout = null;
|
|
52
|
-
var latestPosition = null;
|
|
53
|
-
|
|
54
|
-
function updateLegend() {
|
|
55
|
-
updateLegendTimeout = null;
|
|
56
|
-
|
|
57
|
-
var pos = latestPosition;
|
|
58
|
-
|
|
59
|
-
var axes = plot.getAxes();
|
|
60
|
-
if (pos.x < axes.xaxis.min || pos.x > axes.xaxis.max ||
|
|
61
|
-
pos.y < axes.yaxis.min || pos.y > axes.yaxis.max)
|
|
62
|
-
return;
|
|
63
|
-
|
|
64
|
-
var i, j, dataset = plot.getData();
|
|
65
|
-
for (i = 0; i < dataset.length; ++i) {
|
|
66
|
-
var series = dataset[i];
|
|
67
|
-
|
|
68
|
-
// find the nearest points, x-wise
|
|
69
|
-
for (j = 0; j < series.data.length; ++j)
|
|
70
|
-
if (series.data[j][0] > pos.x)
|
|
71
|
-
break;
|
|
72
|
-
|
|
73
|
-
// now interpolate
|
|
74
|
-
var y, p1 = series.data[j - 1], p2 = series.data[j];
|
|
75
|
-
if (p1 == null)
|
|
76
|
-
y = p2[1];
|
|
77
|
-
else if (p2 == null)
|
|
78
|
-
y = p1[1];
|
|
79
|
-
else
|
|
80
|
-
y = p1[1] + (p2[1] - p1[1]) * (pos.x - p1[0]) / (p2[0] - p1[0]);
|
|
81
|
-
|
|
82
|
-
legends.eq(i).text(series.label.replace(/=.*/, "= " + y.toFixed(2)));
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
$("#placeholder").bind("plothover", function (event, pos, item) {
|
|
87
|
-
latestPosition = pos;
|
|
88
|
-
if (!updateLegendTimeout)
|
|
89
|
-
updateLegendTimeout = setTimeout(updateLegend, 50);
|
|
90
|
-
});
|
|
91
|
-
});
|
|
92
|
-
</script>
|
|
93
|
-
|
|
94
|
-
</body>
|
|
95
|
-
</html>
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
5
|
-
<title>Flot Examples</title>
|
|
6
|
-
<link href="layout.css" rel="stylesheet" type="text/css">
|
|
7
|
-
<!--[if lte IE 8]><script language="javascript" type="text/javascript" src="../excanvas.min.js"></script><![endif]-->
|
|
8
|
-
<script language="javascript" type="text/javascript" src="../jquery.js"></script>
|
|
9
|
-
<script language="javascript" type="text/javascript" src="../jquery.flot.js"></script>
|
|
10
|
-
</head>
|
|
11
|
-
<body>
|
|
12
|
-
<h1>Flot Examples</h1>
|
|
13
|
-
|
|
14
|
-
<div id="placeholder" style="width:600px;height:300px;"></div>
|
|
15
|
-
|
|
16
|
-
<p>Here is an example with real data: military budgets for
|
|
17
|
-
various countries in constant (2005) million US dollars (source: <a href="http://www.sipri.org/">SIPRI</a>).</p>
|
|
18
|
-
|
|
19
|
-
<p>Since all data is available client-side, it's pretty easy to
|
|
20
|
-
make the plot interactive. Try turning countries on/off with the
|
|
21
|
-
checkboxes below.</p>
|
|
22
|
-
|
|
23
|
-
<p id="choices">Show:</p>
|
|
24
|
-
|
|
25
|
-
<script type="text/javascript">
|
|
26
|
-
$(function () {
|
|
27
|
-
var datasets = {
|
|
28
|
-
"usa": {
|
|
29
|
-
label: "USA",
|
|
30
|
-
data: [[1988, 483994], [1989, 479060], [1990, 457648], [1991, 401949], [1992, 424705], [1993, 402375], [1994, 377867], [1995, 357382], [1996, 337946], [1997, 336185], [1998, 328611], [1999, 329421], [2000, 342172], [2001, 344932], [2002, 387303], [2003, 440813], [2004, 480451], [2005, 504638], [2006, 528692]]
|
|
31
|
-
},
|
|
32
|
-
"russia": {
|
|
33
|
-
label: "Russia",
|
|
34
|
-
data: [[1988, 218000], [1989, 203000], [1990, 171000], [1992, 42500], [1993, 37600], [1994, 36600], [1995, 21700], [1996, 19200], [1997, 21300], [1998, 13600], [1999, 14000], [2000, 19100], [2001, 21300], [2002, 23600], [2003, 25100], [2004, 26100], [2005, 31100], [2006, 34700]]
|
|
35
|
-
},
|
|
36
|
-
"uk": {
|
|
37
|
-
label: "UK",
|
|
38
|
-
data: [[1988, 62982], [1989, 62027], [1990, 60696], [1991, 62348], [1992, 58560], [1993, 56393], [1994, 54579], [1995, 50818], [1996, 50554], [1997, 48276], [1998, 47691], [1999, 47529], [2000, 47778], [2001, 48760], [2002, 50949], [2003, 57452], [2004, 60234], [2005, 60076], [2006, 59213]]
|
|
39
|
-
},
|
|
40
|
-
"germany": {
|
|
41
|
-
label: "Germany",
|
|
42
|
-
data: [[1988, 55627], [1989, 55475], [1990, 58464], [1991, 55134], [1992, 52436], [1993, 47139], [1994, 43962], [1995, 43238], [1996, 42395], [1997, 40854], [1998, 40993], [1999, 41822], [2000, 41147], [2001, 40474], [2002, 40604], [2003, 40044], [2004, 38816], [2005, 38060], [2006, 36984]]
|
|
43
|
-
},
|
|
44
|
-
"denmark": {
|
|
45
|
-
label: "Denmark",
|
|
46
|
-
data: [[1988, 3813], [1989, 3719], [1990, 3722], [1991, 3789], [1992, 3720], [1993, 3730], [1994, 3636], [1995, 3598], [1996, 3610], [1997, 3655], [1998, 3695], [1999, 3673], [2000, 3553], [2001, 3774], [2002, 3728], [2003, 3618], [2004, 3638], [2005, 3467], [2006, 3770]]
|
|
47
|
-
},
|
|
48
|
-
"sweden": {
|
|
49
|
-
label: "Sweden",
|
|
50
|
-
data: [[1988, 6402], [1989, 6474], [1990, 6605], [1991, 6209], [1992, 6035], [1993, 6020], [1994, 6000], [1995, 6018], [1996, 3958], [1997, 5780], [1998, 5954], [1999, 6178], [2000, 6411], [2001, 5993], [2002, 5833], [2003, 5791], [2004, 5450], [2005, 5521], [2006, 5271]]
|
|
51
|
-
},
|
|
52
|
-
"norway": {
|
|
53
|
-
label: "Norway",
|
|
54
|
-
data: [[1988, 4382], [1989, 4498], [1990, 4535], [1991, 4398], [1992, 4766], [1993, 4441], [1994, 4670], [1995, 4217], [1996, 4275], [1997, 4203], [1998, 4482], [1999, 4506], [2000, 4358], [2001, 4385], [2002, 5269], [2003, 5066], [2004, 5194], [2005, 4887], [2006, 4891]]
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
// hard-code color indices to prevent them from shifting as
|
|
59
|
-
// countries are turned on/off
|
|
60
|
-
var i = 0;
|
|
61
|
-
$.each(datasets, function(key, val) {
|
|
62
|
-
val.color = i;
|
|
63
|
-
++i;
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
// insert checkboxes
|
|
67
|
-
var choiceContainer = $("#choices");
|
|
68
|
-
$.each(datasets, function(key, val) {
|
|
69
|
-
choiceContainer.append('<br/><input type="checkbox" name="' + key +
|
|
70
|
-
'" checked="checked" id="id' + key + '">' +
|
|
71
|
-
'<label for="id' + key + '">'
|
|
72
|
-
+ val.label + '</label>');
|
|
73
|
-
});
|
|
74
|
-
choiceContainer.find("input").click(plotAccordingToChoices);
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
function plotAccordingToChoices() {
|
|
78
|
-
var data = [];
|
|
79
|
-
|
|
80
|
-
choiceContainer.find("input:checked").each(function () {
|
|
81
|
-
var key = $(this).attr("name");
|
|
82
|
-
if (key && datasets[key])
|
|
83
|
-
data.push(datasets[key]);
|
|
84
|
-
});
|
|
85
|
-
|
|
86
|
-
if (data.length > 0)
|
|
87
|
-
$.plot($("#placeholder"), data, {
|
|
88
|
-
yaxis: { min: 0 },
|
|
89
|
-
xaxis: { tickDecimals: 0 }
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
plotAccordingToChoices();
|
|
94
|
-
});
|
|
95
|
-
</script>
|
|
96
|
-
|
|
97
|
-
</body>
|
|
98
|
-
</html>
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
5
|
-
<title>Flot Examples</title>
|
|
6
|
-
<link href="layout.css" rel="stylesheet" type="text/css">
|
|
7
|
-
<!--[if lte IE 8]><script language="javascript" type="text/javascript" src="../excanvas.min.js"></script><![endif]-->
|
|
8
|
-
<script language="javascript" type="text/javascript" src="../jquery.js"></script>
|
|
9
|
-
<script language="javascript" type="text/javascript" src="../jquery.flot.js"></script>
|
|
10
|
-
<script language="javascript" type="text/javascript" src="../jquery.flot.selection.js"></script>
|
|
11
|
-
</head>
|
|
12
|
-
<body>
|
|
13
|
-
<h1>Flot Examples</h1>
|
|
14
|
-
|
|
15
|
-
<div id="placeholder" style="width:600px;height:300px;"></div>
|
|
16
|
-
|
|
17
|
-
<p>Visitors per day to the Flot homepage. Weekends are colored. Try zooming.
|
|
18
|
-
The plot below shows an overview.</p>
|
|
19
|
-
|
|
20
|
-
<div id="overview" style="margin-left:50px;margin-top:20px;width:400px;height:50px"></div>
|
|
21
|
-
|
|
22
|
-
<script id="source">
|
|
23
|
-
$(function () {
|
|
24
|
-
var d = [[1196463600000, 0], [1196550000000, 0], [1196636400000, 0], [1196722800000, 77], [1196809200000, 3636], [1196895600000, 3575], [1196982000000, 2736], [1197068400000, 1086], [1197154800000, 676], [1197241200000, 1205], [1197327600000, 906], [1197414000000, 710], [1197500400000, 639], [1197586800000, 540], [1197673200000, 435], [1197759600000, 301], [1197846000000, 575], [1197932400000, 481], [1198018800000, 591], [1198105200000, 608], [1198191600000, 459], [1198278000000, 234], [1198364400000, 1352], [1198450800000, 686], [1198537200000, 279], [1198623600000, 449], [1198710000000, 468], [1198796400000, 392], [1198882800000, 282], [1198969200000, 208], [1199055600000, 229], [1199142000000, 177], [1199228400000, 374], [1199314800000, 436], [1199401200000, 404], [1199487600000, 253], [1199574000000, 218], [1199660400000, 476], [1199746800000, 462], [1199833200000, 448], [1199919600000, 442], [1200006000000, 403], [1200092400000, 204], [1200178800000, 194], [1200265200000, 327], [1200351600000, 374], [1200438000000, 507], [1200524400000, 546], [1200610800000, 482], [1200697200000, 283], [1200783600000, 221], [1200870000000, 483], [1200956400000, 523], [1201042800000, 528], [1201129200000, 483], [1201215600000, 452], [1201302000000, 270], [1201388400000, 222], [1201474800000, 439], [1201561200000, 559], [1201647600000, 521], [1201734000000, 477], [1201820400000, 442], [1201906800000, 252], [1201993200000, 236], [1202079600000, 525], [1202166000000, 477], [1202252400000, 386], [1202338800000, 409], [1202425200000, 408], [1202511600000, 237], [1202598000000, 193], [1202684400000, 357], [1202770800000, 414], [1202857200000, 393], [1202943600000, 353], [1203030000000, 364], [1203116400000, 215], [1203202800000, 214], [1203289200000, 356], [1203375600000, 399], [1203462000000, 334], [1203548400000, 348], [1203634800000, 243], [1203721200000, 126], [1203807600000, 157], [1203894000000, 288]];
|
|
25
|
-
|
|
26
|
-
// first correct the timestamps - they are recorded as the daily
|
|
27
|
-
// midnights in UTC+0100, but Flot always displays dates in UTC
|
|
28
|
-
// so we have to add one hour to hit the midnights in the plot
|
|
29
|
-
for (var i = 0; i < d.length; ++i)
|
|
30
|
-
d[i][0] += 60 * 60 * 1000;
|
|
31
|
-
|
|
32
|
-
// helper for returning the weekends in a period
|
|
33
|
-
function weekendAreas(axes) {
|
|
34
|
-
var markings = [];
|
|
35
|
-
var d = new Date(axes.xaxis.min);
|
|
36
|
-
// go to the first Saturday
|
|
37
|
-
d.setUTCDate(d.getUTCDate() - ((d.getUTCDay() + 1) % 7))
|
|
38
|
-
d.setUTCSeconds(0);
|
|
39
|
-
d.setUTCMinutes(0);
|
|
40
|
-
d.setUTCHours(0);
|
|
41
|
-
var i = d.getTime();
|
|
42
|
-
do {
|
|
43
|
-
// when we don't set yaxis, the rectangle automatically
|
|
44
|
-
// extends to infinity upwards and downwards
|
|
45
|
-
markings.push({ xaxis: { from: i, to: i + 2 * 24 * 60 * 60 * 1000 } });
|
|
46
|
-
i += 7 * 24 * 60 * 60 * 1000;
|
|
47
|
-
} while (i < axes.xaxis.max);
|
|
48
|
-
|
|
49
|
-
return markings;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
var options = {
|
|
53
|
-
xaxis: { mode: "time", tickLength: 5 },
|
|
54
|
-
selection: { mode: "x" },
|
|
55
|
-
grid: { markings: weekendAreas }
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
var plot = $.plot($("#placeholder"), [d], options);
|
|
59
|
-
|
|
60
|
-
var overview = $.plot($("#overview"), [d], {
|
|
61
|
-
series: {
|
|
62
|
-
lines: { show: true, lineWidth: 1 },
|
|
63
|
-
shadowSize: 0
|
|
64
|
-
},
|
|
65
|
-
xaxis: { ticks: [], mode: "time" },
|
|
66
|
-
yaxis: { ticks: [], min: 0, autoscaleMargin: 0.1 },
|
|
67
|
-
selection: { mode: "x" }
|
|
68
|
-
});
|
|
69
|
-
|
|
70
|
-
// now connect the two
|
|
71
|
-
|
|
72
|
-
$("#placeholder").bind("plotselected", function (event, ranges) {
|
|
73
|
-
// do the zooming
|
|
74
|
-
plot = $.plot($("#placeholder"), [d],
|
|
75
|
-
$.extend(true, {}, options, {
|
|
76
|
-
xaxis: { min: ranges.xaxis.from, max: ranges.xaxis.to }
|
|
77
|
-
}));
|
|
78
|
-
|
|
79
|
-
// don't fire event on the overview to prevent eternal loop
|
|
80
|
-
overview.setSelection(ranges, true);
|
|
81
|
-
});
|
|
82
|
-
|
|
83
|
-
$("#overview").bind("plotselected", function (event, ranges) {
|
|
84
|
-
plot.setSelection(ranges);
|
|
85
|
-
});
|
|
86
|
-
});
|
|
87
|
-
</script>
|
|
88
|
-
|
|
89
|
-
</body>
|
|
90
|
-
</html>
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
5
|
-
<title>Flot Examples</title>
|
|
6
|
-
<link href="layout.css" rel="stylesheet" type="text/css">
|
|
7
|
-
<!--[if lte IE 8]><script language="javascript" type="text/javascript" src="../excanvas.min.js"></script><![endif]-->
|
|
8
|
-
<script language="javascript" type="text/javascript" src="../jquery.js"></script>
|
|
9
|
-
<script language="javascript" type="text/javascript" src="../jquery.flot.js"></script>
|
|
10
|
-
<script language="javascript" type="text/javascript" src="../jquery.flot.selection.js"></script>
|
|
11
|
-
</head>
|
|
12
|
-
<body>
|
|
13
|
-
<h1>Flot Examples</h1>
|
|
14
|
-
|
|
15
|
-
<div style="float:left">
|
|
16
|
-
<div id="placeholder" style="width:500px;height:300px"></div>
|
|
17
|
-
</div>
|
|
18
|
-
|
|
19
|
-
<div id="miniature" style="float:left;margin-left:20px">
|
|
20
|
-
<div id="overview" style="width:166px;height:100px"></div>
|
|
21
|
-
|
|
22
|
-
<p id="overviewLegend" style="margin-left:10px"></p>
|
|
23
|
-
</div>
|
|
24
|
-
|
|
25
|
-
<p style="clear:left">The selection support makes it easy to
|
|
26
|
-
construct flexible zooming schemes. With a few lines of code, the
|
|
27
|
-
small overview plot to the right has been connected to the large
|
|
28
|
-
plot. Try selecting a rectangle on either of them.</p>
|
|
29
|
-
|
|
30
|
-
<script id="source">
|
|
31
|
-
$(function () {
|
|
32
|
-
// setup plot
|
|
33
|
-
function getData(x1, x2) {
|
|
34
|
-
var d = [];
|
|
35
|
-
for (var i = 0; i <= 100; ++i) {
|
|
36
|
-
var x = x1 + i * (x2 - x1) / 100;
|
|
37
|
-
d.push([x, Math.sin(x * Math.sin(x))]);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
return [
|
|
41
|
-
{ label: "sin(x sin(x))", data: d }
|
|
42
|
-
];
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
var options = {
|
|
46
|
-
legend: { show: false },
|
|
47
|
-
series: {
|
|
48
|
-
lines: { show: true },
|
|
49
|
-
points: { show: true }
|
|
50
|
-
},
|
|
51
|
-
yaxis: { ticks: 10 },
|
|
52
|
-
selection: { mode: "xy" }
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
var startData = getData(0, 3 * Math.PI);
|
|
56
|
-
|
|
57
|
-
var plot = $.plot($("#placeholder"), startData, options);
|
|
58
|
-
|
|
59
|
-
// setup overview
|
|
60
|
-
var overview = $.plot($("#overview"), startData, {
|
|
61
|
-
legend: { show: true, container: $("#overviewLegend") },
|
|
62
|
-
series: {
|
|
63
|
-
lines: { show: true, lineWidth: 1 },
|
|
64
|
-
shadowSize: 0
|
|
65
|
-
},
|
|
66
|
-
xaxis: { ticks: 4 },
|
|
67
|
-
yaxis: { ticks: 3, min: -2, max: 2 },
|
|
68
|
-
grid: { color: "#999" },
|
|
69
|
-
selection: { mode: "xy" }
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
// now connect the two
|
|
73
|
-
|
|
74
|
-
$("#placeholder").bind("plotselected", function (event, ranges) {
|
|
75
|
-
// clamp the zooming to prevent eternal zoom
|
|
76
|
-
if (ranges.xaxis.to - ranges.xaxis.from < 0.00001)
|
|
77
|
-
ranges.xaxis.to = ranges.xaxis.from + 0.00001;
|
|
78
|
-
if (ranges.yaxis.to - ranges.yaxis.from < 0.00001)
|
|
79
|
-
ranges.yaxis.to = ranges.yaxis.from + 0.00001;
|
|
80
|
-
|
|
81
|
-
// do the zooming
|
|
82
|
-
plot = $.plot($("#placeholder"), getData(ranges.xaxis.from, ranges.xaxis.to),
|
|
83
|
-
$.extend(true, {}, options, {
|
|
84
|
-
xaxis: { min: ranges.xaxis.from, max: ranges.xaxis.to },
|
|
85
|
-
yaxis: { min: ranges.yaxis.from, max: ranges.yaxis.to }
|
|
86
|
-
}));
|
|
87
|
-
|
|
88
|
-
// don't fire event on the overview to prevent eternal loop
|
|
89
|
-
overview.setSelection(ranges, true);
|
|
90
|
-
});
|
|
91
|
-
$("#overview").bind("plotselected", function (event, ranges) {
|
|
92
|
-
plot.setSelection(ranges);
|
|
93
|
-
});
|
|
94
|
-
});
|
|
95
|
-
</script>
|
|
96
|
-
|
|
97
|
-
</body>
|
|
98
|
-
</html>
|