• 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 myConfig6 = {
    24. "type": "bubble-pie",
    25. "title": {
    26. "text": "Minor Tick Marks"
    27. },
    28. "scale-x": {
    29. "values": "0:20:5",
    30. "minor-ticks": 4,
    31. "minor-tick": {
    32. "line-color": "red",
    33. "line-width": 2,
    34. "line-style": "solid",
    35. "size": 10,
    36. "placement": "cross"
    37. }
    38. },
    39. "scale-y": {
    40. "values": "0:20:5",
    41. "minor-ticks": 4,
    42. "minor-tick": {
    43. "line-color": "red",
    44. "line-width": 2,
    45. "line-style": "solid",
    46. "size": 10,
    47. "placement": "cross"
    48. }
    49. },
    50. "plot": {
    51. "values": [
    52. [3, 4, 34],
    53. [7, 9, 101],
    54. [14, 14, 59],
    55. [15, 5, 15],
    56. [17, 18, 30]
    57. ]
    58. },
    59. "series": [{
    60. "data-v": [15, 37, 7, 3, 14]
    61. },
    62. {
    63. "data-v": [13, 34, 21, 7, 8]
    64. },
    65. {
    66. "data-v": [6, 30, 31, 5, 8]
    67. },
    68. {
    69. "data-v": [5, 29, 9, 3, 13]
    70. },
    71. {
    72. "data-v": [3, 25, 19, 3, 5]
    73. }
    74. ]
    75. };
    76.  
    77. zingchart.render({
    78. id: 'myChart',
    79. data: myConfig6,
    80. height: 400,
    81. width: "100%"
    82. });
    83. </script>
    84. </body>
    85.  
    86. </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 myConfig6 = {
    2. "type": "bubble-pie",
    3. "title": {
    4. "text": "Minor Tick Marks"
    5. },
    6. "scale-x": {
    7. "values": "0:20:5",
    8. "minor-ticks": 4,
    9. "minor-tick": {
    10. "line-color": "red",
    11. "line-width": 2,
    12. "line-style": "solid",
    13. "size": 10,
    14. "placement": "cross"
    15. }
    16. },
    17. "scale-y": {
    18. "values": "0:20:5",
    19. "minor-ticks": 4,
    20. "minor-tick": {
    21. "line-color": "red",
    22. "line-width": 2,
    23. "line-style": "solid",
    24. "size": 10,
    25. "placement": "cross"
    26. }
    27. },
    28. "plot": {
    29. "values": [
    30. [3, 4, 34],
    31. [7, 9, 101],
    32. [14, 14, 59],
    33. [15, 5, 15],
    34. [17, 18, 30]
    35. ]
    36. },
    37. "series": [{
    38. "data-v": [15, 37, 7, 3, 14]
    39. },
    40. {
    41. "data-v": [13, 34, 21, 7, 8]
    42. },
    43. {
    44. "data-v": [6, 30, 31, 5, 8]
    45. },
    46. {
    47. "data-v": [5, 29, 9, 3, 13]
    48. },
    49. {
    50. "data-v": [3, 25, 19, 3, 5]
    51. }
    52. ]
    53. };
    54.  
    55. zingchart.render({
    56. id: 'myChart',
    57. data: myConfig6,
    58. height: 400,
    59. width: "100%"
    60. });