iobroker.ebus 3.3.4 → 3.3.6

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.
Files changed (51) hide show
  1. package/README.md +7 -0
  2. package/admin/i18n/de/translations.json +21 -0
  3. package/admin/i18n/en/translations.json +21 -0
  4. package/admin/i18n/es/translations.json +21 -0
  5. package/admin/i18n/fr/translations.json +21 -0
  6. package/admin/i18n/it/translations.json +21 -0
  7. package/admin/i18n/nl/translations.json +21 -0
  8. package/admin/i18n/pl/translations.json +21 -0
  9. package/admin/i18n/pt/translations.json +21 -0
  10. package/admin/i18n/ru/translations.json +21 -0
  11. package/admin/i18n/uk/translations.json +21 -0
  12. package/admin/i18n/zh-cn/translations.json +21 -0
  13. package/io-package.json +28 -29
  14. package/package.json +27 -23
  15. package/.eslintrc.json +0 -35
  16. package/.releaseconfig.json +0 -3
  17. package/widgets/ebus/img/Prev_tplebus.png +0 -0
  18. package/widgets/ebus/lib/js/flot/jquery.canvaswrapper.js +0 -549
  19. package/widgets/ebus/lib/js/flot/jquery.colorhelpers.js +0 -199
  20. package/widgets/ebus/lib/js/flot/jquery.flot.axislabels.js +0 -212
  21. package/widgets/ebus/lib/js/flot/jquery.flot.browser.js +0 -98
  22. package/widgets/ebus/lib/js/flot/jquery.flot.categories.js +0 -202
  23. package/widgets/ebus/lib/js/flot/jquery.flot.composeImages.js +0 -330
  24. package/widgets/ebus/lib/js/flot/jquery.flot.crosshair.js +0 -202
  25. package/widgets/ebus/lib/js/flot/jquery.flot.drawSeries.js +0 -662
  26. package/widgets/ebus/lib/js/flot/jquery.flot.errorbars.js +0 -375
  27. package/widgets/ebus/lib/js/flot/jquery.flot.fillbetween.js +0 -254
  28. package/widgets/ebus/lib/js/flot/jquery.flot.flatdata.js +0 -47
  29. package/widgets/ebus/lib/js/flot/jquery.flot.hover.js +0 -361
  30. package/widgets/ebus/lib/js/flot/jquery.flot.image.js +0 -249
  31. package/widgets/ebus/lib/js/flot/jquery.flot.js +0 -2953
  32. package/widgets/ebus/lib/js/flot/jquery.flot.legend.js +0 -437
  33. package/widgets/ebus/lib/js/flot/jquery.flot.logaxis.js +0 -298
  34. package/widgets/ebus/lib/js/flot/jquery.flot.navigate.js +0 -834
  35. package/widgets/ebus/lib/js/flot/jquery.flot.pie.js +0 -794
  36. package/widgets/ebus/lib/js/flot/jquery.flot.resize.js +0 -60
  37. package/widgets/ebus/lib/js/flot/jquery.flot.saturated.js +0 -43
  38. package/widgets/ebus/lib/js/flot/jquery.flot.selection.js +0 -527
  39. package/widgets/ebus/lib/js/flot/jquery.flot.stack.js +0 -220
  40. package/widgets/ebus/lib/js/flot/jquery.flot.symbol.js +0 -98
  41. package/widgets/ebus/lib/js/flot/jquery.flot.threshold.js +0 -143
  42. package/widgets/ebus/lib/js/flot/jquery.flot.time.js +0 -586
  43. package/widgets/ebus/lib/js/flot/jquery.flot.touch.js +0 -320
  44. package/widgets/ebus/lib/js/flot/jquery.flot.touchNavigate.js +0 -360
  45. package/widgets/ebus/lib/js/flot/jquery.flot.uiConstants.js +0 -10
  46. package/widgets/ebus/lib/js/flot/jquery.js +0 -9473
  47. package/widgets/ebus/lib/js/lib/globalize.culture.en-US.js +0 -33
  48. package/widgets/ebus/lib/js/lib/globalize.js +0 -1601
  49. package/widgets/ebus/lib/js/lib/jquery.event.drag.js +0 -145
  50. package/widgets/ebus/lib/js/lib/jquery.mousewheel.js +0 -86
  51. package/widgets/ebus.html +0 -2395
@@ -1,202 +0,0 @@
1
- /* Flot plugin for plotting textual data or categories.
2
-
3
- Copyright (c) 2007-2014 IOLA and Ole Laursen.
4
- Licensed under the MIT license.
5
-
6
- Consider a dataset like [["February", 34], ["March", 20], ...]. This plugin
7
- allows you to plot such a dataset directly.
8
-
9
- To enable it, you must specify mode: "categories" on the axis with the textual
10
- labels, e.g.
11
-
12
- $.plot("#placeholder", data, { xaxis: { mode: "categories" } });
13
-
14
- By default, the labels are ordered as they are met in the data series. If you
15
- need a different ordering, you can specify "categories" on the axis options
16
- and list the categories there:
17
-
18
- xaxis: {
19
- mode: "categories",
20
- categories: ["February", "March", "April"]
21
- }
22
-
23
- If you need to customize the distances between the categories, you can specify
24
- "categories" as an object mapping labels to values
25
-
26
- xaxis: {
27
- mode: "categories",
28
- categories: { "February": 1, "March": 3, "April": 4 }
29
- }
30
-
31
- If you don't specify all categories, the remaining categories will be numbered
32
- from the max value plus 1 (with a spacing of 1 between each).
33
-
34
- Internally, the plugin works by transforming the input data through an auto-
35
- generated mapping where the first category becomes 0, the second 1, etc.
36
- Hence, a point like ["February", 34] becomes [0, 34] internally in Flot (this
37
- is visible in hover and click events that return numbers rather than the
38
- category labels). The plugin also overrides the tick generator to spit out the
39
- categories as ticks instead of the values.
40
-
41
- If you need to map a value back to its label, the mapping is always accessible
42
- as "categories" on the axis object, e.g. plot.getAxes().xaxis.categories.
43
-
44
- */
45
-
46
- (function ($) {
47
- var options = {
48
- xaxis: {
49
- categories: null
50
- },
51
- yaxis: {
52
- categories: null
53
- }
54
- };
55
-
56
- function processRawData(plot, series, data, datapoints) {
57
- // if categories are enabled, we need to disable
58
- // auto-transformation to numbers so the strings are intact
59
- // for later processing
60
-
61
- var xCategories = series.xaxis.options.mode === "categories",
62
- yCategories = series.yaxis.options.mode === "categories";
63
-
64
- if (!(xCategories || yCategories)) {
65
- return;
66
- }
67
-
68
- var format = datapoints.format;
69
-
70
- if (!format) {
71
- // FIXME: auto-detection should really not be defined here
72
- var s = series;
73
- format = [];
74
- format.push({ x: true, number: true, required: true, computeRange: true});
75
- format.push({ y: true, number: true, required: true, computeRange: true });
76
-
77
- if (s.bars.show || (s.lines.show && s.lines.fill)) {
78
- var autoScale = !!((s.bars.show && s.bars.zero) || (s.lines.show && s.lines.zero));
79
- format.push({ y: true, number: true, required: false, defaultValue: 0, computeRange: autoScale });
80
- if (s.bars.horizontal) {
81
- delete format[format.length - 1].y;
82
- format[format.length - 1].x = true;
83
- }
84
- }
85
-
86
- datapoints.format = format;
87
- }
88
-
89
- for (var m = 0; m < format.length; ++m) {
90
- if (format[m].x && xCategories) {
91
- format[m].number = false;
92
- }
93
-
94
- if (format[m].y && yCategories) {
95
- format[m].number = false;
96
- format[m].computeRange = false;
97
- }
98
- }
99
- }
100
-
101
- function getNextIndex(categories) {
102
- var index = -1;
103
-
104
- for (var v in categories) {
105
- if (categories[v] > index) {
106
- index = categories[v];
107
- }
108
- }
109
-
110
- return index + 1;
111
- }
112
-
113
- function categoriesTickGenerator(axis) {
114
- var res = [];
115
- for (var label in axis.categories) {
116
- var v = axis.categories[label];
117
- if (v >= axis.min && v <= axis.max) {
118
- res.push([v, label]);
119
- }
120
- }
121
-
122
- res.sort(function (a, b) { return a[0] - b[0]; });
123
-
124
- return res;
125
- }
126
-
127
- function setupCategoriesForAxis(series, axis, datapoints) {
128
- if (series[axis].options.mode !== "categories") {
129
- return;
130
- }
131
-
132
- if (!series[axis].categories) {
133
- // parse options
134
- var c = {}, o = series[axis].options.categories || {};
135
- if ($.isArray(o)) {
136
- for (var i = 0; i < o.length; ++i) {
137
- c[o[i]] = i;
138
- }
139
- } else {
140
- for (var v in o) {
141
- c[v] = o[v];
142
- }
143
- }
144
-
145
- series[axis].categories = c;
146
- }
147
-
148
- // fix ticks
149
- if (!series[axis].options.ticks) {
150
- series[axis].options.ticks = categoriesTickGenerator;
151
- }
152
-
153
- transformPointsOnAxis(datapoints, axis, series[axis].categories);
154
- }
155
-
156
- function transformPointsOnAxis(datapoints, axis, categories) {
157
- // go through the points, transforming them
158
- var points = datapoints.points,
159
- ps = datapoints.pointsize,
160
- format = datapoints.format,
161
- formatColumn = axis.charAt(0),
162
- index = getNextIndex(categories);
163
-
164
- for (var i = 0; i < points.length; i += ps) {
165
- if (points[i] == null) {
166
- continue;
167
- }
168
-
169
- for (var m = 0; m < ps; ++m) {
170
- var val = points[i + m];
171
-
172
- if (val == null || !format[m][formatColumn]) {
173
- continue;
174
- }
175
-
176
- if (!(val in categories)) {
177
- categories[val] = index;
178
- ++index;
179
- }
180
-
181
- points[i + m] = categories[val];
182
- }
183
- }
184
- }
185
-
186
- function processDatapoints(plot, series, datapoints) {
187
- setupCategoriesForAxis(series, "xaxis", datapoints);
188
- setupCategoriesForAxis(series, "yaxis", datapoints);
189
- }
190
-
191
- function init(plot) {
192
- plot.hooks.processRawData.push(processRawData);
193
- plot.hooks.processDatapoints.push(processDatapoints);
194
- }
195
-
196
- $.plot.plugins.push({
197
- init: init,
198
- options: options,
199
- name: 'categories',
200
- version: '1.0'
201
- });
202
- })(jQuery);
@@ -1,330 +0,0 @@
1
- /** ## jquery.flot.composeImages.js
2
-
3
- This plugin is used to expose a function used to overlap several canvases and
4
- SVGs, for the purpose of creating a snaphot out of them.
5
-
6
- ### When composeImages is used:
7
- When multiple canvases and SVGs have to be overlapped into a single image
8
- and their offset on the page, must be preserved.
9
-
10
- ### Where can be used:
11
- In creating a downloadable snapshot of the plots, axes, cursors etc of a graph.
12
-
13
- ### How it works:
14
- The entry point is composeImages function. It expects an array of objects,
15
- which should be either canvases or SVGs (or a mix). It does a prevalidation
16
- of them, by verifying if they will be usable or not, later in the flow.
17
- After selecting only usable sources, it passes them to getGenerateTempImg
18
- function, which generates temporary images out of them. This function
19
- expects that some of the passed sources (canvas or SVG) may still have
20
- problems being converted to an image and makes sure the promises system,
21
- used by composeImages function, moves forward. As an example, SVGs with
22
- missing information from header or with unsupported content, may lead to
23
- failure in generating the temporary image. Temporary images are required
24
- mostly on extracting content from SVGs, but this is also where the x/y
25
- offsets are extracted for each image which will be added. For SVGs in
26
- particular, their CSS rules have to be applied.
27
- After all temporary images are generated, they are overlapped using
28
- getExecuteImgComposition function. This is where the destination canvas
29
- is set to the proper dimensions. It is then output by composeImages.
30
- This function returns a promise, which can be used to wait for the whole
31
- composition process. It requires to be asynchronous, because this is how
32
- temporary images load their data.
33
- */
34
-
35
- (function($) {
36
- "use strict";
37
- const GENERALFAILURECALLBACKERROR = -100; //simply a negative number
38
- const SUCCESSFULIMAGEPREPARATION = 0;
39
- const EMPTYARRAYOFIMAGESOURCES = -1;
40
- const NEGATIVEIMAGESIZE = -2;
41
- var pixelRatio = 1;
42
- var browser = $.plot.browser;
43
- var getPixelRatio = browser.getPixelRatio;
44
-
45
- function composeImages(canvasOrSvgSources, destinationCanvas) {
46
- var validCanvasOrSvgSources = canvasOrSvgSources.filter(isValidSource);
47
- pixelRatio = getPixelRatio(destinationCanvas.getContext('2d'));
48
-
49
- var allImgCompositionPromises = validCanvasOrSvgSources.map(function(validCanvasOrSvgSource) {
50
- var tempImg = new Image();
51
- var currentPromise = new Promise(getGenerateTempImg(tempImg, validCanvasOrSvgSource));
52
- return currentPromise;
53
- });
54
-
55
- var lastPromise = Promise.all(allImgCompositionPromises).then(getExecuteImgComposition(destinationCanvas), failureCallback);
56
- return lastPromise;
57
- }
58
-
59
- function isValidSource(canvasOrSvgSource) {
60
- var isValidFromCanvas = true;
61
- var isValidFromContent = true;
62
- if ((canvasOrSvgSource === null) || (canvasOrSvgSource === undefined)) {
63
- isValidFromContent = false;
64
- } else {
65
- if (canvasOrSvgSource.tagName === 'CANVAS') {
66
- if ((canvasOrSvgSource.getBoundingClientRect().right === canvasOrSvgSource.getBoundingClientRect().left) ||
67
- (canvasOrSvgSource.getBoundingClientRect().bottom === canvasOrSvgSource.getBoundingClientRect().top)) {
68
- isValidFromCanvas = false;
69
- }
70
- }
71
- }
72
- return isValidFromContent && isValidFromCanvas && (window.getComputedStyle(canvasOrSvgSource).visibility === 'visible');
73
- }
74
-
75
- function getGenerateTempImg(tempImg, canvasOrSvgSource) {
76
- tempImg.sourceDescription = '<info className="' + canvasOrSvgSource.className + '" tagName="' + canvasOrSvgSource.tagName + '" id="' + canvasOrSvgSource.id + '">';
77
- tempImg.sourceComponent = canvasOrSvgSource;
78
-
79
- return function doGenerateTempImg(successCallbackFunc, failureCallbackFunc) {
80
- tempImg.onload = function(evt) {
81
- tempImg.successfullyLoaded = true;
82
- successCallbackFunc(tempImg);
83
- };
84
-
85
- tempImg.onabort = function(evt) {
86
- tempImg.successfullyLoaded = false;
87
- console.log('Can\'t generate temp image from ' + tempImg.sourceDescription + '. It is possible that it is missing some properties or its content is not supported by this browser. Source component:', tempImg.sourceComponent);
88
- successCallbackFunc(tempImg); //call successCallback, to allow snapshot of all working images
89
- };
90
-
91
- tempImg.onerror = function(evt) {
92
- tempImg.successfullyLoaded = false;
93
- console.log('Can\'t generate temp image from ' + tempImg.sourceDescription + '. It is possible that it is missing some properties or its content is not supported by this browser. Source component:', tempImg.sourceComponent);
94
- successCallbackFunc(tempImg); //call successCallback, to allow snapshot of all working images
95
- };
96
-
97
- generateTempImageFromCanvasOrSvg(canvasOrSvgSource, tempImg);
98
- };
99
- }
100
-
101
- function getExecuteImgComposition(destinationCanvas) {
102
- return function executeImgComposition(tempImgs) {
103
- var compositionResult = copyImgsToCanvas(tempImgs, destinationCanvas);
104
- return compositionResult;
105
- };
106
- }
107
-
108
- function copyCanvasToImg(canvas, img) {
109
- img.src = canvas.toDataURL('image/png');
110
- }
111
-
112
- function getCSSRules(document) {
113
- var styleSheets = document.styleSheets,
114
- rulesList = [];
115
- for (var i = 0; i < styleSheets.length; i++) {
116
- // CORS requests for style sheets throw and an exception on Chrome > 64
117
- try {
118
- // in Chrome, the external CSS files are empty when the page is directly loaded from disk
119
- var rules = styleSheets[i].cssRules || [];
120
- for (var j = 0; j < rules.length; j++) {
121
- var rule = rules[j];
122
- rulesList.push(rule.cssText);
123
- }
124
- } catch (e) {
125
- console.log('Failed to get some css rules');
126
- }
127
- }
128
- return rulesList;
129
- }
130
-
131
- function embedCSSRulesInSVG(rules, svg) {
132
- var text = [
133
- '<svg class="snapshot ' + svg.classList + '" width="' + svg.width.baseVal.value * pixelRatio + '" height="' + svg.height.baseVal.value * pixelRatio + '" viewBox="0 0 ' + svg.width.baseVal.value + ' ' + svg.height.baseVal.value + '" xmlns="http://www.w3.org/2000/svg">',
134
- '<style>',
135
- '/* <![CDATA[ */',
136
- rules.join('\n'),
137
- '/* ]]> */',
138
- '</style>',
139
- svg.innerHTML,
140
- '</svg>'
141
- ].join('\n');
142
- return text;
143
- }
144
-
145
- function copySVGToImgMostBrowsers(svg, img) {
146
- var rules = getCSSRules(document),
147
- source = embedCSSRulesInSVG(rules, svg);
148
-
149
- source = patchSVGSource(source);
150
-
151
- var blob = new Blob([source], {type: "image/svg+xml;charset=utf-8"}),
152
- domURL = self.URL || self.webkitURL || self,
153
- url = domURL.createObjectURL(blob);
154
- img.src = url;
155
- }
156
-
157
- function copySVGToImgSafari(svg, img) {
158
- // Use this method to convert a string buffer array to a binary string.
159
- // Do so by breaking up large strings into smaller substrings; this is necessary to avoid the
160
- // "maximum call stack size exceeded" exception that can happen when calling 'String.fromCharCode.apply'
161
- // with a very long array.
162
- function buildBinaryString (arrayBuffer) {
163
- var binaryString = "";
164
- const utf8Array = new Uint8Array(arrayBuffer);
165
- const blockSize = 16384;
166
- for (var i = 0; i < utf8Array.length; i = i + blockSize) {
167
- const binarySubString = String.fromCharCode.apply(null, utf8Array.subarray(i, i + blockSize));
168
- binaryString = binaryString + binarySubString;
169
- }
170
- return binaryString;
171
- };
172
-
173
- var rules = getCSSRules(document),
174
- source = embedCSSRulesInSVG(rules, svg),
175
- data,
176
- utf8BinaryString;
177
-
178
- source = patchSVGSource(source);
179
-
180
- // Encode the string as UTF-8 and convert it to a binary string. The UTF-8 encoding is required to
181
- // capture unicode characters correctly.
182
- utf8BinaryString = buildBinaryString(new (TextEncoder || TextEncoderLite)('utf-8').encode(source));
183
-
184
- data = "data:image/svg+xml;base64," + btoa(utf8BinaryString);
185
- img.src = data;
186
- }
187
-
188
- function patchSVGSource(svgSource) {
189
- var source = '';
190
- //add name spaces.
191
- if (!svgSource.match(/^<svg[^>]+xmlns="http:\/\/www\.w3\.org\/2000\/svg"/)) {
192
- source = svgSource.replace(/^<svg/, '<svg xmlns="http://www.w3.org/2000/svg"');
193
- }
194
- if (!svgSource.match(/^<svg[^>]+"http:\/\/www\.w3\.org\/1999\/xlink"/)) {
195
- source = svgSource.replace(/^<svg/, '<svg xmlns:xlink="http://www.w3.org/1999/xlink"');
196
- }
197
-
198
- //add xml declaration
199
- return '<?xml version="1.0" standalone="no"?>\r\n' + source;
200
- }
201
-
202
- function copySVGToImg(svg, img) {
203
- if (browser.isSafari() || browser.isMobileSafari()) {
204
- copySVGToImgSafari(svg, img);
205
- } else {
206
- copySVGToImgMostBrowsers(svg, img);
207
- }
208
- }
209
-
210
- function adaptDestSizeToZoom(destinationCanvas, sources) {
211
- function containsSVGs(source) {
212
- return source.srcImgTagName === 'svg';
213
- }
214
-
215
- if (sources.find(containsSVGs) !== undefined) {
216
- if (pixelRatio < 1) {
217
- destinationCanvas.width = destinationCanvas.width * pixelRatio;
218
- destinationCanvas.height = destinationCanvas.height * pixelRatio;
219
- }
220
- }
221
- }
222
-
223
- function prepareImagesToBeComposed(sources, destination) {
224
- var result = SUCCESSFULIMAGEPREPARATION;
225
- if (sources.length === 0) {
226
- result = EMPTYARRAYOFIMAGESOURCES; //nothing to do if called without sources
227
- } else {
228
- var minX = sources[0].genLeft;
229
- var minY = sources[0].genTop;
230
- var maxX = sources[0].genRight;
231
- var maxY = sources[0].genBottom;
232
- var i = 0;
233
-
234
- for (i = 1; i < sources.length; i++) {
235
- if (minX > sources[i].genLeft) {
236
- minX = sources[i].genLeft;
237
- }
238
-
239
- if (minY > sources[i].genTop) {
240
- minY = sources[i].genTop;
241
- }
242
- }
243
-
244
- for (i = 1; i < sources.length; i++) {
245
- if (maxX < sources[i].genRight) {
246
- maxX = sources[i].genRight;
247
- }
248
-
249
- if (maxY < sources[i].genBottom) {
250
- maxY = sources[i].genBottom;
251
- }
252
- }
253
-
254
- if ((maxX - minX <= 0) || (maxY - minY <= 0)) {
255
- result = NEGATIVEIMAGESIZE; //this might occur on hidden images
256
- } else {
257
- destination.width = Math.round(maxX - minX);
258
- destination.height = Math.round(maxY - minY);
259
-
260
- for (i = 0; i < sources.length; i++) {
261
- sources[i].xCompOffset = sources[i].genLeft - minX;
262
- sources[i].yCompOffset = sources[i].genTop - minY;
263
- }
264
-
265
- adaptDestSizeToZoom(destination, sources);
266
- }
267
- }
268
- return result;
269
- }
270
-
271
- function copyImgsToCanvas(sources, destination) {
272
- var prepareImagesResult = prepareImagesToBeComposed(sources, destination);
273
- if (prepareImagesResult === SUCCESSFULIMAGEPREPARATION) {
274
- var destinationCtx = destination.getContext('2d');
275
-
276
- for (var i = 0; i < sources.length; i++) {
277
- if (sources[i].successfullyLoaded === true) {
278
- destinationCtx.drawImage(sources[i], sources[i].xCompOffset * pixelRatio, sources[i].yCompOffset * pixelRatio);
279
- }
280
- }
281
- }
282
- return prepareImagesResult;
283
- }
284
-
285
- function adnotateDestImgWithBoundingClientRect(srcCanvasOrSvg, destImg) {
286
- destImg.genLeft = srcCanvasOrSvg.getBoundingClientRect().left;
287
- destImg.genTop = srcCanvasOrSvg.getBoundingClientRect().top;
288
-
289
- if (srcCanvasOrSvg.tagName === 'CANVAS') {
290
- destImg.genRight = destImg.genLeft + srcCanvasOrSvg.width;
291
- destImg.genBottom = destImg.genTop + srcCanvasOrSvg.height;
292
- }
293
-
294
- if (srcCanvasOrSvg.tagName === 'svg') {
295
- destImg.genRight = srcCanvasOrSvg.getBoundingClientRect().right;
296
- destImg.genBottom = srcCanvasOrSvg.getBoundingClientRect().bottom;
297
- }
298
- }
299
-
300
- function generateTempImageFromCanvasOrSvg(srcCanvasOrSvg, destImg) {
301
- if (srcCanvasOrSvg.tagName === 'CANVAS') {
302
- copyCanvasToImg(srcCanvasOrSvg, destImg);
303
- }
304
-
305
- if (srcCanvasOrSvg.tagName === 'svg') {
306
- copySVGToImg(srcCanvasOrSvg, destImg);
307
- }
308
-
309
- destImg.srcImgTagName = srcCanvasOrSvg.tagName;
310
- adnotateDestImgWithBoundingClientRect(srcCanvasOrSvg, destImg);
311
- }
312
-
313
- function failureCallback() {
314
- return GENERALFAILURECALLBACKERROR;
315
- }
316
-
317
- // used for testing
318
- $.plot.composeImages = composeImages;
319
-
320
- function init(plot) {
321
- // used to extend the public API of the plot
322
- plot.composeImages = composeImages;
323
- }
324
-
325
- $.plot.plugins.push({
326
- init: init,
327
- name: 'composeImages',
328
- version: '1.0'
329
- });
330
- })(jQuery);