File: graph_horizontalline.html

package info (click to toggle)
xhtml2pdf 0.2.17%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,412 kB
  • sloc: python: 12,740; makefile: 247; xml: 24
file content (31 lines) | stat: -rw-r--r-- 991 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Horizontal Line</title>
</head>
<body>
<canvas type="graph" width="350" height="180">
      {
            "data": [[10, 3, 30, 25, 50, 43]],
            "labels": ["a", "b", "c", "d", "e", "f"],
            "title": {"_text": "Horizontal Line Chart(1 Group)", "x": 290, "y": 190},
            "type": "horizontalline",
            "fillColor": "#f01f34",
            "marker": "FilledCircle",
            "x": 150, "y": 50,
            "lineLabelFormat": "%2.0f"
      }
</canvas>
<canvas type="graph" width="350" height="200">
      {
            "data": [[19, 3, 42, 25, 50, 43], [5, 15, 25, 38, 15, 58]],
            "labels": ["a", "b", "c", "d", "e", "f"],
            "title": {"_text": "Horizontal Line Chart(2 Groups)", "x": 290, "y": 190},
            "type": "horizontalline",
            "marker": "FilledCircle",
            "x": 150, "y": 50,
            "lineLabelFormat": "%2.0f"
      }
</canvas>
</body>
</html>