小编Lez*_*zon的帖子

使用 npm highcharts 绘制气泡图,错误 #17

我正在尝试使用 npm 版本的 highcharts 绘制带有 highchart 的气泡图,但是出现错误 #17,我已经尝试导入 highcharts-more,但是没有用...

我有以下进口

import $ from "jquery";
import _ from "underscore";
import Logger from 'js-logger';
import Marionette from 'backbone.marionette';
import Highcharts from 'Highcharts';
import 'Highcharts/highcharts-more';
Run Code Online (Sandbox Code Playgroud)

气泡图的选项如下:

settings = {
            chart: {
                type: 'bubble',
                plotBorderWidth: 1,
                zoomType: 'xy'
            },
            legend: {
                enabled: false
            },
            title: {
                text: 'Sugar and fat intake per country'
            },
            subtitle: {
                text: 'Source: <a href="http://www.euromonitor.com/">Euromonitor</a> and <a href="https://data.oecd.org/">OECD</a>'
            },
            xAxis: {
                gridLineWidth: 1,
                title: {
                    text: 'Daily fat intake' …
Run Code Online (Sandbox Code Playgroud)

javascript bubble-chart highcharts node.js

1
推荐指数
1
解决办法
1730
查看次数

标签 统计

bubble-chart ×1

highcharts ×1

javascript ×1

node.js ×1