Skip to content

Commit 230f0b0

Browse files
Polar Chart Spider Web demo: preload font for material theme (DevExpress#30093)
1 parent 8827b78 commit 230f0b0

File tree

6 files changed

+15
-0
lines changed

6 files changed

+15
-0
lines changed

apps/demos/Demos/Charts/SpiderWeb/Angular/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
66
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0" />
8+
<link rel="preload" href="https://fonts.gstatic.com/s/roboto/v48/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBHMdazQ.woff2" as="font" type="font/woff2" crossorigin />
89
<link rel="stylesheet" type="text/css" href="../../../../node_modules/devextreme-dist/css/dx.light.css" />
910

1011
<script src="../../../../node_modules/core-js/client/shim.min.js"></script>

apps/demos/Demos/Charts/SpiderWeb/React/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
66
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0" />
8+
<link rel="preload" href="https://fonts.gstatic.com/s/roboto/v48/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBHMdazQ.woff2" as="font" type="font/woff2" crossorigin />
89
<link rel="stylesheet" type="text/css" href="../../../../node_modules/devextreme-dist/css/dx.light.css" />
910
<link rel="stylesheet" type="text/css" href="styles.css" />
1011

apps/demos/Demos/Charts/SpiderWeb/ReactJs/index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414
name="viewport"
1515
content="width=device-width, initial-scale=1.0, maximum-scale=5.0"
1616
/>
17+
<link
18+
rel="preload"
19+
href="https://fonts.gstatic.com/s/roboto/v48/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBHMdazQ.woff2"
20+
as="font"
21+
type="font/woff2"
22+
crossorigin
23+
/>
1724
<link
1825
rel="stylesheet"
1926
type="text/css"

apps/demos/Demos/Charts/SpiderWeb/Vue/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
66
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0" />
8+
<link rel="preload" href="https://fonts.gstatic.com/s/roboto/v48/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBHMdazQ.woff2" as="font" type="font/woff2" crossorigin />
89
<link rel="stylesheet" type="text/css" href="../../../../node_modules/devextreme-dist/css/dx.light.css" />
910

1011
<script src="../../../../node_modules/typescript/lib/typescript.js"></script>

apps/demos/Demos/Charts/SpiderWeb/jQuery/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0" />
88
<script src="../../../../node_modules/jquery/dist/jquery.min.js"></script>
9+
<link rel="preload" href="https://fonts.gstatic.com/s/roboto/v48/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBHMdazQ.woff2" as="font" type="font/woff2" crossorigin />
910
<link rel="stylesheet" type="text/css" href="../../../../node_modules/devextreme-dist/css/dx.light.css" />
1011
<script src="../../../../node_modules/devextreme-dist/js/dx.all.js"></script>
1112
<script src="data.js"></script>

apps/demos/testing/common.test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ const SKIPPED_TESTS = {
6666
jQuery: {
6767
Charts: [
6868
{ demo: 'ServerSideDataProcessing', themes: [THEME.material] },
69+
{ demo: 'SpiderWeb', themes: [THEME.material] }, // NOTE: Requires preload font, which not work in testcafe
6970
],
7071
Gantt: [
7172
{ demo: 'TaskTemplate', themes: [THEME.generic, THEME.material, THEME.fluent] },
@@ -103,6 +104,7 @@ const SKIPPED_TESTS = {
103104
{ demo: 'MultipleSeriesSelection', themes: [THEME.material] },
104105
{ demo: 'DiscreteAxisZoomingAndScrolling', themes: [THEME.material] },
105106
{ demo: 'PointSelectionAPI', themes: [THEME.material] },
107+
{ demo: 'SpiderWeb', themes: [THEME.material] }, // NOTE: Requires preload font, which not work in testcafe
106108
],
107109
Map: [
108110
{ demo: 'ProvidersAndTypes', themes: [THEME.generic, THEME.material, THEME.fluent] },
@@ -158,6 +160,7 @@ const SKIPPED_TESTS = {
158160
{ demo: 'ClientSideDataProcessing', themes: [THEME.material] },
159161
{ demo: 'ServerSideDataProcessing', themes: [THEME.material] },
160162
{ demo: 'SubvalueIndicatorTextFormatting', themes: [THEME.material] },
163+
{ demo: 'SpiderWeb', themes: [THEME.material] }, // NOTE: Requires preload font, which not work in testcafe
161164
],
162165
DataGrid: [
163166
{ demo: 'SignalRService', themes: [THEME.material, THEME.fluent] },
@@ -230,6 +233,7 @@ const SKIPPED_TESTS = {
230233
{ demo: 'ServerSideDataProcessing', themes: [THEME.material] },
231234
{ demo: 'EqualSizePies', themes: [THEME.material] },
232235
{ demo: 'Palette', themes: [THEME.material] },
236+
{ demo: 'SpiderWeb', themes: [THEME.material] }, // NOTE: Requires preload font, which not work in testcafe
233237
],
234238
DataGrid: [
235239
{ demo: 'SignalRService', themes: [THEME.fluent, THEME.material] },

0 commit comments

Comments
 (0)