• 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. "text": "The %t Series has a value of %v.",
    21. "multiple": true
    22. }
    23. },
    24. "plot": {
    25. "tooltip": {
    26. "visible": false
    27. }
    28. },
    29. "series": [{
    30. "values": [20, 40, 25, 50, 15, 45, 33, 34, 49, 53, 19, 35, 24],
    31. "text": "Blueberry"
    32. },
    33. {
    34. "values": [11, 30, 21, 18, 59, 50, 28, 33, 23, 15, 18, 26, 34],
    35. "text": "Cherry"
    36. },
    37. {
    38. "values": [30, 21, 18, 21, 33, 41, 29, 15, 11, 12, 26, 23, 26],
    39. "text": "Kiwi"
    40. },
    41. {
    42. "values": [34, 16, 26, 15, 19, 21, 20, 24, 35, 41, 42, 38, 39],
    43. "text": "Kumquat"
    44. }
    45. ]
    46. };
    47.  
    48. zingchart.render({
    49. id: 'myChart',
    50. data: myConfig,
    51. height: 400,
    52. width: "100%"
    53. });
    54. </script>
    55. </body>
    56.  
    57. </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. "text": "The %t Series has a value of %v.",
    6. "multiple": true
    7. }
    8. },
    9. "plot": {
    10. "tooltip": {
    11. "visible": false
    12. }
    13. },
    14. "series": [{
    15. "values": [20, 40, 25, 50, 15, 45, 33, 34, 49, 53, 19, 35, 24],
    16. "text": "Blueberry"
    17. },
    18. {
    19. "values": [11, 30, 21, 18, 59, 50, 28, 33, 23, 15, 18, 26, 34],
    20. "text": "Cherry"
    21. },
    22. {
    23. "values": [30, 21, 18, 21, 33, 41, 29, 15, 11, 12, 26, 23, 26],
    24. "text": "Kiwi"
    25. },
    26. {
    27. "values": [34, 16, 26, 15, 19, 21, 20, 24, 35, 41, 42, 38, 39],
    28. "text": "Kumquat"
    29. }
    30. ]
    31. };
    32.  
    33. zingchart.render({
    34. id: 'myChart',
    35. data: myConfig,
    36. height: 400,
    37. width: "100%"
    38. });