Advertisement
Profesor08

carts json

Jan 16th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 10.76 KB | None | 0 0
  1. {
  2.     "title": "КИМГ-Б0.02 №4",
  3.     "chart": {
  4.         "temperature": {
  5.             "type": "line",
  6.             "data": {
  7.                 "labels": [
  8.                     "Пн",
  9.                     "Вт",
  10.                     "Ср",
  11.                     "Чт",
  12.                     "Пт",
  13.                     "Сб",
  14.                     "Вс"
  15.                 ],
  16.                 "datasets": [
  17.                     {
  18.                         "label": "Т воздуха",
  19.                         "postFix": "°C",
  20.                         "labels": [
  21.                             "Понедельник",
  22.                             "Вторник",
  23.                             "Среда",
  24.                             "Четверг",
  25.                             "Пятница",
  26.                             "Суббота",
  27.                             "Вотскресенье"
  28.                         ],
  29.                         "data": [
  30.                             2,
  31.                             14,
  32.                             15,
  33.                             12,
  34.                             18,
  35.                             6,
  36.                             4
  37.                         ],
  38.                         "backgroundColor": [
  39.                             "rgba(255, 99, 132, 0.2)",
  40.                             "rgba(54, 162, 235, 0.2)",
  41.                             "rgba(255, 206, 86, 0.2)",
  42.                             "rgba(75, 192, 192, 0.2)",
  43.                             "rgba(153, 102, 255, 0.2)",
  44.                             "rgba(255, 159, 64, 0.2)"
  45.                         ],
  46.                         "borderColor": [
  47.                             "rgba(255,99,132,1)",
  48.                             "rgba(54, 162, 235, 1)",
  49.                             "rgba(255, 206, 86, 1)",
  50.                             "rgba(75, 192, 192, 1)",
  51.                             "rgba(153, 102, 255, 1)",
  52.                             "rgba(255, 159, 64, 1)"
  53.                         ],
  54.                         "borderWidth": 1
  55.                     }
  56.                 ]
  57.             },
  58.             "options": {
  59.                 "responsive": true,
  60.                 "scales": {
  61.                     "yAxes": [
  62.                         {
  63.                             "ticks": {
  64.                                 "beginAtZero": true
  65.                             }
  66.                         }
  67.                     ]
  68.                 },
  69.                 "legend": {
  70.                     "display": false
  71.                 },
  72.                 "tooltips": {
  73.                     "backgroundColor": "rgba(77, 129, 193, 0.8)",
  74.                     "cornerRadius": 0,
  75.                     "displayColors": false
  76.                 }
  77.             }
  78.         },
  79.         "humidity": {
  80.             "type": "line",
  81.             "data": {
  82.                 "labels": [
  83.                     "Пн",
  84.                     "Вт",
  85.                     "Ср",
  86.                     "Чт",
  87.                     "Пт",
  88.                     "Сб",
  89.                     "Вс"
  90.                 ],
  91.                 "datasets": [
  92.                     {
  93.                         "label": "Р воздуха",
  94.                         "postFix": "",
  95.                         "labels": [
  96.                             "Понедельник",
  97.                             "Вторник",
  98.                             "Среда",
  99.                             "Четверг",
  100.                             "Пятница",
  101.                             "Суббота",
  102.                             "Вотскресенье"
  103.                         ],
  104.                         "data": [
  105.                             3,
  106.                             4,
  107.                             8,
  108.                             14,
  109.                             3,
  110.                             16,
  111.                             19
  112.                         ],
  113.                         "backgroundColor": [
  114.                             "rgba(255, 99, 132, 0.2)",
  115.                             "rgba(54, 162, 235, 0.2)",
  116.                             "rgba(255, 206, 86, 0.2)",
  117.                             "rgba(75, 192, 192, 0.2)",
  118.                             "rgba(153, 102, 255, 0.2)",
  119.                             "rgba(255, 159, 64, 0.2)"
  120.                         ],
  121.                         "borderColor": [
  122.                             "rgba(255,99,132,1)",
  123.                             "rgba(54, 162, 235, 1)",
  124.                             "rgba(255, 206, 86, 1)",
  125.                             "rgba(75, 192, 192, 1)",
  126.                             "rgba(153, 102, 255, 1)",
  127.                             "rgba(255, 159, 64, 1)"
  128.                         ],
  129.                         "borderWidth": 1
  130.                     }
  131.                 ]
  132.             },
  133.             "options": {
  134.                 "responsive": true,
  135.                 "scales": {
  136.                     "yAxes": [
  137.                         {
  138.                             "ticks": {
  139.                                 "beginAtZero": true
  140.                             }
  141.                         }
  142.                     ]
  143.                 },
  144.                 "legend": {
  145.                     "display": false
  146.                 },
  147.                 "tooltips": {
  148.                     "backgroundColor": "rgba(77, 129, 193, 0.8)",
  149.                     "cornerRadius": 0,
  150.                     "displayColors": false
  151.                 }
  152.             }
  153.         },
  154.         "precipitation": {
  155.             "type": "line",
  156.             "data": {
  157.                 "labels": [
  158.                     "Пн",
  159.                     "Вт",
  160.                     "Ср",
  161.                     "Чт",
  162.                     "Пт",
  163.                     "Сб",
  164.                     "Вс"
  165.                 ],
  166.                 "datasets": [
  167.                     {
  168.                         "label": "Осадки",
  169.                         "postFix": "мм",
  170.                         "labels": [
  171.                             "Понедельник",
  172.                             "Вторник",
  173.                             "Среда",
  174.                             "Четверг",
  175.                             "Пятница",
  176.                             "Суббота",
  177.                             "Вотскресенье"
  178.                         ],
  179.                         "data": [
  180.                             13,
  181.                             11,
  182.                             15,
  183.                             17,
  184.                             10,
  185.                             15,
  186.                             11
  187.                         ],
  188.                         "backgroundColor": [
  189.                             "rgba(255, 99, 132, 0.2)",
  190.                             "rgba(54, 162, 235, 0.2)",
  191.                             "rgba(255, 206, 86, 0.2)",
  192.                             "rgba(75, 192, 192, 0.2)",
  193.                             "rgba(153, 102, 255, 0.2)",
  194.                             "rgba(255, 159, 64, 0.2)"
  195.                         ],
  196.                         "borderColor": [
  197.                             "rgba(255,99,132,1)",
  198.                             "rgba(54, 162, 235, 1)",
  199.                             "rgba(255, 206, 86, 1)",
  200.                             "rgba(75, 192, 192, 1)",
  201.                             "rgba(153, 102, 255, 1)",
  202.                             "rgba(255, 159, 64, 1)"
  203.                         ],
  204.                         "borderWidth": 1
  205.                     }
  206.                 ]
  207.             },
  208.             "options": {
  209.                 "responsive": true,
  210.                 "scales": {
  211.                     "yAxes": [
  212.                         {
  213.                             "ticks": {
  214.                                 "beginAtZero": true
  215.                             }
  216.                         }
  217.                     ]
  218.                 },
  219.                 "legend": {
  220.                     "display": false
  221.                 },
  222.                 "tooltips": {
  223.                     "backgroundColor": "rgba(77, 129, 193, 0.8)",
  224.                     "cornerRadius": 0,
  225.                     "displayColors": false
  226.                 }
  227.             }
  228.         },
  229.         "waterLevel": {
  230.             "type": "line",
  231.             "data": {
  232.                 "labels": [
  233.                     "Пн",
  234.                     "Вт",
  235.                     "Ср",
  236.                     "Чт",
  237.                     "Пт",
  238.                     "Сб",
  239.                     "Вс"
  240.                 ],
  241.                 "datasets": [
  242.                     {
  243.                         "label": "Уровень воды",
  244.                         "postFix": "м",
  245.                         "labels": [
  246.                             "Понедельник",
  247.                             "Вторник",
  248.                             "Среда",
  249.                             "Четверг",
  250.                             "Пятница",
  251.                             "Суббота",
  252.                             "Вотскресенье"
  253.                         ],
  254.                         "data": [
  255.                             2,
  256.                             9,
  257.                             14,
  258.                             10,
  259.                             6,
  260.                             15,
  261.                             7
  262.                         ],
  263.                         "backgroundColor": [
  264.                             "rgba(255, 99, 132, 0.2)",
  265.                             "rgba(54, 162, 235, 0.2)",
  266.                             "rgba(255, 206, 86, 0.2)",
  267.                             "rgba(75, 192, 192, 0.2)",
  268.                             "rgba(153, 102, 255, 0.2)",
  269.                             "rgba(255, 159, 64, 0.2)"
  270.                         ],
  271.                         "borderColor": [
  272.                             "rgba(255,99,132,1)",
  273.                             "rgba(54, 162, 235, 1)",
  274.                             "rgba(255, 206, 86, 1)",
  275.                             "rgba(75, 192, 192, 1)",
  276.                             "rgba(153, 102, 255, 1)",
  277.                             "rgba(255, 159, 64, 1)"
  278.                         ],
  279.                         "borderWidth": 1
  280.                     }
  281.                 ]
  282.             },
  283.             "options": {
  284.                 "responsive": true,
  285.                 "scales": {
  286.                     "yAxes": [
  287.                         {
  288.                             "ticks": {
  289.                                 "beginAtZero": true
  290.                             }
  291.                         }
  292.                     ]
  293.                 },
  294.                 "legend": {
  295.                     "display": false
  296.                 },
  297.                 "tooltips": {
  298.                     "backgroundColor": "rgba(77, 129, 193, 0.8)",
  299.                     "cornerRadius": 0,
  300.                     "displayColors": false
  301.                 }
  302.             }
  303.         }
  304.     }
  305. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement