• 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": "line",
    18. "crosshair-x": {
    19. "plot-label": {
    20. "text": "The %t Series has a value of %v.",
    21. "font-color": "#6600ff",
    22. "font-family": "Georgia",
    23. "font-size": 12,
    24. "background-color": "pink yellow",
    25. "border-width": 1,
    26. "border-color": "#6600ff",
    27. "line-style": "dashdot",
    28. "border-radius": "10px",
    29. "padding": "10%",
    30. "callout": true
    31. }
    32. },
    33. "plot": {
    34. "tooltip": {
    35. "visible": false
    36. }
    37. },
    38. "series": [{
    39. "values": [20, 40, 25, 50, 15, 45, 33, 34, 49, 53, 19, 35, 24],
    40. "text": "Blueberry"
    41. },
    42. {
    43. "values": [11, 30, 21, 18, 59, 50, 28, 33, 23, 15, 18, 26, 34],
    44. "text": "Cherry"
    45. },
    46. {
    47. "values": [30, 21, 18, 21, 33, 41, 29, 15, 11, 12, 26, 23, 26],
    48. "text": "Kiwi"
    49. },
    50. {
    51. "values": [34, 16, 26, 15, 19, 21, 20, 24, 35, 41, 42, 38, 39],
    52. "text": "Kumquat"
    53. }
    54. ]
    55. };
    56.  
    57. zingchart.render({
    58. id: 'myChart',
    59. data: myConfig,
    60. height: 400,
    61. width: "100%"
    62. });
    63. </script>
    64. </body>
    65.  
    66. </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": "line",
    3. "crosshair-x": {
    4. "plot-label": {
    5. "text": "The %t Series has a value of %v.",
    6. "font-color": "#6600ff",
    7. "font-family": "Georgia",
    8. "font-size": 12,
    9. "background-color": "pink yellow",
    10. "border-width": 1,
    11. "border-color": "#6600ff",
    12. "line-style": "dashdot",
    13. "border-radius": "10px",
    14. "padding": "10%",
    15. "callout": true
    16. }
    17. },
    18. "plot": {
    19. "tooltip": {
    20. "visible": false
    21. }
    22. },
    23. "series": [{
    24. "values": [20, 40, 25, 50, 15, 45, 33, 34, 49, 53, 19, 35, 24],
    25. "text": "Blueberry"
    26. },
    27. {
    28. "values": [11, 30, 21, 18, 59, 50, 28, 33, 23, 15, 18, 26, 34],
    29. "text": "Cherry"
    30. },
    31. {
    32. "values": [30, 21, 18, 21, 33, 41, 29, 15, 11, 12, 26, 23, 26],
    33. "text": "Kiwi"
    34. },
    35. {
    36. "values": [34, 16, 26, 15, 19, 21, 20, 24, 35, 41, 42, 38, 39],
    37. "text": "Kumquat"
    38. }
    39. ]
    40. };
    41.  
    42. zingchart.render({
    43. id: 'myChart',
    44. data: myConfig,
    45. height: 400,
    46. width: "100%"
    47. });