• 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 myConfig5b = {
    17. "type": "scatter",
    18. "series": [{
    19. "values": [
    20. [1, 9],
    21. [3, 21],
    22. [5, 40],
    23. [7, 60],
    24. [9, 81],
    25. ],
    26. "marker": {
    27. "background-image": "https://www.zingchart.com/resources/target.png",
    28. "background-color": "none",
    29. "border-color": "none",
    30. "background-repeat": "no-repeat",
    31. "shadow": false,
    32. "size": 12
    33. }
    34. },
    35. {
    36. "values": [
    37. [2, 15],
    38. [4, 30],
    39. [6, 59],
    40. [8, 75],
    41. [10, 99]
    42. ],
    43. "marker": {
    44. "background-image": "https://www.zingchart.com/resources/heart.png",
    45. "background-color": "none",
    46. "border-color": "none",
    47. "background-repeat": "no-repeat",
    48. "shadow": false,
    49. "size": 12
    50. }
    51. }
    52. ]
    53. };
    54. zingchart.render({
    55. id: 'myChart',
    56. data: myConfig5b,
    57. height: 400,
    58. width: "100%"
    59. });
    60. </script>
    61. </body>
    62.  
    63. </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 myConfig5b = {
    2. "type": "scatter",
    3. "series": [{
    4. "values": [
    5. [1, 9],
    6. [3, 21],
    7. [5, 40],
    8. [7, 60],
    9. [9, 81],
    10. ],
    11. "marker": {
    12. "background-image": "https://www.zingchart.com/resources/target.png",
    13. "background-color": "none",
    14. "border-color": "none",
    15. "background-repeat": "no-repeat",
    16. "shadow": false,
    17. "size": 12
    18. }
    19. },
    20. {
    21. "values": [
    22. [2, 15],
    23. [4, 30],
    24. [6, 59],
    25. [8, 75],
    26. [10, 99]
    27. ],
    28. "marker": {
    29. "background-image": "https://www.zingchart.com/resources/heart.png",
    30. "background-color": "none",
    31. "border-color": "none",
    32. "background-repeat": "no-repeat",
    33. "shadow": false,
    34. "size": 12
    35. }
    36. }
    37. ]
    38. };
    39. zingchart.render({
    40. id: 'myChart',
    41. data: myConfig5b,
    42. height: 400,
    43. width: "100%"
    44. });