• Edit
  • Download
    1. <!DOCTYPE html>
    2. <html>
    3.  
    4. <head>
    5. <meta charset="utf-8">
    6. <title>ZingSoft Demo</title>
    7.  
    8. <script nonce="undefined" src="https://cdn.zingchart.com/zingchart.min.js"></script>
    9. <style></style>
    10. </head>
    11.  
    12. <body>
    13. <div id='myChart'></div>
    14. <script>
    15. ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
    16. var myConfig = {
    17. "type": "bar",
    18. "plot": {
    19. "errors": [
    20. [3, 4],
    21. [3.1, 3.5],
    22. [3.4, 3.1],
    23. [2.9, 3.3],
    24. [4, 3],
    25. [4.1, 3.9],
    26. [2.9, 3.3],
    27. [3.6, 3.7],
    28. [3.5, 3.5]
    29. ],
    30. "error": {
    31. "hover-state": {
    32. "visible": false
    33. }
    34. },
    35. "hover-state": {
    36. "visible": false
    37. }
    38. },
    39. "series": [{
    40. "values": [34, 95, 25, 15, 28, 55, 59, 13, 14]
    41. }]
    42. };
    43.  
    44. zingchart.render({
    45. id: 'myChart',
    46. data: myConfig,
    47. height: 400,
    48. width: "100%"
    49. });
    50. </script>
    51. </body>
    52.  
    53. </html>
    1. <!DOCTYPE html>
    2. <html>
    3.  
    4. <head>
    5. <meta charset="utf-8">
    6. <title>ZingSoft Demo</title>
    7.  
    8. <script src="https://cdn.zingchart.com/zingchart.min.js"></script>
    9. </head>
    10.  
    11. <body>
    12. <div id='myChart'></div>
    13. </body>
    14.  
    15. </html>
    1.  
    1. var myConfig = {
    2. "type": "bar",
    3. "plot": {
    4. "errors": [
    5. [3, 4],
    6. [3.1, 3.5],
    7. [3.4, 3.1],
    8. [2.9, 3.3],
    9. [4, 3],
    10. [4.1, 3.9],
    11. [2.9, 3.3],
    12. [3.6, 3.7],
    13. [3.5, 3.5]
    14. ],
    15. "error": {
    16. "hover-state": {
    17. "visible": false
    18. }
    19. },
    20. "hover-state": {
    21. "visible": false
    22. }
    23. },
    24. "series": [{
    25. "values": [34, 95, 25, 15, 28, 55, 59, 13, 14]
    26. }]
    27. };
    28.  
    29. zingchart.render({
    30. id: 'myChart',
    31. data: myConfig,
    32. height: 400,
    33. width: "100%"
    34. });