• 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. "guide": {
    19. "marker": {
    20. "type": "star5",
    21. "size": 5, //Make sure to specify size.
    22. "background-color": "yellow",
    23. "border-width": 1,
    24. "border-color": "gray"
    25. }
    26. },
    27. "plot": {
    28. "tooltip": {
    29. "visible": false
    30. }
    31. },
    32. "series": [{
    33. "values": [20, 40, 25, 50, 15, 45, 33, 34, 49, 53, 19, 35, 24],
    34. "text": "Blueberries"
    35. },
    36. {
    37. "values": [11, 30, 21, 18, 59, 50, 28, 33, 23, 15, 18, 26, 34],
    38. "text": "Cherries"
    39. },
    40. {
    41. "values": [30, 21, 18, 21, 33, 41, 29, 15, 11, 12, 26, 23, 26],
    42. "text": "Kiwis"
    43. },
    44. {
    45. "values": [34, 16, 26, 15, 19, 21, 20, 24, 35, 41, 42, 38, 39],
    46. "text": "Kumquats"
    47. }
    48. ]
    49. };
    50. zingchart.render({
    51. id: 'myChart',
    52. data: myConfig,
    53. height: 400,
    54. width: '100%'
    55. });
    56. </script>
    57. </body>
    58.  
    59. </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. "guide": {
    4. "marker": {
    5. "type": "star5",
    6. "size": 5, //Make sure to specify size.
    7. "background-color": "yellow",
    8. "border-width": 1,
    9. "border-color": "gray"
    10. }
    11. },
    12. "plot": {
    13. "tooltip": {
    14. "visible": false
    15. }
    16. },
    17. "series": [{
    18. "values": [20, 40, 25, 50, 15, 45, 33, 34, 49, 53, 19, 35, 24],
    19. "text": "Blueberries"
    20. },
    21. {
    22. "values": [11, 30, 21, 18, 59, 50, 28, 33, 23, 15, 18, 26, 34],
    23. "text": "Cherries"
    24. },
    25. {
    26. "values": [30, 21, 18, 21, 33, 41, 29, 15, 11, 12, 26, 23, 26],
    27. "text": "Kiwis"
    28. },
    29. {
    30. "values": [34, 16, 26, 15, 19, 21, 20, 24, 35, 41, 42, 38, 39],
    31. "text": "Kumquats"
    32. }
    33. ]
    34. };
    35. zingchart.render({
    36. id: 'myChart',
    37. data: myConfig,
    38. height: 400,
    39. width: '100%'
    40. });