<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>ZingSoft Demo</title> <script nonce="undefined" src="https://cdn.zingchart.com/zingchart.min.js"></script> <style></style> </head> <body> <div id='myChart'></div> <script> ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"]; let chartConfig = { type: 'area', series: [{ values: [20, 40, 25, 50, 15, 45, 33, 34], backgroundColor: '#FFC107', lineColor: '#FFC107', marker: { backgroundColor: '#FFF8E1', borderColor: '#FFC107', borderWidth: 2, type: 'square', size: 3 }, tooltip: { backgroundColor: '#FFF8E1', borderColor: '#FFC107', borderRadius: 3, fontColor: '#FFC107', fontFamily: 'Georgia' }, }, { values: [5, 30, 21, 18, 59, 50, 28, 33], backgroundColor: '#8BC34A', lineColor: '#8BC34A', marker: { backgroundColor: '#F1F8E9', borderColor: '#8BC34A', borderWidth: 2, type: 'diamond', size: 3 }, tooltip: { backgroundColor: '#F1F8E9', borderColor: '#8BC34A', borderRadius: 3, fontColor: '#8BC34A', fontFamily: 'Georgia' } }, { values: [30, 5, 18, 21, 33, 41, 29, 15], backgroundColor: '#00BCD4', lineColor: '#00BCD4', marker: { backgroundColor: '#E0F7FA', borderColor: '#00BCD4', borderWidth: 2, type: 'rpoly5', size: 4 }, tooltip: { backgroundColor: '#E0F7FA', borderColor: '#00BCD4', borderRadius: 3, fontColor: '#00BCD4', fontFamily: 'Georgia' } } ], plot: { aspect: 'spline' } }; zingchart.render({ id: 'myChart', data: chartConfig, height: 400, width: '100%' }); </script> </body> </html>
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>ZingSoft Demo</title> <script src="https://cdn.zingchart.com/zingchart.min.js"></script> </head> <body> <div id='myChart'></div> </body> </html>
let chartConfig = { type: 'area', series: [{ values: [20, 40, 25, 50, 15, 45, 33, 34], backgroundColor: '#FFC107', lineColor: '#FFC107', marker: { backgroundColor: '#FFF8E1', borderColor: '#FFC107', borderWidth: 2, type: 'square', size: 3 }, tooltip: { backgroundColor: '#FFF8E1', borderColor: '#FFC107', borderRadius: 3, fontColor: '#FFC107', fontFamily: 'Georgia' }, }, { values: [5, 30, 21, 18, 59, 50, 28, 33], backgroundColor: '#8BC34A', lineColor: '#8BC34A', marker: { backgroundColor: '#F1F8E9', borderColor: '#8BC34A', borderWidth: 2, type: 'diamond', size: 3 }, tooltip: { backgroundColor: '#F1F8E9', borderColor: '#8BC34A', borderRadius: 3, fontColor: '#8BC34A', fontFamily: 'Georgia' } }, { values: [30, 5, 18, 21, 33, 41, 29, 15], backgroundColor: '#00BCD4', lineColor: '#00BCD4', marker: { backgroundColor: '#E0F7FA', borderColor: '#00BCD4', borderWidth: 2, type: 'rpoly5', size: 4 }, tooltip: { backgroundColor: '#E0F7FA', borderColor: '#00BCD4', borderRadius: 3, fontColor: '#00BCD4', fontFamily: 'Georgia' } } ], plot: { aspect: 'spline' } }; zingchart.render({ id: 'myChart', data: chartConfig, height: 400, width: '100%' });