• 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. let chartConfig = {
    17. "type": "area",
    18. "title": {
    19. "text": "Value Boxes"
    20. },
    21. "plot": {
    22. "value-box": {
    23. "text": "Node Value: %v"
    24. },
    25. "tooltip": {
    26. "visible": false
    27. }
    28. },
    29. "series": [{
    30. "values": [30, 34, 14, 15, 31, 35]
    31. }]
    32. };
    33.  
    34. zingchart.render({
    35. id: 'myChart',
    36. data: chartConfig,
    37. height: 400,
    38. width: "100%"
    39. });
    40. </script>
    41. </body>
    42.  
    43. </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. let chartConfig = {
    2. "type": "area",
    3. "title": {
    4. "text": "Value Boxes"
    5. },
    6. "plot": {
    7. "value-box": {
    8. "text": "Node Value: %v"
    9. },
    10. "tooltip": {
    11. "visible": false
    12. }
    13. },
    14. "series": [{
    15. "values": [30, 34, 14, 15, 31, 35]
    16. }]
    17. };
    18.  
    19. zingchart.render({
    20. id: 'myChart',
    21. data: chartConfig,
    22. height: 400,
    23. width: "100%"
    24. });