Last active
November 16, 2017 07:18
-
-
Save danswater/8c2c63f8ec05075f4f77a52ee6888d0e to your computer and use it in GitHub Desktop.
Revisions
-
danswater revised this gist
Nov 16, 2017 . 1 changed file with 160 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1 +1,160 @@ ## TIMELOGS #### Bar Graph response ```json { "title" : { "className" : "h4", "enable" : true, "text" : "Monthly Timelog" }, "chart" : { "type" : "multiBarChart", "height" : 350, "margin" : { "top" : 20, "right" : 20, "bottom" : 45, "left" : 45 }, "clipEdge" : true, "duration" : 500, "stacked" : false, "showControls" : false, "noData" : "No data available", "xAxis" : { "axisLabel" : "Jobs Status", "showMaxMin" : false }, "yAxis" : { "axisLabel" : "Hours", "axisLabelDistance" : -20 } }, "data" : [ { "key" : "Submitted", "values" : [ { "x" : "Submitted", "y" : 0.00 } ] }, { "key" : "Approved", "values" : [ { "x" : "Approved", "y" : 8.00 } ] }, { "key" : "Rejected", "values" : [ { "x" : "Approved", "y" : 0.00 } ] } ] } ``` #### Pie/Donut Graph response ```json { "title" : { "className" : "h4", "enable" : true, "text" : "Monthly Timelog" }, "chart" :{ "type" : "pieChart", "donut" : true, "height" : 350, "labelSunbeamLayout" : true, "labelThreshold" : 0.01, "labelOutside" : false, "legend" : { "align" : false, "updateState" : false }, "noData" : "No data Available", "showLabels" : true, "transitionDuration" : 500 }, "data" : [ { "x" : "Submitted", "y" : "2.50" }, { "x" : "Approved", "y" : "8.00" }, { "x" : "Rejected", "y" : "3.10" } ] } ``` #### Line Chart response ```json { "title" : { "className" : "h4", "enable" : true, "text" : "Monthly Timelog" }, "chart" : { "type" : "lineChart", "height" : 350, "margin" : { "top" : 20, "right" : 20, "bottom" : 40, "left" : 55 }, "useInteractiveGuideline" : true, "xAxis" : { "axisLabel" : "Jobs Status", "showMaxMin" : false }, "yAxis" : { "axisLabel" : "Hours", "axisLabelDistance" : -10 }, "noData" : "No data Available", "showLabels" : true, "transitionDuration" : 500 }, "data" : [ { "values" : [ { "x" : 0, "y" : 0 }, { "x" : 1, "y" : 0.0998 } ], "key" : "Submitted", "color" : "#ff7f0e", "strokeWidth" : 2, "classed" : "dashed" }, { "values" : [ { "x" : 0, "y" : 0.5 }, { "x" : 1, "y" : 0.5249 } ], "key" : "Approved", "color" : "#2ca02c" }, { "values" : [ { "x" : 0, "y" : -0.1910 }, { "x" : 1, "y" : -0.2255 } ], "key" : "Rejected", "color" : "#7777ff" } ] } ``` -
danswater created this gist
Nov 16, 2017 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ ## TIMELOGS