X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=experimental%2Fpalette%2Fmulti-palette.js;fp=experimental%2Fpalette%2Fmulti-palette.js;h=0000000000000000000000000000000000000000;hb=ce31caf22475e3e1fd6d9fea192d61ff4fcd7fac;hp=ee01a4c2ff1219379f3954c4cfa836c335fc2fdf;hpb=a4c3ece0a11e4e5c4f1f51a8bc8b7878d34ee052;p=dygraphs.git diff --git a/experimental/palette/multi-palette.js b/experimental/palette/multi-palette.js deleted file mode 100644 index ee01a4c..0000000 --- a/experimental/palette/multi-palette.js +++ /dev/null @@ -1,252 +0,0 @@ -// Copyright (c) 2011 Google, Inc. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. - -/** - * @fileoverview Multiple Dygraphs palettes, grouped by global, series, etc.. - * - * @author konigsberg@google.com (Robert Konigsberg) - */ - -function MultiPalette() { - this.palettes = {}; - this.root = null; - this.filterBar = null; - // This is meant to be overridden by a palette host. - this.activePalette = null; - this.onchange = function() {}; -} - -MultiPalette.optionSetValues = { - "global": "global", - "x": "x axis", - "y": "y axis", - "y2": "y2 axis", -}; - -MultiPalette.prototype.create = function(parentElement) { - var self = this; - - this.root = $("