isite 2024.8.5 → 2024.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +1384 -1387
  3. package/apps/charts/site_files/html/PieChart.html +35 -35
  4. package/apps/charts/site_files/html/PieChart2.html +35 -35
  5. package/apps/charts/site_files/html/XYChart.html +42 -42
  6. package/apps/charts/site_files/html/column.html +60 -60
  7. package/apps/charts/site_files/html/gauge.html +44 -44
  8. package/apps/charts/site_files/html/index.html +92 -92
  9. package/apps/charts/site_files/html/line-graph.html +42 -42
  10. package/apps/charts/site_files/html/pie-chart-rounded-corners.html +38 -38
  11. package/apps/charts/site_files/html/simple-3D-pie-chart.html +43 -43
  12. package/apps/charts/site_files/js/chart-animated.js +2 -2
  13. package/apps/charts/site_files/json/PieChart.json +41 -41
  14. package/apps/charts/site_files/json/PieChart2.json +23 -23
  15. package/apps/charts/site_files/json/XYChart.json +74 -74
  16. package/apps/charts/site_files/json/bar-chart.json +99 -99
  17. package/apps/charts/site_files/json/column-chart.json +80 -80
  18. package/apps/charts/site_files/json/gauge.json +36 -36
  19. package/apps/charts/site_files/json/line-graph.json +1867 -1867
  20. package/apps/charts/site_files/json/pie-chart-rounded-corners.json +42 -42
  21. package/apps/charts/site_files/json/simple-3D-pie-chart.json +50 -50
  22. package/apps/client-side/package-lock.json +5 -5
  23. package/apps/client-side/package.json +21 -21
  24. package/apps/client-side/site_files/css/bootstrap3.css +5 -5
  25. package/apps/client-side/site_files/css/bootstrap4.css +6 -6
  26. package/apps/client-side/site_files/css/bootstrap5.css +6 -6
  27. package/apps/client-side/site_files/css/checkbox.css +125 -125
  28. package/apps/client-side/site_files/css/font-awesome.css +4616 -4616
  29. package/apps/client-side/site_files/css/font-awesome.min.css +4 -4
  30. package/apps/client-side/site_files/css/fonts.css +85 -85
  31. package/apps/client-side/site_files/css/help.css +51 -51
  32. package/apps/client-side/site_files/css/main-menu.css +66 -66
  33. package/apps/client-side/site_files/css/print.css +144 -144
  34. package/apps/client-side/site_files/css/prism.css +139 -139
  35. package/apps/client-side/site_files/css/progress.css +7 -7
  36. package/apps/client-side/site_files/css/radio.css +103 -103
  37. package/apps/client-side/site_files/css/scrollbar.css +13 -13
  38. package/apps/client-side/site_files/css/semantic.css +363 -363
  39. package/apps/client-side/site_files/css/table.css +87 -87
  40. package/apps/client-side/site_files/css/treeview.css +84 -84
  41. package/apps/client-side/site_files/css/ui.css +28 -28
  42. package/apps/client-side/site_files/css/video-js.min.css +1 -0
  43. package/apps/client-side/site_files/fonts/fontawesome-webfont.svg +2671 -2671
  44. package/apps/client-side/site_files/fonts/glyphicons-halflings-regular.svg +287 -287
  45. package/apps/client-side/site_files/fonts/icons.svg +684 -684
  46. package/apps/client-side/site_files/js/Youtube.min.js +1 -0
  47. package/apps/client-side/site_files/js/angular-animate.js +4179 -4179
  48. package/apps/client-side/site_files/js/angular.js +36599 -36599
  49. package/apps/client-side/site_files/js/angular.min.js +351 -351
  50. package/apps/client-side/site_files/js/angular.min.js.map +8 -8
  51. package/apps/client-side/site_files/js/barcode.js +1 -1
  52. package/apps/client-side/site_files/js/base64.js +319 -319
  53. package/apps/client-side/site_files/js/bootstrap-5-directive.js +1456 -1456
  54. package/apps/client-side/site_files/js/bootstrap3.js +6 -6
  55. package/apps/client-side/site_files/js/bootstrap4.js +6 -6
  56. package/apps/client-side/site_files/js/bootstrap5.js +6 -6
  57. package/apps/client-side/site_files/js/custom.js +149 -149
  58. package/apps/client-side/site_files/js/directive.min.js +1 -1
  59. package/apps/client-side/site_files/js/hijri.js +965 -965
  60. package/apps/client-side/site_files/js/jquery.js +2 -2
  61. package/apps/client-side/site_files/js/moment.js +4511 -4511
  62. package/apps/client-side/site_files/js/prism.js +6 -6
  63. package/apps/client-side/site_files/js/qrcode.js +1398 -1398
  64. package/apps/client-side/site_files/js/semantic.js +10 -10
  65. package/apps/client-side/site_files/js/video.min.js +53 -0
  66. package/apps/client-side/site_files/js/xlsx.js +23 -23
  67. package/apps/client-side/site_files/semantic-themes/default/assets/fonts/brand-icons.svg +1008 -1008
  68. package/apps/client-side/site_files/semantic-themes/default/assets/fonts/icons.svg +1518 -1518
  69. package/apps/client-side/site_files/semantic-themes/default/assets/fonts/outline-icons.svg +366 -366
  70. package/apps/client-side/site_files/webfonts/fa-brands-400.svg +3717 -3717
  71. package/apps/client-side/site_files/webfonts/fa-regular-400.svg +801 -801
  72. package/apps/client-side/site_files/webfonts/fa-solid-900.svg +5034 -5034
  73. package/apps/security/README.md +12 -12
  74. package/apps/security/app.js +288 -288
  75. package/apps/security/libs/notifications.js +89 -89
  76. package/apps/security/site_files/html/add_modal.html +36 -36
  77. package/apps/security/site_files/html/content.html +36 -36
  78. package/apps/security/site_files/html/delete_modal.html +31 -31
  79. package/apps/security/site_files/html/head.html +7 -7
  80. package/apps/security/site_files/html/index.html +80 -80
  81. package/apps/security/site_files/html/login_modal.html +24 -24
  82. package/apps/security/site_files/html/logout_modal.html +21 -21
  83. package/apps/security/site_files/html/navbar.html +8 -8
  84. package/apps/security/site_files/html/register_modal.html +32 -32
  85. package/apps/security/site_files/html/update_modal.html +28 -28
  86. package/apps/security/site_files/html/view.html +74 -74
  87. package/apps/security/site_files/html/view_modal.html +32 -32
  88. package/apps/security/site_files/js/app.js +1 -1
  89. package/apps/security/site_files/js/index.js +278 -278
  90. package/apps/security/site_files/js/login.js +35 -35
  91. package/apps/security/site_files/js/logout.js +22 -22
  92. package/apps/security/site_files/js/navbar.js +26 -26
  93. package/apps/security/site_files/js/register.js +30 -30
  94. package/apps/security/site_files/json/permissions.json +7 -7
  95. package/apps/security/site_files/json/roles.json +33 -33
  96. package/apps/security/site_files/json/words.json +28 -28
  97. package/gulpfile.js +17 -17
  98. package/isite.postman_collection.json +7 -7
  99. package/isite_files/css/bootstrap.css +5 -5
  100. package/isite_files/css/font-awesome.css +4 -4
  101. package/isite_files/css/prism.css +139 -139
  102. package/isite_files/fonts/fontawesome-webfont.svg +2671 -2671
  103. package/isite_files/fonts/glyphicons-halflings-regular.svg +287 -287
  104. package/isite_files/html/files.html +9 -9
  105. package/isite_files/html/head.html +12 -12
  106. package/isite_files/html/index.html +30 -30
  107. package/isite_files/html/installing.html +27 -27
  108. package/isite_files/html/navbar.html +51 -51
  109. package/isite_files/html/routes.html +13 -13
  110. package/isite_files/html/sessions.html +13 -13
  111. package/isite_files/html/vars.html +9 -9
  112. package/isite_files/js/angular.js +334 -334
  113. package/isite_files/js/bootstrap.js +6 -6
  114. package/isite_files/js/custom.js +149 -149
  115. package/isite_files/js/jquery.js +4 -4
  116. package/isite_files/js/prism.js +6 -6
  117. package/lib/README.md +1 -1
  118. package/lib/collection.js +92 -41
  119. package/lib/cookie.js +81 -81
  120. package/lib/dashboard.js +189 -189
  121. package/lib/mongodb.js +819 -756
  122. package/lib/parser.js +910 -910
  123. package/lib/security.js +48 -57
  124. package/lib/session.js +153 -153
  125. package/object-options/index.js +3 -3
  126. package/object-options/lib/isite.code-workspace +10 -10
  127. package/package.json +58 -58
  128. package/ssl/create_ssl.sh +3 -3
@@ -1,43 +1,43 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
-
4
- <head>
5
- <meta charset="UTF-8">
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
8
- <title>
9
- Object In Array (PieSeries)
10
- </title>
11
- <link rel="stylesheet" href="css/style.css">
12
- </head>
13
-
14
- <body>
15
-
16
-
17
-
18
-
19
- <div id="chartdiv"></div>
20
-
21
-
22
-
23
-
24
- <script src="./js/chart-core.js"></script>
25
- <script src="./js/charts.js"></script>
26
- <script src="./js/chart-animated.js"></script>
27
-
28
-
29
- <script>
30
- // Set theme
31
- am4core.useTheme(am4themes_animated);
32
-
33
- // Create chart
34
- fetch('./json/line-graph.json').then(res => res.json()).then(obj=>{
35
- var chart = am4core.createFromConfig(obj, "chartdiv", am4charts.XYChart);
36
- })
37
-
38
-
39
- </script>
40
-
41
- </body>
42
-
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
8
+ <title>
9
+ Object In Array (PieSeries)
10
+ </title>
11
+ <link rel="stylesheet" href="css/style.css">
12
+ </head>
13
+
14
+ <body>
15
+
16
+
17
+
18
+
19
+ <div id="chartdiv"></div>
20
+
21
+
22
+
23
+
24
+ <script src="./js/chart-core.js"></script>
25
+ <script src="./js/charts.js"></script>
26
+ <script src="./js/chart-animated.js"></script>
27
+
28
+
29
+ <script>
30
+ // Set theme
31
+ am4core.useTheme(am4themes_animated);
32
+
33
+ // Create chart
34
+ fetch('./json/line-graph.json').then(res => res.json()).then(obj=>{
35
+ var chart = am4core.createFromConfig(obj, "chartdiv", am4charts.XYChart);
36
+ })
37
+
38
+
39
+ </script>
40
+
41
+ </body>
42
+
43
43
  </html>
@@ -1,39 +1,39 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
7
- <title>
8
- Object In Array (PieSeries)
9
- </title>
10
- <link rel="stylesheet" href="css/style.css">
11
- </head>
12
- <body>
13
-
14
-
15
-
16
-
17
- <div id="chartdiv" ></div>
18
-
19
-
20
-
21
- <script src="./js/chart-core.js"></script>
22
- <script src="./js/charts.js"></script>
23
- <script src="./js/chart-animated.js"></script>
24
-
25
-
26
-
27
- <script>
28
-
29
- am4core.useTheme(am4themes_animated);
30
-
31
-
32
- fetch('./json/pie-chart-rounded-corners.json').then(res => res.json()).then(obj=>{
33
- var chart = am4core.createFromConfig(obj, "chartdiv", am4charts.PieChart);
34
- })
35
-
36
- </script>
37
-
38
- </body>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
7
+ <title>
8
+ Object In Array (PieSeries)
9
+ </title>
10
+ <link rel="stylesheet" href="css/style.css">
11
+ </head>
12
+ <body>
13
+
14
+
15
+
16
+
17
+ <div id="chartdiv" ></div>
18
+
19
+
20
+
21
+ <script src="./js/chart-core.js"></script>
22
+ <script src="./js/charts.js"></script>
23
+ <script src="./js/chart-animated.js"></script>
24
+
25
+
26
+
27
+ <script>
28
+
29
+ am4core.useTheme(am4themes_animated);
30
+
31
+
32
+ fetch('./json/pie-chart-rounded-corners.json').then(res => res.json()).then(obj=>{
33
+ var chart = am4core.createFromConfig(obj, "chartdiv", am4charts.PieChart);
34
+ })
35
+
36
+ </script>
37
+
38
+ </body>
39
39
  </html>
@@ -1,44 +1,44 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
-
4
- <head>
5
- <meta charset="UTF-8">
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
8
- <title>
9
- Object In Array (PieSeries)
10
- </title>
11
- <link rel="stylesheet" href="css/style.css">
12
- </head>
13
-
14
- <body>
15
-
16
-
17
-
18
-
19
- <div id="chartdiv"></div>
20
-
21
-
22
-
23
-
24
- <script src="./js/chart-core.js"></script>
25
- <script src="./js/charts.js"></script>
26
- <script src="./js/chart-animated.js"></script>
27
-
28
-
29
- <script>
30
- // Set theme
31
- am4core.useTheme(am4themes_animated);
32
-
33
- // Create chart
34
- fetch('./json/simple-3D-pie-chart.json').then(res => res.json()).then(obj=>{
35
- var chart = am4core.createFromConfig(obj, "chartdiv", am4charts.PieChart3D);
36
- })
37
-
38
-
39
- </script>
40
-
41
-
42
- </body>
43
-
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
8
+ <title>
9
+ Object In Array (PieSeries)
10
+ </title>
11
+ <link rel="stylesheet" href="css/style.css">
12
+ </head>
13
+
14
+ <body>
15
+
16
+
17
+
18
+
19
+ <div id="chartdiv"></div>
20
+
21
+
22
+
23
+
24
+ <script src="./js/chart-core.js"></script>
25
+ <script src="./js/charts.js"></script>
26
+ <script src="./js/chart-animated.js"></script>
27
+
28
+
29
+ <script>
30
+ // Set theme
31
+ am4core.useTheme(am4themes_animated);
32
+
33
+ // Create chart
34
+ fetch('./json/simple-3D-pie-chart.json').then(res => res.json()).then(obj=>{
35
+ var chart = am4core.createFromConfig(obj, "chartdiv", am4charts.PieChart3D);
36
+ })
37
+
38
+
39
+ </script>
40
+
41
+
42
+ </body>
43
+
44
44
  </html>
@@ -1,2 +1,2 @@
1
-
2
- webpackJsonp(["ab45"],{lhmh:function(t,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=a("ux7t"),e=a("Y9w3"),o=a("ISWh"),r=a("cxKZ"),s=a("aM7D"),d=a("AC2I"),u=a("ZpHf"),c=a("HfWV"),p=a("1pVS"),f=a("d+vC"),h=a("DG6Q"),S=a("qUC/"),D=a("Inf5"),l=a("vGbf"),y=a("VIOb"),I=function(t){t instanceof i.a&&(t.transitionDuration=400),t instanceof e.a&&(t.rangeChangeDuration=700,t.interpolationDuration=700,t.sequencedInterpolation=!1,t instanceof u.a&&(t.sequencedInterpolation=!0),t instanceof c.a&&(t.sequencedInterpolation=!0)),t instanceof y.a&&(t.defaultState.transitionDuration=2e3,t.hiddenState.transitionDuration=1e3),t instanceof r.a&&(t.animationDuration=400,t.defaultState.transitionDuration=400,t.hiddenState.transitionDuration=400),t instanceof o.a&&(t.animationDuration=700),t instanceof s.a&&(t.defaultState.transitionDuration=1e3,t.hiddenState.transitionDuration=700,t.hiddenState.properties.opacity=1,t.showOnInit=!0),t instanceof p.a&&(t.hiddenState.properties.opacity=0),t instanceof d.a&&(t.hiddenState.properties.opacity=0),t instanceof f.a&&(t.defaultState.transitionDuration=800,t.hiddenState.transitionDuration=1e3,t.hiddenState.properties.opacity=1),t instanceof D.a&&(t.defaultState.transitionDuration=700,t.hiddenState.transitionDuration=1e3,t.hiddenState.properties.opacity=1),t instanceof l.a&&(t.hiddenState.transitionDuration=2e3),t instanceof h.a&&(t.defaultState.transitionDuration=700,t.hiddenState.transitionDuration=1e3,t.hiddenState.properties.opacity=1),t instanceof S.a&&(t.hiddenState.properties.opacity=0)};window.am4themes_animated=I}},["lhmh"]);
1
+
2
+ webpackJsonp(["ab45"],{lhmh:function(t,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=a("ux7t"),e=a("Y9w3"),o=a("ISWh"),r=a("cxKZ"),s=a("aM7D"),d=a("AC2I"),u=a("ZpHf"),c=a("HfWV"),p=a("1pVS"),f=a("d+vC"),h=a("DG6Q"),S=a("qUC/"),D=a("Inf5"),l=a("vGbf"),y=a("VIOb"),I=function(t){t instanceof i.a&&(t.transitionDuration=400),t instanceof e.a&&(t.rangeChangeDuration=700,t.interpolationDuration=700,t.sequencedInterpolation=!1,t instanceof u.a&&(t.sequencedInterpolation=!0),t instanceof c.a&&(t.sequencedInterpolation=!0)),t instanceof y.a&&(t.defaultState.transitionDuration=2e3,t.hiddenState.transitionDuration=1e3),t instanceof r.a&&(t.animationDuration=400,t.defaultState.transitionDuration=400,t.hiddenState.transitionDuration=400),t instanceof o.a&&(t.animationDuration=700),t instanceof s.a&&(t.defaultState.transitionDuration=1e3,t.hiddenState.transitionDuration=700,t.hiddenState.properties.opacity=1,t.showOnInit=!0),t instanceof p.a&&(t.hiddenState.properties.opacity=0),t instanceof d.a&&(t.hiddenState.properties.opacity=0),t instanceof f.a&&(t.defaultState.transitionDuration=800,t.hiddenState.transitionDuration=1e3,t.hiddenState.properties.opacity=1),t instanceof D.a&&(t.defaultState.transitionDuration=700,t.hiddenState.transitionDuration=1e3,t.hiddenState.properties.opacity=1),t instanceof l.a&&(t.hiddenState.transitionDuration=2e3),t instanceof h.a&&(t.defaultState.transitionDuration=700,t.hiddenState.transitionDuration=1e3,t.hiddenState.properties.opacity=1),t instanceof S.a&&(t.hiddenState.properties.opacity=0)};window.am4themes_animated=I}},["lhmh"]);
@@ -1,42 +1,42 @@
1
- {
2
- "series": [{
3
- "type": "PieSeries",
4
- "dataFields": {
5
- "value": "litres",
6
- "category": "country"
7
- }
8
- }],
9
-
10
- "data": [{
11
- "country": "Lithuania",
12
- "litres": 501.9
13
- }, {
14
- "country": "Czech Republic",
15
- "litres": 301.9
16
- }, {
17
- "country": "Ireland",
18
- "litres": 201.1
19
- }, {
20
- "country": "Germany",
21
- "litres": 165.8
22
- }, {
23
- "country": "Australia",
24
- "litres": 139.9
25
- }, {
26
- "country": "Austria",
27
- "litres": 128.3
28
- }, {
29
- "country": "UK",
30
- "litres": 99
31
- }, {
32
- "country": "Belgium",
33
- "litres": 60
34
- }, {
35
- "country": "The Netherlands",
36
- "litres": 50
37
- }],
38
-
39
-
40
- "legend": {}
41
-
1
+ {
2
+ "series": [{
3
+ "type": "PieSeries",
4
+ "dataFields": {
5
+ "value": "litres",
6
+ "category": "country"
7
+ }
8
+ }],
9
+
10
+ "data": [{
11
+ "country": "Lithuania",
12
+ "litres": 501.9
13
+ }, {
14
+ "country": "Czech Republic",
15
+ "litres": 301.9
16
+ }, {
17
+ "country": "Ireland",
18
+ "litres": 201.1
19
+ }, {
20
+ "country": "Germany",
21
+ "litres": 165.8
22
+ }, {
23
+ "country": "Australia",
24
+ "litres": 139.9
25
+ }, {
26
+ "country": "Austria",
27
+ "litres": 128.3
28
+ }, {
29
+ "country": "UK",
30
+ "litres": 99
31
+ }, {
32
+ "country": "Belgium",
33
+ "litres": 60
34
+ }, {
35
+ "country": "The Netherlands",
36
+ "litres": 50
37
+ }],
38
+
39
+
40
+ "legend": {}
41
+
42
42
  }
@@ -1,24 +1,24 @@
1
- {
2
- "series": [{
3
- "type": "PieSeries",
4
- "dataFields": {
5
- "value": "litres",
6
- "category": "country"
7
- }
8
- }],
9
-
10
- "data": [{
11
- "country": "Lithuania",
12
- "litres": 501.9
13
- }, {
14
- "country": "Czech Republic",
15
- "litres": 301.9
16
- }, {
17
- "country": "Ireland",
18
- "litres": 201.1
19
- }, {
20
- "country": "Germany",
21
- "litres": 165.8
22
- }]
23
-
1
+ {
2
+ "series": [{
3
+ "type": "PieSeries",
4
+ "dataFields": {
5
+ "value": "litres",
6
+ "category": "country"
7
+ }
8
+ }],
9
+
10
+ "data": [{
11
+ "country": "Lithuania",
12
+ "litres": 501.9
13
+ }, {
14
+ "country": "Czech Republic",
15
+ "litres": 301.9
16
+ }, {
17
+ "country": "Ireland",
18
+ "litres": 201.1
19
+ }, {
20
+ "country": "Germany",
21
+ "litres": 165.8
22
+ }]
23
+
24
24
  }
@@ -1,75 +1,75 @@
1
- {
2
- "data": [{
3
- "year": "2009",
4
- "income": 23.5,
5
- "expenses": 21.1
6
- }, {
7
- "year": "2010",
8
- "income": 26.2,
9
- "expenses": 30.5
10
- }, {
11
- "year": "2011",
12
- "income": 30.1,
13
- "expenses": 34.9
14
- }, {
15
- "year": "2012",
16
- "income": 29.5,
17
- "expenses": 31.1
18
- }, {
19
- "year": "2013",
20
- "income": 30.6,
21
- "expenses": 28.2
22
- }, {
23
- "year": "2014",
24
- "income": 34.1,
25
- "expenses": 32.9
26
- }],
27
- "xAxes": [{
28
- "type": "CategoryAxis",
29
- "dataFields": {
30
- "category": "year"
31
- }
32
- }],
33
- "yAxes": [{
34
- "type": "ValueAxis"
35
- }],
36
- "series": [{
37
- "type": "ColumnSeries",
38
- "dataFields": {
39
- "valueY": "income",
40
- "categoryX": "year"
41
- },
42
- "name": "Income",
43
- "fill":"red",
44
- "columns": {
45
- "tooltipText": "[#fff font-size: 15px]{name} in {categoryX}:\n[/][#fff font-size: 20px]{valueY}[/] [#fff]{additional}[/]",
46
-
47
- "strokeWidth": "strokeWidth",
48
- "strokeDasharray": "columnDash"
49
- },
50
- "tooltip":{"label":{"textAlign":"middle"}}
51
- }, {
52
- "type": "LineSeries",
53
- "name": "Expenses",
54
- "stroke": "#fdd400",
55
- "strokeDasharray":"lineDash",
56
- "strokeWidth": 3,
57
- "dataFields": {
58
- "valueY": "expenses",
59
- "categoryX": "year"
60
- },
61
-
62
- "bullets": [{
63
- "type": "CircleBullet",
64
- "fill":"#fdd400",
65
- "tooltipText":"[#fff font-size: 15px]{name} in {categoryX}:\n[/][#fff font-size: 20px]{valueY}[/] [#fff]{additional}[/]"
66
-
67
- }, {
68
- "type": "LabelBullet",
69
- "label": {
70
- "text": "{value}"
71
- }
72
- }]
73
-
74
- }]
1
+ {
2
+ "data": [{
3
+ "year": "2009",
4
+ "income": 23.5,
5
+ "expenses": 21.1
6
+ }, {
7
+ "year": "2010",
8
+ "income": 26.2,
9
+ "expenses": 30.5
10
+ }, {
11
+ "year": "2011",
12
+ "income": 30.1,
13
+ "expenses": 34.9
14
+ }, {
15
+ "year": "2012",
16
+ "income": 29.5,
17
+ "expenses": 31.1
18
+ }, {
19
+ "year": "2013",
20
+ "income": 30.6,
21
+ "expenses": 28.2
22
+ }, {
23
+ "year": "2014",
24
+ "income": 34.1,
25
+ "expenses": 32.9
26
+ }],
27
+ "xAxes": [{
28
+ "type": "CategoryAxis",
29
+ "dataFields": {
30
+ "category": "year"
31
+ }
32
+ }],
33
+ "yAxes": [{
34
+ "type": "ValueAxis"
35
+ }],
36
+ "series": [{
37
+ "type": "ColumnSeries",
38
+ "dataFields": {
39
+ "valueY": "income",
40
+ "categoryX": "year"
41
+ },
42
+ "name": "Income",
43
+ "fill":"red",
44
+ "columns": {
45
+ "tooltipText": "[#fff font-size: 15px]{name} in {categoryX}:\n[/][#fff font-size: 20px]{valueY}[/] [#fff]{additional}[/]",
46
+
47
+ "strokeWidth": "strokeWidth",
48
+ "strokeDasharray": "columnDash"
49
+ },
50
+ "tooltip":{"label":{"textAlign":"middle"}}
51
+ }, {
52
+ "type": "LineSeries",
53
+ "name": "Expenses",
54
+ "stroke": "#fdd400",
55
+ "strokeDasharray":"lineDash",
56
+ "strokeWidth": 3,
57
+ "dataFields": {
58
+ "valueY": "expenses",
59
+ "categoryX": "year"
60
+ },
61
+
62
+ "bullets": [{
63
+ "type": "CircleBullet",
64
+ "fill":"#fdd400",
65
+ "tooltipText":"[#fff font-size: 15px]{name} in {categoryX}:\n[/][#fff font-size: 20px]{valueY}[/] [#fff]{additional}[/]"
66
+
67
+ }, {
68
+ "type": "LabelBullet",
69
+ "label": {
70
+ "text": "{value}"
71
+ }
72
+ }]
73
+
74
+ }]
75
75
  }