Last active
August 4, 2018 13:59
-
-
Save jwist/1d6d6c45b8c19c60041fa3165ad87021 to your computer and use it in GitHub Desktop.
view.json for visualizeR dataExplorer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "2.94.3", | |
"grid": { | |
"layers": { | |
"Default layer": { | |
"name": "Default layer" | |
} | |
}, | |
"xWidth": 10, | |
"yHeight": 10 | |
}, | |
"modules": [ | |
{ | |
"url": "modules/types/display/single_value/", | |
"configuration": { | |
"sections": {}, | |
"groups": { | |
"group": [ | |
{ | |
"append": [ | |
[] | |
], | |
"maxEntries": [ | |
1 | |
], | |
"editable": [ | |
[] | |
], | |
"debounce": [ | |
0 | |
], | |
"defaultvalue": [ | |
null | |
], | |
"font": [ | |
null | |
], | |
"fontcolor": [ | |
[ | |
0, | |
0, | |
0, | |
1 | |
] | |
], | |
"fontsize": [ | |
"18pt" | |
], | |
"align": [ | |
null | |
], | |
"valign": [ | |
null | |
], | |
"rendererOptions": [ | |
"" | |
], | |
"forceType": [ | |
"" | |
], | |
"sprintf": [ | |
null | |
], | |
"sprintfOrder": [ | |
null | |
], | |
"preformatted": [ | |
[] | |
] | |
} | |
] | |
} | |
}, | |
"layers": { | |
"Default layer": { | |
"position": { | |
"left": 1, | |
"top": 1 | |
}, | |
"size": { | |
"width": 30, | |
"height": 10 | |
}, | |
"zIndex": 0, | |
"display": true, | |
"title": "Selected data (clicked)", | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
], | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer" | |
} | |
}, | |
"id": 2, | |
"vars_in": [ | |
{ | |
"rel": "value", | |
"name": "currentCatalogID" | |
}, | |
{ | |
"rel": "color", | |
"name": "currentColor" | |
} | |
], | |
"actions_in": [ | |
{} | |
], | |
"actions_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"vars_out": [], | |
"toolbar": { | |
"custom": [ | |
[ | |
{ | |
"title": "", | |
"icon": "", | |
"action": "", | |
"position": "begin" | |
} | |
] | |
], | |
"common": [ | |
{ | |
"toolbar": [ | |
[ | |
"Open Preferences" | |
] | |
] | |
} | |
] | |
}, | |
"css": [ | |
{ | |
"fontSize": [ | |
"" | |
], | |
"fontFamily": [ | |
"" | |
] | |
} | |
], | |
"title": "Selected data (clicked)" | |
}, | |
{ | |
"url": "modules/types/science/spectra/spectra_displayer/", | |
"configuration": { | |
"sections": { | |
"graph": [ | |
{ | |
"sections": {}, | |
"groups": { | |
"graph": [ | |
{ | |
"url": [ | |
"" | |
], | |
"zoom": [ | |
"x" | |
], | |
"wheelAction": [ | |
"zoomY" | |
], | |
"wheelbaseline": [ | |
0 | |
], | |
"fullOut": [ | |
"none" | |
], | |
"legend": [ | |
"top" | |
], | |
"legendOptions": [ | |
[ | |
"isSerieHideable", | |
"isSerieSelectable" | |
] | |
], | |
"mouseTracking": [ | |
[ | |
"track" | |
] | |
], | |
"selectScatter": [ | |
[] | |
], | |
"independantYZoom": [ | |
[ | |
"yes" | |
] | |
] | |
} | |
] | |
} | |
} | |
], | |
"axis": [ | |
{ | |
"sections": {}, | |
"groups": { | |
"xAxis": [ | |
{ | |
"checkboxes": [ | |
[ | |
"display" | |
] | |
], | |
"label": [ | |
"ppm" | |
], | |
"beforeSpacing": [ | |
"0" | |
], | |
"afterSpacing": [ | |
0 | |
], | |
"min": [ | |
"0" | |
], | |
"max": [ | |
"" | |
], | |
"nbTicksPrimary": [ | |
5 | |
], | |
"axismodification": [ | |
"none" | |
] | |
} | |
], | |
"yAxis": [ | |
{ | |
"checkboxes": [ | |
[ | |
"display" | |
] | |
], | |
"label": [ | |
"Relative intensity" | |
], | |
"beforeSpacing": [ | |
"0" | |
], | |
"afterSpacing": [ | |
0 | |
], | |
"min": [ | |
"" | |
], | |
"max": [ | |
"" | |
], | |
"nbTicksPrimary": [ | |
5 | |
], | |
"fitToAxisOnFromTo": [ | |
[] | |
] | |
} | |
] | |
} | |
} | |
], | |
"series": [ | |
{ | |
"sections": {}, | |
"groups": { | |
"series": [ | |
{ | |
"overflow": [ | |
[ | |
"overflowX", | |
"overflowY" | |
] | |
], | |
"stackVerticalSpacing": [ | |
0 | |
] | |
} | |
] | |
} | |
} | |
], | |
"variables": [ | |
{ | |
"sections": {}, | |
"groups": { | |
"variables": [ | |
[ | |
{ | |
"variable": "currentSpectra", | |
"axis": "0", | |
"adaptTo": "none", | |
"plotcolor": [ | |
1, | |
1, | |
255, | |
1 | |
], | |
"strokewidth": "1", | |
"strokestyle": "1", | |
"plotcontinuous": "continuous", | |
"peakpicking": [ | |
"picking" | |
], | |
"markers": [], | |
"markerShape": "1", | |
"markerSize": 2, | |
"normalize": "none", | |
"optimizeSlots": [], | |
"tracking": [] | |
}, | |
{ | |
"variable": "overlaySpectra", | |
"axis": "0", | |
"adaptTo": "none", | |
"plotcolor": [ | |
255, | |
1, | |
12, | |
1 | |
], | |
"strokewidth": "1", | |
"strokestyle": "1", | |
"plotcontinuous": "continuous", | |
"peakpicking": [ | |
"picking" | |
], | |
"markers": [], | |
"markerShape": "1", | |
"markerSize": 2, | |
"normalize": "none", | |
"optimizeSlots": [], | |
"tracking": [] | |
}, | |
{ | |
"variable": "minSpectra", | |
"axis": "0", | |
"adaptTo": "none", | |
"plotcolor": [ | |
196, | |
197, | |
193, | |
1 | |
], | |
"strokewidth": "2", | |
"strokestyle": "1", | |
"plotcontinuous": "continuous", | |
"peakpicking": [], | |
"markers": [], | |
"markerShape": "1", | |
"markerSize": 2, | |
"normalize": "none", | |
"optimizeSlots": [], | |
"tracking": [] | |
}, | |
{ | |
"variable": "maxSpectra", | |
"axis": "0", | |
"adaptTo": "none", | |
"plotcolor": [ | |
182, | |
182, | |
193, | |
1 | |
], | |
"strokewidth": "2", | |
"strokestyle": "1", | |
"plotcontinuous": "continuous", | |
"peakpicking": [], | |
"markers": [], | |
"markerShape": "1", | |
"markerSize": 2, | |
"normalize": "none", | |
"optimizeSlots": [], | |
"tracking": [] | |
}, | |
{ | |
"variable": "meanBrazil", | |
"axis": "0", | |
"adaptTo": "none", | |
"plotcolor": [ | |
11, | |
255, | |
1, | |
1 | |
], | |
"strokewidth": "2", | |
"strokestyle": "1", | |
"plotcontinuous": "continuous", | |
"peakpicking": [], | |
"markers": [], | |
"markerShape": "1", | |
"markerSize": 2, | |
"normalize": "none", | |
"optimizeSlots": [], | |
"tracking": [] | |
}, | |
{ | |
"variable": "meanPeru", | |
"axis": "0", | |
"adaptTo": "none", | |
"plotcolor": [ | |
252, | |
255, | |
1, | |
1 | |
], | |
"strokewidth": "2", | |
"strokestyle": "1", | |
"plotcontinuous": "continuous", | |
"peakpicking": [], | |
"markers": [], | |
"markerShape": "1", | |
"markerSize": 2, | |
"normalize": "none", | |
"optimizeSlots": [], | |
"tracking": [] | |
}, | |
{ | |
"variable": "meanColombia", | |
"axis": "0", | |
"adaptTo": "none", | |
"plotcolor": [ | |
255, | |
1, | |
251, | |
1 | |
], | |
"strokewidth": "2", | |
"strokestyle": "1", | |
"plotcontinuous": "continuous", | |
"peakpicking": [], | |
"markers": [], | |
"markerShape": "1", | |
"markerSize": 2, | |
"normalize": "none", | |
"optimizeSlots": [], | |
"tracking": [] | |
} | |
] | |
] | |
} | |
} | |
], | |
"misc": [ | |
{ | |
"sections": {}, | |
"groups": { | |
"misc": [ | |
{ | |
"highlightOptions": [ | |
"{}" | |
] | |
} | |
] | |
} | |
} | |
] | |
}, | |
"groups": {} | |
}, | |
"layers": { | |
"Default layer": { | |
"position": { | |
"left": 32, | |
"top": 12 | |
}, | |
"size": { | |
"width": 88, | |
"height": 44 | |
}, | |
"zIndex": 0, | |
"display": true, | |
"title": "spectra 1H-NMR", | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
], | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer" | |
} | |
}, | |
"id": 3, | |
"vars_in": [ | |
{ | |
"rel": "xyArray", | |
"name": "currentSpectra" | |
}, | |
{ | |
"rel": "xyArray", | |
"name": "overlaySpectra" | |
}, | |
{ | |
"rel": "xyArray", | |
"name": "minSpectra" | |
}, | |
{ | |
"rel": "xyArray", | |
"name": "maxSpectra" | |
}, | |
{ | |
"rel": "xyArray", | |
"name": "meanBrazil" | |
}, | |
{ | |
"rel": "xyArray", | |
"name": "meanPeru" | |
}, | |
{ | |
"rel": "xyArray", | |
"name": "meanColombia" | |
} | |
], | |
"actions_in": [ | |
{} | |
], | |
"vars_out": [ | |
{ | |
"event": "onTrackMouse", | |
"rel": "trackData", | |
"jpath": [], | |
"name": "currtrack" | |
} | |
], | |
"actions_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"toolbar": { | |
"custom": [ | |
[ | |
{ | |
"title": "", | |
"icon": "", | |
"action": "", | |
"position": "begin" | |
} | |
] | |
], | |
"common": [ | |
{ | |
"toolbar": [ | |
[ | |
"Open Preferences", | |
"Show fullscreen", | |
"Print", | |
"Export Data" | |
] | |
] | |
} | |
] | |
}, | |
"css": [ | |
{ | |
"fontSize": [ | |
"" | |
], | |
"fontFamily": [ | |
"" | |
] | |
} | |
], | |
"title": "spectra 1H-NMR" | |
}, | |
{ | |
"url": "modules/types/edition/object_editor/", | |
"configuration": { | |
"sections": {}, | |
"groups": { | |
"group": [ | |
{ | |
"editable": [ | |
"view" | |
], | |
"expanded": [ | |
[] | |
], | |
"storeObject": [ | |
[] | |
], | |
"displayValue": [ | |
[] | |
], | |
"searchBox": [ | |
[ | |
"search" | |
] | |
], | |
"sendButton": [ | |
[ | |
"send" | |
] | |
], | |
"output": [ | |
"new" | |
], | |
"storedObject": [ | |
"{}" | |
] | |
} | |
] | |
} | |
}, | |
"layers": { | |
"Default layer": { | |
"position": { | |
"left": 121, | |
"top": 1 | |
}, | |
"size": { | |
"width": 36, | |
"height": 85 | |
}, | |
"zIndex": 0, | |
"display": true, | |
"title": "Data object (editable in code mode)", | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
], | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer" | |
} | |
}, | |
"id": 4, | |
"vars_in": [ | |
{ | |
"rel": "value", | |
"name": "data" | |
} | |
], | |
"actions_in": [ | |
{} | |
], | |
"vars_out": [ | |
{ | |
"event": "onObjectSend", | |
"rel": "output", | |
"jpath": [], | |
"name": "data" | |
} | |
], | |
"actions_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"toolbar": { | |
"custom": [ | |
[ | |
{ | |
"title": "", | |
"icon": "", | |
"action": "", | |
"position": "begin" | |
} | |
] | |
], | |
"common": [ | |
{ | |
"toolbar": [ | |
[ | |
"Open Preferences", | |
"Show fullscreen", | |
"Export Data", | |
"Print" | |
] | |
] | |
} | |
] | |
}, | |
"css": [ | |
{ | |
"fontSize": [ | |
"" | |
], | |
"fontFamily": [ | |
"" | |
] | |
} | |
], | |
"title": "Data object (editable in code mode)" | |
}, | |
{ | |
"url": "modules/types/display/template-twig/", | |
"configuration": { | |
"sections": {}, | |
"groups": { | |
"group": [ | |
{ | |
"selectable": [ | |
[] | |
], | |
"template": [ | |
"<div style=\"width:500px; height:10px; background-color: {{currentColor}}\"></div>\n\n<font size=\"+2\">\n<table>\n <tr>\n <th>catalogID</th>\n <td>{{currentMetadata.catalogID}} /</td> \n\n <th>department</th>\n <td>{{currentMetadata.department}} /</td> \n \n <th>species</th>\n <td>{{currentMetadata.species}}</td>\n </tr>\n</table>\n</font>\n" | |
], | |
"modifyInForm": [ | |
[] | |
], | |
"debouncing": [ | |
0 | |
], | |
"formOptions": [ | |
[ | |
"keepFormValueIfDataUndefined" | |
] | |
] | |
} | |
] | |
} | |
}, | |
"layers": { | |
"Default layer": { | |
"position": { | |
"left": 32, | |
"top": 1 | |
}, | |
"size": { | |
"width": 88, | |
"height": 10 | |
}, | |
"zIndex": 0, | |
"display": true, | |
"title": "Metadata viewer (hovered line)", | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
], | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer" | |
} | |
}, | |
"id": 5, | |
"vars_in": [ | |
{ | |
"rel": "value", | |
"name": "currentMetadata" | |
}, | |
{ | |
"rel": "value", | |
"name": "currentColor" | |
} | |
], | |
"actions_in": [ | |
{} | |
], | |
"vars_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"actions_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"toolbar": { | |
"custom": [ | |
[ | |
{ | |
"title": "", | |
"icon": "", | |
"action": "", | |
"position": "begin" | |
} | |
] | |
], | |
"common": [ | |
{ | |
"toolbar": [ | |
[ | |
"Open Preferences" | |
] | |
] | |
} | |
] | |
}, | |
"css": [ | |
{ | |
"fontSize": [ | |
"" | |
], | |
"fontFamily": [ | |
"" | |
] | |
} | |
], | |
"title": "Metadata viewer (hovered line)" | |
}, | |
{ | |
"url": "modules/types/display/fasttable/", | |
"configuration": { | |
"sections": {}, | |
"groups": { | |
"group": [ | |
{ | |
"nblines": [ | |
20 | |
], | |
"toggle": [ | |
null | |
], | |
"colorjpath": [ | |
"element.color" | |
], | |
"filterRow": [ | |
null | |
], | |
"highlightLine": [ | |
[ | |
"Yes" | |
] | |
] | |
} | |
], | |
"cols": [ | |
[ | |
{ | |
"name": "ID", | |
"jpath": "element.ID", | |
"number": [], | |
"editable": "none" | |
}, | |
{ | |
"name": "Group", | |
"jpath": "element.group", | |
"number": [], | |
"editable": "none" | |
} | |
] | |
] | |
} | |
}, | |
"layers": { | |
"Default layer": { | |
"position": { | |
"left": 1, | |
"top": 12 | |
}, | |
"size": { | |
"width": 30, | |
"height": 73 | |
}, | |
"zIndex": 0, | |
"display": true, | |
"title": "Data selector", | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
], | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer" | |
} | |
}, | |
"id": 6, | |
"vars_in": [ | |
{ | |
"rel": "list", | |
"name": "data" | |
} | |
], | |
"actions_in": [ | |
{} | |
], | |
"actions_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"vars_out": [ | |
{ | |
"event": "onHover", | |
"rel": "row", | |
"jpath": [ | |
"data" | |
], | |
"name": "currentSpectra" | |
}, | |
{ | |
"event": "onSelect", | |
"rel": "row", | |
"jpath": [ | |
"data" | |
], | |
"name": "overlaySpectra" | |
}, | |
{ | |
"event": "onHover", | |
"rel": "row", | |
"jpath": [ | |
"metadata" | |
], | |
"name": "currentMetadata" | |
}, | |
{ | |
"event": "onHover", | |
"rel": "row", | |
"jpath": [ | |
"color" | |
], | |
"name": "currentColor" | |
}, | |
{ | |
"event": "onSelect", | |
"rel": "row", | |
"jpath": [ | |
"metadata", | |
"catalogID" | |
], | |
"name": "currentCatalogID" | |
} | |
], | |
"toolbar": { | |
"custom": [ | |
[ | |
{ | |
"title": "", | |
"icon": "", | |
"action": "", | |
"position": "begin" | |
} | |
] | |
], | |
"common": [ | |
{ | |
"toolbar": [ | |
[ | |
"Open Preferences", | |
"Show fullscreen", | |
"Export Data", | |
"Print" | |
] | |
] | |
} | |
] | |
}, | |
"css": [ | |
{ | |
"fontSize": [ | |
"" | |
], | |
"fontFamily": [ | |
"" | |
] | |
} | |
], | |
"title": "Data selector" | |
}, | |
{ | |
"url": "modules/types/display/template-twig/", | |
"configuration": { | |
"sections": {}, | |
"groups": { | |
"group": [ | |
{ | |
"selectable": [ | |
[] | |
], | |
"template": [ | |
"<div style=\"width:500px; height:10px; background-color: {{currentColor}}\"></div>\n\n<font size=+1>\n<table>\n <tr>current spectra\n <th>x</th>\n <td>{{currtrack.currentSpectra.xClosest}} /</td> \n\n <th>y</th>\n <td>{{currtrack.currentSpectra.yClosest}} /</td> \n \n <th>index</th>\n <td>{{currtrack.currentSpectra.indexClosest}}</td>\n </tr>\n <tr>selected spectra\n <th>x</th>\n <td>{{currtrack.overlaySpectra.xClosest}} /</td> \n\n <th>y</th>\n <td>{{currtrack.overlaySpectra.yClosest}} /</td> \n \n <th>index</th>\n <td>{{currtrack.overlaySpectra.indexClosest}}</td>\n </tr>\n</table>\n</font>\n" | |
], | |
"modifyInForm": [ | |
[] | |
], | |
"debouncing": [ | |
0 | |
], | |
"formOptions": [ | |
[ | |
"keepFormValueIfDataUndefined" | |
] | |
] | |
} | |
] | |
} | |
}, | |
"layers": { | |
"Default layer": { | |
"position": { | |
"left": 32, | |
"top": 57 | |
}, | |
"size": { | |
"width": 34, | |
"height": 28 | |
}, | |
"zIndex": 0, | |
"display": true, | |
"title": "current values", | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
], | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer" | |
} | |
}, | |
"id": 7, | |
"vars_in": [ | |
{ | |
"rel": "value", | |
"name": "currtrack" | |
} | |
], | |
"actions_in": [ | |
{} | |
], | |
"vars_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"actions_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"toolbar": { | |
"custom": [ | |
[ | |
{ | |
"title": "", | |
"icon": "", | |
"action": "", | |
"position": "begin" | |
} | |
] | |
], | |
"common": [ | |
{ | |
"toolbar": [ | |
[ | |
"Open Preferences" | |
] | |
] | |
} | |
] | |
}, | |
"css": [ | |
{ | |
"fontSize": [ | |
"12pt" | |
], | |
"fontFamily": [ | |
"" | |
] | |
} | |
], | |
"title": "current values" | |
} | |
], | |
"variables": [ | |
{ | |
"varname": "data", | |
"jpath": [ | |
"data" | |
] | |
}, | |
{ | |
"varname": "meanBrazil", | |
"jpath": [ | |
"meanBrazil" | |
] | |
}, | |
{ | |
"varname": "meanColombia", | |
"jpath": [ | |
"meanColombia" | |
] | |
}, | |
{ | |
"varname": "meanPeru", | |
"jpath": [ | |
"meanPeru" | |
] | |
}, | |
{ | |
"varname": "minSpectra", | |
"jpath": [ | |
"minSpectra" | |
] | |
}, | |
{ | |
"varname": "maxSpectra", | |
"jpath": [ | |
"maxSpectra" | |
] | |
}, | |
{ | |
"varname": "metadata", | |
"jpath": [ | |
"metadata" | |
] | |
} | |
], | |
"aliases": [ | |
{} | |
], | |
"configuration": { | |
"title": "visualizeR dataExplorer" | |
}, | |
"actionscripts": [ | |
{ | |
"sections": {}, | |
"groups": { | |
"action": [ | |
{ | |
"name": [ | |
null | |
], | |
"script": [ | |
null | |
] | |
} | |
] | |
} | |
} | |
], | |
"init_script": [ | |
{ | |
"sections": {}, | |
"groups": { | |
"general": [ | |
{ | |
"script": [ | |
null | |
] | |
} | |
] | |
} | |
} | |
], | |
"custom_filters": [ | |
{ | |
"sections": { | |
"modules": [ | |
{ | |
"sections": {}, | |
"groups": { | |
"modules": [ | |
[ | |
{} | |
] | |
] | |
} | |
} | |
], | |
"filtersLib": [ | |
{ | |
"sections": {}, | |
"groups": { | |
"filters": [ | |
[ | |
{} | |
] | |
] | |
} | |
} | |
], | |
"filters": [ | |
{ | |
"sections": {}, | |
"groups": { | |
"filter": [ | |
{ | |
"name": [ | |
null | |
], | |
"script": [ | |
null | |
] | |
} | |
], | |
"libs": [ | |
[ | |
{} | |
] | |
] | |
} | |
} | |
] | |
}, | |
"groups": {} | |
} | |
], | |
"actionfiles": [ | |
{ | |
"sections": {}, | |
"groups": { | |
"action": [ | |
[ | |
{} | |
] | |
] | |
} | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "2.95.0", | |
"grid": { | |
"xWidth": 10, | |
"yHeight": 10, | |
"layers": { | |
"Default layer": { | |
"name": "Default layer" | |
}, | |
"admin": { | |
"name": "admin" | |
} | |
} | |
}, | |
"modules": [ | |
{ | |
"url": "modules/types/display/single_value/", | |
"id": 1, | |
"title": "Selected data (clicked)", | |
"configuration": { | |
"sections": {}, | |
"groups": { | |
"group": [ | |
{ | |
"append": [ | |
[] | |
], | |
"maxEntries": [ | |
1 | |
], | |
"editable": [ | |
[] | |
], | |
"debounce": [ | |
0 | |
], | |
"defaultvalue": [ | |
null | |
], | |
"font": [ | |
null | |
], | |
"fontcolor": [ | |
[ | |
0, | |
0, | |
0, | |
1 | |
] | |
], | |
"fontsize": [ | |
"18pt" | |
], | |
"align": [ | |
null | |
], | |
"valign": [ | |
null | |
], | |
"rendererOptions": [ | |
"" | |
], | |
"forceType": [ | |
"" | |
], | |
"sprintf": [ | |
null | |
], | |
"sprintfOrder": [ | |
null | |
], | |
"preformatted": [ | |
[] | |
] | |
} | |
] | |
} | |
}, | |
"layers": { | |
"Default layer": { | |
"zIndex": 0, | |
"display": true, | |
"title": "Selected data (clicked)", | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer", | |
"position": { | |
"left": 1, | |
"top": 1 | |
}, | |
"size": { | |
"width": 30, | |
"height": 10 | |
}, | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
] | |
}, | |
"admin": { | |
"zIndex": 0, | |
"display": false, | |
"title": "Selected data (clicked)", | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer", | |
"position": { | |
"left": 1, | |
"top": 1 | |
}, | |
"size": { | |
"width": 30, | |
"height": 10 | |
}, | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
] | |
} | |
}, | |
"vars_in": [ | |
{ | |
"rel": "value", | |
"name": "overlayCatalogID" | |
}, | |
{ | |
"rel": "color", | |
"name": "overlayColor" | |
} | |
], | |
"actions_in": [ | |
{} | |
], | |
"actions_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"vars_out": [], | |
"toolbar": { | |
"custom": [ | |
[ | |
{ | |
"title": "", | |
"icon": "", | |
"action": "", | |
"position": "begin", | |
"color": [ | |
100, | |
100, | |
100, | |
1 | |
] | |
} | |
] | |
], | |
"common": [ | |
{ | |
"toolbar": [ | |
[ | |
"Open Preferences" | |
] | |
] | |
} | |
] | |
}, | |
"css": [ | |
{ | |
"fontSize": [ | |
"" | |
], | |
"fontFamily": [ | |
"" | |
] | |
} | |
] | |
}, | |
{ | |
"url": "modules/types/science/spectra/spectra_displayer/", | |
"id": 2, | |
"title": "spectra 1H-NMR", | |
"configuration": { | |
"sections": { | |
"graph": [ | |
{ | |
"sections": {}, | |
"groups": { | |
"graph": [ | |
{ | |
"url": [ | |
"" | |
], | |
"zoom": [ | |
"x" | |
], | |
"wheelAction": [ | |
"zoomY" | |
], | |
"wheelbaseline": [ | |
0 | |
], | |
"fullOut": [ | |
"none" | |
], | |
"legend": [ | |
"top" | |
], | |
"legendOptions": [ | |
[ | |
"isSerieHideable", | |
"isSerieSelectable" | |
] | |
], | |
"mouseTracking": [ | |
[ | |
"track" | |
] | |
], | |
"selectScatter": [ | |
[] | |
], | |
"independantYZoom": [ | |
[ | |
"yes" | |
] | |
] | |
} | |
] | |
} | |
} | |
], | |
"axis": [ | |
{ | |
"sections": {}, | |
"groups": { | |
"xAxis": [ | |
{ | |
"checkboxes": [ | |
[ | |
"display", | |
"flip" | |
] | |
], | |
"label": [ | |
"ppm" | |
], | |
"beforeSpacing": [ | |
"0" | |
], | |
"afterSpacing": [ | |
0 | |
], | |
"min": [ | |
"0" | |
], | |
"max": [ | |
"" | |
], | |
"nbTicksPrimary": [ | |
5 | |
], | |
"axismodification": [ | |
"none" | |
] | |
} | |
], | |
"yAxis": [ | |
{ | |
"checkboxes": [ | |
[ | |
"display" | |
] | |
], | |
"label": [ | |
"Relative intensity" | |
], | |
"beforeSpacing": [ | |
"0" | |
], | |
"afterSpacing": [ | |
0 | |
], | |
"min": [ | |
"" | |
], | |
"max": [ | |
"" | |
], | |
"nbTicksPrimary": [ | |
5 | |
], | |
"fitToAxisOnFromTo": [ | |
[] | |
] | |
} | |
] | |
} | |
} | |
], | |
"series": [ | |
{ | |
"sections": {}, | |
"groups": { | |
"series": [ | |
{ | |
"overflow": [ | |
[ | |
"overflowX", | |
"overflowY" | |
] | |
], | |
"stackVerticalSpacing": [ | |
0 | |
] | |
} | |
] | |
} | |
} | |
], | |
"variables": [ | |
{ | |
"sections": {}, | |
"groups": { | |
"variables": [ | |
[ | |
{ | |
"variable": "currentSpectra", | |
"axis": "0", | |
"adaptTo": "none", | |
"plotcolor": [ | |
1, | |
1, | |
255, | |
1 | |
], | |
"strokewidth": "3", | |
"strokestyle": "1", | |
"plotcontinuous": "continuous", | |
"peakpicking": [ | |
"picking" | |
], | |
"markers": [], | |
"markerShape": "1", | |
"markerSize": 2, | |
"normalize": "none", | |
"optimizeSlots": [], | |
"tracking": [] | |
}, | |
{ | |
"variable": "overlaySpectra", | |
"axis": "0", | |
"adaptTo": "none", | |
"plotcolor": [ | |
255, | |
1, | |
12, | |
1 | |
], | |
"strokewidth": "1", | |
"strokestyle": "1", | |
"plotcontinuous": "continuous", | |
"peakpicking": [ | |
"picking" | |
], | |
"markers": [], | |
"markerShape": "1", | |
"markerSize": 2, | |
"normalize": "none", | |
"optimizeSlots": [], | |
"tracking": [] | |
}, | |
{ | |
"variable": "minSpectra", | |
"axis": "0", | |
"adaptTo": "none", | |
"plotcolor": [ | |
196, | |
197, | |
193, | |
1 | |
], | |
"strokewidth": "2", | |
"strokestyle": "10", | |
"plotcontinuous": "continuous", | |
"peakpicking": [], | |
"markers": [], | |
"markerShape": "1", | |
"markerSize": 2, | |
"normalize": "none", | |
"optimizeSlots": [], | |
"tracking": [] | |
}, | |
{ | |
"variable": "maxSpectra", | |
"axis": "0", | |
"adaptTo": "none", | |
"plotcolor": [ | |
182, | |
182, | |
193, | |
1 | |
], | |
"strokewidth": "2", | |
"strokestyle": "2", | |
"plotcontinuous": "continuous", | |
"peakpicking": [], | |
"markers": [], | |
"markerShape": "1", | |
"markerSize": 2, | |
"normalize": "none", | |
"optimizeSlots": [], | |
"tracking": [] | |
}, | |
{ | |
"variable": "meanBrazil", | |
"axis": "0", | |
"adaptTo": "none", | |
"plotcolor": [ | |
11, | |
255, | |
1, | |
1 | |
], | |
"strokewidth": "2", | |
"strokestyle": "1", | |
"plotcontinuous": "continuous", | |
"peakpicking": [], | |
"markers": [], | |
"markerShape": "1", | |
"markerSize": 2, | |
"normalize": "none", | |
"optimizeSlots": [], | |
"tracking": [] | |
}, | |
{ | |
"variable": "meanPeru", | |
"axis": "0", | |
"adaptTo": "none", | |
"plotcolor": [ | |
252, | |
255, | |
1, | |
1 | |
], | |
"strokewidth": "2", | |
"strokestyle": "1", | |
"plotcontinuous": "continuous", | |
"peakpicking": [], | |
"markers": [], | |
"markerShape": "1", | |
"markerSize": 2, | |
"normalize": "none", | |
"optimizeSlots": [], | |
"tracking": [] | |
}, | |
{ | |
"variable": "meanColombia", | |
"axis": "0", | |
"adaptTo": "none", | |
"plotcolor": [ | |
255, | |
1, | |
251, | |
1 | |
], | |
"strokewidth": "2", | |
"strokestyle": "1", | |
"plotcontinuous": "continuous", | |
"peakpicking": [], | |
"markers": [], | |
"markerShape": "1", | |
"markerSize": 2, | |
"normalize": "none", | |
"optimizeSlots": [], | |
"tracking": [] | |
} | |
] | |
] | |
} | |
} | |
], | |
"misc": [ | |
{ | |
"sections": {}, | |
"groups": { | |
"misc": [ | |
{ | |
"highlightOptions": [ | |
"{}" | |
] | |
} | |
] | |
} | |
} | |
] | |
}, | |
"groups": {} | |
}, | |
"layers": { | |
"Default layer": { | |
"zIndex": 0, | |
"display": true, | |
"title": "spectra 1H-NMR", | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer", | |
"position": { | |
"left": 32, | |
"top": 12 | |
}, | |
"size": { | |
"width": 88, | |
"height": 40 | |
}, | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
] | |
}, | |
"admin": { | |
"zIndex": 0, | |
"display": false, | |
"title": "spectra 1H-NMR", | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer", | |
"position": { | |
"left": 32, | |
"top": 12 | |
}, | |
"size": { | |
"width": 88, | |
"height": 44 | |
}, | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
] | |
} | |
}, | |
"vars_in": [ | |
{ | |
"rel": "xyArray", | |
"name": "currentSpectra" | |
}, | |
{ | |
"rel": "xyArray", | |
"name": "overlaySpectra" | |
}, | |
{ | |
"rel": "xyArray", | |
"name": "minSpectra" | |
}, | |
{ | |
"rel": "xyArray", | |
"name": "maxSpectra" | |
}, | |
{ | |
"rel": "xyArray", | |
"name": "meanBrazil" | |
}, | |
{ | |
"rel": "xyArray", | |
"name": "meanPeru" | |
}, | |
{ | |
"rel": "xyArray", | |
"name": "meanColombia" | |
} | |
], | |
"actions_in": [ | |
{} | |
], | |
"vars_out": [ | |
{ | |
"event": "onTrackClick", | |
"rel": "trackData", | |
"jpath": [], | |
"name": "trackData" | |
} | |
], | |
"actions_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"toolbar": { | |
"custom": [ | |
[ | |
{ | |
"title": "", | |
"icon": "", | |
"action": "", | |
"position": "begin", | |
"color": [ | |
100, | |
100, | |
100, | |
1 | |
] | |
} | |
] | |
], | |
"common": [ | |
{ | |
"toolbar": [ | |
[ | |
"Open Preferences", | |
"Show fullscreen", | |
"Print", | |
"Export Data" | |
] | |
] | |
} | |
] | |
}, | |
"css": [ | |
{ | |
"fontSize": [ | |
"" | |
], | |
"fontFamily": [ | |
"" | |
] | |
} | |
] | |
}, | |
{ | |
"url": "modules/types/display/template-twig/", | |
"id": 3, | |
"title": "Metadata viewer (hovered line)", | |
"configuration": { | |
"sections": {}, | |
"groups": { | |
"group": [ | |
{ | |
"selectable": [ | |
[] | |
], | |
"template": [ | |
"<div style=\"width:500px; height:10px; background-color: {{currentColor}}\"></div>\n\n<font size=\"+2\">\n<table>\n <tr>\n <th>catalogID</th>\n <td>{{currentMetadata.catalogID}} /</td> \n\n <th>department</th>\n <td>{{currentMetadata.department}} /</td> \n \n <th>species</th>\n <td>{{currentMetadata.species}}</td>\n </tr>\n</table>\n</font>\n" | |
], | |
"modifyInForm": [ | |
[] | |
], | |
"debouncing": [ | |
0 | |
], | |
"formOptions": [ | |
[ | |
"keepFormValueIfDataUndefined" | |
] | |
] | |
} | |
] | |
} | |
}, | |
"layers": { | |
"Default layer": { | |
"zIndex": 0, | |
"display": false, | |
"title": "Metadata viewer (hovered line)", | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer", | |
"position": { | |
"left": 32, | |
"top": 1 | |
}, | |
"size": { | |
"width": 88, | |
"height": 10 | |
}, | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
] | |
}, | |
"admin": { | |
"zIndex": 0, | |
"display": true, | |
"title": "Metadata viewer (hovered line)", | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer", | |
"position": { | |
"left": 49, | |
"top": 2 | |
}, | |
"size": { | |
"width": 88, | |
"height": 10 | |
}, | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
] | |
} | |
}, | |
"vars_in": [ | |
{ | |
"rel": "value", | |
"name": "currentMetadata" | |
}, | |
{ | |
"rel": "value", | |
"name": "currentColor" | |
} | |
], | |
"actions_in": [ | |
{} | |
], | |
"vars_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"actions_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"toolbar": { | |
"custom": [ | |
[ | |
{ | |
"title": "", | |
"icon": "", | |
"action": "", | |
"position": "begin", | |
"color": [ | |
100, | |
100, | |
100, | |
1 | |
] | |
} | |
] | |
], | |
"common": [ | |
{ | |
"toolbar": [ | |
[ | |
"Open Preferences" | |
] | |
] | |
} | |
] | |
}, | |
"css": [ | |
{ | |
"fontSize": [ | |
"" | |
], | |
"fontFamily": [ | |
"" | |
] | |
} | |
] | |
}, | |
{ | |
"url": "modules/types/display/fasttable/", | |
"id": 4, | |
"title": "Data selector", | |
"configuration": { | |
"sections": {}, | |
"groups": { | |
"group": [ | |
{ | |
"nblines": [ | |
20 | |
], | |
"toggle": [ | |
null | |
], | |
"colorjpath": [ | |
"element.color" | |
], | |
"filterRow": [ | |
null | |
], | |
"highlightLine": [ | |
[ | |
"Yes" | |
] | |
] | |
} | |
], | |
"cols": [ | |
[ | |
{ | |
"name": "ID", | |
"jpath": "element.ID", | |
"editable": "select", | |
"number": [] | |
}, | |
{ | |
"name": "Group", | |
"jpath": "element.group", | |
"editable": "checkbox", | |
"number": [] | |
} | |
] | |
] | |
} | |
}, | |
"layers": { | |
"Default layer": { | |
"zIndex": 0, | |
"display": true, | |
"title": "Data selector", | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer", | |
"position": { | |
"left": 1, | |
"top": 12 | |
}, | |
"size": { | |
"width": 30, | |
"height": 73 | |
}, | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
] | |
}, | |
"admin": { | |
"zIndex": 0, | |
"display": false, | |
"title": "Data selector", | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer", | |
"position": { | |
"left": 1, | |
"top": 12 | |
}, | |
"size": { | |
"width": 30, | |
"height": 73 | |
}, | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
] | |
} | |
}, | |
"vars_in": [ | |
{ | |
"rel": "list", | |
"name": "data" | |
} | |
], | |
"actions_in": [ | |
{} | |
], | |
"actions_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"vars_out": [ | |
{ | |
"event": "onHover", | |
"rel": "row", | |
"name": "currentSpectra", | |
"jpath": [ | |
"dataMatrix" | |
] | |
}, | |
{ | |
"event": "onSelect", | |
"rel": "row", | |
"name": "overlaySpectra", | |
"jpath": [ | |
"dataMatrix" | |
] | |
}, | |
{ | |
"event": "onHover", | |
"rel": "row", | |
"name": "currentMetadata", | |
"jpath": [ | |
"metadata" | |
] | |
}, | |
{ | |
"event": "onHover", | |
"rel": "row", | |
"name": "currentColor", | |
"jpath": [ | |
"color" | |
] | |
}, | |
{ | |
"event": "onSelect", | |
"rel": "row", | |
"name": "overlayCatalogID", | |
"jpath": [ | |
"metadata", | |
"catalogID" | |
] | |
}, | |
{ | |
"event": "onHover", | |
"rel": "row", | |
"name": "currentCatalogID", | |
"jpath": [ | |
"metadata", | |
"catalogID" | |
] | |
}, | |
{ | |
"event": "onSelect", | |
"rel": "row", | |
"name": "overlayColor", | |
"jpath": [ | |
"color" | |
] | |
} | |
], | |
"toolbar": { | |
"custom": [ | |
[ | |
{ | |
"title": "", | |
"icon": "", | |
"action": "", | |
"position": "begin", | |
"color": [ | |
100, | |
100, | |
100, | |
1 | |
] | |
} | |
] | |
], | |
"common": [ | |
{ | |
"toolbar": [ | |
[ | |
"Open Preferences", | |
"Show fullscreen", | |
"Export Data", | |
"Print" | |
] | |
] | |
} | |
] | |
}, | |
"css": [ | |
{ | |
"fontSize": [ | |
"" | |
], | |
"fontFamily": [ | |
"" | |
] | |
} | |
] | |
}, | |
{ | |
"url": "modules/types/display/template-twig/", | |
"id": 5, | |
"title": "current values", | |
"configuration": { | |
"sections": {}, | |
"groups": { | |
"group": [ | |
{ | |
"selectable": [ | |
[] | |
], | |
"template": [ | |
"<div style=\"width:500px; height:10px; background-color: {{currentColor}}\"></div>\n\n<font size=+1>\n<table>\n <tr><td>current spectra</td>\n <th>x</th>\n <td>{{currtrack.currentSpectra.xClosest}} /</td> \n\n <th>y</th>\n <td>{{currtrack.currentSpectra.yClosest}} /</td> \n \n <th>index</th>\n <td>{{currtrack.currentSpectra.indexClosest}}</td>\n </tr>\n <tr><td>selected spectra</td>\n <th>x</th>\n <td>{{currtrack.overlaySpectra.xClosest}} /</td> \n\n <th>y</th>\n <td>{{currtrack.overlaySpectra.yClosest}} /</td> \n \n <th>index</th>\n <td>{{currtrack.overlaySpectra.indexClosest}}</td>\n </tr>\n</table>\n</font>\n" | |
], | |
"modifyInForm": [ | |
[] | |
], | |
"debouncing": [ | |
0 | |
], | |
"formOptions": [ | |
[ | |
"keepFormValueIfDataUndefined" | |
] | |
] | |
} | |
] | |
} | |
}, | |
"layers": { | |
"Default layer": { | |
"zIndex": 0, | |
"display": true, | |
"title": "current values", | |
"wrapper": false, | |
"created": true, | |
"name": "Default layer", | |
"position": { | |
"left": 65, | |
"top": 5 | |
}, | |
"size": { | |
"width": 51, | |
"height": 12 | |
}, | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
] | |
}, | |
"admin": { | |
"zIndex": 0, | |
"display": false, | |
"title": "current values", | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer", | |
"position": { | |
"left": 32, | |
"top": 57 | |
}, | |
"size": { | |
"width": 34, | |
"height": 28 | |
}, | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
] | |
} | |
}, | |
"vars_in": [ | |
{ | |
"rel": "value", | |
"name": "currtrack" | |
} | |
], | |
"actions_in": [ | |
{} | |
], | |
"vars_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"actions_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"toolbar": { | |
"custom": [ | |
[ | |
{ | |
"title": "", | |
"icon": "", | |
"action": "", | |
"position": "begin", | |
"color": [ | |
100, | |
100, | |
100, | |
1 | |
] | |
} | |
] | |
], | |
"common": [ | |
{ | |
"toolbar": [ | |
[ | |
"Open Preferences" | |
] | |
] | |
} | |
] | |
}, | |
"css": [ | |
{ | |
"fontSize": [ | |
"12pt" | |
], | |
"fontFamily": [ | |
"" | |
] | |
} | |
] | |
}, | |
{ | |
"url": "modules/types/client_interaction/code_executor/", | |
"id": 6, | |
"title": "image tracking", | |
"configuration": { | |
"sections": {}, | |
"groups": { | |
"group": [ | |
{ | |
"display": [ | |
[ | |
"editor", | |
"buttons" | |
] | |
], | |
"execOnLoad": [ | |
[] | |
], | |
"asyncAwait": [ | |
[ | |
"top" | |
] | |
], | |
"script": [ | |
"var currTrack = API.getData('currtrack')\nvar images = API.getData('img')\n\nvar index = currTrack.minSpectra.indexClosest;\n\nAPI.createData('image', images[index]);\n\n\n" | |
] | |
} | |
], | |
"libs": [ | |
[ | |
{} | |
] | |
], | |
"buttons": [ | |
[ | |
{ | |
"name": "button1", | |
"label": "Execute", | |
"hide": [], | |
"disable": [] | |
} | |
] | |
] | |
} | |
}, | |
"layers": { | |
"Default layer": { | |
"zIndex": 0, | |
"display": false, | |
"title": "", | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer", | |
"position": { | |
"left": 68, | |
"top": 57 | |
}, | |
"size": { | |
"width": 36, | |
"height": 28 | |
}, | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
] | |
}, | |
"admin": { | |
"zIndex": 0, | |
"display": true, | |
"title": "image tracking", | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer", | |
"position": { | |
"left": 2, | |
"top": 2 | |
}, | |
"size": { | |
"width": 44, | |
"height": 17 | |
}, | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
] | |
} | |
}, | |
"vars_in": [ | |
{ | |
"rel": "inputValue", | |
"name": "currtrack" | |
} | |
], | |
"actions_in": [ | |
{} | |
], | |
"vars_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"actions_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"toolbar": { | |
"custom": [ | |
[ | |
{ | |
"title": "", | |
"icon": "", | |
"action": "", | |
"position": "begin", | |
"color": [ | |
100, | |
100, | |
100, | |
1 | |
] | |
} | |
] | |
], | |
"common": [ | |
{ | |
"toolbar": [ | |
[ | |
"Open Preferences" | |
] | |
] | |
} | |
] | |
}, | |
"css": [ | |
{ | |
"fontSize": [ | |
"" | |
], | |
"fontFamily": [ | |
"" | |
] | |
} | |
] | |
}, | |
{ | |
"url": "modules/types/display/single_value/", | |
"id": 7, | |
"title": "Boxplot of current variable (hoovered)", | |
"configuration": { | |
"sections": {}, | |
"groups": { | |
"group": [ | |
{ | |
"append": [ | |
[] | |
], | |
"maxEntries": [ | |
1 | |
], | |
"editable": [ | |
[] | |
], | |
"debounce": [ | |
0 | |
], | |
"defaultvalue": [ | |
null | |
], | |
"font": [ | |
null | |
], | |
"fontcolor": [ | |
[ | |
0, | |
0, | |
0, | |
1 | |
] | |
], | |
"fontsize": [ | |
null | |
], | |
"align": [ | |
null | |
], | |
"valign": [ | |
null | |
], | |
"rendererOptions": [ | |
"" | |
], | |
"forceType": [ | |
"png" | |
], | |
"sprintf": [ | |
null | |
], | |
"sprintfOrder": [ | |
null | |
], | |
"preformatted": [ | |
[] | |
] | |
} | |
] | |
} | |
}, | |
"layers": { | |
"Default layer": { | |
"zIndex": 0, | |
"display": true, | |
"title": "Boxplot of current variable (hoovered)", | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer", | |
"position": { | |
"left": 121, | |
"top": 1 | |
}, | |
"size": { | |
"width": 51, | |
"height": 51 | |
}, | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
] | |
}, | |
"admin": { | |
"zIndex": 0, | |
"display": false, | |
"title": "", | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer", | |
"position": { | |
"left": 121, | |
"top": 1 | |
}, | |
"size": { | |
"width": 51, | |
"height": 55 | |
}, | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
] | |
} | |
}, | |
"vars_in": [ | |
{ | |
"rel": "value", | |
"name": "image" | |
} | |
], | |
"actions_in": [ | |
{} | |
], | |
"actions_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"vars_out": [], | |
"toolbar": { | |
"custom": [ | |
[ | |
{ | |
"title": "", | |
"icon": "", | |
"action": "", | |
"position": "begin", | |
"color": [ | |
100, | |
100, | |
100, | |
1 | |
] | |
} | |
] | |
], | |
"common": [ | |
{ | |
"toolbar": [ | |
[ | |
"Open Preferences", | |
"Export Data", | |
"Print" | |
] | |
] | |
} | |
] | |
}, | |
"css": [ | |
{ | |
"fontSize": [ | |
"" | |
], | |
"fontFamily": [ | |
"" | |
] | |
} | |
] | |
}, | |
{ | |
"url": "modules/types/edition/object_editor/", | |
"id": 8, | |
"title": "current metadata (hoovered)", | |
"configuration": { | |
"sections": {}, | |
"groups": { | |
"group": [ | |
{ | |
"editable": [ | |
"view" | |
], | |
"expanded": [ | |
[] | |
], | |
"storeObject": [ | |
[] | |
], | |
"displayValue": [ | |
[] | |
], | |
"searchBox": [ | |
[ | |
"search" | |
] | |
], | |
"sendButton": [ | |
[] | |
], | |
"output": [ | |
"new" | |
], | |
"storedObject": [ | |
"{}" | |
] | |
} | |
] | |
} | |
}, | |
"layers": { | |
"Default layer": { | |
"zIndex": 0, | |
"display": true, | |
"title": "current metadata (hoovered)", | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer", | |
"position": { | |
"left": 32, | |
"top": 53 | |
}, | |
"size": { | |
"width": 88, | |
"height": 32 | |
}, | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
] | |
}, | |
"admin": { | |
"zIndex": 0, | |
"display": false, | |
"title": "", | |
"wrapper": true, | |
"created": true, | |
"name": "admin", | |
"position": { | |
"left": 101, | |
"top": 19 | |
}, | |
"size": { | |
"width": 55, | |
"height": 46 | |
}, | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
] | |
} | |
}, | |
"vars_in": [ | |
{ | |
"rel": "value", | |
"name": "currentMetadata" | |
} | |
], | |
"actions_in": [ | |
{} | |
], | |
"vars_out": [ | |
{ | |
"event": "onObjectChange", | |
"rel": "output", | |
"jpath": [], | |
"name": "modifiedQuantile" | |
} | |
], | |
"actions_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"toolbar": { | |
"custom": [ | |
[ | |
{ | |
"title": "", | |
"icon": "", | |
"action": "", | |
"position": "begin", | |
"color": [ | |
100, | |
100, | |
100, | |
1 | |
] | |
} | |
] | |
], | |
"common": [ | |
{ | |
"toolbar": [ | |
[ | |
"Open Preferences" | |
] | |
] | |
} | |
] | |
}, | |
"css": [ | |
{ | |
"fontSize": [ | |
"" | |
], | |
"fontFamily": [ | |
"" | |
] | |
} | |
] | |
}, | |
{ | |
"url": "modules/types/client_interaction/code_executor/", | |
"id": 9, | |
"title": "sparkline tracking", | |
"configuration": { | |
"sections": {}, | |
"groups": { | |
"group": [ | |
{ | |
"display": [ | |
[ | |
"editor", | |
"buttons" | |
] | |
], | |
"execOnLoad": [ | |
[] | |
], | |
"asyncAwait": [ | |
[ | |
"top" | |
] | |
], | |
"script": [ | |
"\nvar currentSpectra = API.getData('currentSpectra')\nvar data = API.getData('data')\n\nvar currTrack = API.getData('currtrack')\nvar index = currTrack.minSpectra.indexClosest\n\nvar result = data.reduce(function (r, a) {\n r[a.group] = r[a.group] || [];\n r[a.group].push(a);\n return r;\n }, Object.create(null));\n\nvar indik = []\nObject.keys(result).forEach(e => \n indik.push({\"index\": e,\n \"indicator\": {\n \"type\": \"sparkline\",\n \"value\": result[e].map(x => x.dataMatrix[index*2+1]),\n \"_options\": {\n \"type\": \"box\",\n \"raw\": false,\n \"minValue\": -50,\n \"maxValue\": 20,\n \"boxLineColor\": \"black\",\n \"boxFillColor\": \"lightgrey\",\n \"whiskerColor\": \"black\",\n \"medianColor\": \"red\",\n \"lineColor\": \"black\",\n \"target\": currentSpectra[index*2+1],\n \"targetColor\": \"green\"\n }\n }})\n)\n\nindik.push({\"index\": \"All\",\n \"indicator\": {\n \"type\": \"sparkline\",\n \"value\": data.map(x => x.dataMatrix[index*2+1]),\n \"_options\": {\n \"type\": \"box\",\n \"raw\": false,\n \"minValue\": -50,\n \"maxValue\": 20,\n \"boxLineColor\": \"black\",\n \"boxFillColor\": \"lightgrey\",\n \"whiskerColor\": \"black\",\n \"medianColor\": \"red\",\n \"lineColor\": \"black\",\n \"target\": currentSpectra[index*2+1],\n \"targetColor\": \"green\"}\n }})\n\n\nAPI.createData('indik', indik);\n\n\n" | |
] | |
} | |
], | |
"libs": [ | |
[ | |
{} | |
] | |
], | |
"buttons": [ | |
[ | |
{ | |
"name": "button1", | |
"label": "Execute", | |
"hide": [], | |
"disable": [] | |
} | |
] | |
] | |
} | |
}, | |
"layers": { | |
"Default layer": { | |
"zIndex": 0, | |
"display": false, | |
"title": "", | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer", | |
"position": { | |
"left": 0, | |
"top": 0 | |
}, | |
"size": { | |
"width": 20, | |
"height": 20 | |
}, | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
] | |
}, | |
"admin": { | |
"zIndex": 0, | |
"display": true, | |
"title": "sparkline tracking", | |
"wrapper": true, | |
"created": true, | |
"name": "admin", | |
"position": { | |
"left": 2, | |
"top": 20 | |
}, | |
"size": { | |
"width": 44, | |
"height": 19 | |
}, | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
] | |
} | |
}, | |
"vars_in": [ | |
{ | |
"rel": "inputValue", | |
"name": "currtrack" | |
}, | |
{ | |
"rel": "inputValue", | |
"name": "currentSpectra" | |
} | |
], | |
"actions_in": [ | |
{} | |
], | |
"vars_out": [ | |
{ | |
"event": "onScriptEnded", | |
"rel": "outputValue", | |
"jpath": [], | |
"name": "currentQuantile" | |
} | |
], | |
"actions_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"toolbar": { | |
"custom": [ | |
[ | |
{ | |
"title": "", | |
"icon": "", | |
"action": "", | |
"position": "begin", | |
"color": [ | |
100, | |
100, | |
100, | |
1 | |
] | |
} | |
] | |
], | |
"common": [ | |
{ | |
"toolbar": [ | |
[ | |
"Open Preferences" | |
] | |
] | |
} | |
] | |
}, | |
"css": [ | |
{ | |
"fontSize": [ | |
"" | |
], | |
"fontFamily": [ | |
"" | |
] | |
} | |
] | |
}, | |
{ | |
"url": "modules/types/edition/slick_grid/", | |
"configuration": { | |
"sections": {}, | |
"groups": { | |
"group": [ | |
{ | |
"slickCheck": [ | |
[ | |
"enableCellNavigation", | |
"rowNumbering", | |
"forceFitColumns", | |
"highlightScroll", | |
"forgetLastActive" | |
] | |
], | |
"copyPaste": [ | |
[] | |
], | |
"copyPasteOptions": [ | |
[ | |
"newRows" | |
] | |
], | |
"autoColumns": [ | |
[] | |
], | |
"toolbar": [ | |
[] | |
], | |
"colorjpath": [ | |
[] | |
], | |
"slick.defaultColumnWidth": [ | |
null | |
], | |
"slick.rowHeight": [ | |
"50" | |
], | |
"slick.headerRowHeight": [ | |
30 | |
], | |
"slick.selectionModel": [ | |
"row" | |
], | |
"idProperty": [ | |
"" | |
], | |
"filterType": [ | |
"pref" | |
], | |
"filterRow": [ | |
"// Documentation: https://github.com/NPellet/visualizer/blob/46b40ca86345f8fa313563bf9c6ecb80ba323101/src/modules/types/edition/slick_grid/view.js#L1695-L1735" | |
], | |
"customJpaths": [ | |
"" | |
] | |
} | |
], | |
"cols": [ | |
[ | |
{ | |
"jpath": [], | |
"editor": "none", | |
"forceType": "", | |
"formatter": "typerenderer", | |
"copyFormatter": "default", | |
"visibility": "both", | |
"rendererOptions": "", | |
"editorOptions": "", | |
"hideColumn": [] | |
} | |
] | |
], | |
"actionCols": [ | |
[ | |
{ | |
"backgroundColor": [ | |
255, | |
255, | |
255, | |
0 | |
], | |
"color": [ | |
0, | |
0, | |
0, | |
1 | |
], | |
"position": "end", | |
"clickMode": "text" | |
} | |
] | |
], | |
"groupings": [ | |
[ | |
{ | |
"getter": [] | |
} | |
] | |
], | |
"actionOutButtons": [ | |
[ | |
{} | |
] | |
], | |
"data": [ | |
{ | |
"saveInView": [ | |
[] | |
], | |
"varname": [ | |
"" | |
], | |
"data": [ | |
"[]" | |
] | |
} | |
] | |
} | |
}, | |
"layers": { | |
"Default layer": { | |
"position": { | |
"left": 121, | |
"top": 53 | |
}, | |
"size": { | |
"width": 51, | |
"height": 32 | |
}, | |
"zIndex": 0, | |
"display": true, | |
"title": "Boxplot of current variable (hoovered) with current value (green \"+\")", | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
], | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer" | |
}, | |
"admin": { | |
"position": { | |
"left": 104, | |
"top": 52 | |
}, | |
"size": { | |
"width": 41, | |
"height": 31 | |
}, | |
"zIndex": 0, | |
"display": false, | |
"title": "", | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
], | |
"wrapper": true, | |
"created": true, | |
"name": "admin" | |
} | |
}, | |
"id": 10, | |
"vars_in": [ | |
{ | |
"rel": "list", | |
"name": "indik" | |
} | |
], | |
"actions_in": [ | |
{} | |
], | |
"actions_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"vars_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"toolbar": { | |
"custom": [ | |
[ | |
{ | |
"title": "", | |
"icon": "", | |
"action": "", | |
"position": "begin", | |
"color": [ | |
100, | |
100, | |
100, | |
1 | |
] | |
} | |
] | |
], | |
"common": [ | |
{ | |
"toolbar": [ | |
[ | |
"Open Preferences", | |
"Print", | |
"Export Data", | |
"Show fullscreen" | |
] | |
] | |
} | |
] | |
}, | |
"css": [ | |
{ | |
"fontSize": [ | |
"" | |
], | |
"fontFamily": [ | |
"" | |
] | |
} | |
], | |
"title": "Boxplot of current variable (hoovered) with current value (green \"+\")" | |
}, | |
{ | |
"url": "modules/types/display/single_value/", | |
"id": 11, | |
"title": "current data (hoovered)", | |
"configuration": { | |
"sections": {}, | |
"groups": { | |
"group": [ | |
{ | |
"append": [ | |
[] | |
], | |
"maxEntries": [ | |
1 | |
], | |
"editable": [ | |
[] | |
], | |
"debounce": [ | |
0 | |
], | |
"defaultvalue": [ | |
null | |
], | |
"font": [ | |
null | |
], | |
"fontcolor": [ | |
[ | |
0, | |
0, | |
0, | |
1 | |
] | |
], | |
"fontsize": [ | |
"18pt" | |
], | |
"align": [ | |
null | |
], | |
"valign": [ | |
null | |
], | |
"rendererOptions": [ | |
"" | |
], | |
"forceType": [ | |
"" | |
], | |
"sprintf": [ | |
null | |
], | |
"sprintfOrder": [ | |
null | |
], | |
"preformatted": [ | |
[] | |
] | |
} | |
] | |
} | |
}, | |
"layers": { | |
"Default layer": { | |
"zIndex": 0, | |
"display": true, | |
"title": "current data (hoovered)", | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer", | |
"position": { | |
"left": 32, | |
"top": 1 | |
}, | |
"size": { | |
"width": 30, | |
"height": 10 | |
}, | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
] | |
}, | |
"admin": { | |
"zIndex": 0, | |
"display": false, | |
"title": "Selected data (clicked)", | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer", | |
"position": { | |
"left": 1, | |
"top": 1 | |
}, | |
"size": { | |
"width": 30, | |
"height": 10 | |
}, | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
] | |
} | |
}, | |
"vars_in": [ | |
{ | |
"rel": "value", | |
"name": "currentCatalogID" | |
}, | |
{ | |
"rel": "color", | |
"name": "currentColor" | |
} | |
], | |
"actions_in": [ | |
{} | |
], | |
"actions_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"vars_out": [], | |
"toolbar": { | |
"custom": [ | |
[ | |
{ | |
"title": "", | |
"icon": "", | |
"action": "", | |
"position": "begin", | |
"color": [ | |
100, | |
100, | |
100, | |
1 | |
] | |
} | |
] | |
], | |
"common": [ | |
{ | |
"toolbar": [ | |
[ | |
"Open Preferences" | |
] | |
] | |
} | |
] | |
}, | |
"css": [ | |
{ | |
"fontSize": [ | |
"" | |
], | |
"fontFamily": [ | |
"" | |
] | |
} | |
] | |
}, | |
{ | |
"url": "modules/types/client_interaction/code_executor/", | |
"configuration": { | |
"sections": {}, | |
"groups": { | |
"group": [ | |
{ | |
"display": [ | |
[ | |
"editor", | |
"buttons" | |
] | |
], | |
"execOnLoad": [ | |
[] | |
], | |
"asyncAwait": [ | |
[ | |
"top" | |
] | |
], | |
"script": [ | |
"//http://www.cheminfo.org/Tutorial/6._Renderer/6.6_Sparklines/index.html\n//http://www.cheminfo.org/?viewURL=https%3A%2F%2Fcouch.cheminfo.org%2Fcheminfo-public%2Fb50564ac9d207212f8e5ae8167bcd627%2Fview.json&loadversion=true&fillsearch=6.4+Indicator\n" | |
] | |
} | |
], | |
"libs": [ | |
[ | |
{} | |
] | |
], | |
"buttons": [ | |
[ | |
{ | |
"name": "button1", | |
"label": "Execute", | |
"hide": [], | |
"disable": [] | |
} | |
] | |
] | |
} | |
}, | |
"layers": { | |
"Default layer": { | |
"position": { | |
"left": 0, | |
"top": 0 | |
}, | |
"size": { | |
"width": 20, | |
"height": 20 | |
}, | |
"zIndex": 0, | |
"display": false, | |
"title": "", | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
], | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer" | |
}, | |
"admin": { | |
"position": { | |
"left": 49, | |
"top": 20 | |
}, | |
"size": { | |
"width": 51, | |
"height": 53 | |
}, | |
"zIndex": 0, | |
"display": true, | |
"title": "", | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
], | |
"wrapper": true, | |
"created": true, | |
"name": "admin" | |
} | |
}, | |
"id": 12, | |
"vars_in": [ | |
{} | |
], | |
"actions_in": [ | |
{} | |
], | |
"vars_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"actions_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"toolbar": { | |
"custom": [ | |
[ | |
{ | |
"title": "", | |
"icon": "", | |
"action": "", | |
"position": "begin", | |
"color": [ | |
100, | |
100, | |
100, | |
1 | |
] | |
} | |
] | |
], | |
"common": [ | |
{ | |
"toolbar": [ | |
[ | |
"Open Preferences" | |
] | |
] | |
} | |
] | |
}, | |
"css": [ | |
{ | |
"fontSize": [ | |
"" | |
], | |
"fontFamily": [ | |
"" | |
] | |
} | |
], | |
"title": "" | |
}, | |
{ | |
"url": "modules/types/display/single_value/", | |
"configuration": { | |
"sections": {}, | |
"groups": { | |
"group": [ | |
{ | |
"append": [ | |
[] | |
], | |
"maxEntries": [ | |
1 | |
], | |
"editable": [ | |
[] | |
], | |
"debounce": [ | |
0 | |
], | |
"defaultvalue": [ | |
null | |
], | |
"font": [ | |
null | |
], | |
"fontcolor": [ | |
[ | |
0, | |
0, | |
0, | |
1 | |
] | |
], | |
"fontsize": [ | |
null | |
], | |
"align": [ | |
null | |
], | |
"valign": [ | |
null | |
], | |
"rendererOptions": [ | |
"" | |
], | |
"forceType": [ | |
"" | |
], | |
"sprintf": [ | |
null | |
], | |
"sprintfOrder": [ | |
null | |
], | |
"preformatted": [ | |
[] | |
] | |
} | |
] | |
} | |
}, | |
"layers": { | |
"Default layer": { | |
"position": { | |
"left": 0, | |
"top": 0 | |
}, | |
"size": { | |
"width": 20, | |
"height": 20 | |
}, | |
"zIndex": 0, | |
"display": false, | |
"title": "", | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
], | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer" | |
}, | |
"admin": { | |
"position": { | |
"left": 145, | |
"top": 16 | |
}, | |
"size": { | |
"width": 31, | |
"height": 29 | |
}, | |
"zIndex": 0, | |
"display": true, | |
"title": "", | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
], | |
"wrapper": true, | |
"created": true, | |
"name": "admin" | |
} | |
}, | |
"id": 13, | |
"vars_in": [ | |
{ | |
"rel": "value", | |
"name": "testChart" | |
} | |
], | |
"actions_in": [ | |
{} | |
], | |
"actions_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"vars_out": [], | |
"toolbar": { | |
"custom": [ | |
[ | |
{ | |
"title": "", | |
"icon": "", | |
"action": "", | |
"position": "begin", | |
"color": [ | |
100, | |
100, | |
100, | |
1 | |
] | |
} | |
] | |
], | |
"common": [ | |
{ | |
"toolbar": [ | |
[ | |
"Open Preferences" | |
] | |
] | |
} | |
] | |
}, | |
"css": [ | |
{ | |
"fontSize": [ | |
"" | |
], | |
"fontFamily": [ | |
"" | |
] | |
} | |
], | |
"title": "" | |
}, | |
{ | |
"url": "modules/types/edition/object_editor/", | |
"configuration": { | |
"sections": {}, | |
"groups": { | |
"group": [ | |
{ | |
"editable": [ | |
"view" | |
], | |
"expanded": [ | |
[] | |
], | |
"storeObject": [ | |
[ | |
"expand" | |
] | |
], | |
"displayValue": [ | |
[] | |
], | |
"searchBox": [ | |
[ | |
"search" | |
] | |
], | |
"sendButton": [ | |
[] | |
], | |
"output": [ | |
"new" | |
], | |
"storedObject": [ | |
"{\"title\":\"My chart\",\"data\":[{\"type\":\"box\",\"boxes\":[{\"x\":\"1\",\"Q1\":-1,\"Q2\":2,\"Q3\":5,\"whiskers\":[-5,10],\"outliers\":[-7]}]}]}" | |
] | |
} | |
] | |
} | |
}, | |
"layers": { | |
"Default layer": { | |
"position": { | |
"left": 0, | |
"top": 0 | |
}, | |
"size": { | |
"width": 20, | |
"height": 20 | |
}, | |
"zIndex": 0, | |
"display": false, | |
"title": "", | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
], | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer" | |
}, | |
"admin": { | |
"position": { | |
"left": 103, | |
"top": 16 | |
}, | |
"size": { | |
"width": 28, | |
"height": 29 | |
}, | |
"zIndex": 0, | |
"display": true, | |
"title": "", | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
], | |
"wrapper": true, | |
"created": true, | |
"name": "admin" | |
} | |
}, | |
"id": 14, | |
"vars_in": [ | |
{ | |
"rel": "value", | |
"name": "chart" | |
} | |
], | |
"actions_in": [ | |
{} | |
], | |
"vars_out": [ | |
{ | |
"event": "onObjectChange", | |
"rel": "output", | |
"jpath": [], | |
"name": "testChart" | |
} | |
], | |
"actions_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"toolbar": { | |
"custom": [ | |
[ | |
{ | |
"title": "", | |
"icon": "", | |
"action": "", | |
"position": "begin", | |
"color": [ | |
100, | |
100, | |
100, | |
1 | |
] | |
} | |
] | |
], | |
"common": [ | |
{ | |
"toolbar": [ | |
[ | |
"Open Preferences" | |
] | |
] | |
} | |
] | |
}, | |
"css": [ | |
{ | |
"fontSize": [ | |
"" | |
], | |
"fontFamily": [ | |
"" | |
] | |
} | |
], | |
"title": "" | |
}, | |
{ | |
"url": "modules/types/client_interaction/code_editor/", | |
"configuration": { | |
"sections": {}, | |
"groups": { | |
"group": [ | |
{ | |
"mode": [ | |
"text" | |
], | |
"outputType": [ | |
null | |
], | |
"btnvalue": [ | |
"Send script" | |
], | |
"iseditable": [ | |
[ | |
"editable" | |
] | |
], | |
"hasButton": [ | |
[ | |
"button" | |
] | |
], | |
"variable": [ | |
[] | |
], | |
"storeOnChange": [ | |
[] | |
], | |
"debouncing": [ | |
0 | |
], | |
"script": [ | |
null | |
] | |
} | |
], | |
"ace": [ | |
{ | |
"useSoftTabs": [ | |
[ | |
"yes" | |
] | |
], | |
"tabSize": [ | |
4 | |
] | |
} | |
] | |
} | |
}, | |
"layers": { | |
"Default layer": { | |
"position": { | |
"left": 0, | |
"top": 0 | |
}, | |
"size": { | |
"width": 20, | |
"height": 20 | |
}, | |
"zIndex": 0, | |
"display": false, | |
"title": "", | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
], | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer" | |
}, | |
"admin": { | |
"position": { | |
"left": 103, | |
"top": 47 | |
}, | |
"size": { | |
"width": 43, | |
"height": 31 | |
}, | |
"zIndex": 0, | |
"display": true, | |
"title": "", | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
], | |
"wrapper": true, | |
"created": true, | |
"name": "admin" | |
} | |
}, | |
"id": 15, | |
"vars_in": [ | |
{} | |
], | |
"actions_in": [ | |
{} | |
], | |
"vars_out": [ | |
{ | |
"event": "onEditorChange", | |
"rel": "jsonValue", | |
"jpath": [], | |
"name": "chart" | |
} | |
], | |
"actions_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"toolbar": { | |
"custom": [ | |
[ | |
{ | |
"title": "", | |
"icon": "", | |
"action": "", | |
"position": "begin", | |
"color": [ | |
100, | |
100, | |
100, | |
1 | |
] | |
} | |
] | |
], | |
"common": [ | |
{ | |
"toolbar": [ | |
[ | |
"Open Preferences" | |
] | |
] | |
} | |
] | |
}, | |
"css": [ | |
{ | |
"fontSize": [ | |
"" | |
], | |
"fontFamily": [ | |
"" | |
] | |
} | |
], | |
"title": "" | |
}, | |
{ | |
"url": "modules/types/client_interaction/code_executor/", | |
"configuration": { | |
"sections": {}, | |
"groups": { | |
"group": [ | |
{ | |
"display": [ | |
[ | |
"editor", | |
"buttons" | |
] | |
], | |
"execOnLoad": [ | |
[] | |
], | |
"asyncAwait": [ | |
[ | |
"top" | |
] | |
], | |
"script": [ | |
"var t = API.getData('trackData')\n\nt.minSpectra.indexClosest += 1\nt.maxSpectra.indexClosest += 1\nt.currentSpectra.indexClosest += 1\nt.overlaySpectra.indexClosest += 1\n\nconsole.log(t.minSpectra.indexClosest)\n\n\nAPI.createData('currtrack', t)" | |
] | |
} | |
], | |
"libs": [ | |
[ | |
{} | |
] | |
], | |
"buttons": [ | |
[ | |
{ | |
"name": "button1", | |
"label": "Execute", | |
"hide": [], | |
"disable": [] | |
} | |
] | |
] | |
} | |
}, | |
"layers": { | |
"Default layer": { | |
"position": { | |
"left": 0, | |
"top": 0 | |
}, | |
"size": { | |
"width": 20, | |
"height": 20 | |
}, | |
"zIndex": 0, | |
"display": false, | |
"title": "", | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
], | |
"wrapper": true, | |
"created": true, | |
"name": "Default layer" | |
}, | |
"admin": { | |
"position": { | |
"left": 2, | |
"top": 40 | |
}, | |
"size": { | |
"width": 44, | |
"height": 17 | |
}, | |
"zIndex": 0, | |
"display": true, | |
"title": "correct index", | |
"bgColor": [ | |
255, | |
255, | |
255, | |
0 | |
], | |
"wrapper": true, | |
"created": true, | |
"name": "admin" | |
} | |
}, | |
"id": 16, | |
"vars_in": [ | |
{ | |
"rel": "inputValue", | |
"name": "trackData" | |
} | |
], | |
"actions_in": [ | |
{} | |
], | |
"vars_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"actions_out": [ | |
{ | |
"jpath": [] | |
} | |
], | |
"toolbar": { | |
"custom": [ | |
[ | |
{ | |
"title": "", | |
"icon": "", | |
"action": "", | |
"position": "begin", | |
"color": [ | |
100, | |
100, | |
100, | |
1 | |
] | |
} | |
] | |
], | |
"common": [ | |
{ | |
"toolbar": [ | |
[ | |
"Open Preferences" | |
] | |
] | |
} | |
] | |
}, | |
"css": [ | |
{ | |
"fontSize": [ | |
"" | |
], | |
"fontFamily": [ | |
"" | |
] | |
} | |
], | |
"title": "correct index" | |
} | |
], | |
"variables": [ | |
{ | |
"varname": "data", | |
"jpath": [ | |
"data" | |
] | |
}, | |
{ | |
"varname": "meanBrazil", | |
"jpath": [ | |
"meanBrazil" | |
] | |
}, | |
{ | |
"varname": "meanColombia", | |
"jpath": [ | |
"meanColombia" | |
] | |
}, | |
{ | |
"varname": "meanPeru", | |
"jpath": [ | |
"meanPeru" | |
] | |
}, | |
{ | |
"varname": "minSpectra", | |
"jpath": [ | |
"minSpectra" | |
] | |
}, | |
{ | |
"varname": "maxSpectra", | |
"jpath": [ | |
"maxSpectra" | |
] | |
}, | |
{ | |
"varname": "metadata", | |
"jpath": [ | |
"data", | |
"0", | |
"metadata" | |
] | |
}, | |
{ | |
"varname": "img", | |
"jpath": [ | |
"img" | |
] | |
}, | |
{ | |
"varname": "quantileAll", | |
"jpath": [ | |
"quantileAll" | |
] | |
}, | |
{ | |
"varname": "quantileByGroup", | |
"jpath": [ | |
"quantileByGroup" | |
] | |
} | |
], | |
"aliases": [ | |
{} | |
], | |
"configuration": { | |
"title": "visualizeR dataExplorer" | |
}, | |
"actionscripts": [ | |
{ | |
"sections": {}, | |
"groups": { | |
"action": [ | |
{ | |
"name": [ | |
null | |
], | |
"script": [ | |
null | |
] | |
} | |
] | |
} | |
} | |
], | |
"init_script": [ | |
{ | |
"sections": {}, | |
"groups": { | |
"general": [ | |
{ | |
"script": [ | |
null | |
] | |
} | |
] | |
} | |
} | |
], | |
"custom_filters": [ | |
{ | |
"sections": { | |
"modules": [ | |
{ | |
"sections": {}, | |
"groups": { | |
"modules": [ | |
[ | |
{} | |
] | |
] | |
} | |
} | |
], | |
"filtersLib": [ | |
{ | |
"sections": {}, | |
"groups": { | |
"filters": [ | |
[ | |
{} | |
] | |
] | |
} | |
} | |
], | |
"filters": [ | |
{ | |
"sections": {}, | |
"groups": { | |
"filter": [ | |
{ | |
"name": [ | |
null | |
], | |
"script": [ | |
null | |
] | |
} | |
], | |
"libs": [ | |
[ | |
{} | |
] | |
] | |
} | |
} | |
] | |
}, | |
"groups": {} | |
} | |
], | |
"actionfiles": [ | |
{ | |
"sections": {}, | |
"groups": { | |
"action": [ | |
[ | |
{} | |
] | |
] | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment