• 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>
    10. html,
    11. body,
    12. #myChart {
    13. height: 100%;
    14. width: 100%;
    15. }
    16. </style>
    17. </head>
    18.  
    19. <body>
    20. <div id='myChart'></div>
    21. <script>
    22. ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
    23. var myConfig = {
    24. "type": "bubble",
    25. "title": {
    26. "text": "Tick Marks"
    27. },
    28. "scale-x": {
    29. "tick": {
    30. "line-color": "red",
    31. "line-width": 3,
    32. "line-style": "solid",
    33. "size": 12,
    34. "placement": "cross"
    35. }
    36. },
    37. "scale-y": {
    38. "tick": {
    39. "line-color": "red",
    40. "line-width": 3,
    41. "line-style": "solid",
    42. "size": 12,
    43. "placement": "cross"
    44. }
    45. },
    46. "series": [{
    47. "values": [
    48. [1, 9, 59],
    49. [3.3, 21, 30],
    50. [4.3, 30, 5],
    51. [5.9, 40, 35],
    52. [6.1, 59, 21],
    53. [7.8, 75, 85],
    54. [9.1, 81, 65],
    55. [10, 99, 12]
    56. ]
    57. }]
    58. };
    59.  
    60. zingchart.render({
    61. id: 'myChart',
    62. data: myConfig,
    63. height: 400,
    64. width: "100%"
    65. });
    66. </script>
    67. </body>
    68.  
    69. </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. html,
    2. body,
    3. #myChart {
    4. height: 100%;
    5. width: 100%;
    6. }
    1. var myConfig = {
    2. "type": "bubble",
    3. "title": {
    4. "text": "Tick Marks"
    5. },
    6. "scale-x": {
    7. "tick": {
    8. "line-color": "red",
    9. "line-width": 3,
    10. "line-style": "solid",
    11. "size": 12,
    12. "placement": "cross"
    13. }
    14. },
    15. "scale-y": {
    16. "tick": {
    17. "line-color": "red",
    18. "line-width": 3,
    19. "line-style": "solid",
    20. "size": 12,
    21. "placement": "cross"
    22. }
    23. },
    24. "series": [{
    25. "values": [
    26. [1, 9, 59],
    27. [3.3, 21, 30],
    28. [4.3, 30, 5],
    29. [5.9, 40, 35],
    30. [6.1, 59, 21],
    31. [7.8, 75, 85],
    32. [9.1, 81, 65],
    33. [10, 99, 12]
    34. ]
    35. }]
    36. };
    37.  
    38. zingchart.render({
    39. id: 'myChart',
    40. data: myConfig,
    41. height: 400,
    42. width: "100%"
    43. });