Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #143 from paczian/master
bugfixes and pixelpushing
- Loading branch information
Showing
20 changed files
with
373 additions
and
106 deletions.
There are no files selected for viewing
Submodule Retina
updated
7 files
+ − | images/donut.png | |
+ − | images/emptystar.png | |
+ − | images/fullstar.png | |
+75 −1 | js/jquery.svg-new.js | |
+51 −8 | renderers/renderer.svg2.js | |
+1 −1 | renderers/renderer.table.js | |
+10 −4 | widgets/widget.RendererController.js |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
{ | ||
"name": "donut", | ||
"width": 700, | ||
"height": 500, | ||
"extended": { "adjust graph data": true }, | ||
"description": "The donut-chart shows samples as rims and categories as slices on those rims.</p><p>You can choose to enable / disable <a href='https://github.com/MG-RAST/tech-report/wiki/MG-RAST-glossary#log-10' target=_blank>log scaling</a> and select the sample label by <a href='https://github.com/MG-RAST/tech-report/wiki/MG-RAST-glossary#metadata' target=_blank>metadata</a> field.</p><p>Click a category to drill down to the next level. The layout tab has options to adjust the general layout of the donut-chart.", | ||
"controls": [ | ||
{ "adjust graph data": | ||
[ | ||
{ "name": "metadatum", "type": "select", "description": "metadatum to name the datasets by", "title": "metadatum", "adaptToData": true, "default": "name", "isDataUpdater": true, "values": "metadata" }, | ||
{ "name": "log", "type": "bool", "defaultTrue": false, "description": "view log base 10 of the data", "title": "perform log10", "isDataUpdater": true } | ||
] | ||
}, | ||
{ "layout": | ||
[ | ||
{ "name": "height", "type": "int", "description": "height of the chart", "title": "height" }, | ||
{ "name": "width", "type": "int", "description": "width of the chart", "title": "width" }, | ||
{ "name": "items[0].parameters.width", "type": "int", "description": "width of each rim", "title": "rim width" }, | ||
{ "name": "items[0].parameters.center", "type": "int", "description": "distance from the border to the center", "title": "center point" }, | ||
{ "name": "items[1].parameters.top", "type": "int", "description": "top margin of the legend", "title": "legend top" }, | ||
{ "name": "items[1].parameters.left", "type": "int", "description": "left margin of the legend", "title": "legend left" } | ||
] | ||
} | ||
], | ||
"items": [ | ||
{ | ||
"type": "donutchart", | ||
"name": "chart", | ||
"parameters": { | ||
"inputType": "matrix", | ||
"shiftX": 50, | ||
"shiftY": 50, | ||
"center": 200, | ||
"width": 20, | ||
"startAngle": 0, | ||
"id": "chart", | ||
"groupSettings": {}, | ||
"data": [], | ||
"click": true | ||
}, | ||
"data": "matrix2donut" | ||
}, | ||
{ | ||
"type": "legend", | ||
"name": "legend", | ||
"parameters": { | ||
"inputType": "matrix", | ||
"top": 50, | ||
"left": 500, | ||
"colors": [ | ||
"#3366cc", | ||
"#dc3912", | ||
"#ff9900", | ||
"#109618", | ||
"#990099", | ||
"#0099c6", | ||
"#dd4477", | ||
"#66aa00", | ||
"#b82e2e", | ||
"#316395", | ||
"#994499", | ||
"#22aa99", | ||
"#aaaa11", | ||
"#6633cc", | ||
"#e67300", | ||
"#8b0707", | ||
"#651067", | ||
"#329262", | ||
"#5574a6", | ||
"#3b3eac", | ||
"#b77322", | ||
"#16d620", | ||
"#b91383", | ||
"#f4359e", | ||
"#9c5935", | ||
"#a9c413", | ||
"#2a778d", | ||
"#668d1c", | ||
"#bea413", | ||
"#0c5922", | ||
"#743411" | ||
], | ||
"format": { | ||
"fontSize": 12, | ||
"fontFamily": "arial", | ||
"fontWeight": "normal" | ||
}, | ||
"id": "legend", | ||
"groupSettings": {}, | ||
"data": [] | ||
}, | ||
"data": "matrix2rowlegend" | ||
} | ||
] | ||
} |
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
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
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
Oops, something went wrong.