• 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. "layout": "1x2",
    18. "graphset": [{
    19. "type": "vbar",
    20. "plot": {
    21. "errors": [
    22. [3.1, 3.3],
    23. [3, 2],
    24. [2, 2],
    25. [3.3, 3],
    26. [3.4, 3.1],
    27. [1.9, 1.9]
    28. ],
    29. "error": {
    30. "line-color": "black",
    31. "line-segment-size": 3,
    32. "line-gap-size": 3,
    33. "hover-state": {
    34. "visible": false
    35. }
    36. },
    37. "hover-state": {
    38. "visible": false
    39. }
    40. },
    41. "series": [{
    42. "values": [30, 34, -15, -16, 31, 35]
    43. }]
    44. },
    45. {
    46. "type": "hbar",
    47. "plot": {
    48. "errors": [
    49. [3.1, 3.3],
    50. [3, 2],
    51. [2, 2],
    52. [3.3, 3],
    53. [3.4, 3.1],
    54. [1.9, 1.9]
    55. ],
    56. "error": {
    57. "line-color": "black",
    58. "line-segment-size": 3,
    59. "line-gap-size": 3,
    60. "hover-state": {
    61. "visible": false
    62. }
    63. },
    64. "hover-state": {
    65. "visible": false
    66. }
    67. },
    68. "series": [{
    69. "values": [30, 34, -15, -16, 31, 35]
    70. }]
    71. }
    72. ]
    73. };
    74.  
    75. zingchart.render({
    76. id: 'myChart',
    77. data: myConfig,
    78. height: 400,
    79. width: 600
    80. });
    81. </script>
    82. </body>
    83.  
    84. </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. "layout": "1x2",
    3. "graphset": [{
    4. "type": "vbar",
    5. "plot": {
    6. "errors": [
    7. [3.1, 3.3],
    8. [3, 2],
    9. [2, 2],
    10. [3.3, 3],
    11. [3.4, 3.1],
    12. [1.9, 1.9]
    13. ],
    14. "error": {
    15. "line-color": "black",
    16. "line-segment-size": 3,
    17. "line-gap-size": 3,
    18. "hover-state": {
    19. "visible": false
    20. }
    21. },
    22. "hover-state": {
    23. "visible": false
    24. }
    25. },
    26. "series": [{
    27. "values": [30, 34, -15, -16, 31, 35]
    28. }]
    29. },
    30. {
    31. "type": "hbar",
    32. "plot": {
    33. "errors": [
    34. [3.1, 3.3],
    35. [3, 2],
    36. [2, 2],
    37. [3.3, 3],
    38. [3.4, 3.1],
    39. [1.9, 1.9]
    40. ],
    41. "error": {
    42. "line-color": "black",
    43. "line-segment-size": 3,
    44. "line-gap-size": 3,
    45. "hover-state": {
    46. "visible": false
    47. }
    48. },
    49. "hover-state": {
    50. "visible": false
    51. }
    52. },
    53. "series": [{
    54. "values": [30, 34, -15, -16, 31, 35]
    55. }]
    56. }
    57. ]
    58. };
    59.  
    60. zingchart.render({
    61. id: 'myChart',
    62. data: myConfig,
    63. height: 400,
    64. width: 600
    65. });