Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
141848 | Jan 8,2019 07:25 AM UTC | Jan 9,2019 09:31 AM UTC | Angular - EJ 2 | 1 |
![]() |
Tags: Chart |
<e-accumulation-series-collection>
<e-accumulation-series name='RIO' [dataSource]='data' xName='x' yName='y' [startAngle]="startAngle" [endAngle]="endAngle" innerRadius="0%" [dataLabel]="dataLabel" [palettes]='palettes'> </e-accumulation-series>
</e-accumulation-series-collection> |
//Using palettes for fill points
public palettes:string[] = ['red', 'green', '#ff0097', 'crimson', 'blue', 'darkorange', 'deepskyblue',
'mediumvioletred', 'violet', 'peru', 'gray', 'deeppink', 'navy']; |
<e-accumulation-series-collection>
<e-accumulation-series name='RIO' [dataSource]='data' xName='x' yName='y' [startAngle]="startAngle" [endAngle]="endAngle" innerRadius="0%" [dataLabel]="dataLabel" [pointColorMapping]= 'map'> </e-accumulation-series>
</e-accumulation-series-collection> |
public data: Object[] = [
{ 'x': 'USA', y: 46, text: 'United States of America: 46', fill:'navy'},
/….some code here
];
//point color mapping to customize points
public map: Object = 'fill'
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.