Skip to content

Commit 75210f7

Browse files
author
pipeline
committed
feature(EJ2-5386): Remove fill from trendline samples.
1 parent b1ad3c7 commit 75210f7

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

samples/chart/polar-rangecolumn/app/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
} from '@syncfusion/ej2-react-charts';
1010
import { PropertyPane } from './property-pane';
1111
import { DropDownListComponent } from '@syncfusion/ej2-react-dropdowns';
12-
import { EmitType } from '@syncfusion/ej2-base';
12+
import { EmitType, Browser } from '@syncfusion/ej2-base';
1313
import { SampleBase } from './sample-base';
1414

1515
export let data1: any[] = [
@@ -44,7 +44,7 @@ export class PolarRangeColumn extends SampleBase<{}, {}> {
4444
<div className='control-section row'>
4545
<div className='col-md-8'>
4646
<ChartComponent id='charts' ref={chart => this.chartInstance = chart}
47-
primaryXAxis={{ valueType: 'Category', title: 'month', startAngle: 90, labelPlacement: 'OnTicks', interval: 1 }}
47+
primaryXAxis={{ valueType: 'Category', title: 'month', startAngle: 90, labelPlacement: 'OnTicks', interval: 1, coefficient: Browser.isDevice ? 80 : 100}}
4848
primaryYAxis={{ labelFormat: '{value}˚C', minimum: 0, maximum: 20, interval: 5 }}
4949
title='Maximum and Minimum Temperature' loaded={this.onChartLoad.bind(this)}
5050
load={this.load.bind(this)}

samples/chart/trend-lines/app/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ export class Trend extends SampleBase<{}, {}> {
157157
title='Historical Indian Rupee Rate (INR USD)' loaded={this.onChartLoad.bind(this)}>
158158
<Inject services={[Category, Tooltip, ScatterSeries, SplineSeries, LineSeries, Trendlines]} />
159159
<SeriesCollectionDirective>
160-
<SeriesDirective dataSource={series1} xName='x' yName='y' name='Rupees' type='Spline' fill='#0066FF' marker= { { visible: true } }>
160+
<SeriesDirective dataSource={series1} xName='x' yName='y' name='Rupees' type='Spline' marker= { { visible: true } }>
161161
<TrendlinesDirective>
162-
<TrendlineDirective type='Linear' width={3} marker={{ visible: false }} name='Linear'>
162+
<TrendlineDirective type='Linear' width={3} marker={{ visible: false }} name='Linear' fill='#C64A75'>
163163
</TrendlineDirective>
164164
</TrendlinesDirective>
165165
</SeriesDirective>

src/chart/polar-rangecolumn.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
} from '@syncfusion/ej2-react-charts';
1010
import { PropertyPane } from '../common/property-pane';
1111
import { DropDownListComponent } from '@syncfusion/ej2-react-dropdowns';
12-
import { EmitType } from '@syncfusion/ej2-base';
12+
import { EmitType, Browser } from '@syncfusion/ej2-base';
1313
import { SampleBase } from '../common/sample-base';
1414

1515
export let data1: any[] = [
@@ -44,7 +44,7 @@ export class PolarRangeColumn extends SampleBase<{}, {}> {
4444
<div className='control-section row'>
4545
<div className='col-md-8'>
4646
<ChartComponent id='charts' ref={chart => this.chartInstance = chart}
47-
primaryXAxis={{ valueType: 'Category', title: 'month', startAngle: 90, labelPlacement: 'OnTicks', interval: 1 }}
47+
primaryXAxis={{ valueType: 'Category', title: 'month', startAngle: 90, labelPlacement: 'OnTicks', interval: 1, coefficient: Browser.isDevice ? 80 : 100}}
4848
primaryYAxis={{ labelFormat: '{value}˚C', minimum: 0, maximum: 20, interval: 5 }}
4949
title='Maximum and Minimum Temperature' loaded={this.onChartLoad.bind(this)}
5050
load={this.load.bind(this)}

src/chart/trend-lines.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ export class Trend extends SampleBase<{}, {}> {
157157
title='Historical Indian Rupee Rate (INR USD)' loaded={this.onChartLoad.bind(this)}>
158158
<Inject services={[Category, Tooltip, ScatterSeries, SplineSeries, LineSeries, Trendlines]} />
159159
<SeriesCollectionDirective>
160-
<SeriesDirective dataSource={series1} xName='x' yName='y' name='Rupees' type='Spline' fill='#0066FF' marker= { { visible: true } }>
160+
<SeriesDirective dataSource={series1} xName='x' yName='y' name='Rupees' type='Spline' marker= { { visible: true } }>
161161
<TrendlinesDirective>
162-
<TrendlineDirective type='Linear' width={3} marker={{ visible: false }} name='Linear'>
162+
<TrendlineDirective type='Linear' width={3} marker={{ visible: false }} name='Linear' fill='#C64A75'>
163163
</TrendlineDirective>
164164
</TrendlinesDirective>
165165
</SeriesDirective>

0 commit comments

Comments
 (0)