• 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. let chartConfig = {
    17. type: 'line',
    18. subtitle: {
    19. text: 'Hover over the data points!'
    20. },
    21. plot: {
    22. hoverMarker: {
    23. backgroundColor: 'black',
    24. type: 'star5',
    25. size: 7
    26. }
    27. },
    28. series: [{
    29. values: [11, 7, 14, 11, 24, 22, 26, 13]
    30. },
    31. {
    32. values: [28, 19, 30, 35, 46, 36, 29, 23]
    33. }
    34. ]
    35. };
    36.  
    37. zingchart.render({
    38. id: 'myChart',
    39. data: chartConfig,
    40. height: 400,
    41. width: '100%'
    42. });
    43. </script>
    44. </body>
    45.  
    46. </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. let chartConfig = {
    2. type: 'line',
    3. subtitle: {
    4. text: 'Hover over the data points!'
    5. },
    6. plot: {
    7. hoverMarker: {
    8. backgroundColor: 'black',
    9. type: 'star5',
    10. size: 7
    11. }
    12. },
    13. series: [{
    14. values: [11, 7, 14, 11, 24, 22, 26, 13]
    15. },
    16. {
    17. values: [28, 19, 30, 35, 46, 36, 29, 23]
    18. }
    19. ]
    20. };
    21.  
    22. zingchart.render({
    23. id: 'myChart',
    24. data: chartConfig,
    25. height: 400,
    26. width: '100%'
    27. });