Skip to content

Commit 588062a

Browse files
author
pipeline
committed
sample(EJ2-5383): Added Tooltip and Sample values
1 parent 58c7a8a commit 588062a

38 files changed

+73
-59
lines changed

src/chart/chart.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export const chartAppRoutes: Object[] = [
108108

109109
{ path: ':theme/chart/column', component: ColumnChartComponent, name: 'Column', order: '03', category: 'Bar Charts' },
110110
{ path: ':theme/chart/rounded-column', component: RoundedColumnChartComponent, name: 'Rounded Column', order: '03', category: 'Bar Charts' },
111-
{ path: ':theme/chart/column-placement', component: PlacementColumnChartComponent, name: 'Side by Placement', order: '03', category: 'Bar Charts' },
111+
{ path: ':theme/chart/column-placement', component: PlacementColumnChartComponent, name: 'Back to Back Column', order: '03', category: 'Bar Charts' },
112112
{ path: ':theme/chart/bar', component: BarChartComponent, name: 'Bar', order: '03', category: 'Bar Charts' },
113113
{ path: ':theme/chart/stacked-column', component: StackedColumnChartComponent, name: 'Stacked Column', order: '03', category: 'Bar Charts' },
114114
{ path: ':theme/chart/stacked-column100', component: PercentStackedColumnChartComponent, name: '100% Stacked Column', order: '03', category: 'Bar Charts' },
@@ -184,7 +184,7 @@ export const chartAppRoutes: Object[] = [
184184
{ path: ':theme/chart/polar-stackedarea', component: PolarStackedAreaChartComponent, name: 'Stacked Area', order: '10', category: 'Polar Radar' },
185185
{ path: ':theme/chart/polar-scatter', component: PolarScatterChartComponent, name: 'Scatter', order: '10', category: 'Polar Radar' },
186186
{ path: ':theme/chart/polar-column', component: PolarColumnChartComponent, name: 'Column', order: '10', category: 'Polar Radar' },
187-
{ path: ':theme/chart/polar-stackedcolumn', component: PolarStackedColumnChartComponent, name: 'Stacked Column', order: '10', category: 'Polar Radar' },
187+
{ path: ':theme/chart/polar-stackedcolumn', component: PolarStackedColumnChartComponent, name: 'Wind Rose', order: '10', category: 'Polar Radar' },
188188
{ path: ':theme/chart/polar-rangecolumn', component: PolarRangeColumnChartComponent, name: 'Range Column', order: '10', category: 'Polar Radar' },
189189

190190
{ path: ':theme/chart/local-data', component: LocalDataChartComponent, name: 'Local Data', order: '11', category: 'Data Binding' },

src/chart/default-pie-plnkr.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/chart/default-pie.component.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ import { AccumulationChartComponent, AccumulationChart, IAccLoadedEventArgs, Acc
1111
})
1212
export class DefaultPieComponent {
1313
public data: Object[] = [
14-
{ 'x': 'Chrome', y: 37.42, text: '37.42%' }, { 'x': 'UC Browser', y: 16.94, text: '16.94%' },
15-
{ 'x': 'iPhone', y: 17.94, text: '17.94%' },
16-
{ 'x': 'Others', y: 3.69, text: '3.69%' }, { 'x': 'Opera', y: 11.37, text: '11.37%' },
17-
{ 'x': 'Android', y: 11.73, text: '11.73%' }
14+
{ 'x': 'Chrome', y: 37, text: '37%' }, { 'x': 'UC Browser', y: 17, text: '17%' },
15+
{ 'x': 'iPhone', y: 19, text: '19%' },
16+
{ 'x': 'Others', y: 4, text: '4%' }, { 'x': 'Opera', y: 11, text: '11%' },
17+
{ 'x': 'Android', y: 12, text: '12%' }
1818
];
1919

2020
@ViewChild('pie')
@@ -68,8 +68,7 @@ export class DefaultPieComponent {
6868
visible: true,
6969
position: 'Inside', name: 'text',
7070
font: {
71-
fontWeight: '600',
72-
color: '#ffffff'
71+
fontWeight: '600'
7372
}
7473
};
7574
public load(args: IAccLoadedEventArgs): void {

src/chart/doughnut-plnkr.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/chart/doughnut.component.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@ import { AccumulationChartComponent, AccumulationChart, IAccLoadedEventArgs, Acc
1010
encapsulation: ViewEncapsulation.None
1111
})
1212
export class DoughnutComponent {
13-
public data: Object[] = [
14-
{ x: 'Labour', y: 28, text: '28%' }, { x: 'Legal', y: 10, text: '10%' },
15-
{ x: 'Production', y: 20, text: '20%' }, { x: 'License', y: 15, text: '15%' },
16-
{ x: 'Facilities', y: 23, text: '23%' }, { x: 'Taxes', y: 17, text: '17%' },
17-
{ x: 'Insurance', y: 12, text: '12%' }
18-
];
13+
public data: Object[] = [{ x: 'Labour', y: 18, text: '18%' }, { x: 'Legal', y: 8, text: '8%' },
14+
{ x: 'Production', y: 15, text: '15%' }, { x: 'License', y: 11, text: '11%' },
15+
{ x: 'Facilities', y: 18, text: '18%' }, { x: 'Taxes', y: 14, text: '14%' },
16+
{ x: 'Insurance', y: 16, text: '16%' }];
1917
//Initializing Legend
2018
public legendSettings: Object = {
2119
visible: false,

src/chart/funnel-plnkr.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/chart/funnel.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
})
1515
export class FunnelComponent {
1616
public data: Object[] = [{ x: 'Renewed', y: 18.20, text: '18.20%' },
17-
{ x: 'Subscribe', y: 27.3, text: '27.3%' },
17+
{ x: 'Subscribed', y: 27.3, text: '27.3%' },
1818
{ x: 'Support', y: 55.9, text: '55.9%' },
1919
{ x: 'Downloaded', y: 76.8, text: '76.8%' },
2020
{ x: 'Visited', y: 100, text: '100%' }];

src/chart/hilo-plnkr.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/chart/hilo.component.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ export class HiloChartComponent {
6060
};
6161
public crosshair: Object = {
6262
enable: true,
63-
lineType: 'Vertical'
63+
lineType: 'Vertical', line: {
64+
width: 0,
65+
}
6466
};
6567
public load(args: ILoadedEventArgs): void {
6668
let selectedTheme: string = location.hash.split('/')[1];

src/chart/hiloopenclose-plnkr.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)