highcharts

    xiaoxiao2021-03-25  100

    $(function () {     $('#container').highcharts({         title: {             text: 'Fixed tooltip'         },         tooltip: {             positioner: function () {                 return { x: 80, y: 50 };             },             shadow: false,             borderWidth: 0,             backgroundColor: 'rgba(255,255,255,0.8)'         },         xAxis: {             categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']         },         series: [{             data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]         }, {             data: [194.1, 95.6, 54.4, 29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4]         }]     });

    });

    <div id="container" style="min-width:400px;height:400px;"></div>

    文章来源:https://code.hcharts.cn/highcharts/hhhhGx

    转载请注明原文地址: https://ju.6miu.com/read-40538.html

    最新回复(0)