REDROOM
PHP 5.6.40
Path:
Logout
Edit File
Size: 5.17 KB
Close
/home/urbanman/roadkaraja.in/manager/dist/js/google.script.js
Text
Base64
$(function () { 'use strict' var primarycolor = getComputedStyle(document.body).getPropertyValue('--primarycolor'); var bodycolor = getComputedStyle(document.body).getPropertyValue('--bodycolor'); var bordercolor = getComputedStyle(document.body).getPropertyValue('--bordercolor'); ////////////////////////////////// Annotation Chart ///////////////////////////// google.charts.load('current', {'packages': ['corechart']}); google.charts.setOnLoadCallback(drawChart); function drawChart() { var data = google.visualization.arrayToDataTable([ ['Year', 'Sales', 'Expenses'], ['2013', 1000, 400], ['2014', 1170, 460], ['2015', 660, 1120], ['2016', 1030, 540] ]); var options = { title: 'Company Performance', hAxis: {title: 'Year', titleTextStyle: {color: '#333'}}, vAxis: {minValue: 0} }; var chart = new google.visualization.AreaChart(document.getElementById('google_area_chart')); chart.draw(data, options); } //////////////////////////////////////////// Bar Chart ///////////////////////////////////// google.charts.load('current', {'packages': ['bar']}); google.charts.setOnLoadCallback(drawStuff); function drawStuff() { var data = new google.visualization.arrayToDataTable([ ['Opening Move', 'Percentage'], ["King's pawn (e4)", 44], ["Queen's pawn (d4)", 31], ["Knight to King 3 (Nf3)", 12], ["Queen's bishop pawn (c4)", 10], ['Other', 3] ]); var options = { title: 'Chess opening moves', legend: {position: 'none'}, chart: {title: 'Chess opening moves', subtitle: 'popularity by percentage'}, bars: 'horizontal', // Required for Material Bar Charts. axes: { x: { 0: {side: 'top', label: 'Percentage'} // Top x-axis. } }, bar: {groupWidth: "90%"} }; var chart = new google.charts.Bar(document.getElementById('google_bar_chart')); chart.draw(data, options); }; //////////////////////////////// Bubble Chart ///////////////////////////// google.charts.load('current', {'packages':['corechart']}); google.charts.setOnLoadCallback(drawSeriesChart); function drawSeriesChart() { var data = google.visualization.arrayToDataTable([ ['ID', 'Life Expectancy', 'Fertility Rate', 'Region', 'Population'], ['CAN', 80.66, 1.67, 'North America', 33739900], ['DEU', 79.84, 1.36, 'Europe', 81902307], ['DNK', 78.6, 1.84, 'Europe', 5523095], ['EGY', 72.73, 2.78, 'Middle East', 79716203], ['GBR', 80.05, 2, 'Europe', 61801570], ['IRN', 72.49, 1.7, 'Middle East', 73137148], ['IRQ', 68.09, 4.77, 'Middle East', 31090763], ['ISR', 81.55, 2.96, 'Middle East', 7485600], ['RUS', 68.6, 1.54, 'Europe', 141850000], ['USA', 78.09, 2.05, 'North America', 307007000] ]); var options = { title: 'Correlation between life expectancy, fertility rate ' + 'and population of some world countries (2010)', hAxis: {title: 'Life Expectancy'}, vAxis: {title: 'Fertility Rate'}, bubble: {textStyle: {fontSize: 11}} }; var chart = new google.visualization.BubbleChart(document.getElementById('google_bubble_chart')); chart.draw(data, options); } /////////////////////////////////// LIne Chart ////////////////////////////////////// google.charts.load('current', {'packages':['line']}); google.charts.setOnLoadCallback(drawLineChart); function drawLineChart() { var data = new google.visualization.DataTable(); data.addColumn('number', 'Day'); data.addColumn('number', 'Guardians of the Galaxy'); data.addColumn('number', 'The Avengers'); data.addColumn('number', 'Transformers: Age of Extinction'); data.addRows([ [1, 37.8, 80.8, 41.8], [2, 30.9, 69.5, 32.4], [3, 25.4, 57, 25.7], [4, 11.7, 18.8, 10.5], [5, 11.9, 17.6, 10.4], [6, 8.8, 13.6, 7.7], [7, 7.6, 12.3, 9.6], [8, 12.3, 29.2, 10.6], [9, 16.9, 42.9, 14.8], [10, 12.8, 30.9, 11.6], [11, 5.3, 7.9, 4.7], [12, 6.6, 8.4, 5.2], [13, 4.8, 6.3, 3.6], [14, 4.2, 6.2, 3.4] ]); var options = { chart: { title: 'Box Office Earnings in First Two Weeks of Opening', subtitle: 'in millions of dollars (USD)' }, height: 500, axes: { x: { 0: {side: 'top'} } } }; var chart = new google.charts.Line(document.getElementById('google_line_chart')); chart.draw(data, google.charts.Line.convertOptions(options)); } });
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 17
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
analytic.script.js
14.20 KB
lrw-rw-rw-
2026-07-06 10:38:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
app.js
24.83 KB
lrw-rw-rw-
2026-07-06 10:38:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
c3.script.js
2.22 KB
lrw-rw-rw-
2026-07-06 10:38:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
calendar.script.js
3.10 KB
lrw-rw-rw-
2026-07-06 10:38:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
chartist.script.js
8.20 KB
lrw-rw-rw-
2026-07-06 10:38:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
codex.html
0 B
lrw-rw-rw-
2026-07-06 10:38:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
cryptocurrency.script.js
19.74 KB
lrw-rw-rw-
2026-07-06 10:38:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
echart.script.js
15.43 KB
lrw-rw-rw-
2026-07-06 10:38:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
exit.html
0 B
lrw-r--r--
2026-07-14 06:08:17
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
google.script.js
5.17 KB
lrw-rw-rw-
2026-07-06 10:38:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
icheck.script.js
1.55 KB
lrw-rw-rw-
2026-07-06 10:38:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
jsgrid.script.js
2.53 KB
lrw-rw-rw-
2026-07-06 10:38:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
morris.script.js
7.06 KB
lrw-rw-rw-
2026-07-06 10:38:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
peity.script.js
293 B
lrw-rw-rw-
2026-07-06 10:38:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
task-board.js
227 B
lrw-rw-rw-
2026-07-06 10:38:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ticket.js
328 B
lrw-rw-rw-
2026-07-06 10:38:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
toastr.script.js
742 B
lrw-rw-rw-
2026-07-06 10:38:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).