• 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 myConfig = {
    17. type: 'gauge',
    18. scaleR: {
    19. tick: {
    20. alpha: 1,
    21. lineColor: 'red',
    22. lineStyle: 'solid',
    23. lineWidth: 2,
    24. placement: 'outer',
    25. size: 15,
    26. visible: true
    27. },
    28. values: '0:90:10'
    29. },
    30. series: [{
    31. values: [35]
    32. }]
    33. };
    34.  
    35. zingchart.render({
    36. id: 'myChart',
    37. data: myConfig,
    38. height: 400,
    39. width: "100%"
    40. });
    41. </script>
    42. </body>
    43.  
    44. </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 myConfig = {
    2. type: 'gauge',
    3. scaleR: {
    4. tick: {
    5. alpha: 1,
    6. lineColor: 'red',
    7. lineStyle: 'solid',
    8. lineWidth: 2,
    9. placement: 'outer',
    10. size: 15,
    11. visible: true
    12. },
    13. values: '0:90:10'
    14. },
    15. series: [{
    16. values: [35]
    17. }]
    18. };
    19.  
    20. zingchart.render({
    21. id: 'myChart',
    22. data: myConfig,
    23. height: 400,
    24. width: "100%"
    25. });