• 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": "line",
    18. "crosshair-x": {
    19. "plot-label": {
    20. "multiple": true
    21. }
    22. },
    23. "plot": {
    24. "tooltip": {
    25. "visible": false
    26. }
    27. },
    28. "series": [{
    29. "values": [20, 40, 25, 50, 15, 45, 33, 34, 49, 53, 19, 35, 24],
    30. "text": "Blueberries",
    31. "guide-label": {
    32. "text": "%t are like pearls."
    33. }
    34. },
    35. {
    36. "values": [11, 30, 21, 18, 59, 50, 28, 33, 23, 15, 18, 26, 34],
    37. "text": "Cherries",
    38. "guide-label": {
    39. "text": "%t often come in twos and threes."
    40. }
    41. },
    42. {
    43. "values": [30, 21, 18, 21, 33, 41, 29, 15, 11, 12, 26, 23, 26],
    44. "text": "Kiwis",
    45. "guide-label": {
    46. "text": "%t have lots of seeds that look like freckles."
    47. }
    48. },
    49. {
    50. "values": [34, 16, 26, 15, 19, 21, 20, 24, 35, 41, 42, 38, 39],
    51. "text": "Kumquats",
    52. "guide-label": {
    53. "text": "%t are like tiny, oval oranges."
    54. }
    55. }
    56. ]
    57. };
    58.  
    59. zingchart.render({
    60. id: 'myChart',
    61. data: myConfig,
    62. height: 400,
    63. width: "100%"
    64. });
    65. </script>
    66. </body>
    67.  
    68. </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": "line",
    3. "crosshair-x": {
    4. "plot-label": {
    5. "multiple": true
    6. }
    7. },
    8. "plot": {
    9. "tooltip": {
    10. "visible": false
    11. }
    12. },
    13. "series": [{
    14. "values": [20, 40, 25, 50, 15, 45, 33, 34, 49, 53, 19, 35, 24],
    15. "text": "Blueberries",
    16. "guide-label": {
    17. "text": "%t are like pearls."
    18. }
    19. },
    20. {
    21. "values": [11, 30, 21, 18, 59, 50, 28, 33, 23, 15, 18, 26, 34],
    22. "text": "Cherries",
    23. "guide-label": {
    24. "text": "%t often come in twos and threes."
    25. }
    26. },
    27. {
    28. "values": [30, 21, 18, 21, 33, 41, 29, 15, 11, 12, 26, 23, 26],
    29. "text": "Kiwis",
    30. "guide-label": {
    31. "text": "%t have lots of seeds that look like freckles."
    32. }
    33. },
    34. {
    35. "values": [34, 16, 26, 15, 19, 21, 20, 24, 35, 41, 42, 38, 39],
    36. "text": "Kumquats",
    37. "guide-label": {
    38. "text": "%t are like tiny, oval oranges."
    39. }
    40. }
    41. ]
    42. };
    43.  
    44. zingchart.render({
    45. id: 'myChart',
    46. data: myConfig,
    47. height: 400,
    48. width: "100%"
    49. });