Skip to content

Commit b98987b

Browse files
author
pipeline
committed
bug(EJ2-5518): angular sample issues fixed
1 parent 71f1583 commit b98987b

12 files changed

+32
-37
lines changed

src/chart/chart.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export const chartAppRoutes: Object[] = [
193193
{ path: ':theme/chart/numeric-axis', component: NumericAxisChartComponent, name: 'Numeric Axis', order: '12', category: 'Chart Axes' },
194194
{ path: ':theme/chart/datetime', component: DateTimeAxisChartComponent, name: 'DateTime Axis', order: '12', category: 'Chart Axes' },
195195
{ path: ':theme/chart/category', component: CategoryChartComponent, name: 'Category Axis', order: '12', category: 'Chart Axes' },
196-
{ path: ':theme/chart/indexd-axis', component: IndexedAxisChartComponent, name: 'Indexd Category Axis', order: '12', category: 'Chart Axes' },
196+
{ path: ':theme/chart/indexed-axis', component: IndexedAxisChartComponent, name: 'Indexed Category Axis', order: '12', category: 'Chart Axes' },
197197
{ path: ':theme/chart/logarithmic', component: LogarithmicAxisChartComponent, name: 'Log Axis', order: '12', category: 'Chart Axes' },
198198
{ path: ':theme/chart/multiple-axes', component: MultipleAxesChartComponent, name: 'Multiple Axes', order: '12', category: 'Chart Axes' },
199199
{ path: ':theme/chart/inversed', component: InversedAxisChartComponent, name: 'Inversed Axes', order: '12', category: 'Chart Axes' },

src/chart/error-bar-plnkr.json

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

src/chart/error-bar.html

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@
55
</div>
66
<div class="control-section">
77
<div class="col-md-8">
8-
<ej-chart #chart style='display:block;width:92%' id='chartcontainer' [primaryXAxis]='primaryXAxis' [primaryYAxis]='primaryYAxis' [title]='title'
9-
(pointRender)='pointRender($event)' [legendSettings]='legend' [tooltip]='tooltip'[chartArea]='chartArea'>
8+
<ej-chart #chart style='display:block;width:92%' id='chartcontainer' [primaryXAxis]='primaryXAxis' [primaryYAxis]='primaryYAxis' [title]='title' (pointRender)='pointRender($event)' [legendSettings]='legend' [tooltip]='tooltip' [chartArea]='chartArea'>
109
<e-series-collection>
11-
<e-series [dataSource]='data' type='Scatter' xName='x' yName='y' [marker]='marker' [errorBar]='errorBar'>
10+
<e-series [dataSource]='data' type='Scatter' xName='x' yName='y' [marker]='marker' [errorBar]='errorBar' name='Sales'>
1211
</e-series>
1312
</e-series-collection>
1413
</ej-chart>
@@ -89,10 +88,8 @@
8988
</div>
9089
<div id="description">
9190
<p>
92-
In this example, you can see how to render and configure the error bar charts. Line type charts are used for cartesian type
93-
series. You can use error bar by set <code>visible</code> property to true. You can change the error bar
94-
rendering type using <code>type</code> property like fixedValue, percentage, standardDeviation, standardError and
95-
custom option of errorBar. To change the error bar line length you can use <code>verticalError</code> property.
91+
In this example, you can see how to render and configure the error bar charts. Line type charts are used for cartesian type series. You can use error bar by set <code>visible</code> property to true. You can change the error bar rendering type
92+
using <code>type</code> property like fixedValue, percentage, standardDeviation, standardError and custom option of errorBar. To change the error bar line length you can use <code>verticalError</code> property.
9693
</p>
9794
<p>Chart supports the following error bar types.
9895
</p>

src/chart/polar-stackedcolumn-plnkr.json

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

src/chart/polar-stackedcolumn.html

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
<div id="action-description">
22
<p>
3-
This sample demonstrates polar series with stacking column type. The switching between polar and radar series can be done by using <code>Series Type</code> in property panel.
3+
This sample demonstrates polar series with stacking column type. The switching between polar and radar series can be done by using <code>Series Type</code> in property panel.
44
</p>
55
</div>
66
<div class="control-section">
77
<div class="col-lg-9">
8-
<ej-chart #chart style='display:block;' id='chartcontainer' [primaryXAxis]='primaryXAxis' [title]='title'
9-
[tooltip]='tooltip' (load)='load($event)'>
8+
<ej-chart #chart style='display:block;' id='chartcontainer' [primaryXAxis]='primaryXAxis' [title]='title' [tooltip]='tooltip' (load)='load($event)'>
109
<e-series-collection>
11-
<e-series [dataSource]='data' type='Polar' drawType='StackingColumn' xName='x' yName='y' name='' [border]='border'>
10+
<e-series [dataSource]='data' type='Polar' drawType='StackingColumn' xName='x' yName='y' name='6-9' [border]='border'>
1211
</e-series>
13-
<e-series [dataSource]='data' type='Polar' drawType='StackingColumn' xName='x' yName='y1' name='' [border]='border'>
12+
<e-series [dataSource]='data' type='Polar' drawType='StackingColumn' xName='x' yName='y1' name='9-11' [border]='border'>
1413
</e-series>
15-
<e-series [dataSource]='data' type='Polar' drawType='StackingColumn' xName='x' yName='y2' name='' [border]='border'>
14+
<e-series [dataSource]='data' type='Polar' drawType='StackingColumn' xName='x' yName='y2' name='11-14' [border]='border'>
1615
</e-series>
17-
<e-series [dataSource]='data' type='Polar' drawType='StackingColumn' xName='x' yName='y3' name='' [border]='border'>
16+
<e-series [dataSource]='data' type='Polar' drawType='StackingColumn' xName='x' yName='y3' name='14-17' [border]='border'>
1817
</e-series>
19-
<e-series [dataSource]='data' type='Polar' drawType='StackingColumn' xName='x' yName='y4' name='' [border]='border'>
18+
<e-series [dataSource]='data' type='Polar' drawType='StackingColumn' xName='x' yName='y4' name='17-20' [border]='border'>
2019
</e-series>
21-
<e-series [dataSource]='data' type='Polar' drawType='StackingColumn' xName='x' yName='y5' name='' [border]='border'>
20+
<e-series [dataSource]='data' type='Polar' drawType='StackingColumn' xName='x' yName='y5' name='23 Above' [border]='border'>
2221
</e-series>
2322
</e-series-collection>
2423
</ej-chart>
@@ -48,9 +47,8 @@
4847
</div>
4948
<div id="description">
5049
<p>
51-
In this example, you can see how to render and configure the polar series with StackingColumn draw type charts. You can use <code>border</code>,
52-
<code>fill</code> properties to customize the data appearance. <code>dataLabel</code> is used to represent individual
53-
data and its value.
50+
In this example, you can see how to render and configure the polar series with StackingColumn draw type charts. You can use <code>border</code>,
51+
<code>fill</code> properties to customize the data appearance. <code>dataLabel</code> is used to represent individual data and its value.
5452
</p>
5553
<p>
5654
Tooltip is enabled in this example, to see the tooltip in action, hover a point or tap on a point in touch enabled devices.

0 commit comments

Comments
 (0)