Skip to content

Commit 7bf8c3e

Browse files
export chart fixes (#383)
1 parent 2fd07ef commit 7bf8c3e

File tree

455 files changed

+19647
-18531
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

455 files changed

+19647
-18531
lines changed

samples/charts/category-chart/annotations-all/index.html

+7-8
Original file line numberDiff line numberDiff line change
@@ -19,50 +19,49 @@
1919
<div class="container sample">
2020
<div class="options vertical">
2121
<igc-property-editor-panel
22-
22+
2323
description-type="CategoryChart"
2424
is-horizontal="true"
2525
is-wrapping-enabled="true"
2626
name="PropertyEditor"
2727
id ="PropertyEditor">
2828
<igc-property-editor-property-description
2929
property-path="CrosshairsDisplayMode"
30-
label="Crosshairs:"
30+
label="Crosshairs: "
3131
primitive-value="Both"
3232
name="CrosshairsDisplayModeEditor"
3333
id ="CrosshairsDisplayModeEditor">
3434
</igc-property-editor-property-description>
3535
<igc-property-editor-property-description
3636
property-path="HighlightingMode"
37-
label="Highlighting:"
37+
label="Highlighting: "
3838
primitive-value="BrightenSpecific"
3939
name="HighlightingModeEditor"
4040
id ="HighlightingModeEditor">
4141
</igc-property-editor-property-description>
4242
<igc-property-editor-property-description
4343
property-path="CalloutsVisible"
44-
label="Callouts:"
44+
label="Callouts: "
4545
primitive-value="True"
4646
should-override-default-editor="true"
4747
name="CalloutsVisibleEditor"
4848
id ="CalloutsVisibleEditor">
4949
</igc-property-editor-property-description>
5050
<igc-property-editor-property-description
5151
property-path="FinalValueAnnotationsVisible"
52-
label="Final Value:"
52+
label="Final Value: "
5353
primitive-value="True"
5454
should-override-default-editor="true"
5555
name="FinalValueAnnotationsEditor"
5656
id ="FinalValueAnnotationsEditor">
5757
</igc-property-editor-property-description>
5858
</igc-property-editor-panel>
5959
</div>
60-
60+
6161
<div class="legend-title">
6262
Average Temperature in Sedney
6363
</div>
64-
65-
64+
6665
<div class="container fill">
6766
<igc-category-chart
6867
chart-type="Column"

samples/charts/category-chart/annotations-all/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
"@infragistics/igniteui-webcomponents-core": "22.2.52",
2626
"@infragistics/igniteui-webcomponents-charts": "22.2.52",
2727
"@infragistics/igniteui-webcomponents-layouts": "22.2.52",
28+
"igniteui-webcomponents": "4.2.2",
2829
"@webcomponents/custom-elements": "^1.4.1",
2930
"@webcomponents/template": "^1.4.2",
3031
"babel-runtime": "^6.26.0",
3132
"core-js": "^3.6.5",
32-
"igniteui-webcomponents": "4.2.2",
3333
"lit-html": "^2.2.0",
3434
"tslib": "^2.0.0"
3535
},
@@ -44,10 +44,11 @@
4444
"babel-loader": "^8.1.0",
4545
"babel-plugin-transform-custom-element-classes": "^0.1.0",
4646
"fork-ts-checker-webpack-plugin": "^4.1.5",
47+
"tsconfig-paths-webpack-plugin": "^4.0.0",
4748
"html-webpack-plugin": "^4.3.0",
4849
"source-map": "^0.7.3",
4950
"typescript": "^4.4.4",
50-
"webpack": "^4.43.0",
51+
"webpack": "^5.74.0",
5152
"webpack-cli": "^3.3.11",
5253
"webpack-dev-server": "^3.11.0",
5354
"parcel-bundler": "^1.6.1",
@@ -56,7 +57,6 @@
5657
"file-loader": "^4.2.0",
5758
"style-loader": "^0.22.1",
5859
"xml-loader": "^1.2.1",
59-
"worker-loader": "^3.0.8",
60-
"tsconfig-paths-webpack-plugin": "^4.0.0"
60+
"worker-loader": "^3.0.8"
6161
}
6262
}

samples/charts/category-chart/annotations-all/src/TemperatureAnnotatedData.ts

+14-14
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ export class TemperatureAnnotatedDataItem {
22
public constructor(init: Partial<TemperatureAnnotatedDataItem>) {
33
Object.assign(this, init);
44
}
5-
5+
66
public index: number;
7-
public temperature: number;
87
public tempInfo: string;
8+
public temperature: number;
99
public month: string;
1010

1111
}
@@ -15,85 +15,85 @@ export class TemperatureAnnotatedData extends Array<TemperatureAnnotatedDataItem
1515
this.push(new TemperatureAnnotatedDataItem(
1616
{
1717
index: 0,
18-
temperature: 27,
1918
tempInfo: `27°C`,
19+
temperature: 27,
2020
month: `Jan`
2121
}));
2222
this.push(new TemperatureAnnotatedDataItem(
2323
{
2424
index: 1,
25-
temperature: 25,
2625
tempInfo: `25°C`,
26+
temperature: 25,
2727
month: `Feb`
2828
}));
2929
this.push(new TemperatureAnnotatedDataItem(
3030
{
3131
index: 2,
32-
temperature: 21,
3332
tempInfo: `21°C`,
33+
temperature: 21,
3434
month: `Mar`
3535
}));
3636
this.push(new TemperatureAnnotatedDataItem(
3737
{
3838
index: 3,
39-
temperature: 19,
4039
tempInfo: `19°C`,
40+
temperature: 19,
4141
month: `Apr`
4242
}));
4343
this.push(new TemperatureAnnotatedDataItem(
4444
{
4545
index: 4,
46-
temperature: 16,
4746
tempInfo: `16°C`,
47+
temperature: 16,
4848
month: `May`
4949
}));
5050
this.push(new TemperatureAnnotatedDataItem(
5151
{
5252
index: 5,
53-
temperature: 13,
5453
tempInfo: `13°C`,
54+
temperature: 13,
5555
month: `Jun`
5656
}));
5757
this.push(new TemperatureAnnotatedDataItem(
5858
{
5959
index: 6,
60-
temperature: 14,
6160
tempInfo: `14°C`,
61+
temperature: 14,
6262
month: `Jul`
6363
}));
6464
this.push(new TemperatureAnnotatedDataItem(
6565
{
6666
index: 7,
67-
temperature: 15,
6867
tempInfo: `15°C`,
68+
temperature: 15,
6969
month: `Aug`
7070
}));
7171
this.push(new TemperatureAnnotatedDataItem(
7272
{
7373
index: 8,
74-
temperature: 19,
7574
tempInfo: `19°C`,
75+
temperature: 19,
7676
month: `Sep`
7777
}));
7878
this.push(new TemperatureAnnotatedDataItem(
7979
{
8080
index: 9,
81-
temperature: 22,
8281
tempInfo: `22°C`,
82+
temperature: 22,
8383
month: `Oct`
8484
}));
8585
this.push(new TemperatureAnnotatedDataItem(
8686
{
8787
index: 10,
88-
temperature: 26,
8988
tempInfo: `26°C`,
89+
temperature: 26,
9090
month: `Nov`
9191
}));
9292
this.push(new TemperatureAnnotatedDataItem(
9393
{
9494
index: 11,
95-
temperature: 30,
9695
tempInfo: `30°C`,
96+
temperature: 30,
9797
month: `Dec`
9898
}));
9999
}

samples/charts/category-chart/annotations-all/src/index.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export class Sample {
2323
private calloutsVisibleEditor: IgcPropertyEditorPropertyDescriptionComponent
2424
private finalValueAnnotationsEditor: IgcPropertyEditorPropertyDescriptionComponent
2525
private chart: IgcCategoryChartComponent
26-
2726
private _bind: () => void;
2827

2928
constructor() {
@@ -41,6 +40,7 @@ export class Sample {
4140
chart.calloutsDataSource = this.temperatureAnnotatedData
4241
}
4342
this._bind();
43+
4444
}
4545

4646
private _temperatureAnnotatedData: TemperatureAnnotatedData = null;
@@ -51,7 +51,6 @@ export class Sample {
5151
}
5252
return this._temperatureAnnotatedData;
5353
}
54-
5554

5655
private _componentRenderer: ComponentRenderer = null;
5756
public get renderer(): ComponentRenderer {
@@ -64,7 +63,6 @@ export class Sample {
6463
return this._componentRenderer;
6564
}
6665

67-
6866
}
6967

7068
new Sample();

samples/charts/category-chart/annotations-all/tsconfig.json

+28-10
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,33 @@
11
{
22
"compilerOptions": {
3-
"noImplicitReturns": true,
4-
"esModuleInterop": true,
5-
"noImplicitAny": true,
6-
"declarationDir": "dist/types",
7-
"moduleResolution": "node",
8-
"declaration": true,
9-
"target": "es2015",
10-
"module": "es2015",
11-
"strict": true,
12-
"strictNullChecks": false
3+
"noImplicitReturns": true,
4+
"esModuleInterop": true,
5+
"noImplicitAny": true,
6+
"declarationDir": "dist/types",
7+
"moduleResolution": "node",
8+
"declaration": true,
9+
"target": "es2015",
10+
"module": "es2015",
11+
"strict": true,
12+
"strictNullChecks": false,
13+
"baseUrl": ".",
14+
"paths": {
15+
"igniteui-webcomponents-core": [ "node_modules/igniteui-webcomponents-core", "node_modules/@infragistics/igniteui-webcomponents-core" ],
16+
"igniteui-webcomponents-charts": [ "node_modules/igniteui-webcomponents-charts", "node_modules/@infragistics/igniteui-webcomponents-charts" ],
17+
"igniteui-webcomponents-gauges": [ "node_modules/igniteui-webcomponents-gauges", "node_modules/@infragistics/igniteui-webcomponents-gauges" ],
18+
"igniteui-webcomponents-datasources": [ "node_modules/igniteui-webcomponents-datasources", "node_modules/@infragistics/igniteui-webcomponents-datasources" ],
19+
"igniteui-webcomponents-excel": [ "node_modules/igniteui-webcomponents-excel", "node_modules/@infragistics/igniteui-webcomponents-excel" ],
20+
"igniteui-webcomponents-inputs": [ "node_modules/igniteui-webcomponents-inputs", "node_modules/@infragistics/igniteui-webcomponents-inputs" ],
21+
"igniteui-webcomponents-grids": [ "node_modules/igniteui-webcomponents-grids", "node_modules/@infragistics/igniteui-webcomponents-grids" ],
22+
"igniteui-webcomponents-maps": [ "node_modules/igniteui-webcomponents-maps", "node_modules/@infragistics/igniteui-webcomponents-maps" ],
23+
"igniteui-webcomponents-spreadsheet": [ "node_modules/igniteui-webcomponents-spreadsheet", "node_modules/@infragistics/igniteui-webcomponents-spreadsheet" ],
24+
"igniteui-webcomponents-spreadsheet-chart-adapter": [ "node_modules/igniteui-webcomponents-spreadsheet-chart-adapter", "node_modules/@infragistics/igniteui-webcomponents-spreadsheet-chart-adapter" ],
25+
"igniteui-webcomponents-grids/*": [ "node_modules/igniteui-webcomponents-grids/*", "node_modules/@infragistics/igniteui-webcomponents-grids/*" ],
26+
"igniteui-webcomponents-grids/grids": [ "node_modules/igniteui-webcomponents-grids/grids", "node_modules/@infragistics/igniteui-webcomponents-grids/grids" ],
27+
"igniteui-webcomponents-grids/grids/*": [ "node_modules/igniteui-webcomponents-grids/grids/*", "node_modules/@infragistics/igniteui-webcomponents-grids/grids/*" ],
28+
"igniteui-webcomponents-grids/grids/combined": [ "node_modules/igniteui-webcomponents-grids/grids/combined", "node_modules/@infragistics/igniteui-webcomponents-grids/grids/combined" ],
29+
"igniteui-webcomponents-layouts": [ "node_modules/igniteui-webcomponents-layouts", "node_modules/@infragistics/igniteui-webcomponents-layouts" ]
30+
}
1331
},
1432
"include": [
1533
"src/**/*"

samples/charts/category-chart/annotations-all/webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ module.exports = env => {
5454
{ test: /\.(csv|tsv)$/, use: ['csv-loader'] },
5555
{ test: /\.xml$/, use: ['xml-loader'] },
5656
{ test: /\.css$/, sideEffects: true, use: ['style-loader', 'css-loader'] },
57-
{ test: /worker\.(ts|js)$/,
57+
{ test: /worker\.(ts|js)$/,
5858
use: [
5959
{ loader: 'worker-loader'},
6060
{ loader: 'babel-loader', options: {

samples/charts/category-chart/annotations-callouts/index.html

+3-4
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<div class="container sample">
2020
<div class="options vertical">
2121
<igc-property-editor-panel
22-
22+
2323
description-type="CategoryChart"
2424
is-horizontal="true"
2525
is-wrapping-enabled="true"
@@ -35,12 +35,11 @@
3535
</igc-property-editor-property-description>
3636
</igc-property-editor-panel>
3737
</div>
38-
38+
3939
<div class="legend-title">
4040
Average Temperature in Sedney
4141
</div>
42-
43-
42+
4443
<div class="container fill">
4544
<igc-category-chart
4645
chart-type="Column"

samples/charts/category-chart/annotations-callouts/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
"@infragistics/igniteui-webcomponents-core": "22.2.52",
2626
"@infragistics/igniteui-webcomponents-charts": "22.2.52",
2727
"@infragistics/igniteui-webcomponents-layouts": "22.2.52",
28+
"igniteui-webcomponents": "4.2.2",
2829
"@webcomponents/custom-elements": "^1.4.1",
2930
"@webcomponents/template": "^1.4.2",
3031
"babel-runtime": "^6.26.0",
3132
"core-js": "^3.6.5",
32-
"igniteui-webcomponents": "4.2.2",
3333
"lit-html": "^2.2.0",
3434
"tslib": "^2.0.0"
3535
},
@@ -44,10 +44,11 @@
4444
"babel-loader": "^8.1.0",
4545
"babel-plugin-transform-custom-element-classes": "^0.1.0",
4646
"fork-ts-checker-webpack-plugin": "^4.1.5",
47+
"tsconfig-paths-webpack-plugin": "^4.0.0",
4748
"html-webpack-plugin": "^4.3.0",
4849
"source-map": "^0.7.3",
4950
"typescript": "^4.4.4",
50-
"webpack": "^4.43.0",
51+
"webpack": "^5.74.0",
5152
"webpack-cli": "^3.3.11",
5253
"webpack-dev-server": "^3.11.0",
5354
"parcel-bundler": "^1.6.1",
@@ -56,7 +57,6 @@
5657
"file-loader": "^4.2.0",
5758
"style-loader": "^0.22.1",
5859
"xml-loader": "^1.2.1",
59-
"worker-loader": "^3.0.8",
60-
"tsconfig-paths-webpack-plugin": "^4.0.0"
60+
"worker-loader": "^3.0.8"
6161
}
6262
}

0 commit comments

Comments
 (0)