3条回答 默认 最新
- 爱看夜的猫 2017-03-06 05:51关注
$(function () {
$('#div的id').highcharts({ chart: { type: 'scatter', zoomType: 'xy' }, title: { text: '主标题(不要可去掉)' }, subtitle: { text: '子标题(不要可去掉)' }, xAxis: { title: { enabled: true, text: 'x轴名称' }, startOnTick: true, endOnTick: true, showLastLabel: true }, yAxis: { title: { text: 'Y轴名称' } }, legend: { layout: 'vertical', align: 'left', verticalAlign: 'top', x: 100, y: 70, floating: true, backgroundColor: (Highcharts.theme && Highcharts.theme.legendBackgroundColor) || '#FFFFFF', borderWidth: 1 }, plotOptions: { scatter: { marker: { radius: 5, states: { hover: { enabled: true, lineColor: 'rgb(100,100,100)' } }
解决 无用评论 打赏 举报