$(function () { $(‘#container‘).highcharts({ chart: { type: ‘spline‘ // 图的类型 }, title: { text: null }, subtitle: { text: null }, xAxis: { labels: { enabled: false }, title: { text: null }, lineWidth: 0, // x轴线 tickLength: 0 // 刻度 }, yAxis: { labels: { enabled: false }, title: { text: null }, gridLineWidth: 0 // 网格线的宽度,当设置为 0 时,即为不显示网格线 }, exporting: { // 导出功能模块 enabled: false }, plotOptions: { spline: { lineWidth: 2, states: { hover: { enabled: false } }, marker: { enabled: false } } }, tooltip: { enabled: false }, legend: { enabled: false }, series: [{ name: ‘test‘, data: [7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6] }], credits: { enabled: false } }); });
时间: 2024-10-12 21:03:13