Highchart Funnel for Angular
Highchart Funnel for Angular
有人在Angular中使用过Highchart漏斗吗?
我使用高图ng(https://github.com/pablojim/highcharts-ng),但对漏斗不起作用。
我使用ng highchart的代码是:
$scope.chartSalesFunnel = {
options: {
chart: {
type: 'funnel',
marginRight: 100
},
plotOptions: {
series: {
dataLabels: {
enabled: true,
format: '<b>{point.name}</b> ({point.y:,.0f})',
color: (Highcharts.theme && Highcharts.theme.contrastTextColor) || 'black',
softConnector: true
},
neckWidth: '30%',
neckHeight: '25%'
//-- Other available options
// height: pixels or percent
// width: pixels or percent
}
},
},
title: {
text: '',
},
legend: {
enabled: false
},
series: [{
name: 'Unique users',
data: [
['Website visits', 15654],
['Downloads', 4064],
['Requested price list', 1987],
['Invoice sent', 976],
['Finalized', 846]
]
}]
};
漏斗图类型需要额外的漏斗模块,如API中所述。
你可以这样包括它:
<script src="https://code.highcharts.com/modules/funnel.js"></script>
请参阅包含此模块的代码的更新JSFiddle。
相关文章:
- 使用Angular JS for WordPress JSON API使用JSON操作数据
- Angular应用程序中FOR循环的意外行为
- angular for循环返回最后一个值
- Angular JS App ng-href compatible for Web and Phonegap / Cor
- Highchart Funnel for Angular
- 如何在 angular.for 每次迭代期间推送新行
- UI Bootstrap for Angular 带有 'collapse' 指令,不调用 expand
- Angular replacement for arguments.callee.caller
- Authorization for window.location.href call in angular js
- Umbraco - routes for Angular
- Angular-Service Array.filter vs basic for loop
- Angular-For Loop HTTP回调/承诺
- Angular For Each循环与post请求
- Angular$scope$注意(for in..)don'不起作用
- Google Maps for Angular指令在函数中不起作用
- angular for Each不使用ng if函数
- angular.js中的for循环异步请求
- 有人能解释一下Angular的as-for-in表达式表示法吗?
- Angular for循环中的承诺
- jascript angular for循环在promise之后执行