- <!DOCTYPE html>
- <html>
-
- <head>
- <meta charset="utf-8">
- <title>ZingSoft Demo</title>
-
- <script nonce="undefined" src="https://cdn.zingchart.com/zingchart.min.js"></script>
- <style></style>
- </head>
-
- <body>
- <div id='myChart'></div>
- <script>
- ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
- var myConfig = {
- "type": "bar",
- "plot": {
- "value-box": {
- "text": "%v<br>±%node-error-plus",
- "font-family": "Times New Roman",
- "font-color": "black",
- "font-weight": "normal",
- "font-size": 12,
- "placement": "top",
- "offset-y": "-20px",
- },
- "errors": [
- [5],
- [4],
- [5],
- [6],
- [4],
- ],
- "error": {
- "line-color": "#00aaff",
- "line-width": 1,
- "hover-state": {
- "visible": false
- }
- },
- "bar-space": 0,
- "bars-space-left": "20%",
- "bars-space-right": "20%",
- "hover-state": {
- "visible": false
- }
- },
- "scale-y": {
- "values": "0:80:20",
- "guide": {
- "line-style": "dotted"
- }
- },
- "series": [{
- "values": [35, 40, 59, 65, 33],
- "background-color": "#003344"
- },
- {
- "values": [30, 31, 50, 55, 29],
- "background-color": "#005c99"
- }
- ]
- };
-
- zingchart.render({
- id: 'myChart',
- data: myConfig,
- height: 400,
- width: "100%"
- });
- </script>
- </body>
-
- </html>
- <!DOCTYPE html>
- <html>
-
- <head>
- <meta charset="utf-8">
- <title>ZingSoft Demo</title>
-
- <script src="https://cdn.zingchart.com/zingchart.min.js"></script>
- </head>
-
- <body>
- <div id='myChart'></div>
- </body>
-
- </html>
- var myConfig = {
- "type": "bar",
- "plot": {
- "value-box": {
- "text": "%v<br>±%node-error-plus",
- "font-family": "Times New Roman",
- "font-color": "black",
- "font-weight": "normal",
- "font-size": 12,
- "placement": "top",
- "offset-y": "-20px",
- },
- "errors": [
- [5],
- [4],
- [5],
- [6],
- [4],
- ],
- "error": {
- "line-color": "#00aaff",
- "line-width": 1,
- "hover-state": {
- "visible": false
- }
- },
- "bar-space": 0,
- "bars-space-left": "20%",
- "bars-space-right": "20%",
- "hover-state": {
- "visible": false
- }
- },
- "scale-y": {
- "values": "0:80:20",
- "guide": {
- "line-style": "dotted"
- }
- },
- "series": [{
- "values": [35, 40, 59, 65, 33],
- "background-color": "#003344"
- },
- {
- "values": [30, 31, 50, 55, 29],
- "background-color": "#005c99"
- }
- ]
- };
-
- zingchart.render({
- id: 'myChart',
- data: myConfig,
- height: 400,
- width: "100%"
- });