Skip to content

Instantly share code, notes, and snippets.

@jwist
Last active June 14, 2018 02:17
Show Gist options
  • Save jwist/57512dc74595a7c2b66c3e2bf4e76ba1 to your computer and use it in GitHub Desktop.
Save jwist/57512dc74595a7c2b66c3e2bf4e76ba1 to your computer and use it in GitHub Desktop.
view.json for visualizeR
{
"version": "2.94.0",
"grid": {
"layers": {
"Default layer": {
"name": "Default layer"
}
},
"xWidth": 10,
"yHeight": 10
},
"modules": [
{
"url": "modules/types/science/spectra/spectra_displayer/",
"configuration": {
"sections": {
"graph": [
{
"sections": {},
"groups": {
"graph": [
{
"url": [
""
],
"zoom": [
"xy"
],
"wheelAction": [
"zoomY"
],
"wheelbaseline": [
0
],
"fullOut": [
"both"
],
"legend": [
"top"
],
"legendOptions": [
[
"isSerieHideable",
"isSerieSelectable"
]
],
"mouseTracking": [
[
"track"
]
],
"selectScatter": [
[
"yes"
]
],
"independantYZoom": [
[
"yes"
]
]
}
]
}
}
],
"axis": [
{
"sections": {},
"groups": {
"xAxis": [
{
"checkboxes": [
[
"display"
]
],
"label": [
"intensity"
],
"beforeSpacing": [
"0"
],
"afterSpacing": [
0
],
"min": [
""
],
"max": [
""
],
"nbTicksPrimary": [
5
],
"axismodification": [
"none"
]
}
],
"yAxis": [
{
"checkboxes": [
[
"display"
]
],
"label": [
"time"
],
"beforeSpacing": [
"0"
],
"afterSpacing": [
0
],
"min": [
""
],
"max": [
""
],
"nbTicksPrimary": [
5
],
"fitToAxisOnFromTo": [
[]
]
}
]
}
}
],
"series": [
{
"sections": {},
"groups": {
"series": [
{
"overflow": [
[]
],
"stackVerticalSpacing": [
1
]
}
]
}
}
],
"variables": [
{
"sections": {},
"groups": {
"variables": [
[
{
"variable": "multiChart",
"axis": "0",
"adaptTo": "none",
"plotcolor": [
1,
1,
255,
1
],
"strokewidth": "1",
"strokestyle": "1",
"plotcontinuous": "auto",
"peakpicking": [
"picking"
],
"markers": [
"markers"
],
"markerShape": "1",
"markerSize": 2,
"normalize": "none",
"optimizeSlots": [],
"tracking": []
}
]
]
}
}
],
"misc": [
{
"sections": {},
"groups": {
"misc": [
{
"highlightOptions": [
"{}"
]
}
]
}
}
]
},
"groups": {}
},
"layers": {
"Default layer": {
"position": {
"left": 14,
"top": 20
},
"size": {
"width": 49,
"height": 66
},
"zIndex": 0,
"display": true,
"title": "spectra displayer",
"bgColor": [
255,
255,
255,
0
],
"wrapper": true,
"created": true,
"name": "Default layer"
}
},
"id": 1,
"vars_in": [
{
"rel": "chart",
"name": "multiChart"
}
],
"actions_in": [
{}
],
"vars_out": [
{
"event": "onMouseOverMarker",
"rel": "markerInfos",
"jpath": [
"id"
],
"name": "currentid"
},
{
"event": "onMouseOverMarker",
"rel": "markerXY",
"jpath": [
"0"
],
"name": "currentx"
},
{
"event": "onMouseOverMarker",
"rel": "markerXY",
"jpath": [
"1"
],
"name": "currenty"
}
],
"actions_out": [
{
"jpath": []
}
],
"toolbar": {
"custom": [
[
{
"title": "",
"icon": "",
"action": "",
"position": "begin"
}
]
],
"common": [
{
"toolbar": [
[
"Open Preferences",
"Show fullscreen",
"Export Data",
"Print"
]
]
}
]
},
"css": [
{
"fontSize": [
""
],
"fontFamily": [
""
]
}
],
"title": "spectra displayer"
},
{
"url": "modules/types/edition/object_editor/",
"configuration": {
"sections": {},
"groups": {
"group": [
{
"editable": [
"view"
],
"expanded": [
[]
],
"storeObject": [
[]
],
"displayValue": [
[]
],
"searchBox": [
[
"search"
]
],
"sendButton": [
[]
],
"output": [
"new"
],
"storedObject": [
"{}"
]
}
]
}
},
"layers": {
"Default layer": {
"position": {
"left": 64,
"top": 31
},
"size": {
"width": 56,
"height": 55
},
"zIndex": 0,
"display": true,
"title": "",
"bgColor": [
255,
255,
255,
0
],
"wrapper": true,
"created": true,
"name": "Default layer"
}
},
"id": 2,
"vars_in": [
{
"rel": "value",
"name": "multiChart"
}
],
"actions_in": [
{}
],
"vars_out": [
{
"jpath": []
}
],
"actions_out": [
{
"jpath": []
}
],
"toolbar": {
"custom": [
[
{
"title": "",
"icon": "",
"action": "",
"position": "begin"
}
]
],
"common": [
{
"toolbar": [
[
"Open Preferences",
"Print",
"Export Data",
"Show fullscreen"
]
]
}
]
},
"css": [
{
"fontSize": [
""
],
"fontFamily": [
""
]
}
],
"title": ""
},
{
"url": "modules/types/display/single_value/",
"configuration": {
"sections": {},
"groups": {
"group": [
{
"append": [
[]
],
"maxEntries": [
1
],
"editable": [
[]
],
"debounce": [
0
],
"defaultvalue": [
""
],
"font": [
"Helvetica"
],
"fontcolor": [
[
0,
0,
0,
1
]
],
"fontsize": [
"18pt"
],
"align": [
null
],
"valign": [
null
],
"rendererOptions": [
""
],
"forceType": [
""
],
"sprintf": [
null
],
"sprintfOrder": [
null
],
"preformatted": [
[
"pre"
]
]
}
]
}
},
"layers": {
"Default layer": {
"position": {
"left": 64,
"top": 20
},
"size": {
"width": 17,
"height": 10
},
"zIndex": 0,
"display": true,
"title": "data series labels",
"bgColor": [
255,
255,
255,
0
],
"wrapper": true,
"created": true,
"name": "Default layer"
}
},
"id": 3,
"vars_in": [
{
"rel": "value",
"name": "currentid"
}
],
"actions_in": [
{}
],
"actions_out": [
{
"jpath": []
}
],
"vars_out": [],
"toolbar": {
"custom": [
[
{
"title": "",
"icon": "",
"action": "",
"position": "begin"
}
]
],
"common": [
{
"toolbar": [
[
"Open Preferences"
]
]
}
]
},
"css": [
{
"fontSize": [
""
],
"fontFamily": [
""
]
}
],
"title": "data series labels"
},
{
"url": "modules/types/display/single_value/",
"configuration": {
"sections": {},
"groups": {
"group": [
{
"append": [
[]
],
"maxEntries": [
1
],
"editable": [
[]
],
"debounce": [
0
],
"defaultvalue": [
null
],
"font": [
"Helvetica"
],
"fontcolor": [
[
0,
0,
0,
1
]
],
"fontsize": [
"18pt"
],
"align": [
null
],
"valign": [
null
],
"rendererOptions": [
""
],
"forceType": [
""
],
"sprintf": [
"y: %6.2f "
],
"sprintfOrder": [
" "
],
"preformatted": [
[
"pre"
]
]
}
]
}
},
"layers": {
"Default layer": {
"position": {
"left": 82,
"top": 20
},
"size": {
"width": 17,
"height": 10
},
"zIndex": 0,
"display": true,
"title": "data series values",
"bgColor": [
255,
255,
255,
0
],
"wrapper": true,
"created": true,
"name": "Default layer"
}
},
"id": 4,
"vars_in": [
{
"rel": "value",
"name": "currenty"
}
],
"actions_in": [
{}
],
"actions_out": [
{
"jpath": []
}
],
"vars_out": [],
"toolbar": {
"custom": [
[
{
"title": "",
"icon": "",
"action": "",
"position": "begin"
}
]
],
"common": [
{
"toolbar": [
[
"Open Preferences"
]
]
}
]
},
"css": [
{
"fontSize": [
""
],
"fontFamily": [
""
]
}
],
"title": "data series values"
},
{
"url": "modules/types/edition/rich_text/",
"configuration": {
"sections": {},
"groups": {
"group": [
{
"editable": [
[
"isEditable"
]
],
"debouncing": [
0
],
"modifyInVariable": [
[]
],
"storeInView": [
[
"yes"
]
],
"autoHeight": [
[]
],
"bgColor": [
[
255,
217,
102,
1
]
],
"postit": [
[
"yes"
]
],
"html": [
[
"yes"
]
]
}
]
}
},
"layers": {
"Default layer": {
"position": {
"left": 123,
"top": 20
},
"size": {
"width": 43,
"height": 29
},
"zIndex": 0,
"display": true,
"title": "",
"bgColor": [
255,
255,
255,
0
],
"wrapper": true,
"created": true,
"name": "Default layer"
}
},
"id": 5,
"vars_in": [
{}
],
"actions_in": [
{}
],
"vars_out": [
{
"jpath": []
}
],
"actions_out": [
{
"jpath": []
}
],
"toolbar": {
"custom": [
[
{
"title": "",
"icon": "",
"action": "",
"position": "begin"
}
]
],
"common": [
{
"toolbar": [
[
"Open Preferences"
]
]
}
]
},
"css": [
{
"fontSize": [
""
],
"fontFamily": [
""
]
}
],
"richtext": "<p><span style=\"font-family:Courier New,Courier,monospace\"><span style=\"font-size:18px\">You can click to zoom on the graph. Double click will reset the zoom.</span></span></p>\n\n<p>&nbsp;</p>\n\n<p><span style=\"font-family:Courier New,Courier,monospace\"><span style=\"font-size:18px\">The wheel will zoom only in the y-direction</span></span></p>\n\n<p>&nbsp;</p>\n\n<p><span style=\"font-family:Courier New,Courier,monospace\"><span style=\"font-size:18px\">While hovering over the markers the data series labels&nbsp;are sent to another module.</span></span></p>\n\n<p>&nbsp;</p>\n\n<p><span style=\"font-family:Courier New,Courier,monospace\"><span style=\"font-size:18px\">The last module displays the json object &quot;chart&quot;</span></span></p>\n\n<p>&nbsp;</p>\n\n<p>&nbsp;</p>\n",
"title": ""
}
],
"variables": [
{
"varname": "chart",
"jpath": [
"chart"
]
},
{
"varname": "simpleArray",
"jpath": [
"simpleArray"
]
},
{
"varname": "multiChart",
"jpath": [
"multiChart"
]
},
{
"varname": "simpleArray2",
"jpath": [
"simpleArray2"
]
}
],
"aliases": [
{}
],
"configuration": {
"title": "visualizeR"
},
"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