• 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. item: {
    20. alpha: 1,
    21. angle: 'auto',
    22. backgroundColor: '#ffe6e6',
    23. borderColor: 'red',
    24. borderRadius: '2px',
    25. borderWidth: 1,
    26. fontColor: 'red',
    27. fontFamily: 'Courier',
    28. fontSize: 10,
    29. fontStyle: 'normal',
    30. fontWeight: 'normal',
    31. offsetR: 0,
    32. padding: '5px 10px',
    33. textAlpha: 1,
    34. visible: true
    35. },
    36. values: '0:90:10'
    37. },
    38. series: [{
    39. values: [35]
    40. }]
    41. };
    42.  
    43. zingchart.render({
    44. id: 'myChart',
    45. data: myConfig,
    46. height: 400,
    47. width: "100%"
    48. });
    49. </script>
    50. </body>
    51.  
    52. </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. item: {
    5. alpha: 1,
    6. angle: 'auto',
    7. backgroundColor: '#ffe6e6',
    8. borderColor: 'red',
    9. borderRadius: '2px',
    10. borderWidth: 1,
    11. fontColor: 'red',
    12. fontFamily: 'Courier',
    13. fontSize: 10,
    14. fontStyle: 'normal',
    15. fontWeight: 'normal',
    16. offsetR: 0,
    17. padding: '5px 10px',
    18. textAlpha: 1,
    19. visible: true
    20. },
    21. values: '0:90:10'
    22. },
    23. series: [{
    24. values: [35]
    25. }]
    26. };
    27.  
    28. zingchart.render({
    29. id: 'myChart',
    30. data: myConfig,
    31. height: 400,
    32. width: "100%"
    33. });