• 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. zingchart.loadModules('toolbar3d');
    17.  
    18. let chartConfig = {
    19. type: 'bar3d',
    20. legend: {},
    21. plotarea: {
    22. margin: 100
    23. },
    24. tooltip: {},
    25. plot: {
    26. stacked: false,
    27. valueBox: {
    28. visible: 0
    29. },
    30. mode: 'normal',
    31. hoverState: {
    32. visible: false
    33. }
    34. },
    35. options: {
    36. mainbox: {
    37. backgroundColor: 'red',
    38. },
    39. },
    40. series: [{
    41. values: [99, 97, 97, 100],
    42. text: 'Apple'
    43. },
    44. {
    45. values: [64, 58, 51, 51],
    46. text: 'Microsoft'
    47. },
    48. {
    49. values: [58, 52, 63, 72],
    50. text: 'Amazon'
    51. }
    52. ]
    53. }
    54.  
    55. zingchart.render({
    56. id: 'myChart',
    57. data: chartConfig,
    58. height: 400,
    59. width: 600,
    60. modules: 'toolbar3d'
    61. });
    62. </script>
    63. </body>
    64.  
    65. </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. zingchart.loadModules('toolbar3d');
    2.  
    3. let chartConfig = {
    4. type: 'bar3d',
    5. legend: {},
    6. plotarea: {
    7. margin: 100
    8. },
    9. tooltip: {},
    10. plot: {
    11. stacked: false,
    12. valueBox: {
    13. visible: 0
    14. },
    15. mode: 'normal',
    16. hoverState: {
    17. visible: false
    18. }
    19. },
    20. options: {
    21. mainbox: {
    22. backgroundColor: 'red',
    23. },
    24. },
    25. series: [{
    26. values: [99, 97, 97, 100],
    27. text: 'Apple'
    28. },
    29. {
    30. values: [64, 58, 51, 51],
    31. text: 'Microsoft'
    32. },
    33. {
    34. values: [58, 52, 63, 72],
    35. text: 'Amazon'
    36. }
    37. ]
    38. }
    39.  
    40. zingchart.render({
    41. id: 'myChart',
    42. data: chartConfig,
    43. height: 400,
    44. width: 600,
    45. modules: 'toolbar3d'
    46. });