绘制Highcharts-Angular 8中的项目符号图

问题描述

我正在使用Highcharts并显示多个图形。但是我看到使用getClockProvider()Bullet Graph的另一种选择。我不知道如何设置Highcharts.setOptions以及现有代码。

在TS文件中-

Highcharts.setOptions

并且在HTML文件中很简单

import { chart } from 'highcharts';
import { Chart,ChartModule } from 'angular-highcharts';

chart_accessor_review = new Chart({    
    chart: {
        type: 'sankey',backgroundColor: '#ffffff'
    },credits: {
        enabled: false
    },title: {
        text: null
    },accessibility: {
        point: {
            valueDescriptionFormat: '{index}. {point.from} to {point.to},{point.weight}.'
        }
    },series: [{
        keys: ['from','to','weight'],data: [
            ['Algorithm','34220',0],['Algorithm','34223',21],'34224',15],'34233',10],'34245',7],'34274','34334',8],'35319',['All',1209],49],1990],784],1689],455],1439],1890]
        ],type: undefined,name: 'Accessor Info',nodeWidth: 250
    }]
});

我想实现这样的目标-https://jsfiddle.net/BlackLabel/p2zwf6e8/,但是在示例中,他们使用了<div [chart]="chart_accessor_review "></div> ,我无法与Highcharts.setOptions一起使用

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

依赖报错 idea导入项目后依赖报错,解决方案:https://blog....
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下...
错误1:gradle项目控制台输出为乱码 # 解决方案:https://bl...
错误还原:在查询的过程中,传入的workType为0时,该条件不起...
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct...