• 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: 'line',
    18. arrows: [{
    19. from: {
    20. x: '70%',
    21. y: '70%'
    22. },
    23. to: {
    24. x: '30%',
    25. y: '30%'
    26. },
    27. borderColor: "#0f0" // Sets the border color of the object, applicable on closed shapes.
    28. }, ],
    29. series: [{
    30. "values": [182, 155, 161, 125, 95, 131, 212, 184, 163, 147, 208, 136, 188, 191, 227, 135, 134, 173, 173, 159]
    31. },
    32. {
    33. "values": [243, 189, 213, 190, 267, 226, 245, 264, 220, 255, 107, 192, 224, 244, 276, 223, 270, 224, 261, 183]
    34. },
    35. ]
    36. };
    37.  
    38. zingchart.render({
    39. id: 'myChart',
    40. data: chartConfig,
    41. height: 400,
    42. width: '100%'
    43. });
    44. </script>
    45. </body>
    46.  
    47. </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: 'line',
    3. arrows: [{
    4. from: {
    5. x: '70%',
    6. y: '70%'
    7. },
    8. to: {
    9. x: '30%',
    10. y: '30%'
    11. },
    12. borderColor: "#0f0" // Sets the border color of the object, applicable on closed shapes.
    13. }, ],
    14. series: [{
    15. "values": [182, 155, 161, 125, 95, 131, 212, 184, 163, 147, 208, 136, 188, 191, 227, 135, 134, 173, 173, 159]
    16. },
    17. {
    18. "values": [243, 189, 213, 190, 267, 226, 245, 264, 220, 255, 107, 192, 224, 244, 276, 223, 270, 224, 261, 183]
    19. },
    20. ]
    21. };
    22.  
    23. zingchart.render({
    24. id: 'myChart',
    25. data: chartConfig,
    26. height: 400,
    27. width: '100%'
    28. });