diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs/app/index.jsx
index 0a3ea4903..1034f13ed 100644
--- a/ej2-react/code-snippet/chart/series/100-stackedarea-cs/app/index.jsx
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs/app/index.jsx
@@ -13,13 +13,13 @@ function App() {
return
-
+
-
+
-
+
-
+
;
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs/app/index.tsx
index 7c7adcffa..4065149ea 100644
--- a/ej2-react/code-snippet/chart/series/100-stackedarea-cs/app/index.tsx
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs/app/index.tsx
@@ -20,13 +20,13 @@ function App() {
title='Annual Temperature Comparison'>
-
+
-
+
-
+
-
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs1/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs1/app/datasource.jsx
new file mode 100644
index 000000000..ce0cb7c21
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs1/app/datasource.jsx
@@ -0,0 +1,11 @@
+export let percentData = [
+ { x: new Date(2006, 0, 1), y: 34, y1: 51, y2: 14, y3: 37 },
+ { x: new Date(2007, 0, 1), y: 20, y1: 26, y2: 34, y3: 15 },
+ { x: new Date(2008, 0, 1), y: 40, y1: 37, y2: 73, y3: 53 },
+ { x: new Date(2009, 0, 1), y: 51, y1: 51, y2: 51, y3: 51 },
+ { x: new Date(2010, 0, 1), y: 26, y1: 26, y2: 26, y3: 26 },
+ { x: new Date(2011, 0, 1), y: 37, y1: 37, y2: 37, y3: 37 },
+ { x: new Date(2012, 0, 1), y: 54, y1: 43, y2: 12, y3: 54 },
+ { x: new Date(2013, 0, 1), y: 44, y1: 23, y2: 16, y3: 44 },
+ { x: new Date(2014, 0, 1), y: 48, y1: 55, y2: 34, y3: 23 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs1/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs1/app/datasource.tsx
new file mode 100644
index 000000000..5b37d492e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs1/app/datasource.tsx
@@ -0,0 +1,11 @@
+export let percentData: Object[] = [
+ { x: new Date(2006, 0, 1), y: 34, y1: 51, y2: 14, y3: 37 },
+ { x: new Date(2007, 0, 1), y: 20, y1: 26, y2: 34, y3: 15 },
+ { x: new Date(2008, 0, 1), y: 40, y1: 37, y2: 73, y3: 53 },
+ { x: new Date(2009, 0, 1), y: 51, y1: 51, y2: 51, y3: 51 },
+ { x: new Date(2010, 0, 1), y: 26, y1: 26, y2: 26, y3: 26 },
+ { x: new Date(2011, 0, 1), y: 37, y1: 37, y2: 37, y3: 37 },
+ { x: new Date(2012, 0, 1), y: 54, y1: 43, y2: 12, y3: 54 },
+ { x: new Date(2013, 0, 1), y: 44, y1: 23, y2: 16, y3: 44 },
+ { x: new Date(2014, 0, 1), y: 48, y1: 55, y2: 34, y3: 23 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs1/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs1/app/index.jsx
new file mode 100644
index 000000000..e7f2e7a33
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs1/app/index.jsx
@@ -0,0 +1,31 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, DateTime, Tooltip, DataLabel, StackingAreaSeries } from '@syncfusion/ej2-react-charts';
+import { percentData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ edgeLabelPlacement: 'Shift', labelFormat: 'y'
+ };
+ const primaryyAxis = { title: 'Temperature (%)', labelFormat: '{value}%', rangePadding: 'None' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs1/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs1/app/index.tsx
new file mode 100644
index 000000000..29594c784
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs1/app/index.tsx
@@ -0,0 +1,38 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, DateTime, Tooltip, DataLabel, Zoom, Crosshair, StackingAreaSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { percentData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ edgeLabelPlacement: 'Shift', labelFormat: 'y'};
+ const primaryyAxis: AxisModel = { title: 'Temperature (%)', labelFormat: '{value}%', rangePadding: 'None' };
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs1/index.html b/ej2-react/code-snippet/chart/series/100-stackedarea-cs1/index.html
new file mode 100644
index 000000000..fbfbb8e2d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs1/index.html
@@ -0,0 +1,69 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs1/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedarea-cs1/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs1/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs2/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs2/app/datasource.jsx
new file mode 100644
index 000000000..ce0cb7c21
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs2/app/datasource.jsx
@@ -0,0 +1,11 @@
+export let percentData = [
+ { x: new Date(2006, 0, 1), y: 34, y1: 51, y2: 14, y3: 37 },
+ { x: new Date(2007, 0, 1), y: 20, y1: 26, y2: 34, y3: 15 },
+ { x: new Date(2008, 0, 1), y: 40, y1: 37, y2: 73, y3: 53 },
+ { x: new Date(2009, 0, 1), y: 51, y1: 51, y2: 51, y3: 51 },
+ { x: new Date(2010, 0, 1), y: 26, y1: 26, y2: 26, y3: 26 },
+ { x: new Date(2011, 0, 1), y: 37, y1: 37, y2: 37, y3: 37 },
+ { x: new Date(2012, 0, 1), y: 54, y1: 43, y2: 12, y3: 54 },
+ { x: new Date(2013, 0, 1), y: 44, y1: 23, y2: 16, y3: 44 },
+ { x: new Date(2014, 0, 1), y: 48, y1: 55, y2: 34, y3: 23 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs2/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs2/app/datasource.tsx
new file mode 100644
index 000000000..5b37d492e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs2/app/datasource.tsx
@@ -0,0 +1,11 @@
+export let percentData: Object[] = [
+ { x: new Date(2006, 0, 1), y: 34, y1: 51, y2: 14, y3: 37 },
+ { x: new Date(2007, 0, 1), y: 20, y1: 26, y2: 34, y3: 15 },
+ { x: new Date(2008, 0, 1), y: 40, y1: 37, y2: 73, y3: 53 },
+ { x: new Date(2009, 0, 1), y: 51, y1: 51, y2: 51, y3: 51 },
+ { x: new Date(2010, 0, 1), y: 26, y1: 26, y2: 26, y3: 26 },
+ { x: new Date(2011, 0, 1), y: 37, y1: 37, y2: 37, y3: 37 },
+ { x: new Date(2012, 0, 1), y: 54, y1: 43, y2: 12, y3: 54 },
+ { x: new Date(2013, 0, 1), y: 44, y1: 23, y2: 16, y3: 44 },
+ { x: new Date(2014, 0, 1), y: 48, y1: 55, y2: 34, y3: 23 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs2/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs2/app/index.jsx
new file mode 100644
index 000000000..fde31e3c2
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs2/app/index.jsx
@@ -0,0 +1,31 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, DateTime, Tooltip, DataLabel, StackingAreaSeries } from '@syncfusion/ej2-react-charts';
+import { percentData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ edgeLabelPlacement: 'Shift', labelFormat: 'y'
+ };
+ const primaryyAxis = { title: 'Temperature (%)', labelFormat: '{value}%', rangePadding: 'None' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs2/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs2/app/index.tsx
new file mode 100644
index 000000000..5a3b8f176
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs2/app/index.tsx
@@ -0,0 +1,38 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, DateTime, Tooltip, DataLabel, Zoom, Crosshair, StackingAreaSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { percentData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ edgeLabelPlacement: 'Shift', labelFormat: 'y'};
+ const primaryyAxis: AxisModel = { title: 'Temperature (%)', labelFormat: '{value}%', rangePadding: 'None' };
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs2/index.html b/ej2-react/code-snippet/chart/series/100-stackedarea-cs2/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs2/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs2/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedarea-cs2/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs2/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs3/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs3/app/datasource.jsx
new file mode 100644
index 000000000..ce0cb7c21
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs3/app/datasource.jsx
@@ -0,0 +1,11 @@
+export let percentData = [
+ { x: new Date(2006, 0, 1), y: 34, y1: 51, y2: 14, y3: 37 },
+ { x: new Date(2007, 0, 1), y: 20, y1: 26, y2: 34, y3: 15 },
+ { x: new Date(2008, 0, 1), y: 40, y1: 37, y2: 73, y3: 53 },
+ { x: new Date(2009, 0, 1), y: 51, y1: 51, y2: 51, y3: 51 },
+ { x: new Date(2010, 0, 1), y: 26, y1: 26, y2: 26, y3: 26 },
+ { x: new Date(2011, 0, 1), y: 37, y1: 37, y2: 37, y3: 37 },
+ { x: new Date(2012, 0, 1), y: 54, y1: 43, y2: 12, y3: 54 },
+ { x: new Date(2013, 0, 1), y: 44, y1: 23, y2: 16, y3: 44 },
+ { x: new Date(2014, 0, 1), y: 48, y1: 55, y2: 34, y3: 23 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs3/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs3/app/datasource.tsx
new file mode 100644
index 000000000..5b37d492e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs3/app/datasource.tsx
@@ -0,0 +1,11 @@
+export let percentData: Object[] = [
+ { x: new Date(2006, 0, 1), y: 34, y1: 51, y2: 14, y3: 37 },
+ { x: new Date(2007, 0, 1), y: 20, y1: 26, y2: 34, y3: 15 },
+ { x: new Date(2008, 0, 1), y: 40, y1: 37, y2: 73, y3: 53 },
+ { x: new Date(2009, 0, 1), y: 51, y1: 51, y2: 51, y3: 51 },
+ { x: new Date(2010, 0, 1), y: 26, y1: 26, y2: 26, y3: 26 },
+ { x: new Date(2011, 0, 1), y: 37, y1: 37, y2: 37, y3: 37 },
+ { x: new Date(2012, 0, 1), y: 54, y1: 43, y2: 12, y3: 54 },
+ { x: new Date(2013, 0, 1), y: 44, y1: 23, y2: 16, y3: 44 },
+ { x: new Date(2014, 0, 1), y: 48, y1: 55, y2: 34, y3: 23 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs3/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs3/app/index.jsx
new file mode 100644
index 000000000..0ea76aa34
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs3/app/index.jsx
@@ -0,0 +1,32 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, DateTime, Tooltip, DataLabel, StackingAreaSeries } from '@syncfusion/ej2-react-charts';
+import { percentData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ edgeLabelPlacement: 'Shift', labelFormat: 'y'
+ };
+ const border = { width: 2, color: 'red' };
+ const primaryyAxis = { title: 'Temperature (%)', labelFormat: '{value}%', rangePadding: 'None' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs3/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs3/app/index.tsx
new file mode 100644
index 000000000..82b8bb14f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs3/app/index.tsx
@@ -0,0 +1,38 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, DateTime, Tooltip, DataLabel, Zoom, Crosshair, StackingAreaSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { percentData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ edgeLabelPlacement: 'Shift', labelFormat: 'y'};
+ const primaryyAxis: AxisModel = { title: 'Temperature (%)', labelFormat: '{value}%', rangePadding: 'None' };
+ const border: object = { width: 2, color: 'red' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs3/index.html b/ej2-react/code-snippet/chart/series/100-stackedarea-cs3/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs3/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs3/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedarea-cs3/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs3/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs4/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs4/app/datasource.jsx
new file mode 100644
index 000000000..c2075ea8e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs4/app/datasource.jsx
@@ -0,0 +1,11 @@
+export let percentData = [
+ { x: new Date(2006, 0, 1), y: 34, y1: 51, y2: 14, y3: 37 },
+ { x: new Date(2007, 0, 1), y: 20, y1: 26, y2: 34, y3: 15 },
+ { x: new Date(2008, 0, 1), y: null, y1: 37, y2: 73, y3: 53 },
+ { x: new Date(2009, 0, 1), y: 51, y1: 51, y2: 51, y3: 51 },
+ { x: new Date(2010, 0, 1), y: 26, y1: 26, y2: 26, y3: 26 },
+ { x: new Date(2011, 0, 1), y: 37, y1: 37, y2: undefined, y3: 37 },
+ { x: new Date(2012, 0, 1), y: 54, y1: 43, y2: 12, y3: 54 },
+ { x: new Date(2013, 0, 1), y: 44, y1: 23, y2: 16, y3: 44 },
+ { x: new Date(2014, 0, 1), y: 48, y1: 55, y2: 34, y3: 23 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs4/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs4/app/datasource.tsx
new file mode 100644
index 000000000..cdf5154f0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs4/app/datasource.tsx
@@ -0,0 +1,11 @@
+export let percentData: Object[] = [
+ { x: new Date(2006, 0, 1), y: 34, y1: 51, y2: 14, y3: 37 },
+ { x: new Date(2007, 0, 1), y: 20, y1: 26, y2: 34, y3: 15 },
+ { x: new Date(2008, 0, 1), y: null, y1: 37, y2: 73, y3: 53 },
+ { x: new Date(2009, 0, 1), y: 51, y1: 51, y2: 51, y3: 51 },
+ { x: new Date(2010, 0, 1), y: 26, y1: 26, y2: 26, y3: 26 },
+ { x: new Date(2011, 0, 1), y: 37, y1: 37, y2: undefined, y3: 37 },
+ { x: new Date(2012, 0, 1), y: 54, y1: 43, y2: 12, y3: 54 },
+ { x: new Date(2013, 0, 1), y: 44, y1: 23, y2: 16, y3: 44 },
+ { x: new Date(2014, 0, 1), y: 48, y1: 55, y2: 34, y3: 23 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs4/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs4/app/index.jsx
new file mode 100644
index 000000000..32156f4b2
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs4/app/index.jsx
@@ -0,0 +1,34 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, DateTime, Tooltip, DataLabel, StackingAreaSeries } from '@syncfusion/ej2-react-charts';
+import { percentData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ edgeLabelPlacement: 'Shift', labelFormat: 'y'
+ };
+ const marker = { visible: true };
+ const emptyPoint = { mode: 'Average' };
+ const emptyPoint1 = { mode: 'Zero' };
+ const primaryyAxis = { title: 'Temperature (%)', labelFormat: '{value}%', rangePadding: 'None' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs4/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs4/app/index.tsx
new file mode 100644
index 000000000..7f48dfd33
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs4/app/index.tsx
@@ -0,0 +1,43 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, DateTime, Tooltip, DataLabel, Zoom, Crosshair, StackingAreaSeries, Selection
+}
+ from '@syncfusion/ej2-react-charts';
+import { percentData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ edgeLabelPlacement: 'Shift', labelFormat: 'y'
+ };
+ const primaryyAxis: AxisModel = { title: 'Temperature (%)', labelFormat: '{value}%', rangePadding: 'None' };
+ const marker: object = { visible: true };
+ const emptyPoint: object = { mode: 'Average' };
+ const emptyPoint1: object = { mode: 'Zero' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs4/index.html b/ej2-react/code-snippet/chart/series/100-stackedarea-cs4/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs4/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs4/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedarea-cs4/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs4/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs5/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs5/app/datasource.jsx
new file mode 100644
index 000000000..c2075ea8e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs5/app/datasource.jsx
@@ -0,0 +1,11 @@
+export let percentData = [
+ { x: new Date(2006, 0, 1), y: 34, y1: 51, y2: 14, y3: 37 },
+ { x: new Date(2007, 0, 1), y: 20, y1: 26, y2: 34, y3: 15 },
+ { x: new Date(2008, 0, 1), y: null, y1: 37, y2: 73, y3: 53 },
+ { x: new Date(2009, 0, 1), y: 51, y1: 51, y2: 51, y3: 51 },
+ { x: new Date(2010, 0, 1), y: 26, y1: 26, y2: 26, y3: 26 },
+ { x: new Date(2011, 0, 1), y: 37, y1: 37, y2: undefined, y3: 37 },
+ { x: new Date(2012, 0, 1), y: 54, y1: 43, y2: 12, y3: 54 },
+ { x: new Date(2013, 0, 1), y: 44, y1: 23, y2: 16, y3: 44 },
+ { x: new Date(2014, 0, 1), y: 48, y1: 55, y2: 34, y3: 23 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs5/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs5/app/datasource.tsx
new file mode 100644
index 000000000..cdf5154f0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs5/app/datasource.tsx
@@ -0,0 +1,11 @@
+export let percentData: Object[] = [
+ { x: new Date(2006, 0, 1), y: 34, y1: 51, y2: 14, y3: 37 },
+ { x: new Date(2007, 0, 1), y: 20, y1: 26, y2: 34, y3: 15 },
+ { x: new Date(2008, 0, 1), y: null, y1: 37, y2: 73, y3: 53 },
+ { x: new Date(2009, 0, 1), y: 51, y1: 51, y2: 51, y3: 51 },
+ { x: new Date(2010, 0, 1), y: 26, y1: 26, y2: 26, y3: 26 },
+ { x: new Date(2011, 0, 1), y: 37, y1: 37, y2: undefined, y3: 37 },
+ { x: new Date(2012, 0, 1), y: 54, y1: 43, y2: 12, y3: 54 },
+ { x: new Date(2013, 0, 1), y: 44, y1: 23, y2: 16, y3: 44 },
+ { x: new Date(2014, 0, 1), y: 48, y1: 55, y2: 34, y3: 23 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs5/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs5/app/index.jsx
new file mode 100644
index 000000000..bbc4f0f7d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs5/app/index.jsx
@@ -0,0 +1,34 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, DateTime, Tooltip, DataLabel, StackingAreaSeries } from '@syncfusion/ej2-react-charts';
+import { percentData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ edgeLabelPlacement: 'Shift', labelFormat: 'y'
+ };
+ const marker = { visible: true };
+ const emptyPoint = { mode: 'Average', fill: 'red' };
+ const emptyPoint1 = { mode: 'Zero' };
+ const primaryyAxis = { title: 'Temperature (%)', labelFormat: '{value}%', rangePadding: 'None' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs5/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs5/app/index.tsx
new file mode 100644
index 000000000..d7bd743dc
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs5/app/index.tsx
@@ -0,0 +1,43 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, DateTime, Tooltip, DataLabel, Zoom, Crosshair, StackingAreaSeries, Selection
+}
+ from '@syncfusion/ej2-react-charts';
+import { percentData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ edgeLabelPlacement: 'Shift', labelFormat: 'y'
+ };
+ const primaryyAxis: AxisModel = { title: 'Temperature (%)', labelFormat: '{value}%', rangePadding: 'None' };
+ const marker: object = { visible: true };
+ const emptyPoint: object = { mode: 'Average', fill: 'red' };
+ const emptyPoint1: object = { mode: 'Zero' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs5/index.html b/ej2-react/code-snippet/chart/series/100-stackedarea-cs5/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs5/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs5/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedarea-cs5/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs5/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs6/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs6/app/datasource.jsx
new file mode 100644
index 000000000..c2075ea8e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs6/app/datasource.jsx
@@ -0,0 +1,11 @@
+export let percentData = [
+ { x: new Date(2006, 0, 1), y: 34, y1: 51, y2: 14, y3: 37 },
+ { x: new Date(2007, 0, 1), y: 20, y1: 26, y2: 34, y3: 15 },
+ { x: new Date(2008, 0, 1), y: null, y1: 37, y2: 73, y3: 53 },
+ { x: new Date(2009, 0, 1), y: 51, y1: 51, y2: 51, y3: 51 },
+ { x: new Date(2010, 0, 1), y: 26, y1: 26, y2: 26, y3: 26 },
+ { x: new Date(2011, 0, 1), y: 37, y1: 37, y2: undefined, y3: 37 },
+ { x: new Date(2012, 0, 1), y: 54, y1: 43, y2: 12, y3: 54 },
+ { x: new Date(2013, 0, 1), y: 44, y1: 23, y2: 16, y3: 44 },
+ { x: new Date(2014, 0, 1), y: 48, y1: 55, y2: 34, y3: 23 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs6/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs6/app/datasource.tsx
new file mode 100644
index 000000000..cdf5154f0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs6/app/datasource.tsx
@@ -0,0 +1,11 @@
+export let percentData: Object[] = [
+ { x: new Date(2006, 0, 1), y: 34, y1: 51, y2: 14, y3: 37 },
+ { x: new Date(2007, 0, 1), y: 20, y1: 26, y2: 34, y3: 15 },
+ { x: new Date(2008, 0, 1), y: null, y1: 37, y2: 73, y3: 53 },
+ { x: new Date(2009, 0, 1), y: 51, y1: 51, y2: 51, y3: 51 },
+ { x: new Date(2010, 0, 1), y: 26, y1: 26, y2: 26, y3: 26 },
+ { x: new Date(2011, 0, 1), y: 37, y1: 37, y2: undefined, y3: 37 },
+ { x: new Date(2012, 0, 1), y: 54, y1: 43, y2: 12, y3: 54 },
+ { x: new Date(2013, 0, 1), y: 44, y1: 23, y2: 16, y3: 44 },
+ { x: new Date(2014, 0, 1), y: 48, y1: 55, y2: 34, y3: 23 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs6/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs6/app/index.jsx
new file mode 100644
index 000000000..40143841b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs6/app/index.jsx
@@ -0,0 +1,34 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, DateTime, Tooltip, DataLabel, StackingAreaSeries } from '@syncfusion/ej2-react-charts';
+import { percentData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ edgeLabelPlacement: 'Shift', labelFormat: 'y'
+ };
+ const marker = { visible: true };
+ const emptyPoint = { mode: 'Average', fill: 'red', border: {width:2, color: 'green'} };
+ const emptyPoint1 = { mode: 'Zero' };
+ const primaryyAxis = { title: 'Temperature (%)', labelFormat: '{value}%', rangePadding: 'None' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs6/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs6/app/index.tsx
new file mode 100644
index 000000000..139ea54c0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs6/app/index.tsx
@@ -0,0 +1,43 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, DateTime, Tooltip, DataLabel, Zoom, Crosshair, StackingAreaSeries, Selection
+}
+ from '@syncfusion/ej2-react-charts';
+import { percentData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ edgeLabelPlacement: 'Shift', labelFormat: 'y'
+ };
+ const primaryyAxis: AxisModel = { title: 'Temperature (%)', labelFormat: '{value}%', rangePadding: 'None' };
+ const marker: object = { visible: true };
+ const emptyPoint: object = { mode: 'Average', fill: 'red', border: {width:2, color: 'green'}};
+ const emptyPoint1: object = { mode: 'Zero' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs6/index.html b/ej2-react/code-snippet/chart/series/100-stackedarea-cs6/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs6/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs6/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedarea-cs6/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs6/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs7/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs7/app/datasource.jsx
new file mode 100644
index 000000000..ce0cb7c21
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs7/app/datasource.jsx
@@ -0,0 +1,11 @@
+export let percentData = [
+ { x: new Date(2006, 0, 1), y: 34, y1: 51, y2: 14, y3: 37 },
+ { x: new Date(2007, 0, 1), y: 20, y1: 26, y2: 34, y3: 15 },
+ { x: new Date(2008, 0, 1), y: 40, y1: 37, y2: 73, y3: 53 },
+ { x: new Date(2009, 0, 1), y: 51, y1: 51, y2: 51, y3: 51 },
+ { x: new Date(2010, 0, 1), y: 26, y1: 26, y2: 26, y3: 26 },
+ { x: new Date(2011, 0, 1), y: 37, y1: 37, y2: 37, y3: 37 },
+ { x: new Date(2012, 0, 1), y: 54, y1: 43, y2: 12, y3: 54 },
+ { x: new Date(2013, 0, 1), y: 44, y1: 23, y2: 16, y3: 44 },
+ { x: new Date(2014, 0, 1), y: 48, y1: 55, y2: 34, y3: 23 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs7/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs7/app/datasource.tsx
new file mode 100644
index 000000000..5b37d492e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs7/app/datasource.tsx
@@ -0,0 +1,11 @@
+export let percentData: Object[] = [
+ { x: new Date(2006, 0, 1), y: 34, y1: 51, y2: 14, y3: 37 },
+ { x: new Date(2007, 0, 1), y: 20, y1: 26, y2: 34, y3: 15 },
+ { x: new Date(2008, 0, 1), y: 40, y1: 37, y2: 73, y3: 53 },
+ { x: new Date(2009, 0, 1), y: 51, y1: 51, y2: 51, y3: 51 },
+ { x: new Date(2010, 0, 1), y: 26, y1: 26, y2: 26, y3: 26 },
+ { x: new Date(2011, 0, 1), y: 37, y1: 37, y2: 37, y3: 37 },
+ { x: new Date(2012, 0, 1), y: 54, y1: 43, y2: 12, y3: 54 },
+ { x: new Date(2013, 0, 1), y: 44, y1: 23, y2: 16, y3: 44 },
+ { x: new Date(2014, 0, 1), y: 48, y1: 55, y2: 34, y3: 23 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs7/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs7/app/index.jsx
new file mode 100644
index 000000000..cb29011e1
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs7/app/index.jsx
@@ -0,0 +1,46 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, DateTime, Tooltip, DataLabel, StackingAreaSeries } from '@syncfusion/ej2-react-charts';
+import { percentData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ edgeLabelPlacement: 'Shift', labelFormat: 'y'
+ };
+ const marker = { visible: true };
+ const seriesRender = (args) => {
+ if (args.series.index === 0) {
+ args.fill = '#ff4251';
+ }
+ else if (args.series.index === 1) {
+ args.fill = '#4C4C4C';
+ }
+ else if (args.series.index === 2) {
+ args.fill = '#794F1B';
+ }
+ else if (args.series.index === 3) {
+ args.fill = '#1a9a6f';
+ }
+ };
+ const primaryyAxis = { title: 'Temperature (%)', labelFormat: '{value}%', rangePadding: 'None' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs7/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs7/app/index.tsx
new file mode 100644
index 000000000..6b97bff69
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs7/app/index.tsx
@@ -0,0 +1,55 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, DateTime, Tooltip, DataLabel, Zoom, Crosshair, StackingAreaSeries, ISeriesRenderEventArgs
+}
+ from '@syncfusion/ej2-react-charts';
+import { percentData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ edgeLabelPlacement: 'Shift', labelFormat: 'y'
+ };
+ const primaryyAxis: AxisModel = { title: 'Temperature (%)', labelFormat: '{value}%', rangePadding: 'None' };
+ const marker: object = { visible: true };
+ const seriesRender = (args: ISeriesRenderEventArgs) => {
+ if (args.series.index === 0) {
+ args.fill = '#ff4251';
+ }
+ else if (args.series.index === 1) {
+ args.fill = '#4C4C4C';
+ }
+ else if (args.series.index === 2) {
+ args.fill = '#794F1B';
+ }
+ else if (args.series.index === 3) {
+ args.fill = '#1a9a6f';
+ }
+};
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs7/index.html b/ej2-react/code-snippet/chart/series/100-stackedarea-cs7/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs7/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs7/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedarea-cs7/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs7/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs8/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs8/app/datasource.jsx
new file mode 100644
index 000000000..ce0cb7c21
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs8/app/datasource.jsx
@@ -0,0 +1,11 @@
+export let percentData = [
+ { x: new Date(2006, 0, 1), y: 34, y1: 51, y2: 14, y3: 37 },
+ { x: new Date(2007, 0, 1), y: 20, y1: 26, y2: 34, y3: 15 },
+ { x: new Date(2008, 0, 1), y: 40, y1: 37, y2: 73, y3: 53 },
+ { x: new Date(2009, 0, 1), y: 51, y1: 51, y2: 51, y3: 51 },
+ { x: new Date(2010, 0, 1), y: 26, y1: 26, y2: 26, y3: 26 },
+ { x: new Date(2011, 0, 1), y: 37, y1: 37, y2: 37, y3: 37 },
+ { x: new Date(2012, 0, 1), y: 54, y1: 43, y2: 12, y3: 54 },
+ { x: new Date(2013, 0, 1), y: 44, y1: 23, y2: 16, y3: 44 },
+ { x: new Date(2014, 0, 1), y: 48, y1: 55, y2: 34, y3: 23 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs8/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs8/app/datasource.tsx
new file mode 100644
index 000000000..5b37d492e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs8/app/datasource.tsx
@@ -0,0 +1,11 @@
+export let percentData: Object[] = [
+ { x: new Date(2006, 0, 1), y: 34, y1: 51, y2: 14, y3: 37 },
+ { x: new Date(2007, 0, 1), y: 20, y1: 26, y2: 34, y3: 15 },
+ { x: new Date(2008, 0, 1), y: 40, y1: 37, y2: 73, y3: 53 },
+ { x: new Date(2009, 0, 1), y: 51, y1: 51, y2: 51, y3: 51 },
+ { x: new Date(2010, 0, 1), y: 26, y1: 26, y2: 26, y3: 26 },
+ { x: new Date(2011, 0, 1), y: 37, y1: 37, y2: 37, y3: 37 },
+ { x: new Date(2012, 0, 1), y: 54, y1: 43, y2: 12, y3: 54 },
+ { x: new Date(2013, 0, 1), y: 44, y1: 23, y2: 16, y3: 44 },
+ { x: new Date(2014, 0, 1), y: 48, y1: 55, y2: 34, y3: 23 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs8/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs8/app/index.jsx
new file mode 100644
index 000000000..f0d0ac9f7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs8/app/index.jsx
@@ -0,0 +1,40 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, DateTime, Tooltip, DataLabel, StackingAreaSeries } from '@syncfusion/ej2-react-charts';
+import { percentData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ edgeLabelPlacement: 'Shift', labelFormat: 'y'
+ };
+ const marker = { visible: true };
+ const pointRender = (args) => {
+ if (args.point.index % 2 !==0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ };
+ const primaryyAxis = { title: 'Temperature (%)', labelFormat: '{value}%', rangePadding: 'None' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs8/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedarea-cs8/app/index.tsx
new file mode 100644
index 000000000..dd3f26ef2
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs8/app/index.tsx
@@ -0,0 +1,50 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, DateTime, Tooltip, DataLabel, Zoom, Crosshair, StackingAreaSeries, IPointRenderEventArgs
+}
+ from '@syncfusion/ej2-react-charts';
+import { percentData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ edgeLabelPlacement: 'Shift', labelFormat: 'y'
+ };
+ const primaryyAxis: AxisModel = { title: 'Temperature (%)', labelFormat: '{value}%', rangePadding: 'None' };
+ const marker: object = { visible: true };
+ const pointRender = (args: IPointRenderEventArgs) => {
+ if (args.point.index % 2 !==0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+
+};
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs8/index.html b/ej2-react/code-snippet/chart/series/100-stackedarea-cs8/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs8/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedarea-cs8/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedarea-cs8/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedarea-cs8/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs/app/index.jsx
index a0f97e133..146566ab4 100644
--- a/ej2-react/code-snippet/chart/series/100-stackedbar-cs/app/index.jsx
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs/app/index.jsx
@@ -13,11 +13,11 @@ function App() {
return
-
+
-
+
-
+
;
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs/app/index.tsx
index 3017e73dc..1b8c1bb56 100644
--- a/ej2-react/code-snippet/chart/series/100-stackedbar-cs/app/index.tsx
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs/app/index.tsx
@@ -21,11 +21,11 @@ function App() {
title='Sales Comparison'>
-
+
-
+
-
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs1/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs1/app/datasource.jsx
new file mode 100644
index 000000000..60faa75f6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs1/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let stackBarData = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: 35, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs1/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs1/app/datasource.tsx
new file mode 100644
index 000000000..bb9818c75
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs1/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let stackBarData: Object[] = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: 35, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs1/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs1/app/index.jsx
new file mode 100644
index 000000000..3b03663bf
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs1/app/index.jsx
@@ -0,0 +1,29 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingBarSeries } from '@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ return
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs1/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs1/app/index.tsx
new file mode 100644
index 000000000..9359a8cbe
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs1/app/index.tsx
@@ -0,0 +1,37 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingBarSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis: AxisModel = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs1/index.html b/ej2-react/code-snippet/chart/series/100-stackedbar-cs1/index.html
new file mode 100644
index 000000000..e4fa03cc3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs1/index.html
@@ -0,0 +1,58 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs1/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedbar-cs1/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs1/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs2/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs2/app/datasource.jsx
new file mode 100644
index 000000000..60faa75f6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs2/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let stackBarData = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: 35, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs2/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs2/app/datasource.tsx
new file mode 100644
index 000000000..bb9818c75
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs2/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let stackBarData: Object[] = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: 35, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs2/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs2/app/index.jsx
new file mode 100644
index 000000000..e07d7b006
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs2/app/index.jsx
@@ -0,0 +1,29 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingBarSeries } from '@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ return
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs2/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs2/app/index.tsx
new file mode 100644
index 000000000..913252949
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs2/app/index.tsx
@@ -0,0 +1,37 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingBarSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis: AxisModel = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs2/index.html b/ej2-react/code-snippet/chart/series/100-stackedbar-cs2/index.html
new file mode 100644
index 000000000..e4fa03cc3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs2/index.html
@@ -0,0 +1,58 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs2/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedbar-cs2/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs2/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs3/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs3/app/datasource.jsx
new file mode 100644
index 000000000..60faa75f6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs3/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let stackBarData = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: 35, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs3/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs3/app/datasource.tsx
new file mode 100644
index 000000000..bb9818c75
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs3/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let stackBarData: Object[] = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: 35, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs3/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs3/app/index.jsx
new file mode 100644
index 000000000..e23576069
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs3/app/index.jsx
@@ -0,0 +1,30 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingBarSeries } from '@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const border = { width:1.5, color: 'black'};
+ return
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs3/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs3/app/index.tsx
new file mode 100644
index 000000000..da3cdbee3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs3/app/index.tsx
@@ -0,0 +1,37 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingBarSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis: AxisModel = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const border: object = { width:1.5, color: 'black'};
+ return
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs3/index.html b/ej2-react/code-snippet/chart/series/100-stackedbar-cs3/index.html
new file mode 100644
index 000000000..e4fa03cc3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs3/index.html
@@ -0,0 +1,58 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs3/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedbar-cs3/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs3/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs4/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs4/app/datasource.jsx
new file mode 100644
index 000000000..60faa75f6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs4/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let stackBarData = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: 35, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs4/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs4/app/datasource.tsx
new file mode 100644
index 000000000..bb9818c75
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs4/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let stackBarData: Object[] = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: 35, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs4/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs4/app/index.jsx
new file mode 100644
index 000000000..aafa7375f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs4/app/index.jsx
@@ -0,0 +1,30 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingBarSeries } from '@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const border = { width:1.5, color: 'black'};
+ return
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs4/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs4/app/index.tsx
new file mode 100644
index 000000000..815bd7141
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs4/app/index.tsx
@@ -0,0 +1,37 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingBarSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis: AxisModel = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const border: object = { width:1.5, color: 'black'};
+ return
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs4/index.html b/ej2-react/code-snippet/chart/series/100-stackedbar-cs4/index.html
new file mode 100644
index 000000000..e4fa03cc3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs4/index.html
@@ -0,0 +1,58 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs4/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedbar-cs4/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs4/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs5/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs5/app/datasource.jsx
new file mode 100644
index 000000000..7b5365b12
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs5/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let stackBarData = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: null },
+ { x: 'May', y: 20, y1: null, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: null, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs5/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs5/app/datasource.tsx
new file mode 100644
index 000000000..1d2c98ad4
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs5/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let stackBarData: Object[] = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: null },
+ { x: 'May', y: 20, y1: null, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: null, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs5/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs5/app/index.jsx
new file mode 100644
index 000000000..6f7f0f0c0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs5/app/index.jsx
@@ -0,0 +1,32 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingBarSeries } from '@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const emptyPoint = { mode: 'Zero' };
+ const emptyPoint1 = { mode: 'Gap' };
+ const emptyPoint2 = { mode: 'Average' };
+ return
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs5/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs5/app/index.tsx
new file mode 100644
index 000000000..3e62ec929
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs5/app/index.tsx
@@ -0,0 +1,39 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingBarSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis: AxisModel = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const emptyPoint: object = { mode: 'Zero' };
+ const emptyPoint1: object = { mode: 'Gap' };
+ const emptyPoint2: object = { mode: 'Average' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs5/index.html b/ej2-react/code-snippet/chart/series/100-stackedbar-cs5/index.html
new file mode 100644
index 000000000..e4fa03cc3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs5/index.html
@@ -0,0 +1,58 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs5/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedbar-cs5/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs5/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs6/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs6/app/datasource.jsx
new file mode 100644
index 000000000..7b5365b12
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs6/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let stackBarData = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: null },
+ { x: 'May', y: 20, y1: null, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: null, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs6/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs6/app/datasource.tsx
new file mode 100644
index 000000000..1d2c98ad4
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs6/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let stackBarData: Object[] = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: null },
+ { x: 'May', y: 20, y1: null, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: null, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs6/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs6/app/index.jsx
new file mode 100644
index 000000000..89d1afc6b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs6/app/index.jsx
@@ -0,0 +1,32 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingBarSeries } from '@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const emptyPoint = { mode: 'Zero' };
+ const emptyPoint1 = { mode: 'Gap' };
+ const emptyPoint2 = { mode: 'Average', fill: 'red' };
+ return
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs6/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs6/app/index.tsx
new file mode 100644
index 000000000..1d1da5d6f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs6/app/index.tsx
@@ -0,0 +1,39 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingBarSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis: AxisModel = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const emptyPoint: object = { mode: 'Zero' };
+ const emptyPoint1: object = { mode: 'Gap' };
+ const emptyPoint2: object = { mode: 'Average', fill: 'red'};
+ return
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs6/index.html b/ej2-react/code-snippet/chart/series/100-stackedbar-cs6/index.html
new file mode 100644
index 000000000..e4fa03cc3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs6/index.html
@@ -0,0 +1,58 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs6/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedbar-cs6/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs6/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs7/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs7/app/datasource.jsx
new file mode 100644
index 000000000..7b5365b12
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs7/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let stackBarData = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: null },
+ { x: 'May', y: 20, y1: null, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: null, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs7/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs7/app/datasource.tsx
new file mode 100644
index 000000000..1d2c98ad4
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs7/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let stackBarData: Object[] = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: null },
+ { x: 'May', y: 20, y1: null, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: null, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs7/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs7/app/index.jsx
new file mode 100644
index 000000000..8c9e67b1f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs7/app/index.jsx
@@ -0,0 +1,32 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingBarSeries } from '@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const emptyPoint = { mode: 'Zero' };
+ const emptyPoint1 = { mode: 'Gap' };
+ const emptyPoint2 = { mode: 'Average', fill: 'red', border: { width: 2, color: 'blue'} };
+ return
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs7/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs7/app/index.tsx
new file mode 100644
index 000000000..a585dde2c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs7/app/index.tsx
@@ -0,0 +1,39 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingBarSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis: AxisModel = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const emptyPoint: object = { mode: 'Zero' };
+ const emptyPoint1: object = { mode: 'Gap' };
+ const emptyPoint2: object = { mode: 'Average', fill: 'red', border: { width: 2, color: 'blue'} };
+ return
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs7/index.html b/ej2-react/code-snippet/chart/series/100-stackedbar-cs7/index.html
new file mode 100644
index 000000000..e4fa03cc3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs7/index.html
@@ -0,0 +1,58 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs7/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedbar-cs7/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs7/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs8/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs8/app/datasource.jsx
new file mode 100644
index 000000000..60faa75f6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs8/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let stackBarData = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: 35, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs8/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs8/app/datasource.tsx
new file mode 100644
index 000000000..bb9818c75
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs8/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let stackBarData: Object[] = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: 35, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs8/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs8/app/index.jsx
new file mode 100644
index 000000000..706163dd7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs8/app/index.jsx
@@ -0,0 +1,40 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingBarSeries } from '@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const seriesRender = (args) => {
+ if (args.series.index === 0) {
+ args.fill = '#ff4251';
+ }
+ else if (args.series.index === 1) {
+ args.fill = '#4C4C4C';
+ }
+ else if (args.series.index === 2) {
+ args.fill = '#794F1B';
+ }
+ }
+ return
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs8/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs8/app/index.tsx
new file mode 100644
index 000000000..35783dbbf
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs8/app/index.tsx
@@ -0,0 +1,48 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingBarSeries, ISeriesRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis: AxisModel = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+const seriesRender = (args: ISeriesRenderEventArgs) => {
+ if (args.series.index === 0) {
+ args.fill = '#ff4251';
+ }
+ else if (args.series.index === 1) {
+ args.fill = '#4C4C4C';
+ }
+ else if (args.series.index === 2) {
+ args.fill = '#794F1B';
+ }
+};
+ return
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs8/index.html b/ej2-react/code-snippet/chart/series/100-stackedbar-cs8/index.html
new file mode 100644
index 000000000..e4fa03cc3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs8/index.html
@@ -0,0 +1,58 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs8/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedbar-cs8/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs8/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs9/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs9/app/datasource.jsx
new file mode 100644
index 000000000..60faa75f6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs9/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let stackBarData = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: 35, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs9/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs9/app/datasource.tsx
new file mode 100644
index 000000000..bb9818c75
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs9/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let stackBarData: Object[] = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: 35, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs9/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs9/app/index.jsx
new file mode 100644
index 000000000..ef9244753
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs9/app/index.jsx
@@ -0,0 +1,37 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingBarSeries } from '@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const pointRender = (args) => {
+ if (args.point.series.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ };
+ return
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs9/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedbar-cs9/app/index.tsx
new file mode 100644
index 000000000..eb2a3db6f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs9/app/index.tsx
@@ -0,0 +1,45 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingBarSeries, IPointRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis: AxisModel = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+const pointRender = (args: IPointRenderEventArgs) => {
+ if (args.point.series.index % 2 !== 0) {
+ args.fill = '#ff6347';
+}
+else {
+ args.fill = '#009cb8';
+}
+};
+ return
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs9/index.html b/ej2-react/code-snippet/chart/series/100-stackedbar-cs9/index.html
new file mode 100644
index 000000000..e4fa03cc3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs9/index.html
@@ -0,0 +1,58 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedbar-cs9/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedbar-cs9/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedbar-cs9/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs/app/index.jsx
index 20070601b..d48697df6 100644
--- a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs/app/index.jsx
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs/app/index.jsx
@@ -10,13 +10,13 @@ function App() {
return
-
+
-
+
-
+
-
+
;
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs/app/index.tsx
index 775b24465..425b6c02a 100644
--- a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs/app/index.tsx
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs/app/index.tsx
@@ -18,13 +18,13 @@ function App() {
title='Gross Domestic Product Growth'>
-
+
-
+
-
+
-
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs1/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs1/app/datasource.jsx
new file mode 100644
index 000000000..a7879224d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs1/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let columnperData = [
+ { x: '2006', y: 900, y1: 190, y2: 250, y3: 150 },
+ { x: '2007', y: 544, y1: 226, y2: 145, y3: 120 },
+ { x: '2008', y: 880, y1: 194, y2: 190, y3: 115 },
+ { x: '2009', y: 675, y1: 250, y2: 220, y3: 125 },
+ { x: '2010', y: 765, y1: 222, y2: 225, y3: 132 },
+ { x: '2011', y: 679, y1: 181, y2: 135, y3: 137 },
+ { x: '2012', y: 770, y1: 128, y2: 152, y3: 110 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs1/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs1/app/datasource.tsx
new file mode 100644
index 000000000..cbe8240dc
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs1/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let columnperData: Object[] = [
+ { x: '2006', y: 900, y1: 190, y2: 250, y3: 150 },
+ { x: '2007', y: 544, y1: 226, y2: 145, y3: 120 },
+ { x: '2008', y: 880, y1: 194, y2: 190, y3: 115 },
+ { x: '2009', y: 675, y1: 250, y2: 220, y3: 125 },
+ { x: '2010', y: 765, y1: 222, y2: 225, y3: 132 },
+ { x: '2011', y: 679, y1: 181, y2: 135, y3: 137 },
+ { x: '2012', y: 770, y1: 128, y2: 152, y3: 110 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs1/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs1/app/index.jsx
new file mode 100644
index 000000000..40f4a4d28
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs1/app/index.jsx
@@ -0,0 +1,28 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingColumnSeries } from '@syncfusion/ej2-react-charts';
+import { columnperData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis = { title: 'GDP (%) Per Annum', rangePadding: 'None', labelFormat: '{value}%' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs1/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs1/app/index.tsx
new file mode 100644
index 000000000..2629cebb5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs1/app/index.tsx
@@ -0,0 +1,36 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { columnperData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis: AxisModel = { title: 'GDP (%) Per Annum', rangePadding: 'None', labelFormat: '{value}%' };
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs1/index.html b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs1/index.html
new file mode 100644
index 000000000..efa2e6e28
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs1/index.html
@@ -0,0 +1,66 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs1/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs1/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs1/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs2/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs2/app/datasource.jsx
new file mode 100644
index 000000000..a7879224d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs2/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let columnperData = [
+ { x: '2006', y: 900, y1: 190, y2: 250, y3: 150 },
+ { x: '2007', y: 544, y1: 226, y2: 145, y3: 120 },
+ { x: '2008', y: 880, y1: 194, y2: 190, y3: 115 },
+ { x: '2009', y: 675, y1: 250, y2: 220, y3: 125 },
+ { x: '2010', y: 765, y1: 222, y2: 225, y3: 132 },
+ { x: '2011', y: 679, y1: 181, y2: 135, y3: 137 },
+ { x: '2012', y: 770, y1: 128, y2: 152, y3: 110 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs2/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs2/app/datasource.tsx
new file mode 100644
index 000000000..cbe8240dc
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs2/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let columnperData: Object[] = [
+ { x: '2006', y: 900, y1: 190, y2: 250, y3: 150 },
+ { x: '2007', y: 544, y1: 226, y2: 145, y3: 120 },
+ { x: '2008', y: 880, y1: 194, y2: 190, y3: 115 },
+ { x: '2009', y: 675, y1: 250, y2: 220, y3: 125 },
+ { x: '2010', y: 765, y1: 222, y2: 225, y3: 132 },
+ { x: '2011', y: 679, y1: 181, y2: 135, y3: 137 },
+ { x: '2012', y: 770, y1: 128, y2: 152, y3: 110 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs2/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs2/app/index.jsx
new file mode 100644
index 000000000..19819a8fa
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs2/app/index.jsx
@@ -0,0 +1,28 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingColumnSeries } from '@syncfusion/ej2-react-charts';
+import { columnperData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis = { title: 'GDP (%) Per Annum', rangePadding: 'None', labelFormat: '{value}%' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs2/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs2/app/index.tsx
new file mode 100644
index 000000000..5b2615d47
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs2/app/index.tsx
@@ -0,0 +1,36 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { columnperData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis: AxisModel = { title: 'GDP (%) Per Annum', rangePadding: 'None', labelFormat: '{value}%' };
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs2/index.html b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs2/index.html
new file mode 100644
index 000000000..f9f5fed7e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs2/index.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs2/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs2/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs2/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs3/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs3/app/datasource.jsx
new file mode 100644
index 000000000..a7879224d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs3/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let columnperData = [
+ { x: '2006', y: 900, y1: 190, y2: 250, y3: 150 },
+ { x: '2007', y: 544, y1: 226, y2: 145, y3: 120 },
+ { x: '2008', y: 880, y1: 194, y2: 190, y3: 115 },
+ { x: '2009', y: 675, y1: 250, y2: 220, y3: 125 },
+ { x: '2010', y: 765, y1: 222, y2: 225, y3: 132 },
+ { x: '2011', y: 679, y1: 181, y2: 135, y3: 137 },
+ { x: '2012', y: 770, y1: 128, y2: 152, y3: 110 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs3/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs3/app/datasource.tsx
new file mode 100644
index 000000000..cbe8240dc
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs3/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let columnperData: Object[] = [
+ { x: '2006', y: 900, y1: 190, y2: 250, y3: 150 },
+ { x: '2007', y: 544, y1: 226, y2: 145, y3: 120 },
+ { x: '2008', y: 880, y1: 194, y2: 190, y3: 115 },
+ { x: '2009', y: 675, y1: 250, y2: 220, y3: 125 },
+ { x: '2010', y: 765, y1: 222, y2: 225, y3: 132 },
+ { x: '2011', y: 679, y1: 181, y2: 135, y3: 137 },
+ { x: '2012', y: 770, y1: 128, y2: 152, y3: 110 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs3/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs3/app/index.jsx
new file mode 100644
index 000000000..89673008d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs3/app/index.jsx
@@ -0,0 +1,29 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingColumnSeries } from '@syncfusion/ej2-react-charts';
+import { columnperData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis = { title: 'GDP (%) Per Annum', rangePadding: 'None', labelFormat: '{value}%' };
+ const border = { width: 2, color: 'blue'};
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs3/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs3/app/index.tsx
new file mode 100644
index 000000000..5df7cceed
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs3/app/index.tsx
@@ -0,0 +1,36 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { columnperData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis: AxisModel = { title: 'GDP (%) Per Annum', rangePadding: 'None', labelFormat: '{value}%' };
+ const border: object = { width: 2, color: 'blue'};
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs3/index.html b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs3/index.html
new file mode 100644
index 000000000..f9f5fed7e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs3/index.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs3/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs3/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs3/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs4/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs4/app/datasource.jsx
new file mode 100644
index 000000000..a7879224d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs4/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let columnperData = [
+ { x: '2006', y: 900, y1: 190, y2: 250, y3: 150 },
+ { x: '2007', y: 544, y1: 226, y2: 145, y3: 120 },
+ { x: '2008', y: 880, y1: 194, y2: 190, y3: 115 },
+ { x: '2009', y: 675, y1: 250, y2: 220, y3: 125 },
+ { x: '2010', y: 765, y1: 222, y2: 225, y3: 132 },
+ { x: '2011', y: 679, y1: 181, y2: 135, y3: 137 },
+ { x: '2012', y: 770, y1: 128, y2: 152, y3: 110 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs4/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs4/app/datasource.tsx
new file mode 100644
index 000000000..cbe8240dc
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs4/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let columnperData: Object[] = [
+ { x: '2006', y: 900, y1: 190, y2: 250, y3: 150 },
+ { x: '2007', y: 544, y1: 226, y2: 145, y3: 120 },
+ { x: '2008', y: 880, y1: 194, y2: 190, y3: 115 },
+ { x: '2009', y: 675, y1: 250, y2: 220, y3: 125 },
+ { x: '2010', y: 765, y1: 222, y2: 225, y3: 132 },
+ { x: '2011', y: 679, y1: 181, y2: 135, y3: 137 },
+ { x: '2012', y: 770, y1: 128, y2: 152, y3: 110 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs4/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs4/app/index.jsx
new file mode 100644
index 000000000..238639042
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs4/app/index.jsx
@@ -0,0 +1,29 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingColumnSeries } from '@syncfusion/ej2-react-charts';
+import { columnperData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis = { title: 'GDP (%) Per Annum', rangePadding: 'None', labelFormat: '{value}%' };
+ const border = { width: 2, color: 'blue'};
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs4/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs4/app/index.tsx
new file mode 100644
index 000000000..5b1e9330c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs4/app/index.tsx
@@ -0,0 +1,36 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { columnperData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis: AxisModel = { title: 'GDP (%) Per Annum', rangePadding: 'None', labelFormat: '{value}%' };
+ const border: object = { width: 2, color: 'blue'};
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs4/index.html b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs4/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs4/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs4/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs4/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs4/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs5/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs5/app/datasource.jsx
new file mode 100644
index 000000000..dff114a53
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs5/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let columnperData = [
+ { x: '2006', y: 900, y1: 190, y2: 250, y3: 150 },
+ { x: '2007', y: 544, y1: 226, y2: 145, y3: 120 },
+ { x: '2008', y: null, y1: 194, y2: 190, y3: 115 },
+ { x: '2009', y: 675, y1: 250, y2: 220, y3: 125 },
+ { x: '2010', y: 765, y1: 222, y2: 225, y3: 132 },
+ { x: '2011', y: 679, y1: 181, y2: null, y3: 137 },
+ { x: '2012', y: 770, y1: 128, y2: 152, y3: 110 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs5/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs5/app/datasource.tsx
new file mode 100644
index 000000000..9d1571490
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs5/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let columnperData: Object[] = [
+ { x: '2006', y: 900, y1: 190, y2: 250, y3: 150 },
+ { x: '2007', y: 544, y1: 226, y2: 145, y3: 120 },
+ { x: '2008', y: null, y1: 194, y2: 190, y3: 115 },
+ { x: '2009', y: 675, y1: 250, y2: 220, y3: 125 },
+ { x: '2010', y: 765, y1: 222, y2: 225, y3: 132 },
+ { x: '2011', y: 679, y1: 181, y2: null, y3: 137 },
+ { x: '2012', y: 770, y1: 128, y2: 152, y3: 110 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs5/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs5/app/index.jsx
new file mode 100644
index 000000000..671745c60
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs5/app/index.jsx
@@ -0,0 +1,30 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingColumnSeries } from '@syncfusion/ej2-react-charts';
+import { columnperData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis = { title: 'GDP (%) Per Annum', rangePadding: 'None', labelFormat: '{value}%' };
+ const emptyPoint = { mode: 'Zero'};
+ const emptyPoint1 = { mode: 'Average'};
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs5/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs5/app/index.tsx
new file mode 100644
index 000000000..57850936a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs5/app/index.tsx
@@ -0,0 +1,37 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { columnperData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis: AxisModel = { title: 'GDP (%) Per Annum', rangePadding: 'None', labelFormat: '{value}%' };
+ const emptyPoint: object = { mode: 'Zero'};
+ const emptyPoint1: object = { mode: 'Average'};
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs5/index.html b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs5/index.html
new file mode 100644
index 000000000..f9f5fed7e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs5/index.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs5/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs5/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs5/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs6/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs6/app/datasource.jsx
new file mode 100644
index 000000000..dff114a53
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs6/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let columnperData = [
+ { x: '2006', y: 900, y1: 190, y2: 250, y3: 150 },
+ { x: '2007', y: 544, y1: 226, y2: 145, y3: 120 },
+ { x: '2008', y: null, y1: 194, y2: 190, y3: 115 },
+ { x: '2009', y: 675, y1: 250, y2: 220, y3: 125 },
+ { x: '2010', y: 765, y1: 222, y2: 225, y3: 132 },
+ { x: '2011', y: 679, y1: 181, y2: null, y3: 137 },
+ { x: '2012', y: 770, y1: 128, y2: 152, y3: 110 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs6/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs6/app/datasource.tsx
new file mode 100644
index 000000000..9d1571490
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs6/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let columnperData: Object[] = [
+ { x: '2006', y: 900, y1: 190, y2: 250, y3: 150 },
+ { x: '2007', y: 544, y1: 226, y2: 145, y3: 120 },
+ { x: '2008', y: null, y1: 194, y2: 190, y3: 115 },
+ { x: '2009', y: 675, y1: 250, y2: 220, y3: 125 },
+ { x: '2010', y: 765, y1: 222, y2: 225, y3: 132 },
+ { x: '2011', y: 679, y1: 181, y2: null, y3: 137 },
+ { x: '2012', y: 770, y1: 128, y2: 152, y3: 110 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs6/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs6/app/index.jsx
new file mode 100644
index 000000000..99e203595
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs6/app/index.jsx
@@ -0,0 +1,30 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingColumnSeries } from '@syncfusion/ej2-react-charts';
+import { columnperData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis = { title: 'GDP (%) Per Annum', rangePadding: 'None', labelFormat: '{value}%' };
+ const emptyPoint = { mode: 'Zero'};
+ const emptyPoint1 = { mode: 'Average', fill: 'red'};
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs6/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs6/app/index.tsx
new file mode 100644
index 000000000..c6fb7e9db
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs6/app/index.tsx
@@ -0,0 +1,37 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { columnperData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis: AxisModel = { title: 'GDP (%) Per Annum', rangePadding: 'None', labelFormat: '{value}%' };
+ const emptyPoint: object = { mode: 'Zero'};
+ const emptyPoint1: object = { mode: 'Average', fill: 'red'};
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs6/index.html b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs6/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs6/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs6/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs6/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs6/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs7/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs7/app/datasource.jsx
new file mode 100644
index 000000000..dff114a53
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs7/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let columnperData = [
+ { x: '2006', y: 900, y1: 190, y2: 250, y3: 150 },
+ { x: '2007', y: 544, y1: 226, y2: 145, y3: 120 },
+ { x: '2008', y: null, y1: 194, y2: 190, y3: 115 },
+ { x: '2009', y: 675, y1: 250, y2: 220, y3: 125 },
+ { x: '2010', y: 765, y1: 222, y2: 225, y3: 132 },
+ { x: '2011', y: 679, y1: 181, y2: null, y3: 137 },
+ { x: '2012', y: 770, y1: 128, y2: 152, y3: 110 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs7/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs7/app/datasource.tsx
new file mode 100644
index 000000000..9d1571490
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs7/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let columnperData: Object[] = [
+ { x: '2006', y: 900, y1: 190, y2: 250, y3: 150 },
+ { x: '2007', y: 544, y1: 226, y2: 145, y3: 120 },
+ { x: '2008', y: null, y1: 194, y2: 190, y3: 115 },
+ { x: '2009', y: 675, y1: 250, y2: 220, y3: 125 },
+ { x: '2010', y: 765, y1: 222, y2: 225, y3: 132 },
+ { x: '2011', y: 679, y1: 181, y2: null, y3: 137 },
+ { x: '2012', y: 770, y1: 128, y2: 152, y3: 110 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs7/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs7/app/index.jsx
new file mode 100644
index 000000000..0104f8a97
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs7/app/index.jsx
@@ -0,0 +1,30 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingColumnSeries } from '@syncfusion/ej2-react-charts';
+import { columnperData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis = { title: 'GDP (%) Per Annum', rangePadding: 'None', labelFormat: '{value}%' };
+ const emptyPoint = { mode: 'Zero'};
+ const emptyPoint1 = { mode: 'Average', fill: 'red', border: {width: 1.5, color: 'green'}};
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs7/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs7/app/index.tsx
new file mode 100644
index 000000000..76ee073ab
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs7/app/index.tsx
@@ -0,0 +1,37 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { columnperData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis: AxisModel = { title: 'GDP (%) Per Annum', rangePadding: 'None', labelFormat: '{value}%' };
+ const emptyPoint: object = { mode: 'Zero'};
+ const emptyPoint1: object = { mode: 'Average', fill: 'red', border: {width: 1.5, color: 'green'}};
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs7/index.html b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs7/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs7/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs7/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs7/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs7/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs8/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs8/app/datasource.jsx
new file mode 100644
index 000000000..3819aaf11
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs8/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let columnperData = [
+ { x: '2006', y: 900, y1: 190, y2: 250, y3: 150 },
+ { x: '2007', y: 544, y1: 226, y2: 145, y3: 120 },
+ { x: '2008', y: 450, y1: 194, y2: 190, y3: 115 },
+ { x: '2009', y: 675, y1: 250, y2: 220, y3: 125 },
+ { x: '2010', y: 765, y1: 222, y2: 225, y3: 132 },
+ { x: '2011', y: 679, y1: 181, y2: 220, y3: 137 },
+ { x: '2012', y: 770, y1: 128, y2: 152, y3: 110 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs8/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs8/app/datasource.tsx
new file mode 100644
index 000000000..b8a3c52aa
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs8/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let columnperData: Object[] = [
+ { x: '2006', y: 900, y1: 190, y2: 250, y3: 150 },
+ { x: '2007', y: 544, y1: 226, y2: 145, y3: 120 },
+ { x: '2008', y: 450, y1: 194, y2: 190, y3: 115 },
+ { x: '2009', y: 675, y1: 250, y2: 220, y3: 125 },
+ { x: '2010', y: 765, y1: 222, y2: 225, y3: 132 },
+ { x: '2011', y: 679, y1: 181, y2: 220, y3: 137 },
+ { x: '2012', y: 770, y1: 128, y2: 152, y3: 110 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs8/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs8/app/index.jsx
new file mode 100644
index 000000000..67ca59cbf
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs8/app/index.jsx
@@ -0,0 +1,42 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingColumnSeries } from '@syncfusion/ej2-react-charts';
+import { columnperData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis = { title: 'GDP (%) Per Annum', rangePadding: 'None', labelFormat: '{value}%' };
+ const seriesRender = (args) => {
+ if (args.series.index === 0) {
+ args.fill = '#ff4251';
+ }
+ else if (args.series.index === 1) {
+ args.fill = '#4C4C4C';
+ }
+ else if (args.series.index === 2) {
+ args.fill = '#794F1B';
+ }
+ else if (args.series.index === 3) {
+ args.fill = '#1a9a6f';
+ }
+ };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs8/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs8/app/index.tsx
new file mode 100644
index 000000000..20ae4c7c1
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs8/app/index.tsx
@@ -0,0 +1,50 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingColumnSeries, ISeriesRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { columnperData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis: AxisModel = { title: 'GDP (%) Per Annum', rangePadding: 'None', labelFormat: '{value}%' };
+ const seriesRender = (args: ISeriesRenderEventArgs) => {
+ if (args.series.index === 0) {
+ args.fill = '#ff4251';
+ }
+ else if (args.series.index === 1) {
+ args.fill = '#4C4C4C';
+ }
+ else if (args.series.index === 2) {
+ args.fill = '#794F1B';
+ }
+ else if (args.series.index === 3) {
+ args.fill = '#1a9a6f';
+ }
+}
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs8/index.html b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs8/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs8/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs8/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs8/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs8/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs9/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs9/app/datasource.jsx
new file mode 100644
index 000000000..3819aaf11
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs9/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let columnperData = [
+ { x: '2006', y: 900, y1: 190, y2: 250, y3: 150 },
+ { x: '2007', y: 544, y1: 226, y2: 145, y3: 120 },
+ { x: '2008', y: 450, y1: 194, y2: 190, y3: 115 },
+ { x: '2009', y: 675, y1: 250, y2: 220, y3: 125 },
+ { x: '2010', y: 765, y1: 222, y2: 225, y3: 132 },
+ { x: '2011', y: 679, y1: 181, y2: 220, y3: 137 },
+ { x: '2012', y: 770, y1: 128, y2: 152, y3: 110 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs9/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs9/app/datasource.tsx
new file mode 100644
index 000000000..b8a3c52aa
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs9/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let columnperData: Object[] = [
+ { x: '2006', y: 900, y1: 190, y2: 250, y3: 150 },
+ { x: '2007', y: 544, y1: 226, y2: 145, y3: 120 },
+ { x: '2008', y: 450, y1: 194, y2: 190, y3: 115 },
+ { x: '2009', y: 675, y1: 250, y2: 220, y3: 125 },
+ { x: '2010', y: 765, y1: 222, y2: 225, y3: 132 },
+ { x: '2011', y: 679, y1: 181, y2: 220, y3: 137 },
+ { x: '2012', y: 770, y1: 128, y2: 152, y3: 110 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs9/app/index.jsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs9/app/index.jsx
new file mode 100644
index 000000000..db0faa9f3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs9/app/index.jsx
@@ -0,0 +1,36 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingColumnSeries } from '@syncfusion/ej2-react-charts';
+import { columnperData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis = { title: 'GDP (%) Per Annum', rangePadding: 'None', labelFormat: '{value}%' };
+ const pointRender = (args) => {
+ if (args.point.series.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs9/app/index.tsx b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs9/app/index.tsx
new file mode 100644
index 000000000..d5e562cea
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs9/app/index.tsx
@@ -0,0 +1,44 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingColumnSeries, IPointRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { columnperData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis: AxisModel = { title: 'GDP (%) Per Annum', rangePadding: 'None', labelFormat: '{value}%' };
+ const pointRender = (args: IPointRenderEventArgs) => {
+ if (args.point.series.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+}
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs9/index.html b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs9/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs9/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs9/systemjs.config.js b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs9/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100-stackedcolumn-cs9/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs1/app/index.jsx b/ej2-react/code-snippet/chart/series/100stackedline-cs1/app/index.jsx
index 661664602..aa4e76ff0 100644
--- a/ej2-react/code-snippet/chart/series/100stackedline-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs1/app/index.jsx
@@ -9,13 +9,13 @@ function App() {
return
-
+
-
+
-
+
-
+
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs1/app/index.tsx b/ej2-react/code-snippet/chart/series/100stackedline-cs1/app/index.tsx
index e2e044c7a..d08ff909a 100644
--- a/ej2-react/code-snippet/chart/series/100stackedline-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs1/app/index.tsx
@@ -18,13 +18,13 @@ function App() {
title='Family Expense for Month'>
-
+
-
+
-
+
-
+
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs1A/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100stackedline-cs1A/app/datasource.jsx
new file mode 100644
index 000000000..4150977b9
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs1A/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let chartData = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: 70, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: 55, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs1A/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100stackedline-cs1A/app/datasource.tsx
new file mode 100644
index 000000000..d9420aa7b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs1A/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let chartData: Object[] = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: 70, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: 55, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs1A/app/index.jsx b/ej2-react/code-snippet/chart/series/100stackedline-cs1A/app/index.jsx
new file mode 100644
index 000000000..a972c4379
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs1A/app/index.jsx
@@ -0,0 +1,27 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingLineSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs1A/app/index.tsx b/ej2-react/code-snippet/chart/series/100stackedline-cs1A/app/index.tsx
new file mode 100644
index 000000000..d9c0c5e73
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs1A/app/index.tsx
@@ -0,0 +1,36 @@
+
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingLineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs1A/index.html b/ej2-react/code-snippet/chart/series/100stackedline-cs1A/index.html
new file mode 100644
index 000000000..fbfbb8e2d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs1A/index.html
@@ -0,0 +1,69 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs1A/systemjs.config.js b/ej2-react/code-snippet/chart/series/100stackedline-cs1A/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs1A/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs2/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100stackedline-cs2/app/datasource.jsx
new file mode 100644
index 000000000..4150977b9
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs2/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let chartData = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: 70, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: 55, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs2/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100stackedline-cs2/app/datasource.tsx
new file mode 100644
index 000000000..d9420aa7b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs2/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let chartData: Object[] = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: 70, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: 55, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs2/app/index.jsx b/ej2-react/code-snippet/chart/series/100stackedline-cs2/app/index.jsx
new file mode 100644
index 000000000..d438253b5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs2/app/index.jsx
@@ -0,0 +1,27 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingLineSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs2/app/index.tsx b/ej2-react/code-snippet/chart/series/100stackedline-cs2/app/index.tsx
new file mode 100644
index 000000000..80fa47f2c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs2/app/index.tsx
@@ -0,0 +1,36 @@
+
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingLineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs2/index.html b/ej2-react/code-snippet/chart/series/100stackedline-cs2/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs2/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs2/systemjs.config.js b/ej2-react/code-snippet/chart/series/100stackedline-cs2/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs2/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs3/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100stackedline-cs3/app/datasource.jsx
new file mode 100644
index 000000000..4150977b9
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs3/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let chartData = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: 70, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: 55, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs3/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100stackedline-cs3/app/datasource.tsx
new file mode 100644
index 000000000..d9420aa7b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs3/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let chartData: Object[] = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: 70, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: 55, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs3/app/index.jsx b/ej2-react/code-snippet/chart/series/100stackedline-cs3/app/index.jsx
new file mode 100644
index 000000000..50249f361
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs3/app/index.jsx
@@ -0,0 +1,27 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingLineSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs3/app/index.tsx b/ej2-react/code-snippet/chart/series/100stackedline-cs3/app/index.tsx
new file mode 100644
index 000000000..dd247c177
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs3/app/index.tsx
@@ -0,0 +1,36 @@
+
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingLineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs3/index.html b/ej2-react/code-snippet/chart/series/100stackedline-cs3/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs3/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs3/systemjs.config.js b/ej2-react/code-snippet/chart/series/100stackedline-cs3/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs3/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs4/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100stackedline-cs4/app/datasource.jsx
new file mode 100644
index 000000000..4150977b9
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs4/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let chartData = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: 70, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: 55, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs4/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100stackedline-cs4/app/datasource.tsx
new file mode 100644
index 000000000..d9420aa7b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs4/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let chartData: Object[] = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: 70, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: 55, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs4/app/index.jsx b/ej2-react/code-snippet/chart/series/100stackedline-cs4/app/index.jsx
new file mode 100644
index 000000000..bcd2d261f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs4/app/index.jsx
@@ -0,0 +1,27 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingLineSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs4/app/index.tsx b/ej2-react/code-snippet/chart/series/100stackedline-cs4/app/index.tsx
new file mode 100644
index 000000000..bf908c883
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs4/app/index.tsx
@@ -0,0 +1,36 @@
+
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingLineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs4/index.html b/ej2-react/code-snippet/chart/series/100stackedline-cs4/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs4/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs4/systemjs.config.js b/ej2-react/code-snippet/chart/series/100stackedline-cs4/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs4/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs5/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100stackedline-cs5/app/datasource.jsx
new file mode 100644
index 000000000..e41a87be2
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs5/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let chartData = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: null, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: undefined, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs5/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100stackedline-cs5/app/datasource.tsx
new file mode 100644
index 000000000..4f4e8ed1e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs5/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let chartData: Object[] = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: null, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: undefined, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs5/app/index.jsx b/ej2-react/code-snippet/chart/series/100stackedline-cs5/app/index.jsx
new file mode 100644
index 000000000..33a3d8b8c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs5/app/index.jsx
@@ -0,0 +1,29 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingLineSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ const emptyPoint = { mode: 'Average' };
+ const emptyPoint1 = { mode: 'Gap' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs5/app/index.tsx b/ej2-react/code-snippet/chart/series/100stackedline-cs5/app/index.tsx
new file mode 100644
index 000000000..a28549e9e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs5/app/index.tsx
@@ -0,0 +1,37 @@
+
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingLineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ const emptyPoint: object = { mode: 'Average' };
+ const emptyPoint1: object = { mode: 'Gap' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs5/index.html b/ej2-react/code-snippet/chart/series/100stackedline-cs5/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs5/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs5/systemjs.config.js b/ej2-react/code-snippet/chart/series/100stackedline-cs5/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs5/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs6/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100stackedline-cs6/app/datasource.jsx
new file mode 100644
index 000000000..e41a87be2
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs6/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let chartData = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: null, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: undefined, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs6/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100stackedline-cs6/app/datasource.tsx
new file mode 100644
index 000000000..4f4e8ed1e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs6/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let chartData: Object[] = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: null, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: undefined, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs6/app/index.jsx b/ej2-react/code-snippet/chart/series/100stackedline-cs6/app/index.jsx
new file mode 100644
index 000000000..936adc38e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs6/app/index.jsx
@@ -0,0 +1,29 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingLineSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ const emptyPoint = { mode: 'Average', fill: 'red' };
+ const emptyPoint1 = { mode: 'Gap' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs6/app/index.tsx b/ej2-react/code-snippet/chart/series/100stackedline-cs6/app/index.tsx
new file mode 100644
index 000000000..4ef21d36f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs6/app/index.tsx
@@ -0,0 +1,37 @@
+
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingLineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ const emptyPoint: object = { mode: 'Average', fill: 'red' };
+ const emptyPoint1: object = { mode: 'Gap' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs6/index.html b/ej2-react/code-snippet/chart/series/100stackedline-cs6/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs6/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs6/systemjs.config.js b/ej2-react/code-snippet/chart/series/100stackedline-cs6/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs6/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs7/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100stackedline-cs7/app/datasource.jsx
new file mode 100644
index 000000000..e41a87be2
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs7/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let chartData = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: null, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: undefined, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs7/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100stackedline-cs7/app/datasource.tsx
new file mode 100644
index 000000000..4f4e8ed1e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs7/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let chartData: Object[] = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: null, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: undefined, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs7/app/index.jsx b/ej2-react/code-snippet/chart/series/100stackedline-cs7/app/index.jsx
new file mode 100644
index 000000000..975259bcf
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs7/app/index.jsx
@@ -0,0 +1,29 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingLineSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ const emptyPoint = { mode: 'Average', fill: 'red', border: {width: 1.5, fill: 'green'} };
+ const emptyPoint1 = { mode: 'Gap' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs7/app/index.tsx b/ej2-react/code-snippet/chart/series/100stackedline-cs7/app/index.tsx
new file mode 100644
index 000000000..532ff8cd2
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs7/app/index.tsx
@@ -0,0 +1,37 @@
+
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingLineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ const emptyPoint: object = { mode: 'Average', fill: 'red', border: {width: 1.5, fill: 'green'} };
+ const emptyPoint1: object = { mode: 'Gap' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs7/index.html b/ej2-react/code-snippet/chart/series/100stackedline-cs7/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs7/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs7/systemjs.config.js b/ej2-react/code-snippet/chart/series/100stackedline-cs7/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs7/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs8/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100stackedline-cs8/app/datasource.jsx
new file mode 100644
index 000000000..7cc7af267
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs8/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let chartData = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: 70, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: 55, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs8/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100stackedline-cs8/app/datasource.tsx
new file mode 100644
index 000000000..0945299b3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs8/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let chartData: Object[] = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: 70, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: 55, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs8/app/index.jsx b/ej2-react/code-snippet/chart/series/100stackedline-cs8/app/index.jsx
new file mode 100644
index 000000000..adc74d4c4
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs8/app/index.jsx
@@ -0,0 +1,41 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingLineSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ const seriesRender = (args) => {
+ if (args.series.index === 0) {
+ args.fill = '#ff4251';
+ }
+ else if (args.series.index === 1) {
+ args.fill = '#4C4C4C';
+ }
+ else if (args.series.index === 2) {
+ args.fill = '#794F1B';
+ }
+ else if (args.series.index === 3) {
+ args.fill = '#1a9a6f';
+ }
+ };
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs8/app/index.tsx b/ej2-react/code-snippet/chart/series/100stackedline-cs8/app/index.tsx
new file mode 100644
index 000000000..db23d5292
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs8/app/index.tsx
@@ -0,0 +1,50 @@
+
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingLineSeries, ISeriesRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ const seriesRender= (args: ISeriesRenderEventArgs) => {
+ if (args.series.index === 0) {
+ args.fill = '#ff4251';
+ }
+ else if (args.series.index === 1) {
+ args.fill = '#4C4C4C';
+ }
+ else if (args.series.index === 2) {
+ args.fill = '#794F1B';
+ }
+ else if (args.series.index === 3) {
+ args.fill = '#1a9a6f';
+ }
+}
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs8/index.html b/ej2-react/code-snippet/chart/series/100stackedline-cs8/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs8/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs8/systemjs.config.js b/ej2-react/code-snippet/chart/series/100stackedline-cs8/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs8/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs9/app/datasource.jsx b/ej2-react/code-snippet/chart/series/100stackedline-cs9/app/datasource.jsx
new file mode 100644
index 000000000..7cc7af267
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs9/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let chartData = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: 70, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: 55, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs9/app/datasource.tsx b/ej2-react/code-snippet/chart/series/100stackedline-cs9/app/datasource.tsx
new file mode 100644
index 000000000..0945299b3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs9/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let chartData: Object[] = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: 70, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: 55, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs9/app/index.jsx b/ej2-react/code-snippet/chart/series/100stackedline-cs9/app/index.jsx
new file mode 100644
index 000000000..d0f3a0191
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs9/app/index.jsx
@@ -0,0 +1,35 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingLineSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ const pointRender = (args) => {
+ if (args.point.y < 70) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ };
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+}
+;
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs9/app/index.tsx b/ej2-react/code-snippet/chart/series/100stackedline-cs9/app/index.tsx
new file mode 100644
index 000000000..2b930e239
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs9/app/index.tsx
@@ -0,0 +1,44 @@
+
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingLineSeries, IPointRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ const pointRender= (args: IPointRenderEventArgs) => {
+ if (args.point.y < 70) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+}
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs9/index.html b/ej2-react/code-snippet/chart/series/100stackedline-cs9/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs9/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/100stackedline-cs9/systemjs.config.js b/ej2-react/code-snippet/chart/series/100stackedline-cs9/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/100stackedline-cs9/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/addpoint-cs/app/index.jsx b/ej2-react/code-snippet/chart/series/addpoint-cs/app/index.jsx
new file mode 100644
index 000000000..f7ecaa224
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/addpoint-cs/app/index.jsx
@@ -0,0 +1,40 @@
+{% raw %}
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AccumulationChartComponent, AccumulationSeriesCollectionDirective, AccumulationSeriesDirective, Inject, AccumulationAnnotation, AccumulationAnnotationsDirective, AccumulationAnnotationDirective, AccumulationLegend, AccumulationSeries }
+ from '@syncfusion/ej2-react-charts';
+import { pieData } from '../datasource.ts';
+
+function App() {
+
+ const template = chartTemplate;
+ const chartRef = React.useRef < AccumulationChartComponent > (null);
+ let click = () => {
+ if (chartRef.current) {
+ (chartRef.current.series[0]).addPoint({ x: 'Dec', y: 15 });
+ }
+ }
+ function chartTemplate() {
+ return (
);
+ };
+
+ return
+
+};
+export default App;
+ReactDOM.render(
, document.getElementById("charts"));
+
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/addpoint-cs/app/index.tsx b/ej2-react/code-snippet/chart/series/addpoint-cs/app/index.tsx
new file mode 100644
index 000000000..1f26a6785
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/addpoint-cs/app/index.tsx
@@ -0,0 +1,34 @@
+{% raw %}
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AccumulationChartComponent, AccumulationSeriesCollectionDirective, AccumulationSeriesDirective, Inject, AccumulationAnnotation, AccumulationAnnotationsDirective, AccumulationAnnotationDirective, AccumulationLegend, AccumulationSeries }
+ from '@syncfusion/ej2-react-charts';
+import { pieData } from '../datasource.ts';
+
+function App() {
+
+ const chartRef = React.useRef
(null);
+ let click = () => {
+ if (chartRef.current) {
+ (chartRef.current.series[0] as AccumulationSeries).addPoint({ x: 'Dec', y: 15 });
+ }
+ }
+
+ return
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/addpoint-cs/datasource.ts b/ej2-react/code-snippet/chart/series/addpoint-cs/datasource.ts
new file mode 100644
index 000000000..e22bd055e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/addpoint-cs/datasource.ts
@@ -0,0 +1,2 @@
+export let pieData: Object[] = [{ x: 'Jan', y: 3 }, { x: 'Feb', y: 3.5 }, { x: 'Mar', y: 7 }, { x: 'Apr', y: 13.5 }, { x: 'May', y: 19 }, { x: 'Jun', y: 23.5 }, { x: 'Jul', y: 26 }, { x: 'Aug', y: 25 },
+{ x: 'Sep', y: 21 }, { x: 'Oct', y: 15 }, { x: 'Nov', y: 15 }]
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/addpoint-cs/index.html b/ej2-react/code-snippet/chart/series/addpoint-cs/index.html
new file mode 100644
index 000000000..c807e8648
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/addpoint-cs/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Accumulation Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/addpoint-cs/systemjs.config.js b/ej2-react/code-snippet/chart/series/addpoint-cs/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/addpoint-cs/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/addpoint-cs1/app/index.jsx b/ej2-react/code-snippet/chart/series/addpoint-cs1/app/index.jsx
new file mode 100644
index 000000000..881c2e318
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/addpoint-cs1/app/index.jsx
@@ -0,0 +1,40 @@
+{% raw %}
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AccumulationChartComponent, AccumulationSeriesCollectionDirective, AccumulationSeriesDirective, Inject, AccumulationAnnotation, AccumulationAnnotationsDirective, AccumulationAnnotationDirective, AccumulationLegend, AccumulationSeries }
+ from '@syncfusion/ej2-react-charts';
+import { pieData } from '../datasource.ts';
+
+function App() {
+
+ const template = chartTemplate;
+ const chartRef = React.useRef < AccumulationChartComponent > (null);
+ let click = () => {
+ if (chartRef.current) {
+ (chartRef.current.series[0]).removePoint(0);
+ }
+ }
+ function chartTemplate() {
+ return ();
+ };
+
+ return
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/addpoint-cs1/app/index.tsx b/ej2-react/code-snippet/chart/series/addpoint-cs1/app/index.tsx
new file mode 100644
index 000000000..bfd043255
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/addpoint-cs1/app/index.tsx
@@ -0,0 +1,34 @@
+{% raw %}
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AccumulationChartComponent, AccumulationSeriesCollectionDirective, AccumulationSeriesDirective, Inject, AccumulationAnnotation, AccumulationAnnotationsDirective, AccumulationAnnotationDirective, AccumulationLegend, AccumulationSeries }
+ from '@syncfusion/ej2-react-charts';
+import { pieData } from '../datasource.ts';
+
+function App() {
+
+ const chartRef = React.useRef(null);
+ let click = () => {
+ if (chartRef.current) {
+ (chartRef.current.series[0] as AccumulationSeries).removePoint(0);
+ }
+ }
+
+ return
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/addpoint-cs1/datasource.ts b/ej2-react/code-snippet/chart/series/addpoint-cs1/datasource.ts
new file mode 100644
index 000000000..e22bd055e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/addpoint-cs1/datasource.ts
@@ -0,0 +1,2 @@
+export let pieData: Object[] = [{ x: 'Jan', y: 3 }, { x: 'Feb', y: 3.5 }, { x: 'Mar', y: 7 }, { x: 'Apr', y: 13.5 }, { x: 'May', y: 19 }, { x: 'Jun', y: 23.5 }, { x: 'Jul', y: 26 }, { x: 'Aug', y: 25 },
+{ x: 'Sep', y: 21 }, { x: 'Oct', y: 15 }, { x: 'Nov', y: 15 }]
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/addpoint-cs1/index.html b/ej2-react/code-snippet/chart/series/addpoint-cs1/index.html
new file mode 100644
index 000000000..c807e8648
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/addpoint-cs1/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Accumulation Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/addpoint-cs1/systemjs.config.js b/ej2-react/code-snippet/chart/series/addpoint-cs1/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/addpoint-cs1/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/addpoint-cs3/app/index.jsx b/ej2-react/code-snippet/chart/series/addpoint-cs3/app/index.jsx
new file mode 100644
index 000000000..f8f074358
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/addpoint-cs3/app/index.jsx
@@ -0,0 +1,43 @@
+{% raw %}
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AccumulationChartComponent, AccumulationSeriesCollectionDirective, AccumulationSeriesDirective, Inject,AccumulationAnnotation, AccumulationAnnotationsDirective, AccumulationAnnotationDirective, AccumulationLegend, AccumulationSeries}
+from'@syncfusion/ej2-react-charts';
+import { pieData } from '../datasource.ts';
+
+function App() {
+
+ const chartRef = React.useRef(null);
+ let click= ()=>{
+ const newData = [
+ { x: 'Jan', y: 3 },
+ { x: 'Feb', y: 3.5 },
+ { x: 'Mar', y: 7 },
+ { x: 'Aug', y: 25 },
+ { x: 'Sep', y: 21 },
+ { x: 'Oct', y: 15 },
+ ];
+
+ if (chartRef.current) {
+ (chartRef.current.series[0] ).setData(newData, 500);
+ }
+ }
+
+ return
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/addpoint-cs3/app/index.tsx b/ej2-react/code-snippet/chart/series/addpoint-cs3/app/index.tsx
new file mode 100644
index 000000000..3357b2a80
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/addpoint-cs3/app/index.tsx
@@ -0,0 +1,43 @@
+{% raw %}
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AccumulationChartComponent, AccumulationSeriesCollectionDirective, AccumulationSeriesDirective, Inject,AccumulationAnnotation, AccumulationAnnotationsDirective, AccumulationAnnotationDirective, AccumulationLegend, AccumulationSeries}
+from'@syncfusion/ej2-react-charts';
+import { pieData } from '../datasource.ts';
+
+function App() {
+
+ const chartRef = React.useRef(null);
+ let click= ()=>{
+ const newData = [
+ { x: 'Jan', y: 3 },
+ { x: 'Feb', y: 3.5 },
+ { x: 'Mar', y: 7 },
+ { x: 'Aug', y: 25 },
+ { x: 'Sep', y: 21 },
+ { x: 'Oct', y: 15 },
+ ];
+
+ if (chartRef.current) {
+ (chartRef.current.series[0] as AccumulationSeries).setData(newData, 500);
+ }
+ }
+
+ return
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/addpoint-cs3/datasource.ts b/ej2-react/code-snippet/chart/series/addpoint-cs3/datasource.ts
new file mode 100644
index 000000000..e22bd055e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/addpoint-cs3/datasource.ts
@@ -0,0 +1,2 @@
+export let pieData: Object[] = [{ x: 'Jan', y: 3 }, { x: 'Feb', y: 3.5 }, { x: 'Mar', y: 7 }, { x: 'Apr', y: 13.5 }, { x: 'May', y: 19 }, { x: 'Jun', y: 23.5 }, { x: 'Jul', y: 26 }, { x: 'Aug', y: 25 },
+{ x: 'Sep', y: 21 }, { x: 'Oct', y: 15 }, { x: 'Nov', y: 15 }]
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/addpoint-cs3/index.html b/ej2-react/code-snippet/chart/series/addpoint-cs3/index.html
new file mode 100644
index 000000000..c807e8648
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/addpoint-cs3/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Accumulation Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/addpoint-cs3/systemjs.config.js b/ej2-react/code-snippet/chart/series/addpoint-cs3/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/addpoint-cs3/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/area-cs1/app/datasource.tsx b/ej2-react/code-snippet/chart/series/area-cs1/app/datasource.tsx
index e58daad68..3626cbf4f 100644
--- a/ej2-react/code-snippet/chart/series/area-cs1/app/datasource.tsx
+++ b/ej2-react/code-snippet/chart/series/area-cs1/app/datasource.tsx
@@ -5,4 +5,4 @@ export let data: Object[] = [
{ x: 1960, y: 3.4 },
{ x: 1980, y: 3.2 },
{ x: 2000, y: 3.9 }
-];
\ No newline at end of file
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/box-cs10/app/datasource.jsx b/ej2-react/code-snippet/chart/series/box-cs10/app/datasource.jsx
new file mode 100644
index 000000000..d5bb54fd0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs10/app/datasource.jsx
@@ -0,0 +1,11 @@
+export let data = [
+ { x: 'Development', y: [22, 22, 23, 25, 25, 25, 26, 27, 27, 28, 28, 29, 30, 32, 34, 32, 34, 36, 35, 38] },
+ { x: 'Testing', y: [22, 33, 23, 25, 26, 28, 29, 30, 34, 33, 32, 31, 50] },
+ { x: 'HR', y: [22, 24, 25, 30, 32, 34, 36, 38, 39, 41, 35, 36, 40, 56] },
+ { x: 'Finance', y: [26, 27, 28, 30, 32, 34, 35, 37, 35, 37, 45] },
+ { x: 'R&D', y: [26, 27, 29, 32, 34, 35, 36, 37, 38, 39, 41, 43, 58] },
+ { x: 'Sales', y: [27, 26, 28, 29, 29, 29, 32, 35, 32, 38, 53] },
+ { x: 'Inventory', y: [21, 23, 24, 25, 26, 27, 28, 30, 34, 36, 38] },
+ { x: 'Graphics', y: [26, 28, 29, 30, 32, 33, 35, 36, 52] },
+ { x: 'Training', y: [28, 29, 30, 31, 32, 34, 35, 36] }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/box-cs10/app/datasource.tsx b/ej2-react/code-snippet/chart/series/box-cs10/app/datasource.tsx
new file mode 100644
index 000000000..c5cef7a2b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs10/app/datasource.tsx
@@ -0,0 +1,11 @@
+export let data: Object[] = [
+ { x: 'Development', y: [22, 22, 23, 25, 25, 25, 26, 27, 27, 28, 28, 29, 30, 32, 34, 32, 34, 36, 35, 38] },
+ { x: 'Testing', y: [22, 33, 23, 25, 26, 28, 29, 30, 34, 33, 32, 31, 50] },
+ { x: 'HR', y: [22, 24, 25, 30, 32, 34, 36, 38, 39, 41, 35, 36, 40, 56] },
+ { x: 'Finance', y: [26, 27, 28, 30, 32, 34, 35, 37, 35, 37, 45] },
+ { x: 'R&D', y: [26, 27, 29, 32, 34, 35, 36, 37, 38, 39, 41, 43, 58] },
+ { x: 'Sales', y: [27, 26, 28, 29, 29, 29, 32, 35, 32, 38, 53] },
+ { x: 'Inventory', y: [21, 23, 24, 25, 26, 27, 28, 30, 34, 36, 38] },
+ { x: 'Graphics', y: [26, 28, 29, 30, 32, 33, 35, 36, 52] },
+ { x: 'Training', y: [28, 29, 30, 31, 32, 34, 35, 36] }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/box-cs10/app/index.jsx b/ej2-react/code-snippet/chart/series/box-cs10/app/index.jsx
new file mode 100644
index 000000000..cb2e9f0bd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs10/app/index.jsx
@@ -0,0 +1,26 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, BoxAndWhiskerSeries, Category } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', majorGridLines: { width: 0 }, };
+ const primaryyAxis = { minimum: 10, maximum: 60, interval: 10, majorGridLines: { width: 0 }, majorTickLines: { width: 0 } };
+ const marker = { visible: true };
+ const pointRender = (args) => {
+ if (args.point.maximum < 38) {
+ args.fill = '#ff6347';
+ } else {
+ args.fill = '#009cb8';
+ }
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/box-cs10/app/index.tsx b/ej2-react/code-snippet/chart/series/box-cs10/app/index.tsx
new file mode 100644
index 000000000..df8d1b343
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs10/app/index.tsx
@@ -0,0 +1,40 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ BoxAndWhiskerSeries, Category, IPointRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { EmitType } from '@syncfusion/ej2-base';
+import { data } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Category', majorGridLines: { width: 0 }, };
+ const primaryyAxis: AxisModel = { minimum: 10, maximum: 60, interval: 10, majorGridLines: { width: 0 }, majorTickLines: { width: 0 } };
+ const marker = { visible: true };
+ const pointRender: EmitType = (args: IPointRenderEventArgs): void => {
+ if (args.point.maximum < 38) {
+ args.fill = '#ff6347';
+ } else {
+ args.fill = '#009cb8';
+ }
+ };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/box-cs10/index.html b/ej2-react/code-snippet/chart/series/box-cs10/index.html
new file mode 100644
index 000000000..f3d4cf303
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs10/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Syncfusion React Chart-Bar Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/box-cs10/systemjs.config.js b/ej2-react/code-snippet/chart/series/box-cs10/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs10/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/box-cs4/app/datasource.jsx b/ej2-react/code-snippet/chart/series/box-cs4/app/datasource.jsx
new file mode 100644
index 000000000..d5bb54fd0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs4/app/datasource.jsx
@@ -0,0 +1,11 @@
+export let data = [
+ { x: 'Development', y: [22, 22, 23, 25, 25, 25, 26, 27, 27, 28, 28, 29, 30, 32, 34, 32, 34, 36, 35, 38] },
+ { x: 'Testing', y: [22, 33, 23, 25, 26, 28, 29, 30, 34, 33, 32, 31, 50] },
+ { x: 'HR', y: [22, 24, 25, 30, 32, 34, 36, 38, 39, 41, 35, 36, 40, 56] },
+ { x: 'Finance', y: [26, 27, 28, 30, 32, 34, 35, 37, 35, 37, 45] },
+ { x: 'R&D', y: [26, 27, 29, 32, 34, 35, 36, 37, 38, 39, 41, 43, 58] },
+ { x: 'Sales', y: [27, 26, 28, 29, 29, 29, 32, 35, 32, 38, 53] },
+ { x: 'Inventory', y: [21, 23, 24, 25, 26, 27, 28, 30, 34, 36, 38] },
+ { x: 'Graphics', y: [26, 28, 29, 30, 32, 33, 35, 36, 52] },
+ { x: 'Training', y: [28, 29, 30, 31, 32, 34, 35, 36] }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/box-cs4/app/datasource.tsx b/ej2-react/code-snippet/chart/series/box-cs4/app/datasource.tsx
new file mode 100644
index 000000000..c5cef7a2b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs4/app/datasource.tsx
@@ -0,0 +1,11 @@
+export let data: Object[] = [
+ { x: 'Development', y: [22, 22, 23, 25, 25, 25, 26, 27, 27, 28, 28, 29, 30, 32, 34, 32, 34, 36, 35, 38] },
+ { x: 'Testing', y: [22, 33, 23, 25, 26, 28, 29, 30, 34, 33, 32, 31, 50] },
+ { x: 'HR', y: [22, 24, 25, 30, 32, 34, 36, 38, 39, 41, 35, 36, 40, 56] },
+ { x: 'Finance', y: [26, 27, 28, 30, 32, 34, 35, 37, 35, 37, 45] },
+ { x: 'R&D', y: [26, 27, 29, 32, 34, 35, 36, 37, 38, 39, 41, 43, 58] },
+ { x: 'Sales', y: [27, 26, 28, 29, 29, 29, 32, 35, 32, 38, 53] },
+ { x: 'Inventory', y: [21, 23, 24, 25, 26, 27, 28, 30, 34, 36, 38] },
+ { x: 'Graphics', y: [26, 28, 29, 30, 32, 33, 35, 36, 52] },
+ { x: 'Training', y: [28, 29, 30, 31, 32, 34, 35, 36] }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/box-cs4/app/index.jsx b/ej2-react/code-snippet/chart/series/box-cs4/app/index.jsx
new file mode 100644
index 000000000..295754adb
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs4/app/index.jsx
@@ -0,0 +1,19 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, BoxAndWhiskerSeries, Category } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', majorGridLines: { width: 0 }, };
+ const primaryyAxis = { minimum: 10, maximum: 60, interval: 10, majorGridLines: { width: 0 }, majorTickLines: { width: 0 } };
+ const marker = { visible: true };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/box-cs4/app/index.tsx b/ej2-react/code-snippet/chart/series/box-cs4/app/index.tsx
new file mode 100644
index 000000000..15eccbb80
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs4/app/index.tsx
@@ -0,0 +1,33 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ BoxAndWhiskerSeries, Category}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Category', majorGridLines: { width: 0 }, };
+ const primaryyAxis: AxisModel = { minimum: 10, maximum: 60, interval: 10, majorGridLines: { width: 0 }, majorTickLines: { width: 0 } };
+ const marker = { visible: true };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/box-cs4/index.html b/ej2-react/code-snippet/chart/series/box-cs4/index.html
new file mode 100644
index 000000000..05770da82
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs4/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Bar Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/box-cs4/systemjs.config.js b/ej2-react/code-snippet/chart/series/box-cs4/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs4/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/box-cs5/app/datasource.jsx b/ej2-react/code-snippet/chart/series/box-cs5/app/datasource.jsx
new file mode 100644
index 000000000..d5bb54fd0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs5/app/datasource.jsx
@@ -0,0 +1,11 @@
+export let data = [
+ { x: 'Development', y: [22, 22, 23, 25, 25, 25, 26, 27, 27, 28, 28, 29, 30, 32, 34, 32, 34, 36, 35, 38] },
+ { x: 'Testing', y: [22, 33, 23, 25, 26, 28, 29, 30, 34, 33, 32, 31, 50] },
+ { x: 'HR', y: [22, 24, 25, 30, 32, 34, 36, 38, 39, 41, 35, 36, 40, 56] },
+ { x: 'Finance', y: [26, 27, 28, 30, 32, 34, 35, 37, 35, 37, 45] },
+ { x: 'R&D', y: [26, 27, 29, 32, 34, 35, 36, 37, 38, 39, 41, 43, 58] },
+ { x: 'Sales', y: [27, 26, 28, 29, 29, 29, 32, 35, 32, 38, 53] },
+ { x: 'Inventory', y: [21, 23, 24, 25, 26, 27, 28, 30, 34, 36, 38] },
+ { x: 'Graphics', y: [26, 28, 29, 30, 32, 33, 35, 36, 52] },
+ { x: 'Training', y: [28, 29, 30, 31, 32, 34, 35, 36] }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/box-cs5/app/datasource.tsx b/ej2-react/code-snippet/chart/series/box-cs5/app/datasource.tsx
new file mode 100644
index 000000000..c5cef7a2b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs5/app/datasource.tsx
@@ -0,0 +1,11 @@
+export let data: Object[] = [
+ { x: 'Development', y: [22, 22, 23, 25, 25, 25, 26, 27, 27, 28, 28, 29, 30, 32, 34, 32, 34, 36, 35, 38] },
+ { x: 'Testing', y: [22, 33, 23, 25, 26, 28, 29, 30, 34, 33, 32, 31, 50] },
+ { x: 'HR', y: [22, 24, 25, 30, 32, 34, 36, 38, 39, 41, 35, 36, 40, 56] },
+ { x: 'Finance', y: [26, 27, 28, 30, 32, 34, 35, 37, 35, 37, 45] },
+ { x: 'R&D', y: [26, 27, 29, 32, 34, 35, 36, 37, 38, 39, 41, 43, 58] },
+ { x: 'Sales', y: [27, 26, 28, 29, 29, 29, 32, 35, 32, 38, 53] },
+ { x: 'Inventory', y: [21, 23, 24, 25, 26, 27, 28, 30, 34, 36, 38] },
+ { x: 'Graphics', y: [26, 28, 29, 30, 32, 33, 35, 36, 52] },
+ { x: 'Training', y: [28, 29, 30, 31, 32, 34, 35, 36] }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/box-cs5/app/index.jsx b/ej2-react/code-snippet/chart/series/box-cs5/app/index.jsx
new file mode 100644
index 000000000..ff3429e55
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs5/app/index.jsx
@@ -0,0 +1,19 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, BoxAndWhiskerSeries, Category } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', majorGridLines: { width: 0 }, };
+ const primaryyAxis = { minimum: 10, maximum: 60, interval: 10, majorGridLines: { width: 0 }, majorTickLines: { width: 0 } };
+ const marker = { visible: true };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/box-cs5/app/index.tsx b/ej2-react/code-snippet/chart/series/box-cs5/app/index.tsx
new file mode 100644
index 000000000..dfa3c9ca2
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs5/app/index.tsx
@@ -0,0 +1,33 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ BoxAndWhiskerSeries, Category}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Category', majorGridLines: { width: 0 }, };
+ const primaryyAxis: AxisModel = { minimum: 10, maximum: 60, interval: 10, majorGridLines: { width: 0 }, majorTickLines: { width: 0 } };
+ const marker = { visible: true };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/box-cs5/index.html b/ej2-react/code-snippet/chart/series/box-cs5/index.html
new file mode 100644
index 000000000..f3d4cf303
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs5/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Syncfusion React Chart-Bar Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/box-cs5/systemjs.config.js b/ej2-react/code-snippet/chart/series/box-cs5/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs5/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/box-cs6/app/datasource.jsx b/ej2-react/code-snippet/chart/series/box-cs6/app/datasource.jsx
new file mode 100644
index 000000000..d5bb54fd0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs6/app/datasource.jsx
@@ -0,0 +1,11 @@
+export let data = [
+ { x: 'Development', y: [22, 22, 23, 25, 25, 25, 26, 27, 27, 28, 28, 29, 30, 32, 34, 32, 34, 36, 35, 38] },
+ { x: 'Testing', y: [22, 33, 23, 25, 26, 28, 29, 30, 34, 33, 32, 31, 50] },
+ { x: 'HR', y: [22, 24, 25, 30, 32, 34, 36, 38, 39, 41, 35, 36, 40, 56] },
+ { x: 'Finance', y: [26, 27, 28, 30, 32, 34, 35, 37, 35, 37, 45] },
+ { x: 'R&D', y: [26, 27, 29, 32, 34, 35, 36, 37, 38, 39, 41, 43, 58] },
+ { x: 'Sales', y: [27, 26, 28, 29, 29, 29, 32, 35, 32, 38, 53] },
+ { x: 'Inventory', y: [21, 23, 24, 25, 26, 27, 28, 30, 34, 36, 38] },
+ { x: 'Graphics', y: [26, 28, 29, 30, 32, 33, 35, 36, 52] },
+ { x: 'Training', y: [28, 29, 30, 31, 32, 34, 35, 36] }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/box-cs6/app/datasource.tsx b/ej2-react/code-snippet/chart/series/box-cs6/app/datasource.tsx
new file mode 100644
index 000000000..c5cef7a2b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs6/app/datasource.tsx
@@ -0,0 +1,11 @@
+export let data: Object[] = [
+ { x: 'Development', y: [22, 22, 23, 25, 25, 25, 26, 27, 27, 28, 28, 29, 30, 32, 34, 32, 34, 36, 35, 38] },
+ { x: 'Testing', y: [22, 33, 23, 25, 26, 28, 29, 30, 34, 33, 32, 31, 50] },
+ { x: 'HR', y: [22, 24, 25, 30, 32, 34, 36, 38, 39, 41, 35, 36, 40, 56] },
+ { x: 'Finance', y: [26, 27, 28, 30, 32, 34, 35, 37, 35, 37, 45] },
+ { x: 'R&D', y: [26, 27, 29, 32, 34, 35, 36, 37, 38, 39, 41, 43, 58] },
+ { x: 'Sales', y: [27, 26, 28, 29, 29, 29, 32, 35, 32, 38, 53] },
+ { x: 'Inventory', y: [21, 23, 24, 25, 26, 27, 28, 30, 34, 36, 38] },
+ { x: 'Graphics', y: [26, 28, 29, 30, 32, 33, 35, 36, 52] },
+ { x: 'Training', y: [28, 29, 30, 31, 32, 34, 35, 36] }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/box-cs6/app/index.jsx b/ej2-react/code-snippet/chart/series/box-cs6/app/index.jsx
new file mode 100644
index 000000000..caa18bc26
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs6/app/index.jsx
@@ -0,0 +1,19 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, BoxAndWhiskerSeries, Category } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', majorGridLines: { width: 0 }, };
+ const primaryyAxis = { minimum: 10, maximum: 60, interval: 10, majorGridLines: { width: 0 }, majorTickLines: { width: 0 } };
+ const marker = { visible: true };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/box-cs6/app/index.tsx b/ej2-react/code-snippet/chart/series/box-cs6/app/index.tsx
new file mode 100644
index 000000000..bedc7034c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs6/app/index.tsx
@@ -0,0 +1,33 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ BoxAndWhiskerSeries, Category}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Category', majorGridLines: { width: 0 }, };
+ const primaryyAxis: AxisModel = { minimum: 10, maximum: 60, interval: 10, majorGridLines: { width: 0 }, majorTickLines: { width: 0 } };
+ const marker = { visible: true };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/box-cs6/index.html b/ej2-react/code-snippet/chart/series/box-cs6/index.html
new file mode 100644
index 000000000..f3d4cf303
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs6/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Syncfusion React Chart-Bar Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/box-cs6/systemjs.config.js b/ej2-react/code-snippet/chart/series/box-cs6/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs6/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/box-cs7/app/datasource.jsx b/ej2-react/code-snippet/chart/series/box-cs7/app/datasource.jsx
new file mode 100644
index 000000000..d5bb54fd0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs7/app/datasource.jsx
@@ -0,0 +1,11 @@
+export let data = [
+ { x: 'Development', y: [22, 22, 23, 25, 25, 25, 26, 27, 27, 28, 28, 29, 30, 32, 34, 32, 34, 36, 35, 38] },
+ { x: 'Testing', y: [22, 33, 23, 25, 26, 28, 29, 30, 34, 33, 32, 31, 50] },
+ { x: 'HR', y: [22, 24, 25, 30, 32, 34, 36, 38, 39, 41, 35, 36, 40, 56] },
+ { x: 'Finance', y: [26, 27, 28, 30, 32, 34, 35, 37, 35, 37, 45] },
+ { x: 'R&D', y: [26, 27, 29, 32, 34, 35, 36, 37, 38, 39, 41, 43, 58] },
+ { x: 'Sales', y: [27, 26, 28, 29, 29, 29, 32, 35, 32, 38, 53] },
+ { x: 'Inventory', y: [21, 23, 24, 25, 26, 27, 28, 30, 34, 36, 38] },
+ { x: 'Graphics', y: [26, 28, 29, 30, 32, 33, 35, 36, 52] },
+ { x: 'Training', y: [28, 29, 30, 31, 32, 34, 35, 36] }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/box-cs7/app/datasource.tsx b/ej2-react/code-snippet/chart/series/box-cs7/app/datasource.tsx
new file mode 100644
index 000000000..c5cef7a2b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs7/app/datasource.tsx
@@ -0,0 +1,11 @@
+export let data: Object[] = [
+ { x: 'Development', y: [22, 22, 23, 25, 25, 25, 26, 27, 27, 28, 28, 29, 30, 32, 34, 32, 34, 36, 35, 38] },
+ { x: 'Testing', y: [22, 33, 23, 25, 26, 28, 29, 30, 34, 33, 32, 31, 50] },
+ { x: 'HR', y: [22, 24, 25, 30, 32, 34, 36, 38, 39, 41, 35, 36, 40, 56] },
+ { x: 'Finance', y: [26, 27, 28, 30, 32, 34, 35, 37, 35, 37, 45] },
+ { x: 'R&D', y: [26, 27, 29, 32, 34, 35, 36, 37, 38, 39, 41, 43, 58] },
+ { x: 'Sales', y: [27, 26, 28, 29, 29, 29, 32, 35, 32, 38, 53] },
+ { x: 'Inventory', y: [21, 23, 24, 25, 26, 27, 28, 30, 34, 36, 38] },
+ { x: 'Graphics', y: [26, 28, 29, 30, 32, 33, 35, 36, 52] },
+ { x: 'Training', y: [28, 29, 30, 31, 32, 34, 35, 36] }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/box-cs7/app/index.jsx b/ej2-react/code-snippet/chart/series/box-cs7/app/index.jsx
new file mode 100644
index 000000000..5ce4e8c53
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs7/app/index.jsx
@@ -0,0 +1,20 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, BoxAndWhiskerSeries, Category } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', majorGridLines: { width: 0 }, };
+ const primaryyAxis = { minimum: 10, maximum: 60, interval: 10, majorGridLines: { width: 0 }, majorTickLines: { width: 0 } };
+ const marker = { visible: true };
+ const border = { width: 1.5, color: 'red' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/box-cs7/app/index.tsx b/ej2-react/code-snippet/chart/series/box-cs7/app/index.tsx
new file mode 100644
index 000000000..1f41c9398
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs7/app/index.tsx
@@ -0,0 +1,33 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ BoxAndWhiskerSeries, Category}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Category', majorGridLines: { width: 0 }, };
+ const primaryyAxis: AxisModel = { minimum: 10, maximum: 60, interval: 10, majorGridLines: { width: 0 }, majorTickLines: { width: 0 } };
+ const marker = { visible: true };
+ const border: Object = { width: 1.5, color: 'red' };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/box-cs7/index.html b/ej2-react/code-snippet/chart/series/box-cs7/index.html
new file mode 100644
index 000000000..f3d4cf303
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs7/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Syncfusion React Chart-Bar Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/box-cs7/systemjs.config.js b/ej2-react/code-snippet/chart/series/box-cs7/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs7/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/box-cs8/app/datasource.jsx b/ej2-react/code-snippet/chart/series/box-cs8/app/datasource.jsx
new file mode 100644
index 000000000..d5bb54fd0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs8/app/datasource.jsx
@@ -0,0 +1,11 @@
+export let data = [
+ { x: 'Development', y: [22, 22, 23, 25, 25, 25, 26, 27, 27, 28, 28, 29, 30, 32, 34, 32, 34, 36, 35, 38] },
+ { x: 'Testing', y: [22, 33, 23, 25, 26, 28, 29, 30, 34, 33, 32, 31, 50] },
+ { x: 'HR', y: [22, 24, 25, 30, 32, 34, 36, 38, 39, 41, 35, 36, 40, 56] },
+ { x: 'Finance', y: [26, 27, 28, 30, 32, 34, 35, 37, 35, 37, 45] },
+ { x: 'R&D', y: [26, 27, 29, 32, 34, 35, 36, 37, 38, 39, 41, 43, 58] },
+ { x: 'Sales', y: [27, 26, 28, 29, 29, 29, 32, 35, 32, 38, 53] },
+ { x: 'Inventory', y: [21, 23, 24, 25, 26, 27, 28, 30, 34, 36, 38] },
+ { x: 'Graphics', y: [26, 28, 29, 30, 32, 33, 35, 36, 52] },
+ { x: 'Training', y: [28, 29, 30, 31, 32, 34, 35, 36] }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/box-cs8/app/datasource.tsx b/ej2-react/code-snippet/chart/series/box-cs8/app/datasource.tsx
new file mode 100644
index 000000000..c5cef7a2b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs8/app/datasource.tsx
@@ -0,0 +1,11 @@
+export let data: Object[] = [
+ { x: 'Development', y: [22, 22, 23, 25, 25, 25, 26, 27, 27, 28, 28, 29, 30, 32, 34, 32, 34, 36, 35, 38] },
+ { x: 'Testing', y: [22, 33, 23, 25, 26, 28, 29, 30, 34, 33, 32, 31, 50] },
+ { x: 'HR', y: [22, 24, 25, 30, 32, 34, 36, 38, 39, 41, 35, 36, 40, 56] },
+ { x: 'Finance', y: [26, 27, 28, 30, 32, 34, 35, 37, 35, 37, 45] },
+ { x: 'R&D', y: [26, 27, 29, 32, 34, 35, 36, 37, 38, 39, 41, 43, 58] },
+ { x: 'Sales', y: [27, 26, 28, 29, 29, 29, 32, 35, 32, 38, 53] },
+ { x: 'Inventory', y: [21, 23, 24, 25, 26, 27, 28, 30, 34, 36, 38] },
+ { x: 'Graphics', y: [26, 28, 29, 30, 32, 33, 35, 36, 52] },
+ { x: 'Training', y: [28, 29, 30, 31, 32, 34, 35, 36] }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/box-cs8/app/index.jsx b/ej2-react/code-snippet/chart/series/box-cs8/app/index.jsx
new file mode 100644
index 000000000..6fb6994ba
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs8/app/index.jsx
@@ -0,0 +1,20 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, BoxAndWhiskerSeries, Category } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', majorGridLines: { width: 0 }, };
+ const primaryyAxis = { minimum: 10, maximum: 60, interval: 10, majorGridLines: { width: 0 }, majorTickLines: { width: 0 } };
+ const marker = { visible: true };
+ const border = { width: 1.5, color: 'red' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/box-cs8/app/index.tsx b/ej2-react/code-snippet/chart/series/box-cs8/app/index.tsx
new file mode 100644
index 000000000..be4872580
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs8/app/index.tsx
@@ -0,0 +1,33 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ BoxAndWhiskerSeries, Category}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Category', majorGridLines: { width: 0 }, };
+ const primaryyAxis: AxisModel = { minimum: 10, maximum: 60, interval: 10, majorGridLines: { width: 0 }, majorTickLines: { width: 0 } };
+ const marker = { visible: true };
+ const border: Object = { width: 1.5, color: 'red' };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/box-cs8/index.html b/ej2-react/code-snippet/chart/series/box-cs8/index.html
new file mode 100644
index 000000000..f3d4cf303
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs8/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Syncfusion React Chart-Bar Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/box-cs8/systemjs.config.js b/ej2-react/code-snippet/chart/series/box-cs8/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs8/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/box-cs9/app/datasource.jsx b/ej2-react/code-snippet/chart/series/box-cs9/app/datasource.jsx
new file mode 100644
index 000000000..d5bb54fd0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs9/app/datasource.jsx
@@ -0,0 +1,11 @@
+export let data = [
+ { x: 'Development', y: [22, 22, 23, 25, 25, 25, 26, 27, 27, 28, 28, 29, 30, 32, 34, 32, 34, 36, 35, 38] },
+ { x: 'Testing', y: [22, 33, 23, 25, 26, 28, 29, 30, 34, 33, 32, 31, 50] },
+ { x: 'HR', y: [22, 24, 25, 30, 32, 34, 36, 38, 39, 41, 35, 36, 40, 56] },
+ { x: 'Finance', y: [26, 27, 28, 30, 32, 34, 35, 37, 35, 37, 45] },
+ { x: 'R&D', y: [26, 27, 29, 32, 34, 35, 36, 37, 38, 39, 41, 43, 58] },
+ { x: 'Sales', y: [27, 26, 28, 29, 29, 29, 32, 35, 32, 38, 53] },
+ { x: 'Inventory', y: [21, 23, 24, 25, 26, 27, 28, 30, 34, 36, 38] },
+ { x: 'Graphics', y: [26, 28, 29, 30, 32, 33, 35, 36, 52] },
+ { x: 'Training', y: [28, 29, 30, 31, 32, 34, 35, 36] }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/box-cs9/app/datasource.tsx b/ej2-react/code-snippet/chart/series/box-cs9/app/datasource.tsx
new file mode 100644
index 000000000..c5cef7a2b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs9/app/datasource.tsx
@@ -0,0 +1,11 @@
+export let data: Object[] = [
+ { x: 'Development', y: [22, 22, 23, 25, 25, 25, 26, 27, 27, 28, 28, 29, 30, 32, 34, 32, 34, 36, 35, 38] },
+ { x: 'Testing', y: [22, 33, 23, 25, 26, 28, 29, 30, 34, 33, 32, 31, 50] },
+ { x: 'HR', y: [22, 24, 25, 30, 32, 34, 36, 38, 39, 41, 35, 36, 40, 56] },
+ { x: 'Finance', y: [26, 27, 28, 30, 32, 34, 35, 37, 35, 37, 45] },
+ { x: 'R&D', y: [26, 27, 29, 32, 34, 35, 36, 37, 38, 39, 41, 43, 58] },
+ { x: 'Sales', y: [27, 26, 28, 29, 29, 29, 32, 35, 32, 38, 53] },
+ { x: 'Inventory', y: [21, 23, 24, 25, 26, 27, 28, 30, 34, 36, 38] },
+ { x: 'Graphics', y: [26, 28, 29, 30, 32, 33, 35, 36, 52] },
+ { x: 'Training', y: [28, 29, 30, 31, 32, 34, 35, 36] }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/box-cs9/app/index.jsx b/ej2-react/code-snippet/chart/series/box-cs9/app/index.jsx
new file mode 100644
index 000000000..a43a68e59
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs9/app/index.jsx
@@ -0,0 +1,22 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, BoxAndWhiskerSeries, Category } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', majorGridLines: { width: 0 }, };
+ const primaryyAxis = { minimum: 10, maximum: 60, interval: 10, majorGridLines: { width: 0 }, majorTickLines: { width: 0 } };
+ const marker = { visible: true };
+ const seriesRender = (args) => {
+ args.fill = '#ff6347';
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/box-cs9/app/index.tsx b/ej2-react/code-snippet/chart/series/box-cs9/app/index.tsx
new file mode 100644
index 000000000..05ca8bb9c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs9/app/index.tsx
@@ -0,0 +1,36 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ BoxAndWhiskerSeries, Category, ISeriesRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { EmitType } from '@syncfusion/ej2-base';
+import { data } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Category', majorGridLines: { width: 0 }, };
+ const primaryyAxis: AxisModel = { minimum: 10, maximum: 60, interval: 10, majorGridLines: { width: 0 }, majorTickLines: { width: 0 } };
+ const marker = { visible: true };
+ const seriesRender: EmitType = (args: ISeriesRenderEventArgs): void => {
+ args.fill = '#ff6347';
+ };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/box-cs9/index.html b/ej2-react/code-snippet/chart/series/box-cs9/index.html
new file mode 100644
index 000000000..f3d4cf303
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs9/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Syncfusion React Chart-Bar Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/box-cs9/systemjs.config.js b/ej2-react/code-snippet/chart/series/box-cs9/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/box-cs9/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs/app/index.jsx b/ej2-react/code-snippet/chart/series/bubble-cs/app/index.jsx
index 1431cbe2c..91135c1ca 100644
--- a/ej2-react/code-snippet/chart/series/bubble-cs/app/index.jsx
+++ b/ej2-react/code-snippet/chart/series/bubble-cs/app/index.jsx
@@ -8,7 +8,7 @@ function App() {
return
-
+
;
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs/app/index.tsx b/ej2-react/code-snippet/chart/series/bubble-cs/app/index.tsx
index 171e84416..9df848307 100644
--- a/ej2-react/code-snippet/chart/series/bubble-cs/app/index.tsx
+++ b/ej2-react/code-snippet/chart/series/bubble-cs/app/index.tsx
@@ -18,7 +18,7 @@ const primaryyAxis: AxisModel= { title: 'GDP growth rate', minimum: -2, maximum:
title='GDP vs Literacy Rate'>
-
+
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs1/app/datasource.jsx b/ej2-react/code-snippet/chart/series/bubble-cs1/app/datasource.jsx
new file mode 100644
index 000000000..1eebc1a3e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs1/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let data = [
+ { x: 92.2, y: 7.8, size: 1.347, text: 'China' },
+ { x: 74, y: 6.5, size: 1.241, text: 'India' },
+ { x: 90.4, y: 6.0, size: 0.238, text: 'Indonesia' },
+ { x: 99.4, y: 2.2, size: 0.312, text: 'US' },
+ { x: 88.6, y: 1.3, size: 0.197, text: 'Brazil' },
+ { x: 99, y: 0.7, size: 0.0818, text: 'Germany' },
+ { x: 72, y: 2.0, size: 0.0826, text: 'Egypt' },
+ { x: 99.6, y: 3.4, size: 0.143, text: 'Russia' },
+ { x: 99, y: 0.2, size: 0.128, text: 'Japan' },
+ { x: 86.1, y: 4.0, size: 0.115, text: 'Mexico' },
+ { x: 92.6, y: 6.6, size: 0.096, text: 'Philippines' },
+ { x: 61.3, y: 14.5, size: 0.162, text: 'Nigeria' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs1/app/datasource.tsx b/ej2-react/code-snippet/chart/series/bubble-cs1/app/datasource.tsx
new file mode 100644
index 000000000..1a1d61ebe
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs1/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let data: Object[] = [
+ { x: 92.2, y: 7.8, size: 1.347, text: 'China' },
+ { x: 74, y: 6.5, size: 1.241, text: 'India' },
+ { x: 90.4, y: 6.0, size: 0.238, text: 'Indonesia' },
+ { x: 99.4, y: 2.2, size: 0.312, text: 'US' },
+ { x: 88.6, y: 1.3, size: 0.197, text: 'Brazil' },
+ { x: 99, y: 0.7, size: 0.0818, text: 'Germany' },
+ { x: 72, y: 2.0, size: 0.0826, text: 'Egypt' },
+ { x: 99.6, y: 3.4, size: 0.143, text: 'Russia' },
+ { x: 99, y: 0.2, size: 0.128, text: 'Japan' },
+ { x: 86.1, y: 4.0, size: 0.115, text: 'Mexico' },
+ { x: 92.6, y: 6.6, size: 0.096, text: 'Philippines' },
+ { x: 61.3, y: 14.5, size: 0.162, text: 'Nigeria' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs1/app/index.jsx b/ej2-react/code-snippet/chart/series/bubble-cs1/app/index.jsx
new file mode 100644
index 000000000..1fea39d54
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs1/app/index.jsx
@@ -0,0 +1,18 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, BubbleSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Literacy Rate', minimum: 60, maximum: 100, interval: 5 };
+ const primaryyAxis = { title: 'GDP growth rate', minimum: -2, maximum: 16, interval: 2 };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs1/app/index.tsx b/ej2-react/code-snippet/chart/series/bubble-cs1/app/index.tsx
new file mode 100644
index 000000000..ba6620b1b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs1/app/index.tsx
@@ -0,0 +1,30 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ BubbleSeries}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+const primaryxAxis: AxisModel= { title: 'Literacy Rate', minimum: 60, maximum: 100, interval: 5 } ;
+const primaryyAxis: AxisModel= { title: 'GDP growth rate', minimum: -2, maximum: 16, interval: 2 } ;
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs1/index.html b/ej2-react/code-snippet/chart/series/bubble-cs1/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs1/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs1/systemjs.config.js b/ej2-react/code-snippet/chart/series/bubble-cs1/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs1/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs2/app/datasource.jsx b/ej2-react/code-snippet/chart/series/bubble-cs2/app/datasource.jsx
new file mode 100644
index 000000000..c231196cb
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs2/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let data = [
+ { x: 92.2, y: 7.8, size: 1.347 },
+ { x: 74, y: 6.5, size: 1.241 },
+ { x: 90.4, y: null, size: 0.238 },
+ { x: 99.4, y: 2.2, size: 0.312 },
+ { x: 88.6, y: 1.3, size: 0.197 },
+ { x: 99, y: 0.7, size: 0.0818 },
+ { x: 72, y: 2.0, size: 0.0826 },
+ { x: 99.6, y: 3.4, size: 0.143 },
+ { x: 99, y: undefined, size: 0.128 },
+ { x: 86.1, y: 4.0, size: 0.115 },
+ { x: 92.6, y: 6.6, size: 0.096 },
+ { x: 61.3, y: 14.5, size: 0.162 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs2/app/datasource.tsx b/ej2-react/code-snippet/chart/series/bubble-cs2/app/datasource.tsx
new file mode 100644
index 000000000..521558652
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs2/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let data: Object[] = [
+ { x: 92.2, y: 7.8, size: 1.347 },
+ { x: 74, y: 6.5, size: 1.241 },
+ { x: 90.4, y: null, size: 0.238 },
+ { x: 99.4, y: 2.2, size: 0.312 },
+ { x: 88.6, y: 1.3, size: 0.197 },
+ { x: 99, y: 0.7, size: 0.0818 },
+ { x: 72, y: 2.0, size: 0.0826 },
+ { x: 99.6, y: 3.4, size: 0.143 },
+ { x: 99, y: undefined, size: 0.128 },
+ { x: 86.1, y: 4.0, size: 0.115 },
+ { x: 92.6, y: 6.6, size: 0.096 },
+ { x: 61.3, y: 14.5, size: 0.162 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs2/app/index.jsx b/ej2-react/code-snippet/chart/series/bubble-cs2/app/index.jsx
new file mode 100644
index 000000000..7f291ad90
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs2/app/index.jsx
@@ -0,0 +1,21 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, BubbleSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Literacy Rate', minimum: 60, maximum: 100, interval: 5 };
+ const primaryyAxis = { title: 'GDP growth rate', minimum: -2, maximum: 16, interval: 2 };
+ const emptyPoint = {
+ mode: 'Gap',
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs2/app/index.tsx b/ej2-react/code-snippet/chart/series/bubble-cs2/app/index.tsx
new file mode 100644
index 000000000..b62b157fe
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs2/app/index.tsx
@@ -0,0 +1,32 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ BubbleSeries}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+const primaryxAxis: AxisModel= { title: 'Literacy Rate', minimum: 60, maximum: 100, interval: 5 } ;
+const primaryyAxis: AxisModel= { title: 'GDP growth rate', minimum: -2, maximum: 16, interval: 2 } ;
+const emptyPoint: object = {
+ mode: 'Gap',
+};
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs2/index.html b/ej2-react/code-snippet/chart/series/bubble-cs2/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs2/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs2/systemjs.config.js b/ej2-react/code-snippet/chart/series/bubble-cs2/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs2/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs3/app/datasource.jsx b/ej2-react/code-snippet/chart/series/bubble-cs3/app/datasource.jsx
new file mode 100644
index 000000000..c231196cb
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs3/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let data = [
+ { x: 92.2, y: 7.8, size: 1.347 },
+ { x: 74, y: 6.5, size: 1.241 },
+ { x: 90.4, y: null, size: 0.238 },
+ { x: 99.4, y: 2.2, size: 0.312 },
+ { x: 88.6, y: 1.3, size: 0.197 },
+ { x: 99, y: 0.7, size: 0.0818 },
+ { x: 72, y: 2.0, size: 0.0826 },
+ { x: 99.6, y: 3.4, size: 0.143 },
+ { x: 99, y: undefined, size: 0.128 },
+ { x: 86.1, y: 4.0, size: 0.115 },
+ { x: 92.6, y: 6.6, size: 0.096 },
+ { x: 61.3, y: 14.5, size: 0.162 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs3/app/datasource.tsx b/ej2-react/code-snippet/chart/series/bubble-cs3/app/datasource.tsx
new file mode 100644
index 000000000..521558652
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs3/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let data: Object[] = [
+ { x: 92.2, y: 7.8, size: 1.347 },
+ { x: 74, y: 6.5, size: 1.241 },
+ { x: 90.4, y: null, size: 0.238 },
+ { x: 99.4, y: 2.2, size: 0.312 },
+ { x: 88.6, y: 1.3, size: 0.197 },
+ { x: 99, y: 0.7, size: 0.0818 },
+ { x: 72, y: 2.0, size: 0.0826 },
+ { x: 99.6, y: 3.4, size: 0.143 },
+ { x: 99, y: undefined, size: 0.128 },
+ { x: 86.1, y: 4.0, size: 0.115 },
+ { x: 92.6, y: 6.6, size: 0.096 },
+ { x: 61.3, y: 14.5, size: 0.162 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs3/app/index.jsx b/ej2-react/code-snippet/chart/series/bubble-cs3/app/index.jsx
new file mode 100644
index 000000000..12c8909f1
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs3/app/index.jsx
@@ -0,0 +1,21 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, BubbleSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Literacy Rate', minimum: 60, maximum: 100, interval: 5 };
+ const primaryyAxis = { title: 'GDP growth rate', minimum: -2, maximum: 16, interval: 2 };
+ const emptyPoint = {
+ mode: 'Zero', fill: 'red'
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs3/app/index.tsx b/ej2-react/code-snippet/chart/series/bubble-cs3/app/index.tsx
new file mode 100644
index 000000000..0ffd9d0fe
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs3/app/index.tsx
@@ -0,0 +1,32 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ BubbleSeries}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+const primaryxAxis: AxisModel= { title: 'Literacy Rate', minimum: 60, maximum: 100, interval: 5 } ;
+const primaryyAxis: AxisModel= { title: 'GDP growth rate', minimum: -2, maximum: 16, interval: 2 } ;
+const emptyPoint: object = {
+ mode: 'Zero', fill: 'red'
+};
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs3/index.html b/ej2-react/code-snippet/chart/series/bubble-cs3/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs3/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs3/systemjs.config.js b/ej2-react/code-snippet/chart/series/bubble-cs3/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs3/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs4/app/datasource.jsx b/ej2-react/code-snippet/chart/series/bubble-cs4/app/datasource.jsx
new file mode 100644
index 000000000..c231196cb
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs4/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let data = [
+ { x: 92.2, y: 7.8, size: 1.347 },
+ { x: 74, y: 6.5, size: 1.241 },
+ { x: 90.4, y: null, size: 0.238 },
+ { x: 99.4, y: 2.2, size: 0.312 },
+ { x: 88.6, y: 1.3, size: 0.197 },
+ { x: 99, y: 0.7, size: 0.0818 },
+ { x: 72, y: 2.0, size: 0.0826 },
+ { x: 99.6, y: 3.4, size: 0.143 },
+ { x: 99, y: undefined, size: 0.128 },
+ { x: 86.1, y: 4.0, size: 0.115 },
+ { x: 92.6, y: 6.6, size: 0.096 },
+ { x: 61.3, y: 14.5, size: 0.162 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs4/app/datasource.tsx b/ej2-react/code-snippet/chart/series/bubble-cs4/app/datasource.tsx
new file mode 100644
index 000000000..521558652
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs4/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let data: Object[] = [
+ { x: 92.2, y: 7.8, size: 1.347 },
+ { x: 74, y: 6.5, size: 1.241 },
+ { x: 90.4, y: null, size: 0.238 },
+ { x: 99.4, y: 2.2, size: 0.312 },
+ { x: 88.6, y: 1.3, size: 0.197 },
+ { x: 99, y: 0.7, size: 0.0818 },
+ { x: 72, y: 2.0, size: 0.0826 },
+ { x: 99.6, y: 3.4, size: 0.143 },
+ { x: 99, y: undefined, size: 0.128 },
+ { x: 86.1, y: 4.0, size: 0.115 },
+ { x: 92.6, y: 6.6, size: 0.096 },
+ { x: 61.3, y: 14.5, size: 0.162 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs4/app/index.jsx b/ej2-react/code-snippet/chart/series/bubble-cs4/app/index.jsx
new file mode 100644
index 000000000..df7d49f43
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs4/app/index.jsx
@@ -0,0 +1,21 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, BubbleSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Literacy Rate', minimum: 60, maximum: 100, interval: 5 };
+ const primaryyAxis = { title: 'GDP growth rate', minimum: -2, maximum: 16, interval: 2 };
+ const emptyPoint = {
+ mode: 'Zero', fill: 'red', border: {width: 1.5, color:'green'}
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs4/app/index.tsx b/ej2-react/code-snippet/chart/series/bubble-cs4/app/index.tsx
new file mode 100644
index 000000000..ecefa5f00
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs4/app/index.tsx
@@ -0,0 +1,32 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ BubbleSeries}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+const primaryxAxis: AxisModel= { title: 'Literacy Rate', minimum: 60, maximum: 100, interval: 5 } ;
+const primaryyAxis: AxisModel= { title: 'GDP growth rate', minimum: -2, maximum: 16, interval: 2 } ;
+const emptyPoint: object = {
+ mode: 'Zero', fill: 'red', border: {width: 1.5, color:'green'}
+};
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs4/index.html b/ej2-react/code-snippet/chart/series/bubble-cs4/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs4/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs4/systemjs.config.js b/ej2-react/code-snippet/chart/series/bubble-cs4/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs4/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs5/app/datasource.jsx b/ej2-react/code-snippet/chart/series/bubble-cs5/app/datasource.jsx
new file mode 100644
index 000000000..ad63501ec
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs5/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let data = [
+ { x: 92.2, y: 7.8, size: 1.347 },
+ { x: 74, y: 6.5, size: 1.241 },
+ { x: 90.4, y: 7, size: 0.238 },
+ { x: 99.4, y: 2.2, size: 0.312 },
+ { x: 88.6, y: 1.3, size: 0.197 },
+ { x: 99, y: 0.7, size: 0.0818 },
+ { x: 72, y: 2.0, size: 0.0826 },
+ { x: 99.6, y: 3.4, size: 0.143 },
+ { x: 99, y: 4, size: 0.128 },
+ { x: 86.1, y: 4.0, size: 0.115 },
+ { x: 92.6, y: 6.6, size: 0.096 },
+ { x: 61.3, y: 14.5, size: 0.162 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs5/app/datasource.tsx b/ej2-react/code-snippet/chart/series/bubble-cs5/app/datasource.tsx
new file mode 100644
index 000000000..6b1e5ec63
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs5/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let data: Object[] = [
+ { x: 92.2, y: 7.8, size: 1.347 },
+ { x: 74, y: 6.5, size: 1.241 },
+ { x: 90.4, y: 7, size: 0.238 },
+ { x: 99.4, y: 2.2, size: 0.312 },
+ { x: 88.6, y: 1.3, size: 0.197 },
+ { x: 99, y: 0.7, size: 0.0818 },
+ { x: 72, y: 2.0, size: 0.0826 },
+ { x: 99.6, y: 3.4, size: 0.143 },
+ { x: 99, y: 4, size: 0.128 },
+ { x: 86.1, y: 4.0, size: 0.115 },
+ { x: 92.6, y: 6.6, size: 0.096 },
+ { x: 61.3, y: 14.5, size: 0.162 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs5/app/index.jsx b/ej2-react/code-snippet/chart/series/bubble-cs5/app/index.jsx
new file mode 100644
index 000000000..a84e38710
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs5/app/index.jsx
@@ -0,0 +1,21 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, BubbleSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Literacy Rate', minimum: 60, maximum: 100, interval: 5 };
+ const primaryyAxis = { title: 'GDP growth rate', minimum: -2, maximum: 16, interval: 2 };
+ const seriesRender = (args) => {
+ args.fill = '#ff6347';
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs5/app/index.tsx b/ej2-react/code-snippet/chart/series/bubble-cs5/app/index.tsx
new file mode 100644
index 000000000..df9f61330
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs5/app/index.tsx
@@ -0,0 +1,33 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ BubbleSeries, ISeriesRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+import { EmitType } from '@syncfusion/ej2-base';
+function App() {
+const primaryxAxis: AxisModel= { title: 'Literacy Rate', minimum: 60, maximum: 100, interval: 5 } ;
+const primaryyAxis: AxisModel= { title: 'GDP growth rate', minimum: -2, maximum: 16, interval: 2 } ;
+const seriesRender: EmitType = (args: ISeriesRenderEventArgs): void => {
+ args.fill = '#ff6347';
+};
+ return
+ seriesRender={seriesRender}
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs5/index.html b/ej2-react/code-snippet/chart/series/bubble-cs5/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs5/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs5/systemjs.config.js b/ej2-react/code-snippet/chart/series/bubble-cs5/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs5/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs6/app/datasource.jsx b/ej2-react/code-snippet/chart/series/bubble-cs6/app/datasource.jsx
new file mode 100644
index 000000000..ad63501ec
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs6/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let data = [
+ { x: 92.2, y: 7.8, size: 1.347 },
+ { x: 74, y: 6.5, size: 1.241 },
+ { x: 90.4, y: 7, size: 0.238 },
+ { x: 99.4, y: 2.2, size: 0.312 },
+ { x: 88.6, y: 1.3, size: 0.197 },
+ { x: 99, y: 0.7, size: 0.0818 },
+ { x: 72, y: 2.0, size: 0.0826 },
+ { x: 99.6, y: 3.4, size: 0.143 },
+ { x: 99, y: 4, size: 0.128 },
+ { x: 86.1, y: 4.0, size: 0.115 },
+ { x: 92.6, y: 6.6, size: 0.096 },
+ { x: 61.3, y: 14.5, size: 0.162 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs6/app/datasource.tsx b/ej2-react/code-snippet/chart/series/bubble-cs6/app/datasource.tsx
new file mode 100644
index 000000000..6b1e5ec63
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs6/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let data: Object[] = [
+ { x: 92.2, y: 7.8, size: 1.347 },
+ { x: 74, y: 6.5, size: 1.241 },
+ { x: 90.4, y: 7, size: 0.238 },
+ { x: 99.4, y: 2.2, size: 0.312 },
+ { x: 88.6, y: 1.3, size: 0.197 },
+ { x: 99, y: 0.7, size: 0.0818 },
+ { x: 72, y: 2.0, size: 0.0826 },
+ { x: 99.6, y: 3.4, size: 0.143 },
+ { x: 99, y: 4, size: 0.128 },
+ { x: 86.1, y: 4.0, size: 0.115 },
+ { x: 92.6, y: 6.6, size: 0.096 },
+ { x: 61.3, y: 14.5, size: 0.162 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs6/app/index.jsx b/ej2-react/code-snippet/chart/series/bubble-cs6/app/index.jsx
new file mode 100644
index 000000000..400de5d42
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs6/app/index.jsx
@@ -0,0 +1,24 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, BubbleSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Literacy Rate', minimum: 60, maximum: 100, interval: 5 };
+ const primaryyAxis = { title: 'GDP growth rate', minimum: -2, maximum: 16, interval: 2 };
+ const pointRender = (args) => {
+ const seriesRender = (args) => {
+ args.series.bearFillColor = '#ff6347';
+ args.series.bullFillColor = '#009cb8';
+ };
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs6/app/index.tsx b/ej2-react/code-snippet/chart/series/bubble-cs6/app/index.tsx
new file mode 100644
index 000000000..35856da20
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs6/app/index.tsx
@@ -0,0 +1,32 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ BubbleSeries, IPointRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+import { EmitType } from '@syncfusion/ej2-base';
+function App() {
+const primaryxAxis: AxisModel= { title: 'Literacy Rate', minimum: 60, maximum: 100, interval: 5 } ;
+const primaryyAxis: AxisModel= { title: 'GDP growth rate', minimum: -2, maximum: 16, interval: 2 } ;
+const pointRender: EmitType = (args: IPointRenderEventArgs): void => {
+ args.fill = '#ff6347';
+};
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs6/index.html b/ej2-react/code-snippet/chart/series/bubble-cs6/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs6/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/bubble-cs6/systemjs.config.js b/ej2-react/code-snippet/chart/series/bubble-cs6/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/bubble-cs6/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/candle-cs3/app/datasource.jsx b/ej2-react/code-snippet/chart/series/candle-cs3/app/datasource.jsx
new file mode 100644
index 000000000..d566ac8b6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/candle-cs3/app/datasource.jsx
@@ -0,0 +1,7 @@
+export let chartData = [
+ { x: 'Jan', open: 120, high: 160, low: 100, close: 140 },
+ { x: 'Feb', open: 150, high: 190, low: 130, close: 170 },
+ { x: 'Mar', open: null, high: 170, low: 110, close: 150 },
+ { x: 'Apr', open: 160, high: 180, low: 120, close: 140 },
+ { x: 'May', open: 150, high: 170, low: 110, close: 130 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/candle-cs3/app/datasource.tsx b/ej2-react/code-snippet/chart/series/candle-cs3/app/datasource.tsx
new file mode 100644
index 000000000..78d507018
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/candle-cs3/app/datasource.tsx
@@ -0,0 +1,7 @@
+export let chartData: Object[] = [
+ { x: 'Jan', open: 120, high: 160, low: 100, close: 140 },
+ { x: 'Feb', open: 150, high: 190, low: 130, close: 170 },
+ { x: 'Mar', open: null, high: 170, low: 110, close: 150 },
+ { x: 'Apr', open: 160, high: 180, low: 120, close: 140 },
+ { x: 'May', open: 150, high: 170, low: 110, close: 130 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/candle-cs3/app/index.jsx b/ej2-react/code-snippet/chart/series/candle-cs3/app/index.jsx
new file mode 100644
index 000000000..96295dd2c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/candle-cs3/app/index.jsx
@@ -0,0 +1,22 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, Tooltip, Zoom, Crosshair, CandleSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis = { title: 'Date', valueType: 'Category', majorGridLines: { width: 0 } };
+ const primaryyAxis = { title: 'Price in Dollar', minimum: 100, maximum: 200, interval: 20 };
+ const style = { textAlign: "center" };
+ const legendSettings = { visible: false };
+ const emptyPoint = { mode: 'Average' }
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/candle-cs3/app/index.tsx b/ej2-react/code-snippet/chart/series/candle-cs3/app/index.tsx
new file mode 100644
index 000000000..db3cc885a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/candle-cs3/app/index.tsx
@@ -0,0 +1,34 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,LegendSettingsModel,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, CandleSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { title: 'Date', valueType: 'Category', majorGridLines: { width: 0 } };
+ const primaryyAxis: AxisModel = { title: 'Price in Dollar', minimum: 100, maximum: 200, interval: 20 };
+ const style: any = { textAlign: "center" };
+ const legendSettings: LegendSettingsModel = { visible: false };
+ const emptyPoint: object = { mode: 'Average' }
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/candle-cs3/index.html b/ej2-react/code-snippet/chart/series/candle-cs3/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/candle-cs3/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/candle-cs3/systemjs.config.js b/ej2-react/code-snippet/chart/series/candle-cs3/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/candle-cs3/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/candle-cs4/app/datasource.jsx b/ej2-react/code-snippet/chart/series/candle-cs4/app/datasource.jsx
new file mode 100644
index 000000000..d566ac8b6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/candle-cs4/app/datasource.jsx
@@ -0,0 +1,7 @@
+export let chartData = [
+ { x: 'Jan', open: 120, high: 160, low: 100, close: 140 },
+ { x: 'Feb', open: 150, high: 190, low: 130, close: 170 },
+ { x: 'Mar', open: null, high: 170, low: 110, close: 150 },
+ { x: 'Apr', open: 160, high: 180, low: 120, close: 140 },
+ { x: 'May', open: 150, high: 170, low: 110, close: 130 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/candle-cs4/app/datasource.tsx b/ej2-react/code-snippet/chart/series/candle-cs4/app/datasource.tsx
new file mode 100644
index 000000000..78d507018
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/candle-cs4/app/datasource.tsx
@@ -0,0 +1,7 @@
+export let chartData: Object[] = [
+ { x: 'Jan', open: 120, high: 160, low: 100, close: 140 },
+ { x: 'Feb', open: 150, high: 190, low: 130, close: 170 },
+ { x: 'Mar', open: null, high: 170, low: 110, close: 150 },
+ { x: 'Apr', open: 160, high: 180, low: 120, close: 140 },
+ { x: 'May', open: 150, high: 170, low: 110, close: 130 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/candle-cs4/app/index.jsx b/ej2-react/code-snippet/chart/series/candle-cs4/app/index.jsx
new file mode 100644
index 000000000..d8a1cd64d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/candle-cs4/app/index.jsx
@@ -0,0 +1,22 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, Tooltip, Zoom, Crosshair, CandleSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis = { title: 'Date', valueType: 'Category', majorGridLines: { width: 0 } };
+ const primaryyAxis = { title: 'Price in Dollar', minimum: 100, maximum: 200, interval: 20 };
+ const style = { textAlign: "center" };
+ const legendSettings = { visible: false };
+ const emptyPoint = { mode: 'Average', fill: 'blue' }
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/candle-cs4/app/index.tsx b/ej2-react/code-snippet/chart/series/candle-cs4/app/index.tsx
new file mode 100644
index 000000000..594ef84c6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/candle-cs4/app/index.tsx
@@ -0,0 +1,34 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,LegendSettingsModel,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, CandleSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { title: 'Date', valueType: 'Category', majorGridLines: { width: 0 } };
+ const primaryyAxis: AxisModel = { title: 'Price in Dollar', minimum: 100, maximum: 200, interval: 20 };
+ const style: any = { textAlign: "center" };
+ const legendSettings: LegendSettingsModel = { visible: false };
+ const emptyPoint: object = { mode: 'Average', fill: 'blue' }
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/candle-cs4/index.html b/ej2-react/code-snippet/chart/series/candle-cs4/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/candle-cs4/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/candle-cs4/systemjs.config.js b/ej2-react/code-snippet/chart/series/candle-cs4/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/candle-cs4/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/candle-cs5/app/datasource.jsx b/ej2-react/code-snippet/chart/series/candle-cs5/app/datasource.jsx
new file mode 100644
index 000000000..d566ac8b6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/candle-cs5/app/datasource.jsx
@@ -0,0 +1,7 @@
+export let chartData = [
+ { x: 'Jan', open: 120, high: 160, low: 100, close: 140 },
+ { x: 'Feb', open: 150, high: 190, low: 130, close: 170 },
+ { x: 'Mar', open: null, high: 170, low: 110, close: 150 },
+ { x: 'Apr', open: 160, high: 180, low: 120, close: 140 },
+ { x: 'May', open: 150, high: 170, low: 110, close: 130 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/candle-cs5/app/datasource.tsx b/ej2-react/code-snippet/chart/series/candle-cs5/app/datasource.tsx
new file mode 100644
index 000000000..78d507018
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/candle-cs5/app/datasource.tsx
@@ -0,0 +1,7 @@
+export let chartData: Object[] = [
+ { x: 'Jan', open: 120, high: 160, low: 100, close: 140 },
+ { x: 'Feb', open: 150, high: 190, low: 130, close: 170 },
+ { x: 'Mar', open: null, high: 170, low: 110, close: 150 },
+ { x: 'Apr', open: 160, high: 180, low: 120, close: 140 },
+ { x: 'May', open: 150, high: 170, low: 110, close: 130 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/candle-cs5/app/index.jsx b/ej2-react/code-snippet/chart/series/candle-cs5/app/index.jsx
new file mode 100644
index 000000000..6af7e1bd4
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/candle-cs5/app/index.jsx
@@ -0,0 +1,25 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, Tooltip, Zoom, Crosshair, CandleSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis = { title: 'Date', valueType: 'Category', majorGridLines: { width: 0 } };
+ const primaryyAxis = { title: 'Price in Dollar', minimum: 100, maximum: 200, interval: 20 };
+ const style = { textAlign: "center" };
+ const legendSettings = { visible: false };
+ const seriesRender = (args) => {
+ args.series.bearFillColor = '#ff6347';
+ args.series.bullFillColor = '#009cb8';
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/candle-cs5/app/index.tsx b/ej2-react/code-snippet/chart/series/candle-cs5/app/index.tsx
new file mode 100644
index 000000000..c26ab7b13
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/candle-cs5/app/index.tsx
@@ -0,0 +1,38 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,LegendSettingsModel,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, CandleSeries, Selection, ISeriesRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { EmitType } from '@syncfusion/ej2-base';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { title: 'Date', valueType: 'Category', majorGridLines: { width: 0 } };
+ const primaryyAxis: AxisModel = { title: 'Price in Dollar', minimum: 100, maximum: 200, interval: 20 };
+ const style: any = { textAlign: "center" };
+ const legendSettings: LegendSettingsModel = { visible: false };
+ const seriesRender: EmitType = (args: ISeriesRenderEventArgs): void => {
+ args.series.bearFillColor = '#ff6347';
+ args.series.bullFillColor = '#009cb8';
+ };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/candle-cs5/index.html b/ej2-react/code-snippet/chart/series/candle-cs5/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/candle-cs5/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/candle-cs5/systemjs.config.js b/ej2-react/code-snippet/chart/series/candle-cs5/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/candle-cs5/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/candle-cs6/app/datasource.jsx b/ej2-react/code-snippet/chart/series/candle-cs6/app/datasource.jsx
new file mode 100644
index 000000000..d566ac8b6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/candle-cs6/app/datasource.jsx
@@ -0,0 +1,7 @@
+export let chartData = [
+ { x: 'Jan', open: 120, high: 160, low: 100, close: 140 },
+ { x: 'Feb', open: 150, high: 190, low: 130, close: 170 },
+ { x: 'Mar', open: null, high: 170, low: 110, close: 150 },
+ { x: 'Apr', open: 160, high: 180, low: 120, close: 140 },
+ { x: 'May', open: 150, high: 170, low: 110, close: 130 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/candle-cs6/app/datasource.tsx b/ej2-react/code-snippet/chart/series/candle-cs6/app/datasource.tsx
new file mode 100644
index 000000000..78d507018
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/candle-cs6/app/datasource.tsx
@@ -0,0 +1,7 @@
+export let chartData: Object[] = [
+ { x: 'Jan', open: 120, high: 160, low: 100, close: 140 },
+ { x: 'Feb', open: 150, high: 190, low: 130, close: 170 },
+ { x: 'Mar', open: null, high: 170, low: 110, close: 150 },
+ { x: 'Apr', open: 160, high: 180, low: 120, close: 140 },
+ { x: 'May', open: 150, high: 170, low: 110, close: 130 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/candle-cs6/app/index.jsx b/ej2-react/code-snippet/chart/series/candle-cs6/app/index.jsx
new file mode 100644
index 000000000..b6299d96d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/candle-cs6/app/index.jsx
@@ -0,0 +1,29 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, Tooltip, Zoom, Crosshair, CandleSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis = { title: 'Date', valueType: 'Category', majorGridLines: { width: 0 } };
+ const primaryyAxis = { title: 'Price in Dollar', minimum: 100, maximum: 200, interval: 20 };
+ const style = { textAlign: "center" };
+ const legendSettings = { visible: false };
+ const pointRender = (args) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/candle-cs6/app/index.tsx b/ej2-react/code-snippet/chart/series/candle-cs6/app/index.tsx
new file mode 100644
index 000000000..7b1459320
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/candle-cs6/app/index.tsx
@@ -0,0 +1,42 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,LegendSettingsModel,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, CandleSeries, Selection, IPointRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { EmitType } from '@syncfusion/ej2-base';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { title: 'Date', valueType: 'Category', majorGridLines: { width: 0 } };
+ const primaryyAxis: AxisModel = { title: 'Price in Dollar', minimum: 100, maximum: 200, interval: 20 };
+ const style: any = { textAlign: "center" };
+ const legendSettings: LegendSettingsModel = { visible: false };
+ const pointRender: EmitType = (args: IPointRenderEventArgs): void => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/candle-cs6/index.html b/ej2-react/code-snippet/chart/series/candle-cs6/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/candle-cs6/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/candle-cs6/systemjs.config.js b/ej2-react/code-snippet/chart/series/candle-cs6/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/candle-cs6/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/errorbar-cs8/app/datasource.jsx b/ej2-react/code-snippet/chart/series/errorbar-cs8/app/datasource.jsx
new file mode 100644
index 000000000..5cdee5fdd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/errorbar-cs8/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let data = [
+ { x: 2006, y: 7.8 },
+ { x: 2007, y: 7.2 },
+ { x: 2008, y: 6.8 },
+ { x: 2009, y: 10.7 },
+ { x: 2010, y: 10.8 },
+ { x: 2011, y: 9.8 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/errorbar-cs8/app/datasource.tsx b/ej2-react/code-snippet/chart/series/errorbar-cs8/app/datasource.tsx
new file mode 100644
index 000000000..8a1ca1c0f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/errorbar-cs8/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let data: Object[] = [
+ { x: 2006, y: 7.8 },
+ { x: 2007, y: 7.2 },
+ { x: 2008, y: 6.8 },
+ { x: 2009, y: 10.7 },
+ { x: 2010, y: 10.8 },
+ { x: 2011, y: 9.8 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/errorbar-cs8/app/index.jsx b/ej2-react/code-snippet/chart/series/errorbar-cs8/app/index.jsx
new file mode 100644
index 000000000..d302273bb
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/errorbar-cs8/app/index.jsx
@@ -0,0 +1,28 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, LineSeries, ErrorBar } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+ const primaryxAxis = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis = { minimum: 3, maximum: 12, interval: 1, title: 'Percentage', labelFormat: '{value}%' };
+ const marker = { visible: true };
+ const errorbar = { visible: true };
+ const seriesRender = (args) => {
+ args.fill = '#ff6347';
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/errorbar-cs8/app/index.tsx b/ej2-react/code-snippet/chart/series/errorbar-cs8/app/index.tsx
new file mode 100644
index 000000000..fdb9aacc4
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/errorbar-cs8/app/index.tsx
@@ -0,0 +1,37 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, LineSeries, Selection, ErrorBar, ISeriesRenderEventArgs }
+from'@syncfusion/ej2-react-charts';
+import { EmitType } from '@syncfusion/ej2-base';
+import { data } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis: AxisModel = { minimum: 3, maximum: 12, interval: 1, title: 'Percentage', labelFormat: '{value}%' };
+ const marker: object = { visible: true };
+ const errorbar = { visible: true };
+ const seriesRender: EmitType = (args: ISeriesRenderEventArgs): void => {
+ args.fill = '#ff6347';
+ };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
+
diff --git a/ej2-react/code-snippet/chart/series/errorbar-cs8/index.html b/ej2-react/code-snippet/chart/series/errorbar-cs8/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/errorbar-cs8/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/errorbar-cs8/systemjs.config.js b/ej2-react/code-snippet/chart/series/errorbar-cs8/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/errorbar-cs8/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/errorbar-cs9/app/datasource.jsx b/ej2-react/code-snippet/chart/series/errorbar-cs9/app/datasource.jsx
new file mode 100644
index 000000000..5cdee5fdd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/errorbar-cs9/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let data = [
+ { x: 2006, y: 7.8 },
+ { x: 2007, y: 7.2 },
+ { x: 2008, y: 6.8 },
+ { x: 2009, y: 10.7 },
+ { x: 2010, y: 10.8 },
+ { x: 2011, y: 9.8 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/errorbar-cs9/app/datasource.tsx b/ej2-react/code-snippet/chart/series/errorbar-cs9/app/datasource.tsx
new file mode 100644
index 000000000..8a1ca1c0f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/errorbar-cs9/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let data: Object[] = [
+ { x: 2006, y: 7.8 },
+ { x: 2007, y: 7.2 },
+ { x: 2008, y: 6.8 },
+ { x: 2009, y: 10.7 },
+ { x: 2010, y: 10.8 },
+ { x: 2011, y: 9.8 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/errorbar-cs9/app/index.jsx b/ej2-react/code-snippet/chart/series/errorbar-cs9/app/index.jsx
new file mode 100644
index 000000000..56f0998ad
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/errorbar-cs9/app/index.jsx
@@ -0,0 +1,28 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, LineSeries, ErrorBar } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+ const primaryxAxis = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis = { minimum: 3, maximum: 12, interval: 1, title: 'Percentage', labelFormat: '{value}%' };
+ const marker = { visible: true };
+ const errorbar = { visible: true };
+ const pointRender = (args) => {
+ args.fill = '#ff6347';
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/errorbar-cs9/app/index.tsx b/ej2-react/code-snippet/chart/series/errorbar-cs9/app/index.tsx
new file mode 100644
index 000000000..97244dbe9
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/errorbar-cs9/app/index.tsx
@@ -0,0 +1,37 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, LineSeries, Selection, ErrorBar, IPointRenderEventArgs }
+from'@syncfusion/ej2-react-charts';
+import { EmitType } from '@syncfusion/ej2-base';
+import { data } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis: AxisModel = { minimum: 3, maximum: 12, interval: 1, title: 'Percentage', labelFormat: '{value}%' };
+ const marker: object = { visible: true };
+ const errorbar = { visible: true };
+ const pointRender: EmitType = (args: IPointRenderEventArgs): void => {
+ args.fill = '#ff6347';
+ };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
+
diff --git a/ej2-react/code-snippet/chart/series/errorbar-cs9/index.html b/ej2-react/code-snippet/chart/series/errorbar-cs9/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/errorbar-cs9/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/errorbar-cs9/systemjs.config.js b/ej2-react/code-snippet/chart/series/errorbar-cs9/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/errorbar-cs9/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs3/app/datasource.jsx b/ej2-react/code-snippet/chart/series/hilo-cs3/app/datasource.jsx
new file mode 100644
index 000000000..f13549379
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs3/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let chartData = [
+ { x: 'Jan', low: 87, high: 200 }, { x: 'Feb', low: 45, high: 135 },
+ { x: 'Mar', low: 19, high: 85 }, { x: 'Apr', low: 31, high: 108 },
+ { x: 'May', low: 27, high: 80 }, { x: 'June', low: 84, high: 130 },
+ { x: 'July', low: 77, high: 150 }, { x: 'Aug', low: 54, high: 125 },
+ { x: 'Sep', low: 60, high: 155 }, { x: 'Oct', low: 60, high: 180 },
+ { x: 'Nov', low: 88, high: 180 }, { x: 'Dec', low: 84, high: 230 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs3/app/datasource.tsx b/ej2-react/code-snippet/chart/series/hilo-cs3/app/datasource.tsx
new file mode 100644
index 000000000..1a3c09b64
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs3/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let chartData: Object[] = [
+ { x: 'Jan', low: 87, high: 200 }, { x: 'Feb', low: 45, high: 135 },
+ { x: 'Mar', low: 19, high: 85 }, { x: 'Apr', low: 31, high: 108 },
+ { x: 'May', low: 27, high: 80 }, { x: 'June', low: 84, high: 130 },
+ { x: 'July', low: 77, high: 150 }, { x: 'Aug', low: 54, high: 125 },
+ { x: 'Sep', low: 60, high: 155 }, { x: 'Oct', low: 60, high: 180 },
+ { x: 'Nov', low: 88, high: 180 }, { x: 'Dec', low: 84, high: 230 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs3/app/index.jsx b/ej2-react/code-snippet/chart/series/hilo-cs3/app/index.jsx
new file mode 100644
index 000000000..67593a8c0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs3/app/index.jsx
@@ -0,0 +1,25 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, HiloSeries, Category, Tooltip, Zoom, Crosshair } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis = { labelFormat: '{value}mm', edgeLabelPlacement: 'Shift', title: 'Rainfall' };
+ const style = { textAlign: "center" };
+ const legendSettings = { visible: false };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs3/app/index.tsx b/ej2-react/code-snippet/chart/series/hilo-cs3/app/index.tsx
new file mode 100644
index 000000000..a015fa6c1
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs3/app/index.tsx
@@ -0,0 +1,34 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,LegendSettingsModel,
+ HiloSeries, Category, Tooltip, ILoadedEventArgs, Zoom,
+ Crosshair, ChartTheme }
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis: AxisModel = { labelFormat: '{value}mm', edgeLabelPlacement: 'Shift', title: 'Rainfall' };
+ const style: any = { textAlign: "center" };
+ const legendSettings: LegendSettingsModel = { visible: false };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs3/index.html b/ej2-react/code-snippet/chart/series/hilo-cs3/index.html
new file mode 100644
index 000000000..bebab6a93
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs3/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs3/systemjs.config.js b/ej2-react/code-snippet/chart/series/hilo-cs3/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs3/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs4/app/datasource.jsx b/ej2-react/code-snippet/chart/series/hilo-cs4/app/datasource.jsx
new file mode 100644
index 000000000..f13549379
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs4/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let chartData = [
+ { x: 'Jan', low: 87, high: 200 }, { x: 'Feb', low: 45, high: 135 },
+ { x: 'Mar', low: 19, high: 85 }, { x: 'Apr', low: 31, high: 108 },
+ { x: 'May', low: 27, high: 80 }, { x: 'June', low: 84, high: 130 },
+ { x: 'July', low: 77, high: 150 }, { x: 'Aug', low: 54, high: 125 },
+ { x: 'Sep', low: 60, high: 155 }, { x: 'Oct', low: 60, high: 180 },
+ { x: 'Nov', low: 88, high: 180 }, { x: 'Dec', low: 84, high: 230 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs4/app/datasource.tsx b/ej2-react/code-snippet/chart/series/hilo-cs4/app/datasource.tsx
new file mode 100644
index 000000000..1a3c09b64
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs4/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let chartData: Object[] = [
+ { x: 'Jan', low: 87, high: 200 }, { x: 'Feb', low: 45, high: 135 },
+ { x: 'Mar', low: 19, high: 85 }, { x: 'Apr', low: 31, high: 108 },
+ { x: 'May', low: 27, high: 80 }, { x: 'June', low: 84, high: 130 },
+ { x: 'July', low: 77, high: 150 }, { x: 'Aug', low: 54, high: 125 },
+ { x: 'Sep', low: 60, high: 155 }, { x: 'Oct', low: 60, high: 180 },
+ { x: 'Nov', low: 88, high: 180 }, { x: 'Dec', low: 84, high: 230 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs4/app/index.jsx b/ej2-react/code-snippet/chart/series/hilo-cs4/app/index.jsx
new file mode 100644
index 000000000..88e1e51db
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs4/app/index.jsx
@@ -0,0 +1,25 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, HiloSeries, Category, Tooltip, Zoom, Crosshair } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis = { labelFormat: '{value}mm', edgeLabelPlacement: 'Shift', title: 'Rainfall' };
+ const style = { textAlign: "center" };
+ const legendSettings = { visible: false };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs4/app/index.tsx b/ej2-react/code-snippet/chart/series/hilo-cs4/app/index.tsx
new file mode 100644
index 000000000..ed31b961c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs4/app/index.tsx
@@ -0,0 +1,34 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,LegendSettingsModel,
+ HiloSeries, Category, Tooltip, ILoadedEventArgs, Zoom,
+ Crosshair, ChartTheme }
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis: AxisModel = { labelFormat: '{value}mm', edgeLabelPlacement: 'Shift', title: 'Rainfall' };
+ const style: any = { textAlign: "center" };
+ const legendSettings: LegendSettingsModel = { visible: false };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs4/index.html b/ej2-react/code-snippet/chart/series/hilo-cs4/index.html
new file mode 100644
index 000000000..bebab6a93
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs4/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs4/systemjs.config.js b/ej2-react/code-snippet/chart/series/hilo-cs4/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs4/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs5/app/datasource.jsx b/ej2-react/code-snippet/chart/series/hilo-cs5/app/datasource.jsx
new file mode 100644
index 000000000..f18af6dd6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs5/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let chartData = [
+ { x: 'Jan', low: 87, high: 200 }, { x: 'Feb', low: 45, high: 135 },
+ { x: 'Mar', low: 19, high: null }, { x: 'Apr', low: 31, high: 108 },
+ { x: 'May', low: 27, high: 80 }, { x: 'Jun', low: 84, high: 130 },
+ { x: 'Jul', low: 77, high: 150 }, { x: 'Aug', low: 54, high: undefined },
+ { x: 'Sep', low: 60, high: 155 }, { x: 'Oct', low: 60, high: 180 },
+ { x: 'Nov', low: 88, high: 180 }, { x: 'Dec', low: 84, high: 230 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs5/app/datasource.tsx b/ej2-react/code-snippet/chart/series/hilo-cs5/app/datasource.tsx
new file mode 100644
index 000000000..d43eac5ef
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs5/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let chartData: Object[] = [
+ { x: 'Jan', low: 87, high: 200 }, { x: 'Feb', low: 45, high: 135 },
+ { x: 'Mar', low: 19, high: null }, { x: 'Apr', low: 31, high: 108 },
+ { x: 'May', low: 27, high: 80 }, { x: 'Jun', low: 84, high: 130 },
+ { x: 'Jul', low: 77, high: 150 }, { x: 'Aug', low: 54, high: undefined },
+ { x: 'Sep', low: 60, high: 155 }, { x: 'Oct', low: 60, high: 180 },
+ { x: 'Nov', low: 88, high: 180 }, { x: 'Dec', low: 84, high: 230 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs5/app/index.jsx b/ej2-react/code-snippet/chart/series/hilo-cs5/app/index.jsx
new file mode 100644
index 000000000..ff311fae2
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs5/app/index.jsx
@@ -0,0 +1,26 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, HiloSeries, Category, Tooltip, Zoom, Crosshair } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis = { labelFormat: '{value}mm', edgeLabelPlacement: 'Shift', title: 'Rainfall' };
+ const style = { textAlign: "center" };
+ const legendSettings = { visible: false };
+ const emptyPoint = { mode: 'Gap' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs5/app/index.tsx b/ej2-react/code-snippet/chart/series/hilo-cs5/app/index.tsx
new file mode 100644
index 000000000..82f3f602b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs5/app/index.tsx
@@ -0,0 +1,34 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,LegendSettingsModel,
+ HiloSeries, Category, Tooltip, ILoadedEventArgs, Zoom,
+ Crosshair, ChartTheme }
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis: AxisModel = { labelFormat: '{value}mm', edgeLabelPlacement: 'Shift', title: 'Rainfall' };
+ const style: any = { textAlign: "center" };
+ const legendSettings: LegendSettingsModel = { visible: false };
+ const emptyPoint: object = { mode: 'Gap' };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs5/index.html b/ej2-react/code-snippet/chart/series/hilo-cs5/index.html
new file mode 100644
index 000000000..bebab6a93
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs5/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs5/systemjs.config.js b/ej2-react/code-snippet/chart/series/hilo-cs5/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs5/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs6/app/datasource.jsx b/ej2-react/code-snippet/chart/series/hilo-cs6/app/datasource.jsx
new file mode 100644
index 000000000..f18af6dd6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs6/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let chartData = [
+ { x: 'Jan', low: 87, high: 200 }, { x: 'Feb', low: 45, high: 135 },
+ { x: 'Mar', low: 19, high: null }, { x: 'Apr', low: 31, high: 108 },
+ { x: 'May', low: 27, high: 80 }, { x: 'Jun', low: 84, high: 130 },
+ { x: 'Jul', low: 77, high: 150 }, { x: 'Aug', low: 54, high: undefined },
+ { x: 'Sep', low: 60, high: 155 }, { x: 'Oct', low: 60, high: 180 },
+ { x: 'Nov', low: 88, high: 180 }, { x: 'Dec', low: 84, high: 230 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs6/app/datasource.tsx b/ej2-react/code-snippet/chart/series/hilo-cs6/app/datasource.tsx
new file mode 100644
index 000000000..d43eac5ef
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs6/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let chartData: Object[] = [
+ { x: 'Jan', low: 87, high: 200 }, { x: 'Feb', low: 45, high: 135 },
+ { x: 'Mar', low: 19, high: null }, { x: 'Apr', low: 31, high: 108 },
+ { x: 'May', low: 27, high: 80 }, { x: 'Jun', low: 84, high: 130 },
+ { x: 'Jul', low: 77, high: 150 }, { x: 'Aug', low: 54, high: undefined },
+ { x: 'Sep', low: 60, high: 155 }, { x: 'Oct', low: 60, high: 180 },
+ { x: 'Nov', low: 88, high: 180 }, { x: 'Dec', low: 84, high: 230 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs6/app/index.jsx b/ej2-react/code-snippet/chart/series/hilo-cs6/app/index.jsx
new file mode 100644
index 000000000..1f092cb33
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs6/app/index.jsx
@@ -0,0 +1,26 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, HiloSeries, Category, Tooltip, Zoom, Crosshair } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis = { labelFormat: '{value}mm', edgeLabelPlacement: 'Shift', title: 'Rainfall' };
+ const style = { textAlign: "center" };
+ const legendSettings = { visible: false };
+ const emptyPoint = { mode: 'Average', fill: 'red' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs6/app/index.tsx b/ej2-react/code-snippet/chart/series/hilo-cs6/app/index.tsx
new file mode 100644
index 000000000..7d7f87353
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs6/app/index.tsx
@@ -0,0 +1,34 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,LegendSettingsModel,
+ HiloSeries, Category, Tooltip, ILoadedEventArgs, Zoom,
+ Crosshair, ChartTheme }
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis: AxisModel = { labelFormat: '{value}mm', edgeLabelPlacement: 'Shift', title: 'Rainfall' };
+ const style: any = { textAlign: "center" };
+ const legendSettings: LegendSettingsModel = { visible: false };
+ const emptyPoint: object = { mode: 'Average', fill: 'red' };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs6/index.html b/ej2-react/code-snippet/chart/series/hilo-cs6/index.html
new file mode 100644
index 000000000..bebab6a93
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs6/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs6/systemjs.config.js b/ej2-react/code-snippet/chart/series/hilo-cs6/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs6/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs7/app/datasource.jsx b/ej2-react/code-snippet/chart/series/hilo-cs7/app/datasource.jsx
new file mode 100644
index 000000000..c5f862dc2
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs7/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let chartData = [
+ { x: 'Jan', low: 87, high: 200 }, { x: 'Feb', low: 45, high: 135 },
+ { x: 'Mar', low: 19, high: 85 }, { x: 'Apr', low: 31, high: 108 },
+ { x: 'May', low: 27, high: 80 }, { x: 'Jun', low: 84, high: 130 },
+ { x: 'Jul', low: 77, high: 150 }, { x: 'Aug', low: 54, high: 125 },
+ { x: 'Sep', low: 60, high: 155 }, { x: 'Oct', low: 60, high: 180 },
+ { x: 'Nov', low: 88, high: 180 }, { x: 'Dec', low: 84, high: 230 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs7/app/datasource.tsx b/ej2-react/code-snippet/chart/series/hilo-cs7/app/datasource.tsx
new file mode 100644
index 000000000..8a8a3c7df
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs7/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let chartData: Object[] = [
+ { x: 'Jan', low: 87, high: 200 }, { x: 'Feb', low: 45, high: 135 },
+ { x: 'Mar', low: 19, high: 85 }, { x: 'Apr', low: 31, high: 108 },
+ { x: 'May', low: 27, high: 80 }, { x: 'Jun', low: 84, high: 130 },
+ { x: 'Jul', low: 77, high: 150 }, { x: 'Aug', low: 54, high: 125 },
+ { x: 'Sep', low: 60, high: 155 }, { x: 'Oct', low: 60, high: 180 },
+ { x: 'Nov', low: 88, high: 180 }, { x: 'Dec', low: 84, high: 230 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs7/app/index.jsx b/ej2-react/code-snippet/chart/series/hilo-cs7/app/index.jsx
new file mode 100644
index 000000000..cb799d390
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs7/app/index.jsx
@@ -0,0 +1,28 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, HiloSeries, Category, Tooltip, Zoom, Crosshair } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis = { labelFormat: '{value}mm', edgeLabelPlacement: 'Shift', title: 'Rainfall' };
+ const style = { textAlign: "center" };
+ const legendSettings = { visible: false };
+ const seriesRender = (args) => {
+ args.fill = '#ff6347';
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs7/app/index.tsx b/ej2-react/code-snippet/chart/series/hilo-cs7/app/index.tsx
new file mode 100644
index 000000000..1611e5028
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs7/app/index.tsx
@@ -0,0 +1,37 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,LegendSettingsModel,
+ HiloSeries, Category, Tooltip, ILoadedEventArgs, Zoom, ISeriesRenderEventArgs,
+ Crosshair, ChartTheme }
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis: AxisModel = { labelFormat: '{value}mm', edgeLabelPlacement: 'Shift', title: 'Rainfall' };
+ const style: any = { textAlign: "center" };
+ const legendSettings: LegendSettingsModel = { visible: false };
+ const seriesRender = (args: ISeriesRenderEventArgs) => {
+ args.fill = '#ff6347';
+}
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs7/index.html b/ej2-react/code-snippet/chart/series/hilo-cs7/index.html
new file mode 100644
index 000000000..bebab6a93
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs7/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs7/systemjs.config.js b/ej2-react/code-snippet/chart/series/hilo-cs7/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs7/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs8/app/datasource.jsx b/ej2-react/code-snippet/chart/series/hilo-cs8/app/datasource.jsx
new file mode 100644
index 000000000..c5f862dc2
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs8/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let chartData = [
+ { x: 'Jan', low: 87, high: 200 }, { x: 'Feb', low: 45, high: 135 },
+ { x: 'Mar', low: 19, high: 85 }, { x: 'Apr', low: 31, high: 108 },
+ { x: 'May', low: 27, high: 80 }, { x: 'Jun', low: 84, high: 130 },
+ { x: 'Jul', low: 77, high: 150 }, { x: 'Aug', low: 54, high: 125 },
+ { x: 'Sep', low: 60, high: 155 }, { x: 'Oct', low: 60, high: 180 },
+ { x: 'Nov', low: 88, high: 180 }, { x: 'Dec', low: 84, high: 230 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs8/app/datasource.tsx b/ej2-react/code-snippet/chart/series/hilo-cs8/app/datasource.tsx
new file mode 100644
index 000000000..8a8a3c7df
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs8/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let chartData: Object[] = [
+ { x: 'Jan', low: 87, high: 200 }, { x: 'Feb', low: 45, high: 135 },
+ { x: 'Mar', low: 19, high: 85 }, { x: 'Apr', low: 31, high: 108 },
+ { x: 'May', low: 27, high: 80 }, { x: 'Jun', low: 84, high: 130 },
+ { x: 'Jul', low: 77, high: 150 }, { x: 'Aug', low: 54, high: 125 },
+ { x: 'Sep', low: 60, high: 155 }, { x: 'Oct', low: 60, high: 180 },
+ { x: 'Nov', low: 88, high: 180 }, { x: 'Dec', low: 84, high: 230 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs8/app/index.jsx b/ej2-react/code-snippet/chart/series/hilo-cs8/app/index.jsx
new file mode 100644
index 000000000..847e4451e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs8/app/index.jsx
@@ -0,0 +1,33 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, HiloSeries, Category, Tooltip, Zoom, Crosshair } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis = { labelFormat: '{value}mm', edgeLabelPlacement: 'Shift', title: 'Rainfall' };
+ const style = { textAlign: "center" };
+ const legendSettings = { visible: false };
+ const pointRender = (args) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs8/app/index.tsx b/ej2-react/code-snippet/chart/series/hilo-cs8/app/index.tsx
new file mode 100644
index 000000000..1786ebc75
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs8/app/index.tsx
@@ -0,0 +1,42 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,LegendSettingsModel,
+ HiloSeries, Category, Tooltip, ILoadedEventArgs, Zoom, IPointRenderEventArgs,
+ Crosshair, ChartTheme }
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis: AxisModel = { labelFormat: '{value}mm', edgeLabelPlacement: 'Shift', title: 'Rainfall' };
+ const style: any = { textAlign: "center" };
+ const legendSettings: LegendSettingsModel = { visible: false };
+ const pointRender: Object = (args: IPointRenderEventArgs) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+};
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs8/index.html b/ej2-react/code-snippet/chart/series/hilo-cs8/index.html
new file mode 100644
index 000000000..bebab6a93
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs8/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hilo-cs8/systemjs.config.js b/ej2-react/code-snippet/chart/series/hilo-cs8/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hilo-cs8/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/hiloopenclose-cs3/app/datasource.jsx b/ej2-react/code-snippet/chart/series/hiloopenclose-cs3/app/datasource.jsx
new file mode 100644
index 000000000..117593741
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hiloopenclose-cs3/app/datasource.jsx
@@ -0,0 +1,7 @@
+export let chartData = [
+ { x: 'Jan', open: 120, high: 160, low: 100, close: 140 },
+ { x: 'Feb', open: 150, high: 190, low: 130, close: 170 },
+ { x: 'Mar', open: 130, high: null, low: 110, close: 150 },
+ { x: 'Apr', open: 160, high: 180, low: 120, close: 140 },
+ { x: 'May', open: 150, high: 170, low: 110, close: 130 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hiloopenclose-cs3/app/datasource.tsx b/ej2-react/code-snippet/chart/series/hiloopenclose-cs3/app/datasource.tsx
new file mode 100644
index 000000000..329cbaa3d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hiloopenclose-cs3/app/datasource.tsx
@@ -0,0 +1,7 @@
+export let chartData: Object[] = [
+ { x: 'Jan', open: 120, high: 160, low: 100, close: 140 },
+ { x: 'Feb', open: 150, high: 190, low: 130, close: 170 },
+ { x: 'Mar', open: 130, high: null, low: 110, close: 150 },
+ { x: 'Apr', open: 160, high: 180, low: 120, close: 140 },
+ { x: 'May', open: 150, high: 170, low: 110, close: 130 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hiloopenclose-cs3/app/index.jsx b/ej2-react/code-snippet/chart/series/hiloopenclose-cs3/app/index.jsx
new file mode 100644
index 000000000..5085ea92f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hiloopenclose-cs3/app/index.jsx
@@ -0,0 +1,21 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, Tooltip, Zoom, Crosshair, HiloOpenCloseSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Date', valueType: 'Category' };
+ const primaryyAxis = { title: 'Price in Dollar', minimum: 100, maximum: 200, interval: 20 };
+ const style = { textAlign: "center" };
+ const legendSettings = { visible: false };
+ const emptyPoint = { mode: 'Average' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/hiloopenclose-cs3/app/index.tsx b/ej2-react/code-snippet/chart/series/hiloopenclose-cs3/app/index.tsx
new file mode 100644
index 000000000..9a81e0a05
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hiloopenclose-cs3/app/index.tsx
@@ -0,0 +1,33 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,LegendSettingsModel,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, HiloOpenCloseSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { title: 'Date', valueType: 'Category' };
+ const primaryyAxis: AxisModel = { title: 'Price in Dollar', minimum: 100, maximum: 200, interval: 20 };
+ const style: any = { textAlign: "center" };
+ const legendSettings: LegendSettingsModel = { visible: false };
+ const emptyPoint: object = { mode: 'Average' };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/hiloopenclose-cs3/index.html b/ej2-react/code-snippet/chart/series/hiloopenclose-cs3/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hiloopenclose-cs3/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hiloopenclose-cs3/systemjs.config.js b/ej2-react/code-snippet/chart/series/hiloopenclose-cs3/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hiloopenclose-cs3/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/hiloopenclose-cs4/app/datasource.jsx b/ej2-react/code-snippet/chart/series/hiloopenclose-cs4/app/datasource.jsx
new file mode 100644
index 000000000..117593741
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hiloopenclose-cs4/app/datasource.jsx
@@ -0,0 +1,7 @@
+export let chartData = [
+ { x: 'Jan', open: 120, high: 160, low: 100, close: 140 },
+ { x: 'Feb', open: 150, high: 190, low: 130, close: 170 },
+ { x: 'Mar', open: 130, high: null, low: 110, close: 150 },
+ { x: 'Apr', open: 160, high: 180, low: 120, close: 140 },
+ { x: 'May', open: 150, high: 170, low: 110, close: 130 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hiloopenclose-cs4/app/datasource.tsx b/ej2-react/code-snippet/chart/series/hiloopenclose-cs4/app/datasource.tsx
new file mode 100644
index 000000000..329cbaa3d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hiloopenclose-cs4/app/datasource.tsx
@@ -0,0 +1,7 @@
+export let chartData: Object[] = [
+ { x: 'Jan', open: 120, high: 160, low: 100, close: 140 },
+ { x: 'Feb', open: 150, high: 190, low: 130, close: 170 },
+ { x: 'Mar', open: 130, high: null, low: 110, close: 150 },
+ { x: 'Apr', open: 160, high: 180, low: 120, close: 140 },
+ { x: 'May', open: 150, high: 170, low: 110, close: 130 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hiloopenclose-cs4/app/index.jsx b/ej2-react/code-snippet/chart/series/hiloopenclose-cs4/app/index.jsx
new file mode 100644
index 000000000..41b971645
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hiloopenclose-cs4/app/index.jsx
@@ -0,0 +1,21 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, Tooltip, Zoom, Crosshair, HiloOpenCloseSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Date', valueType: 'Category' };
+ const primaryyAxis = { title: 'Price in Dollar', minimum: 100, maximum: 200, interval: 20 };
+ const style = { textAlign: "center" };
+ const legendSettings = { visible: false };
+ const emptyPoint = { mode: 'Average', fill: 'blue' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/hiloopenclose-cs4/app/index.tsx b/ej2-react/code-snippet/chart/series/hiloopenclose-cs4/app/index.tsx
new file mode 100644
index 000000000..fe105829f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hiloopenclose-cs4/app/index.tsx
@@ -0,0 +1,33 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,LegendSettingsModel,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, HiloOpenCloseSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { title: 'Date', valueType: 'Category' };
+ const primaryyAxis: AxisModel = { title: 'Price in Dollar', minimum: 100, maximum: 200, interval: 20 };
+ const style: any = { textAlign: "center" };
+ const legendSettings: LegendSettingsModel = { visible: false };
+ const emptyPoint: object = { mode: 'Average', fill: 'blue' };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/hiloopenclose-cs4/index.html b/ej2-react/code-snippet/chart/series/hiloopenclose-cs4/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hiloopenclose-cs4/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hiloopenclose-cs4/systemjs.config.js b/ej2-react/code-snippet/chart/series/hiloopenclose-cs4/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hiloopenclose-cs4/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/hiloopenclose-cs5/app/datasource.jsx b/ej2-react/code-snippet/chart/series/hiloopenclose-cs5/app/datasource.jsx
new file mode 100644
index 000000000..117593741
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hiloopenclose-cs5/app/datasource.jsx
@@ -0,0 +1,7 @@
+export let chartData = [
+ { x: 'Jan', open: 120, high: 160, low: 100, close: 140 },
+ { x: 'Feb', open: 150, high: 190, low: 130, close: 170 },
+ { x: 'Mar', open: 130, high: null, low: 110, close: 150 },
+ { x: 'Apr', open: 160, high: 180, low: 120, close: 140 },
+ { x: 'May', open: 150, high: 170, low: 110, close: 130 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hiloopenclose-cs5/app/datasource.tsx b/ej2-react/code-snippet/chart/series/hiloopenclose-cs5/app/datasource.tsx
new file mode 100644
index 000000000..329cbaa3d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hiloopenclose-cs5/app/datasource.tsx
@@ -0,0 +1,7 @@
+export let chartData: Object[] = [
+ { x: 'Jan', open: 120, high: 160, low: 100, close: 140 },
+ { x: 'Feb', open: 150, high: 190, low: 130, close: 170 },
+ { x: 'Mar', open: 130, high: null, low: 110, close: 150 },
+ { x: 'Apr', open: 160, high: 180, low: 120, close: 140 },
+ { x: 'May', open: 150, high: 170, low: 110, close: 130 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hiloopenclose-cs5/app/index.jsx b/ej2-react/code-snippet/chart/series/hiloopenclose-cs5/app/index.jsx
new file mode 100644
index 000000000..1c4350cca
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hiloopenclose-cs5/app/index.jsx
@@ -0,0 +1,24 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, Tooltip, Zoom, Crosshair, HiloOpenCloseSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Date', valueType: 'Category' };
+ const primaryyAxis = { title: 'Price in Dollar', minimum: 100, maximum: 200, interval: 20 };
+ const style = { textAlign: "center" };
+ const legendSettings = { visible: false };
+ const seriesRender = (args) => {
+ args.series.bearFillColor = '#ff6347';
+ args.series.bullFillColor = '#009cb8';
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/hiloopenclose-cs5/app/index.tsx b/ej2-react/code-snippet/chart/series/hiloopenclose-cs5/app/index.tsx
new file mode 100644
index 000000000..968dcb753
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hiloopenclose-cs5/app/index.tsx
@@ -0,0 +1,38 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,LegendSettingsModel,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, HiloOpenCloseSeries, ISeriesRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { EmitType } from '@syncfusion/ej2-base';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { title: 'Date', valueType: 'Category' };
+ const primaryyAxis: AxisModel = { title: 'Price in Dollar', minimum: 100, maximum: 200, interval: 20 };
+ const style: any = { textAlign: "center" };
+ const legendSettings: LegendSettingsModel = { visible: false };
+ const seriesRender: EmitType = (args: ISeriesRenderEventArgs): void => {
+ args.series.bearFillColor = '#ff6347';
+ args.series.bullFillColor = '#009cb8';
+ };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/hiloopenclose-cs5/index.html b/ej2-react/code-snippet/chart/series/hiloopenclose-cs5/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hiloopenclose-cs5/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hiloopenclose-cs5/systemjs.config.js b/ej2-react/code-snippet/chart/series/hiloopenclose-cs5/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hiloopenclose-cs5/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/hiloopenclose-cs6/app/datasource.jsx b/ej2-react/code-snippet/chart/series/hiloopenclose-cs6/app/datasource.jsx
new file mode 100644
index 000000000..117593741
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hiloopenclose-cs6/app/datasource.jsx
@@ -0,0 +1,7 @@
+export let chartData = [
+ { x: 'Jan', open: 120, high: 160, low: 100, close: 140 },
+ { x: 'Feb', open: 150, high: 190, low: 130, close: 170 },
+ { x: 'Mar', open: 130, high: null, low: 110, close: 150 },
+ { x: 'Apr', open: 160, high: 180, low: 120, close: 140 },
+ { x: 'May', open: 150, high: 170, low: 110, close: 130 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hiloopenclose-cs6/app/datasource.tsx b/ej2-react/code-snippet/chart/series/hiloopenclose-cs6/app/datasource.tsx
new file mode 100644
index 000000000..329cbaa3d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hiloopenclose-cs6/app/datasource.tsx
@@ -0,0 +1,7 @@
+export let chartData: Object[] = [
+ { x: 'Jan', open: 120, high: 160, low: 100, close: 140 },
+ { x: 'Feb', open: 150, high: 190, low: 130, close: 170 },
+ { x: 'Mar', open: 130, high: null, low: 110, close: 150 },
+ { x: 'Apr', open: 160, high: 180, low: 120, close: 140 },
+ { x: 'May', open: 150, high: 170, low: 110, close: 130 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hiloopenclose-cs6/app/index.jsx b/ej2-react/code-snippet/chart/series/hiloopenclose-cs6/app/index.jsx
new file mode 100644
index 000000000..a182f46f8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hiloopenclose-cs6/app/index.jsx
@@ -0,0 +1,28 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, Tooltip, Zoom, Crosshair, HiloOpenCloseSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Date', valueType: 'Category' };
+ const primaryyAxis = { title: 'Price in Dollar', minimum: 100, maximum: 200, interval: 20 };
+ const style = { textAlign: "center" };
+ const legendSettings = { visible: false };
+ const pointRender = (args) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/hiloopenclose-cs6/app/index.tsx b/ej2-react/code-snippet/chart/series/hiloopenclose-cs6/app/index.tsx
new file mode 100644
index 000000000..8f70f3a7d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hiloopenclose-cs6/app/index.tsx
@@ -0,0 +1,44 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, LegendSettingsModel,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, HiloOpenCloseSeries, IPointRenderEventArgs
+}
+ from '@syncfusion/ej2-react-charts';
+import { EmitType } from '@syncfusion/ej2-base';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { title: 'Date', valueType: 'Category' };
+ const primaryyAxis: AxisModel = { title: 'Price in Dollar', minimum: 100, maximum: 200, interval: 20 };
+ const style: any = { textAlign: "center" };
+ const legendSettings: LegendSettingsModel = { visible: false };
+ const pointRender: EmitType = (args: IPointRenderEventArgs): void => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/hiloopenclose-cs6/index.html b/ej2-react/code-snippet/chart/series/hiloopenclose-cs6/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hiloopenclose-cs6/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/hiloopenclose-cs6/systemjs.config.js b/ej2-react/code-snippet/chart/series/hiloopenclose-cs6/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/hiloopenclose-cs6/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs13/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs13/app/index.jsx
index 8bef42dfc..6a09857dc 100644
--- a/ej2-react/code-snippet/chart/series/line-cs13/app/index.jsx
+++ b/ej2-react/code-snippet/chart/series/line-cs13/app/index.jsx
@@ -3,11 +3,11 @@ import * as ReactDOM from "react-dom";
import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, LineSeries } from '@syncfusion/ej2-react-charts';
import { data } from './datasource';
function App() {
- const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+
return
-
+
;
diff --git a/ej2-react/code-snippet/chart/series/line-cs13/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs13/app/index.tsx
index 0354ae5cb..b2c9ad69f 100644
--- a/ej2-react/code-snippet/chart/series/line-cs13/app/index.tsx
+++ b/ej2-react/code-snippet/chart/series/line-cs13/app/index.tsx
@@ -9,14 +9,11 @@ import { data } from './datasource';
function App() {
- const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
return
-
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs20/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs20/app/index.jsx
index ca85409e8..efafb4881 100644
--- a/ej2-react/code-snippet/chart/series/line-cs20/app/index.jsx
+++ b/ej2-react/code-snippet/chart/series/line-cs20/app/index.jsx
@@ -1,18 +1,17 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, AreaSeries } from '@syncfusion/ej2-react-charts';
-import { areaData } from './datasource';
+import { areaData } from './datasource'
function App() {
const primaryxAxis = {
title: 'Year', minimum: 1900, maximum: 2000, interval: 10,
edgeLabelPlacement: 'Shift'
};
const primaryyAxis = { minimum: 2, maximum: 5, interval: 0.5, title: 'Sales Amount in Millions' };
- const border = { color: 'red', width: 2 };
return
-
+
;
diff --git a/ej2-react/code-snippet/chart/series/line-cs20/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs20/app/index.tsx
index 17022b406..7caa62852 100644
--- a/ej2-react/code-snippet/chart/series/line-cs20/app/index.tsx
+++ b/ej2-react/code-snippet/chart/series/line-cs20/app/index.tsx
@@ -23,8 +23,7 @@ function App() {
+ fill='green' type='Area'>
diff --git a/ej2-react/code-snippet/chart/series/line-cs20A/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs20A/app/datasource.jsx
new file mode 100644
index 000000000..b8fa1e9b9
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs20A/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let areaData = [
+ { x: 1900, y: 4 },
+ { x: 1920, y: 3.0 },
+ { x: 1940, y: 3.8 },
+ { x: 1960, y: 3.4 },
+ { x: 1980, y: 3.2 },
+ { x: 2000, y: 3.9 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs20A/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs20A/app/datasource.tsx
new file mode 100644
index 000000000..0966a8499
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs20A/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let areaData: Object[] = [
+ { x: 1900, y: 4 },
+ { x: 1920, y: 3.0 },
+ { x: 1940, y: 3.8 },
+ { x: 1960, y: 3.4 },
+ { x: 1980, y: 3.2 },
+ { x: 2000, y: 3.9 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs20A/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs20A/app/index.jsx
new file mode 100644
index 000000000..d6a59eb5d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs20A/app/index.jsx
@@ -0,0 +1,21 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, AreaSeries } from '@syncfusion/ej2-react-charts';
+import { areaData } from './datasource'
+function App() {
+ const primaryxAxis = {
+ title: 'Year', minimum: 1900, maximum: 2000, interval: 10,
+ edgeLabelPlacement: 'Shift'
+ };
+ const primaryyAxis = { minimum: 2, maximum: 5, interval: 0.5, title: 'Sales Amount in Millions' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/line-cs20A/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs20A/app/index.tsx
new file mode 100644
index 000000000..b2ddc60b4
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs20A/app/index.tsx
@@ -0,0 +1,35 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, AreaSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { areaData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ title: 'Year', minimum: 1900, maximum: 2000, interval: 10,
+ edgeLabelPlacement: 'Shift'
+ };
+ const primaryyAxis: AxisModel = { minimum: 2, maximum: 5, interval: 0.5, title: 'Sales Amount in Millions' };
+ const border = { color: 'red', width: 2 };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs20A/index.html b/ej2-react/code-snippet/chart/series/line-cs20A/index.html
new file mode 100644
index 000000000..0deb6aa2b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs20A/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs20A/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs20A/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs20A/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs21/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs21/app/index.jsx
index d3311e882..9b8bb4631 100644
--- a/ej2-react/code-snippet/chart/series/line-cs21/app/index.jsx
+++ b/ej2-react/code-snippet/chart/series/line-cs21/app/index.jsx
@@ -1,24 +1,22 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
-import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, AreaSeries } from '@syncfusion/ej2-react-charts';
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, AreaSeries } from '@syncfusion/ej2-react-charts';
import { areaData } from './datasource';
function App() {
const primaryxAxis = {
title: 'Year', minimum: 1900, maximum: 2000, interval: 10,
edgeLabelPlacement: 'Shift'
};
- primaryyAxis: AxisModel = { minimum: 2, maximum: 5, interval: 0.5, title: 'Sales Amount in Millions' };
- border = { width: 2 };
- render();
- {
- return
+ const primaryyAxis = { minimum: 2, maximum: 5, interval: 0.5, title: 'Sales Amount in Millions' };
+ const border = { color: 'red', width: 2 };
+ return
-
+
;
- }
}
;
export default App;
diff --git a/ej2-react/code-snippet/chart/series/line-cs21/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs21/app/index.tsx
index b6d192143..b59f548b6 100644
--- a/ej2-react/code-snippet/chart/series/line-cs21/app/index.tsx
+++ b/ej2-react/code-snippet/chart/series/line-cs21/app/index.tsx
@@ -2,30 +2,28 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
-import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
- Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, AreaSeries, Selection}
-from'@syncfusion/ej2-react-charts';
+import {
+ AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, AreaSeries, Selection
+}
+ from '@syncfusion/ej2-react-charts';
import { areaData } from './datasource';
function App() {
- const primaryxAxis: AxisModel = {
+ const primaryxAxis = {
title: 'Year', minimum: 1900, maximum: 2000, interval: 10,
edgeLabelPlacement: 'Shift'
};
- const primaryyAxis: AxisModel = { minimum: 2, maximum: 5, interval: 0.5, title: 'Sales Amount in Millions' };
- const border = { width: 2 };
-
- return
-
-
-
-
-
-
+ const primaryyAxis = { minimum: 2, maximum: 5, interval: 0.5, title: 'Sales Amount in Millions' };
+ const border = { color: 'red', width: 2 };
+
+ return
+
+
+
+
+
+
};
export default App;
diff --git a/ej2-react/code-snippet/chart/series/line-cs25/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs25/app/index.jsx
index 2fce6fa38..1f65010bd 100644
--- a/ej2-react/code-snippet/chart/series/line-cs25/app/index.jsx
+++ b/ej2-react/code-snippet/chart/series/line-cs25/app/index.jsx
@@ -5,11 +5,10 @@ import { columnData } from './datasource';
function App() {
const primaryxAxis = { valueType: 'Category', title: 'Countries' };
const primaryyAxis = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
- const border = { color: 'brown', width: 2 };
return
-
+
;
diff --git a/ej2-react/code-snippet/chart/series/line-cs25/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs25/app/index.tsx
index e931b10d3..7215a26aa 100644
--- a/ej2-react/code-snippet/chart/series/line-cs25/app/index.tsx
+++ b/ej2-react/code-snippet/chart/series/line-cs25/app/index.tsx
@@ -11,7 +11,6 @@ function App() {
const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Countries' };
const primaryyAxis: AxisModel = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
- const border = { color: 'brown', width: 2 };
return
+ fill='yellow'>
diff --git a/ej2-react/code-snippet/chart/series/line-cs30/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs30/app/index.jsx
index f4707a3d1..218425b6b 100644
--- a/ej2-react/code-snippet/chart/series/line-cs30/app/index.jsx
+++ b/ej2-react/code-snippet/chart/series/line-cs30/app/index.jsx
@@ -10,11 +10,10 @@ function App() {
minimum: 3, maximum: 12, interval: 1, title: 'Percentage',
labelFormat: '{value}%'
};
- const border = { color: 'brown', width: 2 };
return
-
+
;
diff --git a/ej2-react/code-snippet/chart/series/line-cs30/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs30/app/index.tsx
index 55b4ce7cf..ca22260dd 100644
--- a/ej2-react/code-snippet/chart/series/line-cs30/app/index.tsx
+++ b/ej2-react/code-snippet/chart/series/line-cs30/app/index.tsx
@@ -14,7 +14,6 @@ function App() {
minimum: 3, maximum: 12, interval: 1, title: 'Percentage',
labelFormat: '{value}%'
};
- const border = { color: 'brown', width: 2 };
return
-
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs38A/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs38A/app/datasource.jsx
new file mode 100644
index 000000000..2e072a4ee
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs38A/app/datasource.jsx
@@ -0,0 +1,10 @@
+export let columnData = [
+ { country: "USA", gold: 50, silver: 41 },
+ { country: "China", gold: 40, silver: 45 },
+ { country: "Japan", gold: 70, silver: 48 },
+ { country: "Australia", gold: 60, silver: 50 },
+ { country: "France", gold: 50, silver: 35 },
+ { country: "Germany", gold: 40, silver: 28 },
+ { country: "Italy", gold: 40, silver: 30 },
+ { country: "Sweden", gold: 30, silver: 25 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs38A/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs38A/app/datasource.tsx
new file mode 100644
index 000000000..26b4ea6e3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs38A/app/datasource.tsx
@@ -0,0 +1,10 @@
+export let columnData: Object[] = [
+ { country: "USA", gold: 50, silver: 41 },
+ { country: "China", gold: 40, silver: 45 },
+ { country: "Japan", gold: 70, silver: 48 },
+ { country: "Australia", gold: 60, silver: 50 },
+ { country: "France", gold: 50, silver: 35 },
+ { country: "Germany", gold: 40, silver: 28 },
+ { country: "Italy", gold: 40, silver: 30 },
+ { country: "Sweden", gold: 30, silver: 25 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs38A/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs38A/app/index.jsx
new file mode 100644
index 000000000..94f4b94fd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs38A/app/index.jsx
@@ -0,0 +1,18 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, ColumnSeries } from '@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Countries' };
+ const primaryyAxis = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/line-cs38A/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs38A/app/index.tsx
new file mode 100644
index 000000000..050aaba4d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs38A/app/index.tsx
@@ -0,0 +1,30 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, ColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Countries' };
+ const primaryyAxis: AxisModel = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs38A/index.html b/ej2-react/code-snippet/chart/series/line-cs38A/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs38A/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs38A/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs38A/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs38A/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs38B/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs38B/app/datasource.jsx
new file mode 100644
index 000000000..2e072a4ee
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs38B/app/datasource.jsx
@@ -0,0 +1,10 @@
+export let columnData = [
+ { country: "USA", gold: 50, silver: 41 },
+ { country: "China", gold: 40, silver: 45 },
+ { country: "Japan", gold: 70, silver: 48 },
+ { country: "Australia", gold: 60, silver: 50 },
+ { country: "France", gold: 50, silver: 35 },
+ { country: "Germany", gold: 40, silver: 28 },
+ { country: "Italy", gold: 40, silver: 30 },
+ { country: "Sweden", gold: 30, silver: 25 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs38B/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs38B/app/datasource.tsx
new file mode 100644
index 000000000..26b4ea6e3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs38B/app/datasource.tsx
@@ -0,0 +1,10 @@
+export let columnData: Object[] = [
+ { country: "USA", gold: 50, silver: 41 },
+ { country: "China", gold: 40, silver: 45 },
+ { country: "Japan", gold: 70, silver: 48 },
+ { country: "Australia", gold: 60, silver: 50 },
+ { country: "France", gold: 50, silver: 35 },
+ { country: "Germany", gold: 40, silver: 28 },
+ { country: "Italy", gold: 40, silver: 30 },
+ { country: "Sweden", gold: 30, silver: 25 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs38B/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs38B/app/index.jsx
new file mode 100644
index 000000000..b20ce6555
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs38B/app/index.jsx
@@ -0,0 +1,18 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, ColumnSeries } from '@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Countries' };
+ const primaryyAxis = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/line-cs38B/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs38B/app/index.tsx
new file mode 100644
index 000000000..c9df6318e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs38B/app/index.tsx
@@ -0,0 +1,30 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, ColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Countries' };
+ const primaryyAxis: AxisModel = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs38B/index.html b/ej2-react/code-snippet/chart/series/line-cs38B/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs38B/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs38B/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs38B/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs38B/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs45/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs45/app/datasource.jsx
new file mode 100644
index 000000000..b8fa1e9b9
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs45/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let areaData = [
+ { x: 1900, y: 4 },
+ { x: 1920, y: 3.0 },
+ { x: 1940, y: 3.8 },
+ { x: 1960, y: 3.4 },
+ { x: 1980, y: 3.2 },
+ { x: 2000, y: 3.9 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs45/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs45/app/datasource.tsx
new file mode 100644
index 000000000..0966a8499
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs45/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let areaData: Object[] = [
+ { x: 1900, y: 4 },
+ { x: 1920, y: 3.0 },
+ { x: 1940, y: 3.8 },
+ { x: 1960, y: 3.4 },
+ { x: 1980, y: 3.2 },
+ { x: 2000, y: 3.9 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs45/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs45/app/index.jsx
new file mode 100644
index 000000000..5ec20a1a5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs45/app/index.jsx
@@ -0,0 +1,21 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, AreaSeries } from '@syncfusion/ej2-react-charts';
+import { areaData } from './datasource'
+function App() {
+ const primaryxAxis = {
+ title: 'Year', minimum: 1900, maximum: 2000, interval: 10,
+ edgeLabelPlacement: 'Shift'
+ };
+ const primaryyAxis = { minimum: 2, maximum: 5, interval: 0.5, title: 'Sales Amount in Millions' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/line-cs45/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs45/app/index.tsx
new file mode 100644
index 000000000..b4d4ced5f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs45/app/index.tsx
@@ -0,0 +1,35 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, AreaSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { areaData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ title: 'Year', minimum: 1900, maximum: 2000, interval: 10,
+ edgeLabelPlacement: 'Shift'
+ };
+ const primaryyAxis: AxisModel = { minimum: 2, maximum: 5, interval: 0.5, title: 'Sales Amount in Millions' };
+ const border = { color: 'red', width: 2 };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs45/index.html b/ej2-react/code-snippet/chart/series/line-cs45/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs45/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs45/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs45/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs45/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs46/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs46/app/datasource.jsx
new file mode 100644
index 000000000..b8fa1e9b9
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs46/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let areaData = [
+ { x: 1900, y: 4 },
+ { x: 1920, y: 3.0 },
+ { x: 1940, y: 3.8 },
+ { x: 1960, y: 3.4 },
+ { x: 1980, y: 3.2 },
+ { x: 2000, y: 3.9 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs46/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs46/app/datasource.tsx
new file mode 100644
index 000000000..0966a8499
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs46/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let areaData: Object[] = [
+ { x: 1900, y: 4 },
+ { x: 1920, y: 3.0 },
+ { x: 1940, y: 3.8 },
+ { x: 1960, y: 3.4 },
+ { x: 1980, y: 3.2 },
+ { x: 2000, y: 3.9 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs46/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs46/app/index.jsx
new file mode 100644
index 000000000..8c3c24603
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs46/app/index.jsx
@@ -0,0 +1,22 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, AreaSeries } from '@syncfusion/ej2-react-charts';
+import { areaData } from './datasource'
+function App() {
+ const primaryxAxis = {
+ title: 'Year', minimum: 1900, maximum: 2000, interval: 10,
+ edgeLabelPlacement: 'Shift'
+ };
+ const primaryyAxis = { minimum: 2, maximum: 5, interval: 0.5, title: 'Sales Amount in Millions' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/line-cs46/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs46/app/index.tsx
new file mode 100644
index 000000000..db539bf9c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs46/app/index.tsx
@@ -0,0 +1,35 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, AreaSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { areaData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ title: 'Year', minimum: 1900, maximum: 2000, interval: 10,
+ edgeLabelPlacement: 'Shift'
+ };
+ const primaryyAxis: AxisModel = { minimum: 2, maximum: 5, interval: 0.5, title: 'Sales Amount in Millions' };
+ const border = { color: 'red', width: 2 };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs46/index.html b/ej2-react/code-snippet/chart/series/line-cs46/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs46/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs46/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs46/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs46/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs47/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs47/app/datasource.jsx
new file mode 100644
index 000000000..83460b768
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs47/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let areaData = [
+ { x: 1900, y: 4 },
+ { x: 1920, y: 3.0 },
+ { x: 1940, y: null },
+ { x: 1960, y: 3.4 },
+ { x: 1980, y: 3.2 },
+ { x: 2000, y: 3.9 },
+ ];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs47/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs47/app/datasource.tsx
new file mode 100644
index 000000000..69fabf000
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs47/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let areaData: Object[] = [
+ { x: 1900, y: 4 },
+ { x: 1920, y: 3.0 },
+ { x: 1940, y: null },
+ { x: 1960, y: 3.4 },
+ { x: 1980, y: 3.2 },
+ { x: 2000, y: 3.9 },
+ ];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs47/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs47/app/index.jsx
new file mode 100644
index 000000000..b87d93647
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs47/app/index.jsx
@@ -0,0 +1,54 @@
+import * as React from 'react';
+import * as ReactDOM from 'react-dom';
+import {
+ ChartComponent,
+ SeriesCollectionDirective,
+ SeriesDirective,
+ Inject,
+ Legend,
+ Category,
+ Tooltip,
+ DataLabel,
+ AreaSeries,
+} from '@syncfusion/ej2-react-charts';
+import { areaData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Year',
+ minimum: 1900,
+ maximum: 2000,
+ interval: 10,
+ edgeLabelPlacement: 'Shift',
+ };
+ const primaryyAxis = {
+ minimum: 2,
+ maximum: 5,
+ interval: 0.5,
+ title: 'Sales Amount in Millions',
+ };
+ const emptyPoint = { mode: 'Gap' };
+ return (
+
+
+
+
+
+
+ );
+}
+export default App;
+ReactDOM.render( , document.getElementById('charts'));
diff --git a/ej2-react/code-snippet/chart/series/line-cs47/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs47/app/index.tsx
new file mode 100644
index 000000000..1fa5aace1
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs47/app/index.tsx
@@ -0,0 +1,52 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, AreaSeries, Selection
+}
+ from '@syncfusion/ej2-react-charts';
+import { areaData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Year',
+ minimum: 1900,
+ maximum: 2000,
+ interval: 10,
+ edgeLabelPlacement: 'Shift',
+ };
+ const primaryyAxis = {
+ minimum: 2,
+ maximum: 5,
+ interval: 0.5,
+ title: 'Sales Amount in Millions',
+ };
+ const emptyPoint = { mode: 'Gap' };
+
+ return
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs47/index.html b/ej2-react/code-snippet/chart/series/line-cs47/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs47/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs47/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs47/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs47/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs48/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs48/app/datasource.jsx
new file mode 100644
index 000000000..83460b768
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs48/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let areaData = [
+ { x: 1900, y: 4 },
+ { x: 1920, y: 3.0 },
+ { x: 1940, y: null },
+ { x: 1960, y: 3.4 },
+ { x: 1980, y: 3.2 },
+ { x: 2000, y: 3.9 },
+ ];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs48/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs48/app/datasource.tsx
new file mode 100644
index 000000000..69fabf000
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs48/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let areaData: Object[] = [
+ { x: 1900, y: 4 },
+ { x: 1920, y: 3.0 },
+ { x: 1940, y: null },
+ { x: 1960, y: 3.4 },
+ { x: 1980, y: 3.2 },
+ { x: 2000, y: 3.9 },
+ ];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs48/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs48/app/index.jsx
new file mode 100644
index 000000000..1b694f633
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs48/app/index.jsx
@@ -0,0 +1,54 @@
+import * as React from 'react';
+import * as ReactDOM from 'react-dom';
+import {
+ ChartComponent,
+ SeriesCollectionDirective,
+ SeriesDirective,
+ Inject,
+ Legend,
+ Category,
+ Tooltip,
+ DataLabel,
+ AreaSeries,
+} from '@syncfusion/ej2-react-charts';
+import { areaData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Year',
+ minimum: 1900,
+ maximum: 2000,
+ interval: 10,
+ edgeLabelPlacement: 'Shift',
+ };
+ const primaryyAxis = {
+ minimum: 2,
+ maximum: 5,
+ interval: 0.5,
+ title: 'Sales Amount in Millions',
+ };
+ const emptyPoint = { mode: 'Average', fill: 'red' };
+ return (
+
+
+
+
+
+
+ );
+}
+export default App;
+ReactDOM.render( , document.getElementById('charts'));
diff --git a/ej2-react/code-snippet/chart/series/line-cs48/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs48/app/index.tsx
new file mode 100644
index 000000000..fc859fb2e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs48/app/index.tsx
@@ -0,0 +1,51 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, AreaSeries, Selection
+}
+ from '@syncfusion/ej2-react-charts';
+import { areaData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Year',
+ minimum: 1900,
+ maximum: 2000,
+ interval: 10,
+ edgeLabelPlacement: 'Shift',
+ };
+ const primaryyAxis = {
+ minimum: 2,
+ maximum: 5,
+ interval: 0.5,
+ title: 'Sales Amount in Millions',
+ };
+ const emptyPoint = { mode: 'Average', fill: 'red' };
+
+ return
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs48/index.html b/ej2-react/code-snippet/chart/series/line-cs48/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs48/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs48/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs48/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs48/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs49/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs49/app/datasource.jsx
new file mode 100644
index 000000000..83460b768
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs49/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let areaData = [
+ { x: 1900, y: 4 },
+ { x: 1920, y: 3.0 },
+ { x: 1940, y: null },
+ { x: 1960, y: 3.4 },
+ { x: 1980, y: 3.2 },
+ { x: 2000, y: 3.9 },
+ ];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs49/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs49/app/datasource.tsx
new file mode 100644
index 000000000..69fabf000
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs49/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let areaData: Object[] = [
+ { x: 1900, y: 4 },
+ { x: 1920, y: 3.0 },
+ { x: 1940, y: null },
+ { x: 1960, y: 3.4 },
+ { x: 1980, y: 3.2 },
+ { x: 2000, y: 3.9 },
+ ];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs49/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs49/app/index.jsx
new file mode 100644
index 000000000..49e8e5a23
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs49/app/index.jsx
@@ -0,0 +1,54 @@
+import * as React from 'react';
+import * as ReactDOM from 'react-dom';
+import {
+ ChartComponent,
+ SeriesCollectionDirective,
+ SeriesDirective,
+ Inject,
+ Legend,
+ Category,
+ Tooltip,
+ DataLabel,
+ AreaSeries,
+} from '@syncfusion/ej2-react-charts';
+import { areaData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Year',
+ minimum: 1900,
+ maximum: 2000,
+ interval: 10,
+ edgeLabelPlacement: 'Shift',
+ };
+ const primaryyAxis = {
+ minimum: 2,
+ maximum: 5,
+ interval: 0.5,
+ title: 'Sales Amount in Millions',
+ };
+ const emptyPoint = { mode: 'Average', fill: 'red', border: {width: 1.5, color: 'green'} };
+ return (
+
+
+
+
+
+
+ );
+}
+export default App;
+ReactDOM.render( , document.getElementById('charts'));
diff --git a/ej2-react/code-snippet/chart/series/line-cs49/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs49/app/index.tsx
new file mode 100644
index 000000000..cb97fec50
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs49/app/index.tsx
@@ -0,0 +1,51 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, AreaSeries, Selection
+}
+ from '@syncfusion/ej2-react-charts';
+import { areaData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Year',
+ minimum: 1900,
+ maximum: 2000,
+ interval: 10,
+ edgeLabelPlacement: 'Shift',
+ };
+ const primaryyAxis = {
+ minimum: 2,
+ maximum: 5,
+ interval: 0.5,
+ title: 'Sales Amount in Millions',
+ };
+ const emptyPoint = { mode: 'Average', fill: 'red', border: {width: 1.5, color: 'green'}};
+
+ return
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs49/index.html b/ej2-react/code-snippet/chart/series/line-cs49/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs49/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs49/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs49/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs49/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs50/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs50/app/datasource.jsx
new file mode 100644
index 000000000..c93649762
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs50/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let areaData = [
+ { x: 1900, y: 4 },
+ { x: 1920, y: 3.0 },
+ { x: 1940, y: 4 },
+ { x: 1960, y: 3.4 },
+ { x: 1980, y: 3.2 },
+ { x: 2000, y: 3.9 },
+ ];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs50/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs50/app/datasource.tsx
new file mode 100644
index 000000000..21ae0529e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs50/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let areaData: Object[] = [
+ { x: 1900, y: 4 },
+ { x: 1920, y: 3.0 },
+ { x: 1940, y: 4 },
+ { x: 1960, y: 3.4 },
+ { x: 1980, y: 3.2 },
+ { x: 2000, y: 3.9 },
+ ];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs50/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs50/app/index.jsx
new file mode 100644
index 000000000..c0d6fe17d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs50/app/index.jsx
@@ -0,0 +1,55 @@
+import * as React from 'react';
+import * as ReactDOM from 'react-dom';
+import {
+ ChartComponent,
+ SeriesCollectionDirective,
+ SeriesDirective,
+ Inject,
+ Legend,
+ Category,
+ Tooltip,
+ DataLabel,
+ AreaSeries,
+} from '@syncfusion/ej2-react-charts';
+import { areaData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Year',
+ minimum: 1900,
+ maximum: 2000,
+ interval: 10,
+ edgeLabelPlacement: 'Shift',
+ };
+ const primaryyAxis = {
+ minimum: 2,
+ maximum: 5,
+ interval: 0.5,
+ title: 'Sales Amount in Millions',
+ };
+ const pointRender = (args) => {
+ args.fill = '#ff6347';
+ };
+ return (
+
+
+
+
+
+
+ );
+}
+export default App;
+ReactDOM.render( , document.getElementById('charts'));
diff --git a/ej2-react/code-snippet/chart/series/line-cs50/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs50/app/index.tsx
new file mode 100644
index 000000000..3adf35cb8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs50/app/index.tsx
@@ -0,0 +1,54 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, AreaSeries, Selection, IPointRenderEventArgs
+}
+ from '@syncfusion/ej2-react-charts';
+import { EmitType } from '@syncfusion/ej2-base';
+import { areaData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Year',
+ minimum: 1900,
+ maximum: 2000,
+ interval: 10,
+ edgeLabelPlacement: 'Shift',
+ };
+ const primaryyAxis = {
+ minimum: 2,
+ maximum: 5,
+ interval: 0.5,
+ title: 'Sales Amount in Millions',
+ };
+ const pointRender: EmitType = (args: IPointRenderEventArgs): void => {
+ args.fill = '#ff6347';
+ };
+
+ return
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs50/index.html b/ej2-react/code-snippet/chart/series/line-cs50/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs50/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs50/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs50/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs50/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs51/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs51/app/datasource.jsx
new file mode 100644
index 000000000..c93649762
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs51/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let areaData = [
+ { x: 1900, y: 4 },
+ { x: 1920, y: 3.0 },
+ { x: 1940, y: 4 },
+ { x: 1960, y: 3.4 },
+ { x: 1980, y: 3.2 },
+ { x: 2000, y: 3.9 },
+ ];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs51/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs51/app/datasource.tsx
new file mode 100644
index 000000000..21ae0529e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs51/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let areaData: Object[] = [
+ { x: 1900, y: 4 },
+ { x: 1920, y: 3.0 },
+ { x: 1940, y: 4 },
+ { x: 1960, y: 3.4 },
+ { x: 1980, y: 3.2 },
+ { x: 2000, y: 3.9 },
+ ];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs51/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs51/app/index.jsx
new file mode 100644
index 000000000..fc874b5c1
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs51/app/index.jsx
@@ -0,0 +1,54 @@
+import * as React from 'react';
+import * as ReactDOM from 'react-dom';
+import {
+ ChartComponent,
+ SeriesCollectionDirective,
+ SeriesDirective,
+ Inject,
+ Legend,
+ Category,
+ Tooltip,
+ DataLabel,
+ AreaSeries,
+} from '@syncfusion/ej2-react-charts';
+import { areaData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Year',
+ minimum: 1900,
+ maximum: 2000,
+ interval: 10,
+ edgeLabelPlacement: 'Shift',
+ };
+ const primaryyAxis = {
+ minimum: 2,
+ maximum: 5,
+ interval: 0.5,
+ title: 'Sales Amount in Millions',
+ };
+ const seriesRender = (args) => {
+ args.fill = '#ff6347';
+ };
+ return (
+
+
+
+
+
+
+ );
+}
+export default App;
+ReactDOM.render( , document.getElementById('charts'));
diff --git a/ej2-react/code-snippet/chart/series/line-cs51/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs51/app/index.tsx
new file mode 100644
index 000000000..01ea8027c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs51/app/index.tsx
@@ -0,0 +1,53 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, AreaSeries, Selection, ISeriesRenderEventArgs
+}
+ from '@syncfusion/ej2-react-charts';
+import { EmitType } from '@syncfusion/ej2-base';
+import { areaData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Year',
+ minimum: 1900,
+ maximum: 2000,
+ interval: 10,
+ edgeLabelPlacement: 'Shift',
+ };
+ const primaryyAxis = {
+ minimum: 2,
+ maximum: 5,
+ interval: 0.5,
+ title: 'Sales Amount in Millions',
+ };
+ const seriesRender: EmitType = (args: ISeriesRenderEventArgs): void => {
+ args.fill = '#ff6347';
+ };
+
+ return
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs51/index.html b/ej2-react/code-snippet/chart/series/line-cs51/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs51/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs51/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs51/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs51/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs52/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs52/app/datasource.jsx
new file mode 100644
index 000000000..3717a2117
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs52/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let customData = [
+ { x: 2006, y: 7.8, point: 'red' },
+ { x: 2007, y: 7.2, point: 'green' },
+ { x: 2008, y: 6.8, point: 'orange' },
+ { x: 2009, y: 10.7, point: 'yellow' },
+ { x: 2010, y: 10.8, point: 'grey' },
+ { x: 2011, y: 9.8, point: 'blue' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs52/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs52/app/datasource.tsx
new file mode 100644
index 000000000..4d0375ce3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs52/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let customData: Object[] = [
+ { x: 2006, y: 7.8, point: 'red' },
+ { x: 2007, y: 7.2, point: 'green' },
+ { x: 2008, y: 6.8, point: 'orange' },
+ { x: 2009, y: 10.7, point: 'yellow' },
+ { x: 2010, y: 10.8, point: 'grey' },
+ { x: 2011, y: 9.8, point: 'blue' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs52/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs52/app/index.jsx
new file mode 100644
index 000000000..cd545164d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs52/app/index.jsx
@@ -0,0 +1,25 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, BarSeries } from '@syncfusion/ej2-react-charts';
+import { customData } from './datasource';
+function App() {
+ const primaryxAxis = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis = {
+ minimum: 3, maximum: 12, interval: 1, title: 'Percentage',
+ labelFormat: '{value}%'
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs52/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs52/app/index.tsx
new file mode 100644
index 000000000..124e7fd74
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs52/app/index.tsx
@@ -0,0 +1,33 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, BarSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { customData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis: AxisModel = {
+ minimum: 3, maximum: 12, interval: 1, title: 'Percentage',
+ labelFormat: '{value}%'
+ };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/line-cs52/index.html b/ej2-react/code-snippet/chart/series/line-cs52/index.html
new file mode 100644
index 000000000..9f28c74c5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs52/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs52/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs52/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs52/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs53/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs53/app/datasource.jsx
new file mode 100644
index 000000000..3717a2117
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs53/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let customData = [
+ { x: 2006, y: 7.8, point: 'red' },
+ { x: 2007, y: 7.2, point: 'green' },
+ { x: 2008, y: 6.8, point: 'orange' },
+ { x: 2009, y: 10.7, point: 'yellow' },
+ { x: 2010, y: 10.8, point: 'grey' },
+ { x: 2011, y: 9.8, point: 'blue' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs53/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs53/app/datasource.tsx
new file mode 100644
index 000000000..4d0375ce3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs53/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let customData: Object[] = [
+ { x: 2006, y: 7.8, point: 'red' },
+ { x: 2007, y: 7.2, point: 'green' },
+ { x: 2008, y: 6.8, point: 'orange' },
+ { x: 2009, y: 10.7, point: 'yellow' },
+ { x: 2010, y: 10.8, point: 'grey' },
+ { x: 2011, y: 9.8, point: 'blue' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs53/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs53/app/index.jsx
new file mode 100644
index 000000000..72eb4e3a9
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs53/app/index.jsx
@@ -0,0 +1,25 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, BarSeries } from '@syncfusion/ej2-react-charts';
+import { customData } from './datasource';
+function App() {
+ const primaryxAxis = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis = {
+ minimum: 3, maximum: 12, interval: 1, title: 'Percentage',
+ labelFormat: '{value}%'
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs53/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs53/app/index.tsx
new file mode 100644
index 000000000..63554e807
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs53/app/index.tsx
@@ -0,0 +1,33 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, BarSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { customData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis: AxisModel = {
+ minimum: 3, maximum: 12, interval: 1, title: 'Percentage',
+ labelFormat: '{value}%'
+ };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/line-cs53/index.html b/ej2-react/code-snippet/chart/series/line-cs53/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs53/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs53/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs53/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs53/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs54/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs54/app/datasource.jsx
new file mode 100644
index 000000000..3717a2117
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs54/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let customData = [
+ { x: 2006, y: 7.8, point: 'red' },
+ { x: 2007, y: 7.2, point: 'green' },
+ { x: 2008, y: 6.8, point: 'orange' },
+ { x: 2009, y: 10.7, point: 'yellow' },
+ { x: 2010, y: 10.8, point: 'grey' },
+ { x: 2011, y: 9.8, point: 'blue' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs54/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs54/app/datasource.tsx
new file mode 100644
index 000000000..4d0375ce3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs54/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let customData: Object[] = [
+ { x: 2006, y: 7.8, point: 'red' },
+ { x: 2007, y: 7.2, point: 'green' },
+ { x: 2008, y: 6.8, point: 'orange' },
+ { x: 2009, y: 10.7, point: 'yellow' },
+ { x: 2010, y: 10.8, point: 'grey' },
+ { x: 2011, y: 9.8, point: 'blue' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs54/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs54/app/index.jsx
new file mode 100644
index 000000000..21773afe0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs54/app/index.jsx
@@ -0,0 +1,28 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, BarSeries } from '@syncfusion/ej2-react-charts';
+import { customData } from './datasource';
+function App() {
+ const primaryxAxis = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis = {
+ minimum: 3, maximum: 12, interval: 1, title: 'Percentage',
+ labelFormat: '{value}%'
+ };
+ const border = {
+ width: 1.5, color: 'red'
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs54/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs54/app/index.tsx
new file mode 100644
index 000000000..f9e402d83
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs54/app/index.tsx
@@ -0,0 +1,36 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, BarSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { customData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis: AxisModel = {
+ minimum: 3, maximum: 12, interval: 1, title: 'Percentage',
+ labelFormat: '{value}%'
+ };
+ const border: Object = {
+ width: 1.5, color: 'red'
+ };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/line-cs54/index.html b/ej2-react/code-snippet/chart/series/line-cs54/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs54/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs54/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs54/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs54/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs55/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs55/app/datasource.jsx
new file mode 100644
index 000000000..3717a2117
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs55/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let customData = [
+ { x: 2006, y: 7.8, point: 'red' },
+ { x: 2007, y: 7.2, point: 'green' },
+ { x: 2008, y: 6.8, point: 'orange' },
+ { x: 2009, y: 10.7, point: 'yellow' },
+ { x: 2010, y: 10.8, point: 'grey' },
+ { x: 2011, y: 9.8, point: 'blue' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs55/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs55/app/datasource.tsx
new file mode 100644
index 000000000..4d0375ce3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs55/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let customData: Object[] = [
+ { x: 2006, y: 7.8, point: 'red' },
+ { x: 2007, y: 7.2, point: 'green' },
+ { x: 2008, y: 6.8, point: 'orange' },
+ { x: 2009, y: 10.7, point: 'yellow' },
+ { x: 2010, y: 10.8, point: 'grey' },
+ { x: 2011, y: 9.8, point: 'blue' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs55/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs55/app/index.jsx
new file mode 100644
index 000000000..109b2419a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs55/app/index.jsx
@@ -0,0 +1,28 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, BarSeries } from '@syncfusion/ej2-react-charts';
+import { customData } from './datasource';
+function App() {
+ const primaryxAxis = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis = {
+ minimum: 3, maximum: 12, interval: 1, title: 'Percentage',
+ labelFormat: '{value}%'
+ };
+ const border = {
+ width: 1.5, color: 'red'
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs55/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs55/app/index.tsx
new file mode 100644
index 000000000..c83443bcb
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs55/app/index.tsx
@@ -0,0 +1,36 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, BarSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { customData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis: AxisModel = {
+ minimum: 3, maximum: 12, interval: 1, title: 'Percentage',
+ labelFormat: '{value}%'
+ };
+ const border: Object = {
+ width: 1.5, color: 'red'
+ };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/line-cs55/index.html b/ej2-react/code-snippet/chart/series/line-cs55/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs55/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs55/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs55/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs55/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs56/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs56/app/datasource.jsx
new file mode 100644
index 000000000..69abe2653
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs56/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let customData = [
+ { x: 2006, y: 7.8, point: 'red' },
+ { x: 2007, y: 7.2, point: 'green' },
+ { x: 2008, y: null, point: 'orange' },
+ { x: 2009, y: 10.7, point: 'yellow' },
+ { x: 2010, y: 10.8, point: 'grey' },
+ { x: 2011, y: 9.8, point: 'blue' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs56/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs56/app/datasource.tsx
new file mode 100644
index 000000000..007bb658e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs56/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let customData: Object[] = [
+ { x: 2006, y: 7.8, point: 'red' },
+ { x: 2007, y: 7.2, point: 'green' },
+ { x: 2008, y: null, point: 'orange' },
+ { x: 2009, y: 10.7, point: 'yellow' },
+ { x: 2010, y: 10.8, point: 'grey' },
+ { x: 2011, y: 9.8, point: 'blue' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs56/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs56/app/index.jsx
new file mode 100644
index 000000000..dfc6bd9dd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs56/app/index.jsx
@@ -0,0 +1,28 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, BarSeries } from '@syncfusion/ej2-react-charts';
+import { customData } from './datasource';
+function App() {
+ const primaryxAxis = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis = {
+ minimum: 3, maximum: 12, interval: 1, title: 'Percentage',
+ labelFormat: '{value}%'
+ };
+ const emptyPoint = {
+ mode: 'Gap',
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs56/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs56/app/index.tsx
new file mode 100644
index 000000000..3b54f6508
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs56/app/index.tsx
@@ -0,0 +1,36 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, BarSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { customData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis: AxisModel = {
+ minimum: 3, maximum: 12, interval: 1, title: 'Percentage',
+ labelFormat: '{value}%'
+ };
+ const emptyPoint: Object = {
+ mode: 'Gap',
+ };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/line-cs56/index.html b/ej2-react/code-snippet/chart/series/line-cs56/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs56/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs56/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs56/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs56/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs57/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs57/app/datasource.jsx
new file mode 100644
index 000000000..69abe2653
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs57/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let customData = [
+ { x: 2006, y: 7.8, point: 'red' },
+ { x: 2007, y: 7.2, point: 'green' },
+ { x: 2008, y: null, point: 'orange' },
+ { x: 2009, y: 10.7, point: 'yellow' },
+ { x: 2010, y: 10.8, point: 'grey' },
+ { x: 2011, y: 9.8, point: 'blue' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs57/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs57/app/datasource.tsx
new file mode 100644
index 000000000..007bb658e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs57/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let customData: Object[] = [
+ { x: 2006, y: 7.8, point: 'red' },
+ { x: 2007, y: 7.2, point: 'green' },
+ { x: 2008, y: null, point: 'orange' },
+ { x: 2009, y: 10.7, point: 'yellow' },
+ { x: 2010, y: 10.8, point: 'grey' },
+ { x: 2011, y: 9.8, point: 'blue' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs57/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs57/app/index.jsx
new file mode 100644
index 000000000..d014bcfa4
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs57/app/index.jsx
@@ -0,0 +1,28 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, BarSeries } from '@syncfusion/ej2-react-charts';
+import { customData } from './datasource';
+function App() {
+ const primaryxAxis = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis = {
+ minimum: 3, maximum: 12, interval: 1, title: 'Percentage',
+ labelFormat: '{value}%'
+ };
+ const emptyPoint = {
+ mode: 'Average', fill: 'red'
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs57/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs57/app/index.tsx
new file mode 100644
index 000000000..f68c00a26
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs57/app/index.tsx
@@ -0,0 +1,36 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, BarSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { customData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis: AxisModel = {
+ minimum: 3, maximum: 12, interval: 1, title: 'Percentage',
+ labelFormat: '{value}%'
+ };
+ const emptyPoint: Object = {
+ mode: 'Average', fill: 'red'
+ };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/line-cs57/index.html b/ej2-react/code-snippet/chart/series/line-cs57/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs57/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs57/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs57/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs57/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs58/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs58/app/datasource.jsx
new file mode 100644
index 000000000..69abe2653
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs58/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let customData = [
+ { x: 2006, y: 7.8, point: 'red' },
+ { x: 2007, y: 7.2, point: 'green' },
+ { x: 2008, y: null, point: 'orange' },
+ { x: 2009, y: 10.7, point: 'yellow' },
+ { x: 2010, y: 10.8, point: 'grey' },
+ { x: 2011, y: 9.8, point: 'blue' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs58/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs58/app/datasource.tsx
new file mode 100644
index 000000000..007bb658e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs58/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let customData: Object[] = [
+ { x: 2006, y: 7.8, point: 'red' },
+ { x: 2007, y: 7.2, point: 'green' },
+ { x: 2008, y: null, point: 'orange' },
+ { x: 2009, y: 10.7, point: 'yellow' },
+ { x: 2010, y: 10.8, point: 'grey' },
+ { x: 2011, y: 9.8, point: 'blue' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs58/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs58/app/index.jsx
new file mode 100644
index 000000000..1c7b33408
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs58/app/index.jsx
@@ -0,0 +1,28 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, BarSeries } from '@syncfusion/ej2-react-charts';
+import { customData } from './datasource';
+function App() {
+ const primaryxAxis = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis = {
+ minimum: 3, maximum: 12, interval: 1, title: 'Percentage',
+ labelFormat: '{value}%'
+ };
+ const emptyPoint = {
+ mode: 'Average', fill: 'red', border: {width:1.5, color: 'black'}
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs58/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs58/app/index.tsx
new file mode 100644
index 000000000..09a40bd2e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs58/app/index.tsx
@@ -0,0 +1,36 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, BarSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { customData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis: AxisModel = {
+ minimum: 3, maximum: 12, interval: 1, title: 'Percentage',
+ labelFormat: '{value}%'
+ };
+ const emptyPoint: Object = {
+ mode: 'Average', fill: 'red', border: {width:1.5, color: 'black'}
+ };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/line-cs58/index.html b/ej2-react/code-snippet/chart/series/line-cs58/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs58/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs58/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs58/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs58/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs59/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs59/app/datasource.jsx
new file mode 100644
index 000000000..40d5b3228
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs59/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let customData = [
+ { x: 2006, y: 7.8, point: 'red' },
+ { x: 2007, y: 7.2, point: 'green' },
+ { x: 2008, y: 8, point: 'orange' },
+ { x: 2009, y: 10.7, point: 'yellow' },
+ { x: 2010, y: 10.8, point: 'grey' },
+ { x: 2011, y: 9.8, point: 'blue' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs59/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs59/app/datasource.tsx
new file mode 100644
index 000000000..1449cc5d1
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs59/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let customData: Object[] = [
+ { x: 2006, y: 7.8, point: 'red' },
+ { x: 2007, y: 7.2, point: 'green' },
+ { x: 2008, y: 8, point: 'orange' },
+ { x: 2009, y: 10.7, point: 'yellow' },
+ { x: 2010, y: 10.8, point: 'grey' },
+ { x: 2011, y: 9.8, point: 'blue' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs59/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs59/app/index.jsx
new file mode 100644
index 000000000..a6d4c488c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs59/app/index.jsx
@@ -0,0 +1,25 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, BarSeries } from '@syncfusion/ej2-react-charts';
+import { customData } from './datasource';
+function App() {
+ const primaryxAxis = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis = {
+ minimum: 3, maximum: 12, interval: 1, title: 'Percentage',
+ labelFormat: '{value}%'
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs59/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs59/app/index.tsx
new file mode 100644
index 000000000..aab4d939c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs59/app/index.tsx
@@ -0,0 +1,33 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, BarSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { customData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis: AxisModel = {
+ minimum: 3, maximum: 12, interval: 1, title: 'Percentage',
+ labelFormat: '{value}%'
+ };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/line-cs59/index.html b/ej2-react/code-snippet/chart/series/line-cs59/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs59/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs59/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs59/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs59/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs60/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs60/app/datasource.jsx
new file mode 100644
index 000000000..40d5b3228
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs60/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let customData = [
+ { x: 2006, y: 7.8, point: 'red' },
+ { x: 2007, y: 7.2, point: 'green' },
+ { x: 2008, y: 8, point: 'orange' },
+ { x: 2009, y: 10.7, point: 'yellow' },
+ { x: 2010, y: 10.8, point: 'grey' },
+ { x: 2011, y: 9.8, point: 'blue' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs60/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs60/app/datasource.tsx
new file mode 100644
index 000000000..1449cc5d1
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs60/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let customData: Object[] = [
+ { x: 2006, y: 7.8, point: 'red' },
+ { x: 2007, y: 7.2, point: 'green' },
+ { x: 2008, y: 8, point: 'orange' },
+ { x: 2009, y: 10.7, point: 'yellow' },
+ { x: 2010, y: 10.8, point: 'grey' },
+ { x: 2011, y: 9.8, point: 'blue' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs60/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs60/app/index.jsx
new file mode 100644
index 000000000..38a1a678a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs60/app/index.jsx
@@ -0,0 +1,25 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, BarSeries } from '@syncfusion/ej2-react-charts';
+import { customData } from './datasource';
+function App() {
+ const primaryxAxis = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis = {
+ minimum: 3, maximum: 12, interval: 1, title: 'Percentage',
+ labelFormat: '{value}%'
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs60/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs60/app/index.tsx
new file mode 100644
index 000000000..d1fe272fc
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs60/app/index.tsx
@@ -0,0 +1,33 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, BarSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { customData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis: AxisModel = {
+ minimum: 3, maximum: 12, interval: 1, title: 'Percentage',
+ labelFormat: '{value}%'
+ };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/line-cs60/index.html b/ej2-react/code-snippet/chart/series/line-cs60/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs60/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs60/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs60/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs60/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs61/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs61/app/datasource.jsx
new file mode 100644
index 000000000..40d5b3228
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs61/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let customData = [
+ { x: 2006, y: 7.8, point: 'red' },
+ { x: 2007, y: 7.2, point: 'green' },
+ { x: 2008, y: 8, point: 'orange' },
+ { x: 2009, y: 10.7, point: 'yellow' },
+ { x: 2010, y: 10.8, point: 'grey' },
+ { x: 2011, y: 9.8, point: 'blue' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs61/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs61/app/datasource.tsx
new file mode 100644
index 000000000..1449cc5d1
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs61/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let customData: Object[] = [
+ { x: 2006, y: 7.8, point: 'red' },
+ { x: 2007, y: 7.2, point: 'green' },
+ { x: 2008, y: 8, point: 'orange' },
+ { x: 2009, y: 10.7, point: 'yellow' },
+ { x: 2010, y: 10.8, point: 'grey' },
+ { x: 2011, y: 9.8, point: 'blue' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs61/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs61/app/index.jsx
new file mode 100644
index 000000000..25c8a4160
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs61/app/index.jsx
@@ -0,0 +1,32 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, BarSeries } from '@syncfusion/ej2-react-charts';
+import { customData } from './datasource';
+function App() {
+ const primaryxAxis = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis = {
+ minimum: 3, maximum: 12, interval: 1, title: 'Percentage',
+ labelFormat: '{value}%'
+ };
+ export let pointRender = (args) => {
+ if (args.point.y < 7.5) {
+ args.fill = '#ff6347';
+ } else {
+ args.fill = '#009cb8';
+ }
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs61/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs61/app/index.tsx
new file mode 100644
index 000000000..1823a20a3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs61/app/index.tsx
@@ -0,0 +1,42 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, BarSeries, Selection, IPointRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { customData } from './datasource';
+import { EmitType } from '@syncfusion/ej2-base';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis: AxisModel = {
+ minimum: 3, maximum: 12, interval: 1, title: 'Percentage',
+ labelFormat: '{value}%'
+ };
+ const pointRender: EmitType = (args: IPointRenderEventArgs): void => {
+ if (args.point.y < 7.5) {
+ args.fill = '#ff6347';
+ } else {
+ args.fill = '#009cb8';
+ }
+ };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/line-cs61/index.html b/ej2-react/code-snippet/chart/series/line-cs61/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs61/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs61/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs61/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs61/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs62/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs62/app/datasource.jsx
new file mode 100644
index 000000000..40d5b3228
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs62/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let customData = [
+ { x: 2006, y: 7.8, point: 'red' },
+ { x: 2007, y: 7.2, point: 'green' },
+ { x: 2008, y: 8, point: 'orange' },
+ { x: 2009, y: 10.7, point: 'yellow' },
+ { x: 2010, y: 10.8, point: 'grey' },
+ { x: 2011, y: 9.8, point: 'blue' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs62/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs62/app/datasource.tsx
new file mode 100644
index 000000000..1449cc5d1
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs62/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let customData: Object[] = [
+ { x: 2006, y: 7.8, point: 'red' },
+ { x: 2007, y: 7.2, point: 'green' },
+ { x: 2008, y: 8, point: 'orange' },
+ { x: 2009, y: 10.7, point: 'yellow' },
+ { x: 2010, y: 10.8, point: 'grey' },
+ { x: 2011, y: 9.8, point: 'blue' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs62/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs62/app/index.jsx
new file mode 100644
index 000000000..ec60cf3b7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs62/app/index.jsx
@@ -0,0 +1,28 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, BarSeries } from '@syncfusion/ej2-react-charts';
+import { customData } from './datasource';
+function App() {
+ const primaryxAxis = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis = {
+ minimum: 3, maximum: 12, interval: 1, title: 'Percentage',
+ labelFormat: '{value}%'
+ };
+ const seriesRender = (args) => {
+ args.fill = '#ff6347';
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs62/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs62/app/index.tsx
new file mode 100644
index 000000000..594da3a8b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs62/app/index.tsx
@@ -0,0 +1,37 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, BarSeries, Selection, ISeriesRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { customData } from './datasource';
+import { EmitType } from '@syncfusion/ej2-base';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { minimum: 2005, maximum: 2012, interval: 1, title: 'Year' };
+ const primaryyAxis: AxisModel = {
+ minimum: 3, maximum: 12, interval: 1, title: 'Percentage',
+ labelFormat: '{value}%'
+ };
+ const seriesRender: EmitType = (args: ISeriesRenderEventArgs): void => {
+ args.fill = '#ff6347';
+ };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/line-cs62/index.html b/ej2-react/code-snippet/chart/series/line-cs62/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs62/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs62/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs62/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs62/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs63/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs63/app/datasource.jsx
new file mode 100644
index 000000000..b76aa1b12
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs63/app/datasource.jsx
@@ -0,0 +1,10 @@
+export let columnData = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: 60 },
+ { country: "France", gold: 50 },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs63/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs63/app/datasource.tsx
new file mode 100644
index 000000000..e26afb062
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs63/app/datasource.tsx
@@ -0,0 +1,10 @@
+export let columnData: Object[] = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: 60 },
+ { country: "France", gold: 50 },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs63/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs63/app/index.jsx
new file mode 100644
index 000000000..5adf7c3df
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs63/app/index.jsx
@@ -0,0 +1,18 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, ColumnSeries } from '@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Countries' };
+ const primaryyAxis = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/line-cs63/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs63/app/index.tsx
new file mode 100644
index 000000000..b0f16eb35
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs63/app/index.tsx
@@ -0,0 +1,31 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, ColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Countries' };
+ const primaryyAxis: AxisModel = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs63/index.html b/ej2-react/code-snippet/chart/series/line-cs63/index.html
new file mode 100644
index 000000000..0deb6aa2b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs63/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs63/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs63/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs63/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs64/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs64/app/datasource.jsx
new file mode 100644
index 000000000..b76aa1b12
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs64/app/datasource.jsx
@@ -0,0 +1,10 @@
+export let columnData = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: 60 },
+ { country: "France", gold: 50 },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs64/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs64/app/datasource.tsx
new file mode 100644
index 000000000..e26afb062
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs64/app/datasource.tsx
@@ -0,0 +1,10 @@
+export let columnData: Object[] = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: 60 },
+ { country: "France", gold: 50 },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs64/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs64/app/index.jsx
new file mode 100644
index 000000000..f94def630
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs64/app/index.jsx
@@ -0,0 +1,18 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, ColumnSeries } from '@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Countries' };
+ const primaryyAxis = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/line-cs64/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs64/app/index.tsx
new file mode 100644
index 000000000..9c2387feb
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs64/app/index.tsx
@@ -0,0 +1,31 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, ColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Countries' };
+ const primaryyAxis: AxisModel = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs64/index.html b/ej2-react/code-snippet/chart/series/line-cs64/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs64/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs64/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs64/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs64/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs65/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs65/app/datasource.jsx
new file mode 100644
index 000000000..b76aa1b12
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs65/app/datasource.jsx
@@ -0,0 +1,10 @@
+export let columnData = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: 60 },
+ { country: "France", gold: 50 },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs65/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs65/app/datasource.tsx
new file mode 100644
index 000000000..e26afb062
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs65/app/datasource.tsx
@@ -0,0 +1,10 @@
+export let columnData: Object[] = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: 60 },
+ { country: "France", gold: 50 },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs65/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs65/app/index.jsx
new file mode 100644
index 000000000..2ae3b17c7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs65/app/index.jsx
@@ -0,0 +1,20 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, ColumnSeries } from '@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Countries' };
+ const primaryyAxis = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ const border={width: 1.5, color: 'Blue'}
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/line-cs65/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs65/app/index.tsx
new file mode 100644
index 000000000..99ce20add
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs65/app/index.tsx
@@ -0,0 +1,30 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, ColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Countries' };
+ const primaryyAxis: AxisModel = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ const border: object = {width: 1.5, color: 'Blue'};
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs65/index.html b/ej2-react/code-snippet/chart/series/line-cs65/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs65/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs65/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs65/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs65/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs66/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs66/app/datasource.jsx
new file mode 100644
index 000000000..b76aa1b12
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs66/app/datasource.jsx
@@ -0,0 +1,10 @@
+export let columnData = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: 60 },
+ { country: "France", gold: 50 },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs66/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs66/app/datasource.tsx
new file mode 100644
index 000000000..e26afb062
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs66/app/datasource.tsx
@@ -0,0 +1,10 @@
+export let columnData: Object[] = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: 60 },
+ { country: "France", gold: 50 },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs66/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs66/app/index.jsx
new file mode 100644
index 000000000..f2fc88763
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs66/app/index.jsx
@@ -0,0 +1,20 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, ColumnSeries } from '@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Countries' };
+ const primaryyAxis = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ const border={width: 1.5, color: 'Blue'}
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/line-cs66/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs66/app/index.tsx
new file mode 100644
index 000000000..b6cb3d8cd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs66/app/index.tsx
@@ -0,0 +1,30 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, ColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Countries' };
+ const primaryyAxis: AxisModel = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ const border: object = {width: 1.5, color: 'Blue'};
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs66/index.html b/ej2-react/code-snippet/chart/series/line-cs66/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs66/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs66/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs66/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs66/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs67/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs67/app/datasource.jsx
new file mode 100644
index 000000000..10b3ec44b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs67/app/datasource.jsx
@@ -0,0 +1,10 @@
+export let columnData = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: null },
+ { country: "France", gold: 50 },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs67/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs67/app/datasource.tsx
new file mode 100644
index 000000000..1f6c4e24d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs67/app/datasource.tsx
@@ -0,0 +1,10 @@
+export let columnData: Object[] = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: null },
+ { country: "France", gold: 50 },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs67/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs67/app/index.jsx
new file mode 100644
index 000000000..97e8306b8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs67/app/index.jsx
@@ -0,0 +1,20 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, ColumnSeries } from '@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Countries' };
+ const primaryyAxis = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ const emptyPoint = { mode: 'Gap' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/line-cs67/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs67/app/index.tsx
new file mode 100644
index 000000000..fbb334809
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs67/app/index.tsx
@@ -0,0 +1,30 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, ColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Countries' };
+ const primaryyAxis: AxisModel = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ const emptyPoint: object = { mode: 'Gap' };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs67/index.html b/ej2-react/code-snippet/chart/series/line-cs67/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs67/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs67/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs67/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs67/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs68/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs68/app/datasource.jsx
new file mode 100644
index 000000000..10b3ec44b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs68/app/datasource.jsx
@@ -0,0 +1,10 @@
+export let columnData = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: null },
+ { country: "France", gold: 50 },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs68/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs68/app/datasource.tsx
new file mode 100644
index 000000000..1f6c4e24d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs68/app/datasource.tsx
@@ -0,0 +1,10 @@
+export let columnData: Object[] = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: null },
+ { country: "France", gold: 50 },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs68/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs68/app/index.jsx
new file mode 100644
index 000000000..ef5b030c6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs68/app/index.jsx
@@ -0,0 +1,20 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, ColumnSeries } from '@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Countries' };
+ const primaryyAxis = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ const emptyPoint = { mode: 'Average', fill: 'red' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/line-cs68/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs68/app/index.tsx
new file mode 100644
index 000000000..54b8347cf
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs68/app/index.tsx
@@ -0,0 +1,30 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, ColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Countries' };
+ const primaryyAxis: AxisModel = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ const emptyPoint: object = { mode: 'Average', fill: 'red' };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs68/index.html b/ej2-react/code-snippet/chart/series/line-cs68/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs68/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs68/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs68/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs68/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs69/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs69/app/datasource.jsx
new file mode 100644
index 000000000..10b3ec44b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs69/app/datasource.jsx
@@ -0,0 +1,10 @@
+export let columnData = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: null },
+ { country: "France", gold: 50 },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs69/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs69/app/datasource.tsx
new file mode 100644
index 000000000..1f6c4e24d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs69/app/datasource.tsx
@@ -0,0 +1,10 @@
+export let columnData: Object[] = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: null },
+ { country: "France", gold: 50 },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs69/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs69/app/index.jsx
new file mode 100644
index 000000000..9d90d3ef6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs69/app/index.jsx
@@ -0,0 +1,24 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, ColumnSeries } from '@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Countries' };
+ const primaryyAxis = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ const emptyPoint = {
+ mode: 'Average',
+ fill: 'green',
+ border: { width: 1.5, color: 'red' },
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/line-cs69/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs69/app/index.tsx
new file mode 100644
index 000000000..2fc957b53
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs69/app/index.tsx
@@ -0,0 +1,34 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, ColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Countries' };
+ const primaryyAxis: AxisModel = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ const emptyPoint: object = {
+ mode: 'Average',
+ fill: 'green',
+ border: { width: 1.5, color: 'red' },
+ };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs69/index.html b/ej2-react/code-snippet/chart/series/line-cs69/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs69/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs69/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs69/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs69/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs70/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs70/app/datasource.jsx
new file mode 100644
index 000000000..b76aa1b12
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs70/app/datasource.jsx
@@ -0,0 +1,10 @@
+export let columnData = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: 60 },
+ { country: "France", gold: 50 },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs70/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs70/app/datasource.tsx
new file mode 100644
index 000000000..e26afb062
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs70/app/datasource.tsx
@@ -0,0 +1,10 @@
+export let columnData: Object[] = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: 60 },
+ { country: "France", gold: 50 },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs70/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs70/app/index.jsx
new file mode 100644
index 000000000..6312089a8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs70/app/index.jsx
@@ -0,0 +1,21 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, ColumnSeries } from '@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Countries' };
+ const primaryyAxis = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ const seriesRender = (args) => {
+ args.fill = '#ff6347';
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/line-cs70/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs70/app/index.tsx
new file mode 100644
index 000000000..98d183634
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs70/app/index.tsx
@@ -0,0 +1,34 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, ColumnSeries, Selection, ISeriesRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { EmitType } from '@syncfusion/ej2-base';
+import { columnData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Countries' };
+ const primaryyAxis: AxisModel = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ const seriesRender: EmitType = (args: ISeriesRenderEventArgs): void => {
+ args.fill = '#ff6347';
+ };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs70/index.html b/ej2-react/code-snippet/chart/series/line-cs70/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs70/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs70/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs70/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs70/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs71/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs71/app/datasource.jsx
new file mode 100644
index 000000000..b76aa1b12
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs71/app/datasource.jsx
@@ -0,0 +1,10 @@
+export let columnData = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: 60 },
+ { country: "France", gold: 50 },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs71/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs71/app/datasource.tsx
new file mode 100644
index 000000000..e26afb062
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs71/app/datasource.tsx
@@ -0,0 +1,10 @@
+export let columnData: Object[] = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: 60 },
+ { country: "France", gold: 50 },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs71/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs71/app/index.jsx
new file mode 100644
index 000000000..ae5b08b13
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs71/app/index.jsx
@@ -0,0 +1,25 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, ColumnSeries } from '@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Countries' };
+ const primaryyAxis = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ const pointRender = (args) => {
+ if (args.point.maximum < 38) {
+ args.fill = '#ff6347';
+ } else {
+ args.fill = '#009cb8';
+ }
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/line-cs71/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs71/app/index.tsx
new file mode 100644
index 000000000..95bf637fb
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs71/app/index.tsx
@@ -0,0 +1,38 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, ColumnSeries, Selection, IPointRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { EmitType } from '@syncfusion/ej2-base';
+import { columnData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Countries' };
+ const primaryyAxis: AxisModel = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ const pointRender: EmitType = (args: IPointRenderEventArgs): void => {
+ if (args.point.maximum < 38) {
+ args.fill = '#ff6347';
+ } else {
+ args.fill = '#009cb8';
+ }
+ };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs71/index.html b/ej2-react/code-snippet/chart/series/line-cs71/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs71/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs71/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs71/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs71/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs72/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs72/app/datasource.jsx
new file mode 100644
index 000000000..609287ba7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs72/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs72/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs72/app/datasource.tsx
new file mode 100644
index 000000000..c88c0e7d8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs72/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs72/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs72/app/index.jsx
new file mode 100644
index 000000000..833f09003
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs72/app/index.jsx
@@ -0,0 +1,16 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, LineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/line-cs72/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs72/app/index.tsx
new file mode 100644
index 000000000..11634630f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs72/app/index.tsx
@@ -0,0 +1,23 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, LineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs72/index.html b/ej2-react/code-snippet/chart/series/line-cs72/index.html
new file mode 100644
index 000000000..934f1d00c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs72/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs72/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs72/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs72/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs73/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs73/app/datasource.jsx
new file mode 100644
index 000000000..609287ba7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs73/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs73/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs73/app/datasource.tsx
new file mode 100644
index 000000000..c88c0e7d8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs73/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs73/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs73/app/index.jsx
new file mode 100644
index 000000000..dedb647d4
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs73/app/index.jsx
@@ -0,0 +1,16 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, LineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/line-cs73/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs73/app/index.tsx
new file mode 100644
index 000000000..c00822926
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs73/app/index.tsx
@@ -0,0 +1,23 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, LineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs73/index.html b/ej2-react/code-snippet/chart/series/line-cs73/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs73/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs73/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs73/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs73/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs74/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs74/app/datasource.jsx
new file mode 100644
index 000000000..609287ba7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs74/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs74/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs74/app/datasource.tsx
new file mode 100644
index 000000000..c88c0e7d8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs74/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs74/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs74/app/index.jsx
new file mode 100644
index 000000000..a574047c5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs74/app/index.jsx
@@ -0,0 +1,16 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, LineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/line-cs74/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs74/app/index.tsx
new file mode 100644
index 000000000..06eea8678
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs74/app/index.tsx
@@ -0,0 +1,23 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, LineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs74/index.html b/ej2-react/code-snippet/chart/series/line-cs74/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs74/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs74/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs74/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs74/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs75/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs75/app/datasource.jsx
new file mode 100644
index 000000000..609287ba7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs75/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs75/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs75/app/datasource.tsx
new file mode 100644
index 000000000..c88c0e7d8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs75/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs75/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs75/app/index.jsx
new file mode 100644
index 000000000..692b40576
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs75/app/index.jsx
@@ -0,0 +1,16 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, LineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/line-cs75/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs75/app/index.tsx
new file mode 100644
index 000000000..f4d6f0913
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs75/app/index.tsx
@@ -0,0 +1,23 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, LineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs75/index.html b/ej2-react/code-snippet/chart/series/line-cs75/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs75/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs75/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs75/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs75/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs76/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs76/app/datasource.jsx
new file mode 100644
index 000000000..cb50861d3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs76/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: null },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs76/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs76/app/datasource.tsx
new file mode 100644
index 000000000..c807a30c9
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs76/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: null },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs76/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs76/app/index.jsx
new file mode 100644
index 000000000..fded016e7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs76/app/index.jsx
@@ -0,0 +1,23 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, LineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const emptyPoints = { mode: 'Gap' };
+ const marker = {
+ visible: true,
+ width: 10,
+ height: 10,
+ border: { width: 2, color: '#F8AB1D' },
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/line-cs76/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs76/app/index.tsx
new file mode 100644
index 000000000..b01f933c0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs76/app/index.tsx
@@ -0,0 +1,30 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, LineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+ const emptyPoints: object = { mode: 'Gap' };
+ const marker = {
+ visible: true,
+ width: 10,
+ height: 10,
+ border: { width: 2, color: '#F8AB1D' },
+ };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs76/index.html b/ej2-react/code-snippet/chart/series/line-cs76/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs76/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs76/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs76/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs76/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs77/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs77/app/datasource.jsx
new file mode 100644
index 000000000..cb50861d3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs77/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: null },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs77/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs77/app/datasource.tsx
new file mode 100644
index 000000000..c807a30c9
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs77/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: null },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs77/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs77/app/index.jsx
new file mode 100644
index 000000000..3f3f716ec
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs77/app/index.jsx
@@ -0,0 +1,23 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, LineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const emptyPoints = { mode: 'Average', fill: 'red' };
+ const marker = {
+ visible: true,
+ width: 10,
+ height: 10,
+ border: { width: 2, color: '#F8AB1D' },
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/line-cs77/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs77/app/index.tsx
new file mode 100644
index 000000000..7f39c4323
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs77/app/index.tsx
@@ -0,0 +1,30 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, LineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+ const emptyPoints: object = { mode: 'Average', fill: 'red' };
+ const marker = {
+ visible: true,
+ width: 10,
+ height: 10,
+ border: { width: 2, color: '#F8AB1D' },
+ };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs77/index.html b/ej2-react/code-snippet/chart/series/line-cs77/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs77/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs77/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs77/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs77/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs77A/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs77A/app/datasource.jsx
new file mode 100644
index 000000000..cb50861d3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs77A/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: null },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs77A/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs77A/app/datasource.tsx
new file mode 100644
index 000000000..c807a30c9
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs77A/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: null },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs77A/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs77A/app/index.jsx
new file mode 100644
index 000000000..83f6044eb
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs77A/app/index.jsx
@@ -0,0 +1,23 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, LineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const emptyPoints = { mode: 'Average', fill: 'red', border: {width: 1.5, color: 'green'} };
+ const marker = {
+ visible: true,
+ width: 10,
+ height: 10,
+ border: { width: 2, color: '#F8AB1D' },
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/line-cs77A/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs77A/app/index.tsx
new file mode 100644
index 000000000..fad4def7c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs77A/app/index.tsx
@@ -0,0 +1,30 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, LineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+ const emptyPoints: object = { mode: 'Average', fill: 'red', border: {width: 1.5, color: 'green'} };
+ const marker = {
+ visible: true,
+ width: 10,
+ height: 10,
+ border: { width: 2, color: '#F8AB1D' },
+ };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs77A/index.html b/ej2-react/code-snippet/chart/series/line-cs77A/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs77A/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs77A/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs77A/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs77A/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs78/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs78/app/datasource.jsx
new file mode 100644
index 000000000..cb50861d3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs78/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: null },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs78/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs78/app/datasource.tsx
new file mode 100644
index 000000000..c959fa94f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs78/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 20 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs78/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs78/app/index.jsx
new file mode 100644
index 000000000..88fcead85
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs78/app/index.jsx
@@ -0,0 +1,26 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, LineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const seriesRender = (args) => {
+ args.fill = '#ff6347';
+ };
+ const marker = {
+ visible: true,
+ width: 10,
+ height: 10,
+ border: { width: 2, color: '#F8AB1D' },
+ };
+
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/line-cs78/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs78/app/index.tsx
new file mode 100644
index 000000000..288e0ae24
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs78/app/index.tsx
@@ -0,0 +1,33 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, LineSeries, ISeriesRenderEventArgs, Selection}
+from'@syncfusion/ej2-react-charts';
+import { EmitType } from '@syncfusion/ej2-base';
+import { data } from './datasource';
+
+function App() {
+ const seriesRender: EmitType = (args: ISeriesRenderEventArgs): void => {
+ args.fill = '#ff6347';
+ }
+ const marker = {
+ visible: true,
+ width: 10,
+ height: 10,
+ border: { width: 2, color: '#F8AB1D' },
+ };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs78/index.html b/ej2-react/code-snippet/chart/series/line-cs78/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs78/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs78/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs78/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs78/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs79/app/datasource.jsx b/ej2-react/code-snippet/chart/series/line-cs79/app/datasource.jsx
new file mode 100644
index 000000000..cb50861d3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs79/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: null },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs79/app/datasource.tsx b/ej2-react/code-snippet/chart/series/line-cs79/app/datasource.tsx
new file mode 100644
index 000000000..c959fa94f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs79/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 20 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs79/app/index.jsx b/ej2-react/code-snippet/chart/series/line-cs79/app/index.jsx
new file mode 100644
index 000000000..1f8bb87b8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs79/app/index.jsx
@@ -0,0 +1,31 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, LineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const pointRender = (args) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ };
+ const marker = {
+ visible: true,
+ width: 10,
+ height: 10,
+ border: { width: 2, color: '#F8AB1D' },
+ };
+
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/line-cs79/app/index.tsx b/ej2-react/code-snippet/chart/series/line-cs79/app/index.tsx
new file mode 100644
index 000000000..aa62a703e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs79/app/index.tsx
@@ -0,0 +1,38 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, LineSeries, IPointRenderEventArgs, Selection}
+from'@syncfusion/ej2-react-charts';
+import { EmitType } from '@syncfusion/ej2-base';
+import { data } from './datasource';
+
+function App() {
+ const pointRender: EmitType = (args: IPointRenderEventArgs): void => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ }
+ const marker = {
+ visible: true,
+ width: 10,
+ height: 10,
+ border: { width: 2, color: '#F8AB1D' },
+ };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/line-cs79/index.html b/ej2-react/code-snippet/chart/series/line-cs79/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs79/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/line-cs79/systemjs.config.js b/ej2-react/code-snippet/chart/series/line-cs79/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/line-cs79/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/pie-cs39/app/index.jsx b/ej2-react/code-snippet/chart/series/pie-cs39/app/index.jsx
new file mode 100644
index 000000000..2f6d2ef47
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/pie-cs39/app/index.jsx
@@ -0,0 +1,32 @@
+{% raw %}
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AccumulationChartComponent, AccumulationSeriesCollectionDirective, AccumulationSeriesDirective, Inject,AccumulationAnnotation, AccumulationAnnotationsDirective, AccumulationAnnotationDirective}
+from'@syncfusion/ej2-react-charts';
+import { variespiedata } from '../datasource.ts';
+
+function App() {
+
+ const template = chartTemplate;
+ function chartTemplate() {
+ return ();
+ };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/pie-cs39/app/index.tsx b/ej2-react/code-snippet/chart/series/pie-cs39/app/index.tsx
new file mode 100644
index 000000000..ac2f2fab7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/pie-cs39/app/index.tsx
@@ -0,0 +1,32 @@
+{% raw %}
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AccumulationChartComponent, AccumulationSeriesCollectionDirective, AccumulationSeriesDirective, Inject,AccumulationAnnotation, AccumulationAnnotationsDirective, AccumulationAnnotationDirective}
+from'@syncfusion/ej2-react-charts';
+import { variespiedata } from '../datasource.ts';
+
+function App() {
+
+ const template: any = chartTemplate;
+ function chartTemplate(): any {
+ return ();
+ };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/pie-cs39/datasource.ts b/ej2-react/code-snippet/chart/series/pie-cs39/datasource.ts
new file mode 100644
index 000000000..2d711e9d5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/pie-cs39/datasource.ts
@@ -0,0 +1,9 @@
+export let variespiedata: Object[] = [
+ { x: 'Argentina', y: 505370, r: '100' },
+ { x: 'Belgium', y: 551500, r: '118.7' },
+ { x: 'Cuba', y: 312685, r: '124.6' },
+ { x: 'Dominican Republic', y: 350000, r: '137.5' },
+ { x: 'Egypt', y: 301000, r: '150.8' },
+ { x: 'Kazakhstan', y: 300000, r: '155.5' },
+ { x: 'Somalia', y: 357022, r: '160.6' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/pie-cs39/index.html b/ej2-react/code-snippet/chart/series/pie-cs39/index.html
new file mode 100644
index 000000000..c807e8648
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/pie-cs39/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Accumulation Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/pie-cs39/systemjs.config.js b/ej2-react/code-snippet/chart/series/pie-cs39/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/pie-cs39/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/pie-cs40/app/index.jsx b/ej2-react/code-snippet/chart/series/pie-cs40/app/index.jsx
new file mode 100644
index 000000000..46f4890f6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/pie-cs40/app/index.jsx
@@ -0,0 +1,32 @@
+{% raw %}
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AccumulationChartComponent, AccumulationSeriesCollectionDirective, AccumulationSeriesDirective, Inject,AccumulationAnnotation, AccumulationAnnotationsDirective, AccumulationAnnotationDirective}
+from'@syncfusion/ej2-react-charts';
+import { variespiedata } from '../datasource.ts';
+
+function App() {
+
+ const template = chartTemplate;
+ function chartTemplate() {
+ return ();
+ };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/pie-cs40/app/index.tsx b/ej2-react/code-snippet/chart/series/pie-cs40/app/index.tsx
new file mode 100644
index 000000000..4d3b5ddf2
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/pie-cs40/app/index.tsx
@@ -0,0 +1,32 @@
+{% raw %}
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AccumulationChartComponent, AccumulationSeriesCollectionDirective, AccumulationSeriesDirective, Inject,AccumulationAnnotation, AccumulationAnnotationsDirective, AccumulationAnnotationDirective}
+from'@syncfusion/ej2-react-charts';
+import { variespiedata } from '../datasource.ts';
+
+function App() {
+
+ const template: any = chartTemplate;
+ function chartTemplate(): any {
+ return ();
+ };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/pie-cs40/datasource.ts b/ej2-react/code-snippet/chart/series/pie-cs40/datasource.ts
new file mode 100644
index 000000000..2d711e9d5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/pie-cs40/datasource.ts
@@ -0,0 +1,9 @@
+export let variespiedata: Object[] = [
+ { x: 'Argentina', y: 505370, r: '100' },
+ { x: 'Belgium', y: 551500, r: '118.7' },
+ { x: 'Cuba', y: 312685, r: '124.6' },
+ { x: 'Dominican Republic', y: 350000, r: '137.5' },
+ { x: 'Egypt', y: 301000, r: '150.8' },
+ { x: 'Kazakhstan', y: 300000, r: '155.5' },
+ { x: 'Somalia', y: 357022, r: '160.6' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/pie-cs40/index.html b/ej2-react/code-snippet/chart/series/pie-cs40/index.html
new file mode 100644
index 000000000..c807e8648
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/pie-cs40/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Accumulation Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/pie-cs40/systemjs.config.js b/ej2-react/code-snippet/chart/series/pie-cs40/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/pie-cs40/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/polar-cs12/app/datasource.jsx b/ej2-react/code-snippet/chart/series/polar-cs12/app/datasource.jsx
new file mode 100644
index 000000000..be0c1c937
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs12/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let areaData = [
+ { x: 1900, y: 4 },
+ { x: 1920, y: 3.0 },
+ { x: 1940, y: 3.8 },
+ { x: 1960, y: 3.4 },
+ { x: 1980, y: 3.2 },
+ { x: 2000, y: 3.9 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs12/app/datasource.tsx b/ej2-react/code-snippet/chart/series/polar-cs12/app/datasource.tsx
new file mode 100644
index 000000000..7de4729b2
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs12/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let areaData: Object[] = [
+ { x: 1900, y: 4 },
+ { x: 1920, y: 3.0 },
+ { x: 1940, y: 3.8 },
+ { x: 1960, y: 3.4 },
+ { x: 1980, y: 3.2 },
+ { x: 2000, y: 3.9 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs12/app/index.jsx b/ej2-react/code-snippet/chart/series/polar-cs12/app/index.jsx
new file mode 100644
index 000000000..67de3d8fb
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs12/app/index.jsx
@@ -0,0 +1,18 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, PolarSeries, SplineAreaSeries } from '@syncfusion/ej2-react-charts';
+import { areaData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Years', minimum: 1900, maximum: 2000, interval: 10 };
+ const primaryyAxis = { minimum: 2, maximum: 5, interval: 0.5, title: 'Sales Amount in Millions' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/polar-cs12/app/index.tsx b/ej2-react/code-snippet/chart/series/polar-cs12/app/index.tsx
new file mode 100644
index 000000000..f8071b2b4
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs12/app/index.tsx
@@ -0,0 +1,32 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ PolarSeries, SplineAreaSeries}
+from'@syncfusion/ej2-react-charts';
+import { areaData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Years', minimum: 1900, maximum: 2000, interval: 10 };
+ const primaryyAxis: AxisModel = { minimum: 2, maximum: 5, interval: 0.5, title: 'Sales Amount in Millions' };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/polar-cs12/index.html b/ej2-react/code-snippet/chart/series/polar-cs12/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs12/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs12/systemjs.config.js b/ej2-react/code-snippet/chart/series/polar-cs12/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs12/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/polar-cs13/app/datasource.jsx b/ej2-react/code-snippet/chart/series/polar-cs13/app/datasource.jsx
new file mode 100644
index 000000000..fda2b8758
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs13/app/datasource.jsx
@@ -0,0 +1,10 @@
+export let columnData = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: 60 },
+ { country: "France", gold: null },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs13/app/datasource.tsx b/ej2-react/code-snippet/chart/series/polar-cs13/app/datasource.tsx
new file mode 100644
index 000000000..9088aafae
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs13/app/datasource.tsx
@@ -0,0 +1,10 @@
+export let columnData: Object[] = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: 60 },
+ { country: "France", gold: null },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs13/app/index.jsx b/ej2-react/code-snippet/chart/series/polar-cs13/app/index.jsx
new file mode 100644
index 000000000..f7facc03f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs13/app/index.jsx
@@ -0,0 +1,19 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, PolarSeries, Category, ColumnSeries } from '@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Country', valueType: 'Category' };
+ const primaryyAxis = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ const emptyPoint = { mode: 'Gap' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/polar-cs13/app/index.tsx b/ej2-react/code-snippet/chart/series/polar-cs13/app/index.tsx
new file mode 100644
index 000000000..ca031fcc7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs13/app/index.tsx
@@ -0,0 +1,31 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ PolarSeries, Category, ColumnSeries}
+from'@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Country', valueType: 'Category' };
+ const primaryyAxis: AxisModel = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ const emptyPoint: object = { mode: 'Gap' };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/polar-cs13/index.html b/ej2-react/code-snippet/chart/series/polar-cs13/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs13/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs13/systemjs.config.js b/ej2-react/code-snippet/chart/series/polar-cs13/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs13/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/polar-cs14/app/datasource.jsx b/ej2-react/code-snippet/chart/series/polar-cs14/app/datasource.jsx
new file mode 100644
index 000000000..fda2b8758
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs14/app/datasource.jsx
@@ -0,0 +1,10 @@
+export let columnData = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: 60 },
+ { country: "France", gold: null },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs14/app/datasource.tsx b/ej2-react/code-snippet/chart/series/polar-cs14/app/datasource.tsx
new file mode 100644
index 000000000..9088aafae
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs14/app/datasource.tsx
@@ -0,0 +1,10 @@
+export let columnData: Object[] = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: 60 },
+ { country: "France", gold: null },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs14/app/index.jsx b/ej2-react/code-snippet/chart/series/polar-cs14/app/index.jsx
new file mode 100644
index 000000000..bec42b280
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs14/app/index.jsx
@@ -0,0 +1,19 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, PolarSeries, Category, ColumnSeries } from '@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Country', valueType: 'Category' };
+ const primaryyAxis = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ const emptyPoint = { mode: 'Average', fill: 'red' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/polar-cs14/app/index.tsx b/ej2-react/code-snippet/chart/series/polar-cs14/app/index.tsx
new file mode 100644
index 000000000..e70244f2c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs14/app/index.tsx
@@ -0,0 +1,31 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ PolarSeries, Category, ColumnSeries}
+from'@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Country', valueType: 'Category' };
+ const primaryyAxis: AxisModel = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ const emptyPoint: object = { mode: 'Average', fill: 'red' };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/polar-cs14/index.html b/ej2-react/code-snippet/chart/series/polar-cs14/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs14/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs14/systemjs.config.js b/ej2-react/code-snippet/chart/series/polar-cs14/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs14/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/polar-cs15/app/datasource.jsx b/ej2-react/code-snippet/chart/series/polar-cs15/app/datasource.jsx
new file mode 100644
index 000000000..fda2b8758
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs15/app/datasource.jsx
@@ -0,0 +1,10 @@
+export let columnData = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: 60 },
+ { country: "France", gold: null },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs15/app/datasource.tsx b/ej2-react/code-snippet/chart/series/polar-cs15/app/datasource.tsx
new file mode 100644
index 000000000..9088aafae
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs15/app/datasource.tsx
@@ -0,0 +1,10 @@
+export let columnData: Object[] = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: 60 },
+ { country: "France", gold: null },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs15/app/index.jsx b/ej2-react/code-snippet/chart/series/polar-cs15/app/index.jsx
new file mode 100644
index 000000000..48cc29619
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs15/app/index.jsx
@@ -0,0 +1,19 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, PolarSeries, Category, ColumnSeries } from '@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Country', valueType: 'Category' };
+ const primaryyAxis = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ const emptyPoint = { mode: 'Average', fill: 'red', border: {width: 1.5, color: 'green'} };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/polar-cs15/app/index.tsx b/ej2-react/code-snippet/chart/series/polar-cs15/app/index.tsx
new file mode 100644
index 000000000..7cbe29040
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs15/app/index.tsx
@@ -0,0 +1,31 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ PolarSeries, Category, ColumnSeries}
+from'@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Country', valueType: 'Category' };
+ const primaryyAxis: AxisModel = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ const emptyPoint: object = { mode: 'Average', fill: 'red', border: {width: 1.5, color: 'green'} };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/polar-cs15/index.html b/ej2-react/code-snippet/chart/series/polar-cs15/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs15/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs15/systemjs.config.js b/ej2-react/code-snippet/chart/series/polar-cs15/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs15/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/polar-cs16/app/datasource.jsx b/ej2-react/code-snippet/chart/series/polar-cs16/app/datasource.jsx
new file mode 100644
index 000000000..20d6e5c9b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs16/app/datasource.jsx
@@ -0,0 +1,10 @@
+export let columnData = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: 60 },
+ { country: "France", gold: 35 },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs16/app/datasource.tsx b/ej2-react/code-snippet/chart/series/polar-cs16/app/datasource.tsx
new file mode 100644
index 000000000..d67c7ec04
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs16/app/datasource.tsx
@@ -0,0 +1,10 @@
+export let columnData: Object[] = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: 60 },
+ { country: "France", gold: 35 },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs16/app/index.jsx b/ej2-react/code-snippet/chart/series/polar-cs16/app/index.jsx
new file mode 100644
index 000000000..fc05061de
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs16/app/index.jsx
@@ -0,0 +1,21 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, PolarSeries, Category, ColumnSeries } from '@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Country', valueType: 'Category' };
+ const primaryyAxis = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ const seriesRender = (args) => {
+ args.fill = '#ff6347';
+ }
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/polar-cs16/app/index.tsx b/ej2-react/code-snippet/chart/series/polar-cs16/app/index.tsx
new file mode 100644
index 000000000..46096cc9d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs16/app/index.tsx
@@ -0,0 +1,33 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ PolarSeries, Category, ColumnSeries, ISeriesRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Country', valueType: 'Category' };
+ const primaryyAxis: AxisModel = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ const seriesRender = (args: ISeriesRenderEventArgs) => {
+ args.fill = '#ff6347';
+ }
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/polar-cs16/index.html b/ej2-react/code-snippet/chart/series/polar-cs16/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs16/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs16/systemjs.config.js b/ej2-react/code-snippet/chart/series/polar-cs16/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs16/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/polar-cs17/app/datasource.jsx b/ej2-react/code-snippet/chart/series/polar-cs17/app/datasource.jsx
new file mode 100644
index 000000000..20d6e5c9b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs17/app/datasource.jsx
@@ -0,0 +1,10 @@
+export let columnData = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: 60 },
+ { country: "France", gold: 35 },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs17/app/datasource.tsx b/ej2-react/code-snippet/chart/series/polar-cs17/app/datasource.tsx
new file mode 100644
index 000000000..d67c7ec04
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs17/app/datasource.tsx
@@ -0,0 +1,10 @@
+export let columnData: Object[] = [
+ { country: "USA", gold: 50 },
+ { country: "China", gold: 40 },
+ { country: "Japan", gold: 70 },
+ { country: "Australia", gold: 60 },
+ { country: "France", gold: 35 },
+ { country: "Germany", gold: 40 },
+ { country: "Italy", gold: 40 },
+ { country: "Sweden", gold: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs17/app/index.jsx b/ej2-react/code-snippet/chart/series/polar-cs17/app/index.jsx
new file mode 100644
index 000000000..5ecf29cd7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs17/app/index.jsx
@@ -0,0 +1,26 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, PolarSeries, Category, ColumnSeries } from '@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Country', valueType: 'Category' };
+ const primaryyAxis = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ const pointRender = (args) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ }
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/polar-cs17/app/index.tsx b/ej2-react/code-snippet/chart/series/polar-cs17/app/index.tsx
new file mode 100644
index 000000000..526f130a0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs17/app/index.tsx
@@ -0,0 +1,38 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ PolarSeries, Category, ColumnSeries, ISeriesRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { columnData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Country', valueType: 'Category' };
+ const primaryyAxis: AxisModel = { minimum: 0, maximum: 80, interval: 20, title: 'Medals' };
+ const pointRender = (args: ISeriesRenderEventArgs) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ }
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/polar-cs17/index.html b/ej2-react/code-snippet/chart/series/polar-cs17/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs17/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs17/systemjs.config.js b/ej2-react/code-snippet/chart/series/polar-cs17/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs17/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/polar-cs18/app/datasource.jsx b/ej2-react/code-snippet/chart/series/polar-cs18/app/datasource.jsx
new file mode 100644
index 000000000..a2e450534
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs18/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: null },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs18/app/datasource.tsx b/ej2-react/code-snippet/chart/series/polar-cs18/app/datasource.tsx
new file mode 100644
index 000000000..2eab5597e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs18/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: null },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs18/app/index.jsx b/ej2-react/code-snippet/chart/series/polar-cs18/app/index.jsx
new file mode 100644
index 000000000..cd8b2a682
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs18/app/index.jsx
@@ -0,0 +1,23 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, RadarSeries, LineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Month' };
+ const primaryyAxis = { title: 'Efficiency', labelFormat: '{value}%' };
+ const emptyPoint = { mode: 'Zero' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs18/app/index.tsx b/ej2-react/code-snippet/chart/series/polar-cs18/app/index.tsx
new file mode 100644
index 000000000..34bc655bb
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs18/app/index.tsx
@@ -0,0 +1,32 @@
+
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ RadarSeries, LineSeries}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Month' };
+ const primaryyAxis: AxisModel = { title: 'Efficiency', labelFormat: '{value}%' };
+ const emptyPoint = { mode: 'Zero' };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
+
diff --git a/ej2-react/code-snippet/chart/series/polar-cs18/index.html b/ej2-react/code-snippet/chart/series/polar-cs18/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs18/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs18/systemjs.config.js b/ej2-react/code-snippet/chart/series/polar-cs18/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs18/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/polar-cs19/app/datasource.jsx b/ej2-react/code-snippet/chart/series/polar-cs19/app/datasource.jsx
new file mode 100644
index 000000000..a2e450534
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs19/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: null },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs19/app/datasource.tsx b/ej2-react/code-snippet/chart/series/polar-cs19/app/datasource.tsx
new file mode 100644
index 000000000..2eab5597e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs19/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: null },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs19/app/index.jsx b/ej2-react/code-snippet/chart/series/polar-cs19/app/index.jsx
new file mode 100644
index 000000000..628aa72c3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs19/app/index.jsx
@@ -0,0 +1,23 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, RadarSeries, LineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Month' };
+ const primaryyAxis = { title: 'Efficiency', labelFormat: '{value}%' };
+ const emptyPoint = { mode: 'Zero', fill: 'red' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs19/app/index.tsx b/ej2-react/code-snippet/chart/series/polar-cs19/app/index.tsx
new file mode 100644
index 000000000..2273223c2
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs19/app/index.tsx
@@ -0,0 +1,32 @@
+
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ RadarSeries, LineSeries}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Month' };
+ const primaryyAxis: AxisModel = { title: 'Efficiency', labelFormat: '{value}%' };
+ const emptyPoint = { mode: 'Zero', fill: 'red' };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
+
diff --git a/ej2-react/code-snippet/chart/series/polar-cs19/index.html b/ej2-react/code-snippet/chart/series/polar-cs19/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs19/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs19/systemjs.config.js b/ej2-react/code-snippet/chart/series/polar-cs19/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs19/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/polar-cs20/app/datasource.jsx b/ej2-react/code-snippet/chart/series/polar-cs20/app/datasource.jsx
new file mode 100644
index 000000000..a2e450534
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs20/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: null },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs20/app/datasource.tsx b/ej2-react/code-snippet/chart/series/polar-cs20/app/datasource.tsx
new file mode 100644
index 000000000..2eab5597e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs20/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: null },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs20/app/index.jsx b/ej2-react/code-snippet/chart/series/polar-cs20/app/index.jsx
new file mode 100644
index 000000000..e886e9879
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs20/app/index.jsx
@@ -0,0 +1,23 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, RadarSeries, LineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Month' };
+ const primaryyAxis = { title: 'Efficiency', labelFormat: '{value}%' };
+ const emptyPoint = { mode: 'Zero', fill: 'red', border: {width: 2, color: 'green'}};
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs20/app/index.tsx b/ej2-react/code-snippet/chart/series/polar-cs20/app/index.tsx
new file mode 100644
index 000000000..18c3ad5d3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs20/app/index.tsx
@@ -0,0 +1,32 @@
+
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ RadarSeries, LineSeries}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Month' };
+ const primaryyAxis: AxisModel = { title: 'Efficiency', labelFormat: '{value}%' };
+ const emptyPoint = { mode: 'Zero', fill: 'red', border: {width: 2, color: 'green'} };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
+
diff --git a/ej2-react/code-snippet/chart/series/polar-cs20/index.html b/ej2-react/code-snippet/chart/series/polar-cs20/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs20/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs20/systemjs.config.js b/ej2-react/code-snippet/chart/series/polar-cs20/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs20/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/polar-cs21/app/datasource.jsx b/ej2-react/code-snippet/chart/series/polar-cs21/app/datasource.jsx
new file mode 100644
index 000000000..96c324bf0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs21/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 30 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs21/app/datasource.tsx b/ej2-react/code-snippet/chart/series/polar-cs21/app/datasource.tsx
new file mode 100644
index 000000000..4feca5f59
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs21/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 30 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs21/app/index.jsx b/ej2-react/code-snippet/chart/series/polar-cs21/app/index.jsx
new file mode 100644
index 000000000..ab2f137b9
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs21/app/index.jsx
@@ -0,0 +1,25 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, RadarSeries, ColumnSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Month' };
+ const primaryyAxis = { minimum: 20, maximum: 40, interval: 5, title: 'Efficiency', labelFormat: '{value}%' };
+ const seriesRender = (args) => {
+ args.fill = '#ff6347';
+ }
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs21/app/index.tsx b/ej2-react/code-snippet/chart/series/polar-cs21/app/index.tsx
new file mode 100644
index 000000000..c6676c6a7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs21/app/index.tsx
@@ -0,0 +1,34 @@
+
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, ISeriesRenderEventArgs,
+ RadarSeries, ColumnSeries}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Month' };
+ const primaryyAxis: AxisModel = { minimum: 20, maximum: 40, interval: 5, title: 'Efficiency', labelFormat: '{value}%' };
+ const seriesRender = (args: ISeriesRenderEventArgs) => {
+ args.fill = '#ff6347';
+ }
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
+
diff --git a/ej2-react/code-snippet/chart/series/polar-cs21/index.html b/ej2-react/code-snippet/chart/series/polar-cs21/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs21/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs21/systemjs.config.js b/ej2-react/code-snippet/chart/series/polar-cs21/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs21/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/polar-cs22/app/datasource.jsx b/ej2-react/code-snippet/chart/series/polar-cs22/app/datasource.jsx
new file mode 100644
index 000000000..96c324bf0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs22/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 30 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs22/app/datasource.tsx b/ej2-react/code-snippet/chart/series/polar-cs22/app/datasource.tsx
new file mode 100644
index 000000000..4feca5f59
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs22/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 30 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs22/app/index.jsx b/ej2-react/code-snippet/chart/series/polar-cs22/app/index.jsx
new file mode 100644
index 000000000..5655016ba
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs22/app/index.jsx
@@ -0,0 +1,30 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, RadarSeries, ColumnSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Month' };
+ const primaryyAxis = { minimum: 20, maximum: 40, interval: 5, title: 'Efficiency', labelFormat: '{value}%' };
+ const pointRender = (args) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ }
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs22/app/index.tsx b/ej2-react/code-snippet/chart/series/polar-cs22/app/index.tsx
new file mode 100644
index 000000000..617dbbd38
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs22/app/index.tsx
@@ -0,0 +1,39 @@
+
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, IPointRenderEventArgs,
+ RadarSeries, ColumnSeries}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Month' };
+ const primaryyAxis: AxisModel = { minimum: 20, maximum: 40, interval: 5, title: 'Efficiency', labelFormat: '{value}%' };
+ const pointRender = (args: IPointRenderEventArgs) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ }
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
+
diff --git a/ej2-react/code-snippet/chart/series/polar-cs22/index.html b/ej2-react/code-snippet/chart/series/polar-cs22/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs22/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/polar-cs22/systemjs.config.js b/ej2-react/code-snippet/chart/series/polar-cs22/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/polar-cs22/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs1/app/index.jsx b/ej2-react/code-snippet/chart/series/rangearea-cs1/app/index.jsx
index 63bdcc6d4..c868fc88e 100644
--- a/ej2-react/code-snippet/chart/series/rangearea-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs1/app/index.jsx
@@ -1,15 +1,13 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
-import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, SplineRangeAreaSeries } from '@syncfusion/ej2-react-charts';
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, RangeAreaSeries } from '@syncfusion/ej2-react-charts';
import { data } from './datasource';
function App() {
- const border = { width: 2, color: 'brown'};
return
-
+
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs1/app/index.tsx b/ej2-react/code-snippet/chart/series/rangearea-cs1/app/index.tsx
index f97c49c96..7a4e66e8f 100644
--- a/ej2-react/code-snippet/chart/series/rangearea-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs1/app/index.tsx
@@ -8,14 +8,11 @@ from'@syncfusion/ej2-react-charts';
import { data } from './datasource';
function App() {
-
- const border = { width: 2, color: 'brown'};
return
-
+
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs10/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangearea-cs10/app/datasource.jsx
new file mode 100644
index 000000000..ca5c234bf
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs10/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28, high: 18, low: 44 },
+ { x: 2006, y: 25, high: 20, low: 40 },
+ { x: 2007, y: 26, high: 22, low: 36 },
+ { x: 2008, y: 27, high: 24, low: 32 },
+ { x: 2009, y: 32, high: 26, low: 28 },
+ { x: 2010, y: 35, high: 28, low: 24 },
+ { x: 2011, y: 30, high: 30, low: 20 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs10/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangearea-cs10/app/datasource.tsx
new file mode 100644
index 000000000..5744eca6a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs10/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28, high: 18, low: 44 },
+ { x: 2006, y: 25, high: 20, low: 40 },
+ { x: 2007, y: 26, high: 22, low: 36 },
+ { x: 2008, y: 27, high: 24, low: 32 },
+ { x: 2009, y: 32, high: 26, low: 28 },
+ { x: 2010, y: 35, high: 28, low: 24 },
+ { x: 2011, y: 30, high: 30, low: 20 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs10/app/index.jsx b/ej2-react/code-snippet/chart/series/rangearea-cs10/app/index.jsx
new file mode 100644
index 000000000..a2b361ba7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs10/app/index.jsx
@@ -0,0 +1,25 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, RangeAreaSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const pointRender = (args) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ }
+ return
+
+
+
+
+
+
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs10/app/index.tsx b/ej2-react/code-snippet/chart/series/rangearea-cs10/app/index.tsx
new file mode 100644
index 000000000..9beccbc83
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs10/app/index.tsx
@@ -0,0 +1,33 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, RangeAreaSeries, IPointRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+ const pointRender = (args: IPointRenderEventArgs) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ }
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs10/index.html b/ej2-react/code-snippet/chart/series/rangearea-cs10/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs10/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs10/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangearea-cs10/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs10/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs3/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangearea-cs3/app/datasource.jsx
new file mode 100644
index 000000000..ef1c89b2d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs3/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28, high: 18, low: 44 },
+ { x: 2006, y: 25, high: 20, low: 40 },
+ { x: 2007, y: 26, high: 22, low: 36 },
+ { x: 2008, y: 27, high: 24, low: 32 },
+ { x: 2009, y: 32, high: 26, low: 28 },
+ { x: 2010, y: 35, high: 28, low: 24 },
+ { x: 2011, y: 30, high: 30, low: 20 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs3/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangearea-cs3/app/datasource.tsx
new file mode 100644
index 000000000..a70161b11
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs3/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28, high: 18, low: 44 },
+ { x: 2006, y: 25, high: 20, low: 40 },
+ { x: 2007, y: 26, high: 22, low: 36 },
+ { x: 2008, y: 27, high: 24, low: 32 },
+ { x: 2009, y: 32, high: 26, low: 28 },
+ { x: 2010, y: 35, high: 28, low: 24 },
+ { x: 2011, y: 30, high: 30, low: 20 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs3/app/index.jsx b/ej2-react/code-snippet/chart/series/rangearea-cs3/app/index.jsx
new file mode 100644
index 000000000..26818282f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs3/app/index.jsx
@@ -0,0 +1,17 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, RangeAreaSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ return
+
+
+
+
+
+
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs3/app/index.tsx b/ej2-react/code-snippet/chart/series/rangearea-cs3/app/index.tsx
new file mode 100644
index 000000000..274d86699
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs3/app/index.tsx
@@ -0,0 +1,24 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, RangeAreaSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs3/index.html b/ej2-react/code-snippet/chart/series/rangearea-cs3/index.html
new file mode 100644
index 000000000..0deb6aa2b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs3/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs3/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangearea-cs3/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs3/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs4/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangearea-cs4/app/datasource.jsx
new file mode 100644
index 000000000..ef1c89b2d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs4/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28, high: 18, low: 44 },
+ { x: 2006, y: 25, high: 20, low: 40 },
+ { x: 2007, y: 26, high: 22, low: 36 },
+ { x: 2008, y: 27, high: 24, low: 32 },
+ { x: 2009, y: 32, high: 26, low: 28 },
+ { x: 2010, y: 35, high: 28, low: 24 },
+ { x: 2011, y: 30, high: 30, low: 20 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs4/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangearea-cs4/app/datasource.tsx
new file mode 100644
index 000000000..a70161b11
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs4/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28, high: 18, low: 44 },
+ { x: 2006, y: 25, high: 20, low: 40 },
+ { x: 2007, y: 26, high: 22, low: 36 },
+ { x: 2008, y: 27, high: 24, low: 32 },
+ { x: 2009, y: 32, high: 26, low: 28 },
+ { x: 2010, y: 35, high: 28, low: 24 },
+ { x: 2011, y: 30, high: 30, low: 20 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs4/app/index.jsx b/ej2-react/code-snippet/chart/series/rangearea-cs4/app/index.jsx
new file mode 100644
index 000000000..5de8db53c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs4/app/index.jsx
@@ -0,0 +1,17 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, RangeAreaSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ return
+
+
+
+
+
+
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs4/app/index.tsx b/ej2-react/code-snippet/chart/series/rangearea-cs4/app/index.tsx
new file mode 100644
index 000000000..6f1bd7000
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs4/app/index.tsx
@@ -0,0 +1,24 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, RangeAreaSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs4/index.html b/ej2-react/code-snippet/chart/series/rangearea-cs4/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs4/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs4/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangearea-cs4/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs4/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs5/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangearea-cs5/app/datasource.jsx
new file mode 100644
index 000000000..ef1c89b2d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs5/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28, high: 18, low: 44 },
+ { x: 2006, y: 25, high: 20, low: 40 },
+ { x: 2007, y: 26, high: 22, low: 36 },
+ { x: 2008, y: 27, high: 24, low: 32 },
+ { x: 2009, y: 32, high: 26, low: 28 },
+ { x: 2010, y: 35, high: 28, low: 24 },
+ { x: 2011, y: 30, high: 30, low: 20 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs5/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangearea-cs5/app/datasource.tsx
new file mode 100644
index 000000000..a70161b11
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs5/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28, high: 18, low: 44 },
+ { x: 2006, y: 25, high: 20, low: 40 },
+ { x: 2007, y: 26, high: 22, low: 36 },
+ { x: 2008, y: 27, high: 24, low: 32 },
+ { x: 2009, y: 32, high: 26, low: 28 },
+ { x: 2010, y: 35, high: 28, low: 24 },
+ { x: 2011, y: 30, high: 30, low: 20 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs5/app/index.jsx b/ej2-react/code-snippet/chart/series/rangearea-cs5/app/index.jsx
new file mode 100644
index 000000000..20de25fb4
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs5/app/index.jsx
@@ -0,0 +1,18 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, RangeAreaSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const border = { width: 2, color: 'brown' };
+ return
+
+
+
+
+
+
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs5/app/index.tsx b/ej2-react/code-snippet/chart/series/rangearea-cs5/app/index.tsx
new file mode 100644
index 000000000..b04b7fada
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs5/app/index.tsx
@@ -0,0 +1,25 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, RangeAreaSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+ const border: object = { width: 2, color: 'brown' };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs5/index.html b/ej2-react/code-snippet/chart/series/rangearea-cs5/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs5/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs5/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangearea-cs5/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs5/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs6/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangearea-cs6/app/datasource.jsx
new file mode 100644
index 000000000..5e3504e6f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs6/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28, high: 18, low: 44 },
+ { x: 2006, y: 25, high: 20, low: 40 },
+ { x: 2007, y: 26, high: 22, low: 36 },
+ { x: 2008, y: 27, high: 24, low: null },
+ { x: 2009, y: 32, high: 26, low: 28 },
+ { x: 2010, y: 35, high: 28, low: 24 },
+ { x: 2011, y: 30, high: 30, low: 20 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs6/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangearea-cs6/app/datasource.tsx
new file mode 100644
index 000000000..28add393f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs6/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28, high: 18, low: 44 },
+ { x: 2006, y: 25, high: 20, low: 40 },
+ { x: 2007, y: 26, high: 22, low: 36 },
+ { x: 2008, y: 27, high: 24, low: null },
+ { x: 2009, y: 32, high: 26, low: 28 },
+ { x: 2010, y: 35, high: 28, low: 24 },
+ { x: 2011, y: 30, high: 30, low: 20 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs6/app/index.jsx b/ej2-react/code-snippet/chart/series/rangearea-cs6/app/index.jsx
new file mode 100644
index 000000000..7276991c7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs6/app/index.jsx
@@ -0,0 +1,18 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, RangeAreaSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const emptyPoint = { mode: 'Gap' };
+ return
+
+
+
+
+
+
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs6/app/index.tsx b/ej2-react/code-snippet/chart/series/rangearea-cs6/app/index.tsx
new file mode 100644
index 000000000..e177afa57
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs6/app/index.tsx
@@ -0,0 +1,25 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, RangeAreaSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+ const emptyPoint: object = { mode: 'Gap' };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs6/index.html b/ej2-react/code-snippet/chart/series/rangearea-cs6/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs6/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs6/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangearea-cs6/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs6/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs7/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangearea-cs7/app/datasource.jsx
new file mode 100644
index 000000000..5e3504e6f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs7/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28, high: 18, low: 44 },
+ { x: 2006, y: 25, high: 20, low: 40 },
+ { x: 2007, y: 26, high: 22, low: 36 },
+ { x: 2008, y: 27, high: 24, low: null },
+ { x: 2009, y: 32, high: 26, low: 28 },
+ { x: 2010, y: 35, high: 28, low: 24 },
+ { x: 2011, y: 30, high: 30, low: 20 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs7/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangearea-cs7/app/datasource.tsx
new file mode 100644
index 000000000..28add393f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs7/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28, high: 18, low: 44 },
+ { x: 2006, y: 25, high: 20, low: 40 },
+ { x: 2007, y: 26, high: 22, low: 36 },
+ { x: 2008, y: 27, high: 24, low: null },
+ { x: 2009, y: 32, high: 26, low: 28 },
+ { x: 2010, y: 35, high: 28, low: 24 },
+ { x: 2011, y: 30, high: 30, low: 20 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs7/app/index.jsx b/ej2-react/code-snippet/chart/series/rangearea-cs7/app/index.jsx
new file mode 100644
index 000000000..ab3cd1e40
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs7/app/index.jsx
@@ -0,0 +1,19 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, RangeAreaSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const emptyPoint = { mode: 'Average', fill: 'red' };
+ const marker = { visible: true };
+ return
+
+
+
+
+
+
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs7/app/index.tsx b/ej2-react/code-snippet/chart/series/rangearea-cs7/app/index.tsx
new file mode 100644
index 000000000..b0fbf75d9
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs7/app/index.tsx
@@ -0,0 +1,26 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, RangeAreaSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+ const emptyPoint: object = { mode: 'Average', fill: 'red' };
+ const marker: object = { visible: true };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs7/index.html b/ej2-react/code-snippet/chart/series/rangearea-cs7/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs7/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs7/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangearea-cs7/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs7/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs8/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangearea-cs8/app/datasource.jsx
new file mode 100644
index 000000000..5e3504e6f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs8/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28, high: 18, low: 44 },
+ { x: 2006, y: 25, high: 20, low: 40 },
+ { x: 2007, y: 26, high: 22, low: 36 },
+ { x: 2008, y: 27, high: 24, low: null },
+ { x: 2009, y: 32, high: 26, low: 28 },
+ { x: 2010, y: 35, high: 28, low: 24 },
+ { x: 2011, y: 30, high: 30, low: 20 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs8/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangearea-cs8/app/datasource.tsx
new file mode 100644
index 000000000..28add393f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs8/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28, high: 18, low: 44 },
+ { x: 2006, y: 25, high: 20, low: 40 },
+ { x: 2007, y: 26, high: 22, low: 36 },
+ { x: 2008, y: 27, high: 24, low: null },
+ { x: 2009, y: 32, high: 26, low: 28 },
+ { x: 2010, y: 35, high: 28, low: 24 },
+ { x: 2011, y: 30, high: 30, low: 20 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs8/app/index.jsx b/ej2-react/code-snippet/chart/series/rangearea-cs8/app/index.jsx
new file mode 100644
index 000000000..7db32f01b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs8/app/index.jsx
@@ -0,0 +1,19 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, RangeAreaSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const emptyPoint = { mode: 'Average', fill: 'red', border: { width: 1.5, fill: 'green' } };
+ const marker = { visible: true };
+ return
+
+
+
+
+
+
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs8/app/index.tsx b/ej2-react/code-snippet/chart/series/rangearea-cs8/app/index.tsx
new file mode 100644
index 000000000..7062cb1b3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs8/app/index.tsx
@@ -0,0 +1,26 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, RangeAreaSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+ const emptyPoint: object = { mode: 'Average', fill: 'red', border: { width: 1.5, fill: 'green' } };
+ const marker: object = { visible: true };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs8/index.html b/ej2-react/code-snippet/chart/series/rangearea-cs8/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs8/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs8/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangearea-cs8/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs8/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs9/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangearea-cs9/app/datasource.jsx
new file mode 100644
index 000000000..ca5c234bf
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs9/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28, high: 18, low: 44 },
+ { x: 2006, y: 25, high: 20, low: 40 },
+ { x: 2007, y: 26, high: 22, low: 36 },
+ { x: 2008, y: 27, high: 24, low: 32 },
+ { x: 2009, y: 32, high: 26, low: 28 },
+ { x: 2010, y: 35, high: 28, low: 24 },
+ { x: 2011, y: 30, high: 30, low: 20 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs9/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangearea-cs9/app/datasource.tsx
new file mode 100644
index 000000000..5744eca6a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs9/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28, high: 18, low: 44 },
+ { x: 2006, y: 25, high: 20, low: 40 },
+ { x: 2007, y: 26, high: 22, low: 36 },
+ { x: 2008, y: 27, high: 24, low: 32 },
+ { x: 2009, y: 32, high: 26, low: 28 },
+ { x: 2010, y: 35, high: 28, low: 24 },
+ { x: 2011, y: 30, high: 30, low: 20 },
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs9/app/index.jsx b/ej2-react/code-snippet/chart/series/rangearea-cs9/app/index.jsx
new file mode 100644
index 000000000..2d3a01a23
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs9/app/index.jsx
@@ -0,0 +1,20 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, RangeAreaSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const seriesRender = (args) => {
+ args.fill = '#ff6347';
+ }
+ return
+
+
+
+
+
+
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs9/app/index.tsx b/ej2-react/code-snippet/chart/series/rangearea-cs9/app/index.tsx
new file mode 100644
index 000000000..b5636ac31
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs9/app/index.tsx
@@ -0,0 +1,28 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, RangeAreaSeries, ISeriesRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+ const seriesRender = (args: ISeriesRenderEventArgs) => {
+ args.fill = '#ff6347';
+ }
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs9/index.html b/ej2-react/code-snippet/chart/series/rangearea-cs9/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs9/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangearea-cs9/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangearea-cs9/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangearea-cs9/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs/app/index.jsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs/app/index.jsx
index 9771ba4a4..81ec31a90 100644
--- a/ej2-react/code-snippet/chart/series/rangecolumn-cs/app/index.jsx
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs/app/index.jsx
@@ -11,9 +11,9 @@ function App() {
return
-
+
-
+
;
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs/app/index.tsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs/app/index.tsx
index 9bb2900e5..7d21af2f9 100644
--- a/ej2-react/code-snippet/chart/series/rangecolumn-cs/app/index.tsx
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs/app/index.tsx
@@ -17,9 +17,9 @@ function App() {
title='Maximum and minimum Temperature'>
-
+
-
+
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs10/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs10/app/datasource.jsx
new file mode 100644
index 000000000..b82c3b556
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs10/app/datasource.jsx
@@ -0,0 +1,13 @@
+export let data1 = [
+ { x: 'Jan', low: 0.7, high: 6.1 }, { x: 'Feb', low: 1.3, high: 6.3 }, { x: 'Mar', low: 1.9, high: 8.5 },
+ { x: 'Apr', low: 4, high: 10.8 }, { x: 'May', low: 5.7, high: 14.40 }, { x: 'Jun', low: 8.4, high: 16.90 },
+ { x: 'Jul', low: 10.6, high: 19.20 }, { x: 'Aug', low: 10.5, high: 18.9 }, { x: 'Sep', low: 6, high: 16.1 },
+ { x: 'Oct', low: 6.0, high: 12.5 }, { x: 'Nov', low: 1.5, high: 6.9 }, { x: 'Dec', low: 5.1, high: 12.1 }
+];
+
+export let data2 = [
+ { x: 'Jan', low: 1.7, high: 7.1 }, { x: 'Feb', low: 1.9, high: 7.7 }, { x: 'Mar', low: 1.2, high: 10 },
+ { x: 'Apr', low: 2.5, high: 9.8 }, { x: 'May', low: 4.7, high: 11.4 }, { x: 'Jun', low: 6.4, high: 14.4 },
+ { x: 'Jul', low: 9.6, high: 9 }, { x: 'Aug', low: 10.7, high: 17.9 }, { x: 'Sep', low: 7.5, high: 15.1 },
+ { x: 'Oct', low: 3.0, high: 10.5 }, { x: 'Nov', low: 1.2, high: 7.9 }, { x: 'Dec', low: 4.1, high: 9.1 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs10/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs10/app/datasource.tsx
new file mode 100644
index 000000000..35f089b28
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs10/app/datasource.tsx
@@ -0,0 +1,13 @@
+export let data1: Object[] = [
+ { x: 'Jan', low: 0.7, high: 6.1 }, { x: 'Feb', low: 1.3, high: 6.3 }, { x: 'Mar', low: 1.9, high: 8.5 },
+ { x: 'Apr', low: 4, high: 10.8 }, { x: 'May', low: 5.7, high: 14.40 }, { x: 'Jun', low: 8.4, high: 16.90 },
+ { x: 'Jul', low: 10.6, high: 19.20 }, { x: 'Aug', low: 10.5, high: 18.9 }, { x: 'Sep', low: 6, high: 16.1 },
+ { x: 'Oct', low: 6.0, high: 12.5 }, { x: 'Nov', low: 1.5, high: 6.9 }, { x: 'Dec', low: 5.1, high: 12.1 }
+];
+
+export let data2: Object[] = [
+ { x: 'Jan', low: 1.7, high: 7.1 }, { x: 'Feb', low: 1.9, high: 7.7 }, { x: 'Mar', low: 1.2, high: 10 },
+ { x: 'Apr', low: 2.5, high: 9.8 }, { x: 'May', low: 4.7, high: 11.4 }, { x: 'Jun', low: 6.4, high: 14.4 },
+ { x: 'Jul', low: 9.6, high: 9 }, { x: 'Aug', low: 10.7, high: 17.9 }, { x: 'Sep', low: 7.5, high: 15.1 },
+ { x: 'Oct', low: 3.0, high: 10.5 }, { x: 'Nov', low: 1.2, high: 7.9 }, { x: 'Dec', low: 4.1, high: 9.1 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs10/app/index.jsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs10/app/index.jsx
new file mode 100644
index 000000000..b36b498dd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs10/app/index.jsx
@@ -0,0 +1,33 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, RangeColumnSeries } from '@syncfusion/ej2-react-charts';
+import { data2, data1 } from './datasource';
+
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'month' };
+ const pointRender = (args) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ }
+ const primaryyAxis = { title: 'Temperature(Celsius)' };
+ return
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs10/app/index.tsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs10/app/index.tsx
new file mode 100644
index 000000000..6a38a5710
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs10/app/index.tsx
@@ -0,0 +1,37 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, RangeColumnSeries, IPointRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { data1, data2 } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel= {valueType: 'Category', title: 'month'} ;
+ const primaryyAxis: AxisModel= { title: 'Temperature(Celsius)'} ;
+ const pointRender = (args: IPointRenderEventArgs) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ }
+ return
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs10/index.html b/ej2-react/code-snippet/chart/series/rangecolumn-cs10/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs10/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs10/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangecolumn-cs10/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs10/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs2/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs2/app/datasource.jsx
new file mode 100644
index 000000000..09b3607d6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs2/app/datasource.jsx
@@ -0,0 +1,13 @@
+export let data = [
+ { x: 'Jan', low: 0.7, high: 6.1 }, { x: 'Feb', low: 1.3, high: 6.3 }, { x: 'Mar', low: 1.9, high: 8.5 },
+ { x: 'Apr', low: 3.1, high: 10.8 }, { x: 'May', low: 5.7, high: 14.40 }, { x: 'Jun', low: 8.4, high: 16.90 },
+ { x: 'Jul', low: 10.6, high: 19.20 }, { x: 'Aug', low: 10.5, high: 18.9 }, { x: 'Sep', low: 8.5, high: 16.1 },
+ { x: 'Oct', low: 6.0, high: 12.5 }, { x: 'Nov', low: 1.5, high: 6.9 }, { x: 'Dec', low: 5.1, high: 12.1 }
+];
+
+export let data1 = [
+ { x: 'Jan', low: 1.7, high: 7.1 }, { x: 'Feb', low: 1.9, high: 7.7 }, { x: 'Mar', low: 1.2, high: 7.5 },
+ { x: 'Apr', low: 2.5, high: 9.8 }, { x: 'May', low: 4.7, high: 11.4 }, { x: 'Jun', low: 6.4, high: 14.4 },
+ { x: 'Jul', low: 9.6, high: 17.2 }, { x: 'Aug', low: 10.7, high: 17.9 }, { x: 'Sep', low: 7.5, high: 15.1 },
+ { x: 'Oct', low: 3.0, high: 10.5 }, { x: 'Nov', low: 1.2, high: 7.9 }, { x: 'Dec', low: 4.1, high: 9.1 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs2/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs2/app/datasource.tsx
new file mode 100644
index 000000000..e6ef19d68
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs2/app/datasource.tsx
@@ -0,0 +1,13 @@
+export let data: Object[] = [
+ { x: 'Jan', low: 0.7, high: 6.1 }, { x: 'Feb', low: 1.3, high: 6.3 }, { x: 'Mar', low: 1.9, high: 8.5 },
+ { x: 'Apr', low: 3.1, high: 10.8 }, { x: 'May', low: 5.7, high: 14.40 }, { x: 'Jun', low: 8.4, high: 16.90 },
+ { x: 'Jul', low: 10.6, high: 19.20 }, { x: 'Aug', low: 10.5, high: 18.9 }, { x: 'Sep', low: 8.5, high: 16.1 },
+ { x: 'Oct', low: 6.0, high: 12.5 }, { x: 'Nov', low: 1.5, high: 6.9 }, { x: 'Dec', low: 5.1, high: 12.1 }
+];
+
+export let data1: Object[] = [
+ { x: 'Jan', low: 1.7, high: 7.1 }, { x: 'Feb', low: 1.9, high: 7.7 }, { x: 'Mar', low: 1.2, high: 7.5 },
+ { x: 'Apr', low: 2.5, high: 9.8 }, { x: 'May', low: 4.7, high: 11.4 }, { x: 'Jun', low: 6.4, high: 14.4 },
+ { x: 'Jul', low: 9.6, high: 17.2 }, { x: 'Aug', low: 10.7, high: 17.9 }, { x: 'Sep', low: 7.5, high: 15.1 },
+ { x: 'Oct', low: 3.0, high: 10.5 }, { x: 'Nov', low: 1.2, high: 7.9 }, { x: 'Dec', low: 4.1, high: 9.1 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs2/app/index.jsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs2/app/index.jsx
new file mode 100644
index 000000000..5c9c11274
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs2/app/index.jsx
@@ -0,0 +1,25 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, RangeColumnSeries } from '@syncfusion/ej2-react-charts';
+import { data, data1 } from './datasource';
+
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'month' };
+ const primaryyAxis = { title: 'Temperature(Celsius)' };
+ return
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs2/app/index.tsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs2/app/index.tsx
new file mode 100644
index 000000000..aaf8647ec
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs2/app/index.tsx
@@ -0,0 +1,30 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, RangeColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data, data1 } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel= {valueType: 'Category', title: 'month'} ;
+ const primaryyAxis: AxisModel= { title: 'Temperature(Celsius)'} ;
+
+ return
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs2/index.html b/ej2-react/code-snippet/chart/series/rangecolumn-cs2/index.html
new file mode 100644
index 000000000..6631d651e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs2/index.html
@@ -0,0 +1,50 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs2/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangecolumn-cs2/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs2/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs3/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs3/app/datasource.jsx
new file mode 100644
index 000000000..09b3607d6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs3/app/datasource.jsx
@@ -0,0 +1,13 @@
+export let data = [
+ { x: 'Jan', low: 0.7, high: 6.1 }, { x: 'Feb', low: 1.3, high: 6.3 }, { x: 'Mar', low: 1.9, high: 8.5 },
+ { x: 'Apr', low: 3.1, high: 10.8 }, { x: 'May', low: 5.7, high: 14.40 }, { x: 'Jun', low: 8.4, high: 16.90 },
+ { x: 'Jul', low: 10.6, high: 19.20 }, { x: 'Aug', low: 10.5, high: 18.9 }, { x: 'Sep', low: 8.5, high: 16.1 },
+ { x: 'Oct', low: 6.0, high: 12.5 }, { x: 'Nov', low: 1.5, high: 6.9 }, { x: 'Dec', low: 5.1, high: 12.1 }
+];
+
+export let data1 = [
+ { x: 'Jan', low: 1.7, high: 7.1 }, { x: 'Feb', low: 1.9, high: 7.7 }, { x: 'Mar', low: 1.2, high: 7.5 },
+ { x: 'Apr', low: 2.5, high: 9.8 }, { x: 'May', low: 4.7, high: 11.4 }, { x: 'Jun', low: 6.4, high: 14.4 },
+ { x: 'Jul', low: 9.6, high: 17.2 }, { x: 'Aug', low: 10.7, high: 17.9 }, { x: 'Sep', low: 7.5, high: 15.1 },
+ { x: 'Oct', low: 3.0, high: 10.5 }, { x: 'Nov', low: 1.2, high: 7.9 }, { x: 'Dec', low: 4.1, high: 9.1 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs3/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs3/app/datasource.tsx
new file mode 100644
index 000000000..e6ef19d68
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs3/app/datasource.tsx
@@ -0,0 +1,13 @@
+export let data: Object[] = [
+ { x: 'Jan', low: 0.7, high: 6.1 }, { x: 'Feb', low: 1.3, high: 6.3 }, { x: 'Mar', low: 1.9, high: 8.5 },
+ { x: 'Apr', low: 3.1, high: 10.8 }, { x: 'May', low: 5.7, high: 14.40 }, { x: 'Jun', low: 8.4, high: 16.90 },
+ { x: 'Jul', low: 10.6, high: 19.20 }, { x: 'Aug', low: 10.5, high: 18.9 }, { x: 'Sep', low: 8.5, high: 16.1 },
+ { x: 'Oct', low: 6.0, high: 12.5 }, { x: 'Nov', low: 1.5, high: 6.9 }, { x: 'Dec', low: 5.1, high: 12.1 }
+];
+
+export let data1: Object[] = [
+ { x: 'Jan', low: 1.7, high: 7.1 }, { x: 'Feb', low: 1.9, high: 7.7 }, { x: 'Mar', low: 1.2, high: 7.5 },
+ { x: 'Apr', low: 2.5, high: 9.8 }, { x: 'May', low: 4.7, high: 11.4 }, { x: 'Jun', low: 6.4, high: 14.4 },
+ { x: 'Jul', low: 9.6, high: 17.2 }, { x: 'Aug', low: 10.7, high: 17.9 }, { x: 'Sep', low: 7.5, high: 15.1 },
+ { x: 'Oct', low: 3.0, high: 10.5 }, { x: 'Nov', low: 1.2, high: 7.9 }, { x: 'Dec', low: 4.1, high: 9.1 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs3/app/index.jsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs3/app/index.jsx
new file mode 100644
index 000000000..de1c5de61
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs3/app/index.jsx
@@ -0,0 +1,25 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, RangeColumnSeries } from '@syncfusion/ej2-react-charts';
+import { data, data1 } from './datasource';
+
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'month' };
+ const primaryyAxis = { title: 'Temperature(Celsius)' };
+ return
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs3/app/index.tsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs3/app/index.tsx
new file mode 100644
index 000000000..1b8ef7ea6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs3/app/index.tsx
@@ -0,0 +1,30 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, RangeColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data, data1 } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel= {valueType: 'Category', title: 'month'} ;
+ const primaryyAxis: AxisModel= { title: 'Temperature(Celsius)'} ;
+
+ return
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs3/index.html b/ej2-react/code-snippet/chart/series/rangecolumn-cs3/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs3/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs3/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangecolumn-cs3/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs3/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs4/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs4/app/datasource.jsx
new file mode 100644
index 000000000..09b3607d6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs4/app/datasource.jsx
@@ -0,0 +1,13 @@
+export let data = [
+ { x: 'Jan', low: 0.7, high: 6.1 }, { x: 'Feb', low: 1.3, high: 6.3 }, { x: 'Mar', low: 1.9, high: 8.5 },
+ { x: 'Apr', low: 3.1, high: 10.8 }, { x: 'May', low: 5.7, high: 14.40 }, { x: 'Jun', low: 8.4, high: 16.90 },
+ { x: 'Jul', low: 10.6, high: 19.20 }, { x: 'Aug', low: 10.5, high: 18.9 }, { x: 'Sep', low: 8.5, high: 16.1 },
+ { x: 'Oct', low: 6.0, high: 12.5 }, { x: 'Nov', low: 1.5, high: 6.9 }, { x: 'Dec', low: 5.1, high: 12.1 }
+];
+
+export let data1 = [
+ { x: 'Jan', low: 1.7, high: 7.1 }, { x: 'Feb', low: 1.9, high: 7.7 }, { x: 'Mar', low: 1.2, high: 7.5 },
+ { x: 'Apr', low: 2.5, high: 9.8 }, { x: 'May', low: 4.7, high: 11.4 }, { x: 'Jun', low: 6.4, high: 14.4 },
+ { x: 'Jul', low: 9.6, high: 17.2 }, { x: 'Aug', low: 10.7, high: 17.9 }, { x: 'Sep', low: 7.5, high: 15.1 },
+ { x: 'Oct', low: 3.0, high: 10.5 }, { x: 'Nov', low: 1.2, high: 7.9 }, { x: 'Dec', low: 4.1, high: 9.1 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs4/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs4/app/datasource.tsx
new file mode 100644
index 000000000..e6ef19d68
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs4/app/datasource.tsx
@@ -0,0 +1,13 @@
+export let data: Object[] = [
+ { x: 'Jan', low: 0.7, high: 6.1 }, { x: 'Feb', low: 1.3, high: 6.3 }, { x: 'Mar', low: 1.9, high: 8.5 },
+ { x: 'Apr', low: 3.1, high: 10.8 }, { x: 'May', low: 5.7, high: 14.40 }, { x: 'Jun', low: 8.4, high: 16.90 },
+ { x: 'Jul', low: 10.6, high: 19.20 }, { x: 'Aug', low: 10.5, high: 18.9 }, { x: 'Sep', low: 8.5, high: 16.1 },
+ { x: 'Oct', low: 6.0, high: 12.5 }, { x: 'Nov', low: 1.5, high: 6.9 }, { x: 'Dec', low: 5.1, high: 12.1 }
+];
+
+export let data1: Object[] = [
+ { x: 'Jan', low: 1.7, high: 7.1 }, { x: 'Feb', low: 1.9, high: 7.7 }, { x: 'Mar', low: 1.2, high: 7.5 },
+ { x: 'Apr', low: 2.5, high: 9.8 }, { x: 'May', low: 4.7, high: 11.4 }, { x: 'Jun', low: 6.4, high: 14.4 },
+ { x: 'Jul', low: 9.6, high: 17.2 }, { x: 'Aug', low: 10.7, high: 17.9 }, { x: 'Sep', low: 7.5, high: 15.1 },
+ { x: 'Oct', low: 3.0, high: 10.5 }, { x: 'Nov', low: 1.2, high: 7.9 }, { x: 'Dec', low: 4.1, high: 9.1 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs4/app/index.jsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs4/app/index.jsx
new file mode 100644
index 000000000..b9f9587a4
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs4/app/index.jsx
@@ -0,0 +1,26 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, RangeColumnSeries } from '@syncfusion/ej2-react-charts';
+import { data, data1 } from './datasource';
+
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'month' };
+ const border = {width: 1.5, color: 'red'}
+ const primaryyAxis = { title: 'Temperature(Celsius)' };
+ return
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs4/app/index.tsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs4/app/index.tsx
new file mode 100644
index 000000000..6f81444b3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs4/app/index.tsx
@@ -0,0 +1,30 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, RangeColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data, data1 } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel= {valueType: 'Category', title: 'month'} ;
+ const primaryyAxis: AxisModel= { title: 'Temperature(Celsius)'} ;
+ const border: object = {width: 1.5, color: 'red'}
+ return
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs4/index.html b/ej2-react/code-snippet/chart/series/rangecolumn-cs4/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs4/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs4/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangecolumn-cs4/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs4/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs5/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs5/app/datasource.jsx
new file mode 100644
index 000000000..09b3607d6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs5/app/datasource.jsx
@@ -0,0 +1,13 @@
+export let data = [
+ { x: 'Jan', low: 0.7, high: 6.1 }, { x: 'Feb', low: 1.3, high: 6.3 }, { x: 'Mar', low: 1.9, high: 8.5 },
+ { x: 'Apr', low: 3.1, high: 10.8 }, { x: 'May', low: 5.7, high: 14.40 }, { x: 'Jun', low: 8.4, high: 16.90 },
+ { x: 'Jul', low: 10.6, high: 19.20 }, { x: 'Aug', low: 10.5, high: 18.9 }, { x: 'Sep', low: 8.5, high: 16.1 },
+ { x: 'Oct', low: 6.0, high: 12.5 }, { x: 'Nov', low: 1.5, high: 6.9 }, { x: 'Dec', low: 5.1, high: 12.1 }
+];
+
+export let data1 = [
+ { x: 'Jan', low: 1.7, high: 7.1 }, { x: 'Feb', low: 1.9, high: 7.7 }, { x: 'Mar', low: 1.2, high: 7.5 },
+ { x: 'Apr', low: 2.5, high: 9.8 }, { x: 'May', low: 4.7, high: 11.4 }, { x: 'Jun', low: 6.4, high: 14.4 },
+ { x: 'Jul', low: 9.6, high: 17.2 }, { x: 'Aug', low: 10.7, high: 17.9 }, { x: 'Sep', low: 7.5, high: 15.1 },
+ { x: 'Oct', low: 3.0, high: 10.5 }, { x: 'Nov', low: 1.2, high: 7.9 }, { x: 'Dec', low: 4.1, high: 9.1 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs5/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs5/app/datasource.tsx
new file mode 100644
index 000000000..e6ef19d68
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs5/app/datasource.tsx
@@ -0,0 +1,13 @@
+export let data: Object[] = [
+ { x: 'Jan', low: 0.7, high: 6.1 }, { x: 'Feb', low: 1.3, high: 6.3 }, { x: 'Mar', low: 1.9, high: 8.5 },
+ { x: 'Apr', low: 3.1, high: 10.8 }, { x: 'May', low: 5.7, high: 14.40 }, { x: 'Jun', low: 8.4, high: 16.90 },
+ { x: 'Jul', low: 10.6, high: 19.20 }, { x: 'Aug', low: 10.5, high: 18.9 }, { x: 'Sep', low: 8.5, high: 16.1 },
+ { x: 'Oct', low: 6.0, high: 12.5 }, { x: 'Nov', low: 1.5, high: 6.9 }, { x: 'Dec', low: 5.1, high: 12.1 }
+];
+
+export let data1: Object[] = [
+ { x: 'Jan', low: 1.7, high: 7.1 }, { x: 'Feb', low: 1.9, high: 7.7 }, { x: 'Mar', low: 1.2, high: 7.5 },
+ { x: 'Apr', low: 2.5, high: 9.8 }, { x: 'May', low: 4.7, high: 11.4 }, { x: 'Jun', low: 6.4, high: 14.4 },
+ { x: 'Jul', low: 9.6, high: 17.2 }, { x: 'Aug', low: 10.7, high: 17.9 }, { x: 'Sep', low: 7.5, high: 15.1 },
+ { x: 'Oct', low: 3.0, high: 10.5 }, { x: 'Nov', low: 1.2, high: 7.9 }, { x: 'Dec', low: 4.1, high: 9.1 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs5/app/index.jsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs5/app/index.jsx
new file mode 100644
index 000000000..beb2f01de
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs5/app/index.jsx
@@ -0,0 +1,26 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, RangeColumnSeries } from '@syncfusion/ej2-react-charts';
+import { data, data1 } from './datasource';
+
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'month' };
+ const border = {width: 1.5, color: 'red'}
+ const primaryyAxis = { title: 'Temperature(Celsius)' };
+ return
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs5/app/index.tsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs5/app/index.tsx
new file mode 100644
index 000000000..66400609d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs5/app/index.tsx
@@ -0,0 +1,30 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, RangeColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data, data1 } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel= {valueType: 'Category', title: 'month'} ;
+ const primaryyAxis: AxisModel= { title: 'Temperature(Celsius)'} ;
+ const border: object = {width: 1.5, color: 'red'}
+ return
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs5/index.html b/ej2-react/code-snippet/chart/series/rangecolumn-cs5/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs5/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs5/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangecolumn-cs5/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs5/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs6/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs6/app/datasource.jsx
new file mode 100644
index 000000000..32cec1226
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs6/app/datasource.jsx
@@ -0,0 +1,13 @@
+export let data1 = [
+ { x: 'Jan', low: 0.7, high: 6.1 }, { x: 'Feb', low: 1.3, high: 6.3 }, { x: 'Mar', low: 1.9, high: 8.5 },
+ { x: 'Apr', low: null, high: 10.8 }, { x: 'May', low: 5.7, high: 14.40 }, { x: 'Jun', low: 8.4, high: 16.90 },
+ { x: 'Jul', low: 10.6, high: 19.20 }, { x: 'Aug', low: 10.5, high: 18.9 }, { x: 'Sep', low: undefined, high: 16.1 },
+ { x: 'Oct', low: 6.0, high: 12.5 }, { x: 'Nov', low: 1.5, high: 6.9 }, { x: 'Dec', low: 5.1, high: 12.1 }
+];
+
+export let data2 = [
+ { x: 'Jan', low: 1.7, high: 7.1 }, { x: 'Feb', low: 1.9, high: 7.7 }, { x: 'Mar', low: 1.2, high: null },
+ { x: 'Apr', low: 2.5, high: 9.8 }, { x: 'May', low: 4.7, high: 11.4 }, { x: 'Jun', low: 6.4, high: 14.4 },
+ { x: 'Jul', low: 9.6, high: undefined }, { x: 'Aug', low: 10.7, high: 17.9 }, { x: 'Sep', low: 7.5, high: 15.1 },
+ { x: 'Oct', low: 3.0, high: 10.5 }, { x: 'Nov', low: 1.2, high: 7.9 }, { x: 'Dec', low: 4.1, high: 9.1 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs6/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs6/app/datasource.tsx
new file mode 100644
index 000000000..8633b06e6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs6/app/datasource.tsx
@@ -0,0 +1,13 @@
+export let data1: Object[] = [
+ { x: 'Jan', low: 0.7, high: 6.1 }, { x: 'Feb', low: 1.3, high: 6.3 }, { x: 'Mar', low: 1.9, high: 8.5 },
+ { x: 'Apr', low: null, high: 10.8 }, { x: 'May', low: 5.7, high: 14.40 }, { x: 'Jun', low: 8.4, high: 16.90 },
+ { x: 'Jul', low: 10.6, high: 19.20 }, { x: 'Aug', low: 10.5, high: 18.9 }, { x: 'Sep', low: undefined, high: 16.1 },
+ { x: 'Oct', low: 6.0, high: 12.5 }, { x: 'Nov', low: 1.5, high: 6.9 }, { x: 'Dec', low: 5.1, high: 12.1 }
+];
+
+export let data2: Object[] = [
+ { x: 'Jan', low: 1.7, high: 7.1 }, { x: 'Feb', low: 1.9, high: 7.7 }, { x: 'Mar', low: 1.2, high: null },
+ { x: 'Apr', low: 2.5, high: 9.8 }, { x: 'May', low: 4.7, high: 11.4 }, { x: 'Jun', low: 6.4, high: 14.4 },
+ { x: 'Jul', low: 9.6, high: undefined }, { x: 'Aug', low: 10.7, high: 17.9 }, { x: 'Sep', low: 7.5, high: 15.1 },
+ { x: 'Oct', low: 3.0, high: 10.5 }, { x: 'Nov', low: 1.2, high: 7.9 }, { x: 'Dec', low: 4.1, high: 9.1 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs6/app/index.jsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs6/app/index.jsx
new file mode 100644
index 000000000..7f94b258a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs6/app/index.jsx
@@ -0,0 +1,27 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, RangeColumnSeries } from '@syncfusion/ej2-react-charts';
+import { data2, data1 } from './datasource';
+
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'month' };
+ const emptyPoint = { mode: 'Average'};
+ const emptyPoint1 = { mode: 'Gap'};
+ const primaryyAxis = { title: 'Temperature(Celsius)' };
+ return
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs6/app/index.tsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs6/app/index.tsx
new file mode 100644
index 000000000..2f7a45ba5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs6/app/index.tsx
@@ -0,0 +1,31 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, RangeColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data1, data2 } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel= {valueType: 'Category', title: 'month'} ;
+ const primaryyAxis: AxisModel= { title: 'Temperature(Celsius)'} ;
+ const emptyPoint: object = { mode: 'Average'};
+ const emptyPoint1: object = { mode: 'Gap'};
+ return
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs6/index.html b/ej2-react/code-snippet/chart/series/rangecolumn-cs6/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs6/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs6/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangecolumn-cs6/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs6/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs7/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs7/app/datasource.jsx
new file mode 100644
index 000000000..32cec1226
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs7/app/datasource.jsx
@@ -0,0 +1,13 @@
+export let data1 = [
+ { x: 'Jan', low: 0.7, high: 6.1 }, { x: 'Feb', low: 1.3, high: 6.3 }, { x: 'Mar', low: 1.9, high: 8.5 },
+ { x: 'Apr', low: null, high: 10.8 }, { x: 'May', low: 5.7, high: 14.40 }, { x: 'Jun', low: 8.4, high: 16.90 },
+ { x: 'Jul', low: 10.6, high: 19.20 }, { x: 'Aug', low: 10.5, high: 18.9 }, { x: 'Sep', low: undefined, high: 16.1 },
+ { x: 'Oct', low: 6.0, high: 12.5 }, { x: 'Nov', low: 1.5, high: 6.9 }, { x: 'Dec', low: 5.1, high: 12.1 }
+];
+
+export let data2 = [
+ { x: 'Jan', low: 1.7, high: 7.1 }, { x: 'Feb', low: 1.9, high: 7.7 }, { x: 'Mar', low: 1.2, high: null },
+ { x: 'Apr', low: 2.5, high: 9.8 }, { x: 'May', low: 4.7, high: 11.4 }, { x: 'Jun', low: 6.4, high: 14.4 },
+ { x: 'Jul', low: 9.6, high: undefined }, { x: 'Aug', low: 10.7, high: 17.9 }, { x: 'Sep', low: 7.5, high: 15.1 },
+ { x: 'Oct', low: 3.0, high: 10.5 }, { x: 'Nov', low: 1.2, high: 7.9 }, { x: 'Dec', low: 4.1, high: 9.1 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs7/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs7/app/datasource.tsx
new file mode 100644
index 000000000..8633b06e6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs7/app/datasource.tsx
@@ -0,0 +1,13 @@
+export let data1: Object[] = [
+ { x: 'Jan', low: 0.7, high: 6.1 }, { x: 'Feb', low: 1.3, high: 6.3 }, { x: 'Mar', low: 1.9, high: 8.5 },
+ { x: 'Apr', low: null, high: 10.8 }, { x: 'May', low: 5.7, high: 14.40 }, { x: 'Jun', low: 8.4, high: 16.90 },
+ { x: 'Jul', low: 10.6, high: 19.20 }, { x: 'Aug', low: 10.5, high: 18.9 }, { x: 'Sep', low: undefined, high: 16.1 },
+ { x: 'Oct', low: 6.0, high: 12.5 }, { x: 'Nov', low: 1.5, high: 6.9 }, { x: 'Dec', low: 5.1, high: 12.1 }
+];
+
+export let data2: Object[] = [
+ { x: 'Jan', low: 1.7, high: 7.1 }, { x: 'Feb', low: 1.9, high: 7.7 }, { x: 'Mar', low: 1.2, high: null },
+ { x: 'Apr', low: 2.5, high: 9.8 }, { x: 'May', low: 4.7, high: 11.4 }, { x: 'Jun', low: 6.4, high: 14.4 },
+ { x: 'Jul', low: 9.6, high: undefined }, { x: 'Aug', low: 10.7, high: 17.9 }, { x: 'Sep', low: 7.5, high: 15.1 },
+ { x: 'Oct', low: 3.0, high: 10.5 }, { x: 'Nov', low: 1.2, high: 7.9 }, { x: 'Dec', low: 4.1, high: 9.1 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs7/app/index.jsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs7/app/index.jsx
new file mode 100644
index 000000000..797288ccf
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs7/app/index.jsx
@@ -0,0 +1,27 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, RangeColumnSeries } from '@syncfusion/ej2-react-charts';
+import { data2, data1 } from './datasource';
+
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'month' };
+ const emptyPoint = { mode: 'Average', fill: 'red'};
+ const emptyPoint1 = { mode: 'Gap'};
+ const primaryyAxis = { title: 'Temperature(Celsius)' };
+ return
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs7/app/index.tsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs7/app/index.tsx
new file mode 100644
index 000000000..0a84bd134
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs7/app/index.tsx
@@ -0,0 +1,31 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, RangeColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data1, data2 } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel= {valueType: 'Category', title: 'month'} ;
+ const primaryyAxis: AxisModel= { title: 'Temperature(Celsius)'} ;
+ const emptyPoint: object = { mode: 'Average', fill:'red'};
+ const emptyPoint1: object = { mode: 'Gap'};
+ return
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs7/index.html b/ej2-react/code-snippet/chart/series/rangecolumn-cs7/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs7/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs7/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangecolumn-cs7/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs7/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs8/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs8/app/datasource.jsx
new file mode 100644
index 000000000..32cec1226
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs8/app/datasource.jsx
@@ -0,0 +1,13 @@
+export let data1 = [
+ { x: 'Jan', low: 0.7, high: 6.1 }, { x: 'Feb', low: 1.3, high: 6.3 }, { x: 'Mar', low: 1.9, high: 8.5 },
+ { x: 'Apr', low: null, high: 10.8 }, { x: 'May', low: 5.7, high: 14.40 }, { x: 'Jun', low: 8.4, high: 16.90 },
+ { x: 'Jul', low: 10.6, high: 19.20 }, { x: 'Aug', low: 10.5, high: 18.9 }, { x: 'Sep', low: undefined, high: 16.1 },
+ { x: 'Oct', low: 6.0, high: 12.5 }, { x: 'Nov', low: 1.5, high: 6.9 }, { x: 'Dec', low: 5.1, high: 12.1 }
+];
+
+export let data2 = [
+ { x: 'Jan', low: 1.7, high: 7.1 }, { x: 'Feb', low: 1.9, high: 7.7 }, { x: 'Mar', low: 1.2, high: null },
+ { x: 'Apr', low: 2.5, high: 9.8 }, { x: 'May', low: 4.7, high: 11.4 }, { x: 'Jun', low: 6.4, high: 14.4 },
+ { x: 'Jul', low: 9.6, high: undefined }, { x: 'Aug', low: 10.7, high: 17.9 }, { x: 'Sep', low: 7.5, high: 15.1 },
+ { x: 'Oct', low: 3.0, high: 10.5 }, { x: 'Nov', low: 1.2, high: 7.9 }, { x: 'Dec', low: 4.1, high: 9.1 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs8/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs8/app/datasource.tsx
new file mode 100644
index 000000000..8633b06e6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs8/app/datasource.tsx
@@ -0,0 +1,13 @@
+export let data1: Object[] = [
+ { x: 'Jan', low: 0.7, high: 6.1 }, { x: 'Feb', low: 1.3, high: 6.3 }, { x: 'Mar', low: 1.9, high: 8.5 },
+ { x: 'Apr', low: null, high: 10.8 }, { x: 'May', low: 5.7, high: 14.40 }, { x: 'Jun', low: 8.4, high: 16.90 },
+ { x: 'Jul', low: 10.6, high: 19.20 }, { x: 'Aug', low: 10.5, high: 18.9 }, { x: 'Sep', low: undefined, high: 16.1 },
+ { x: 'Oct', low: 6.0, high: 12.5 }, { x: 'Nov', low: 1.5, high: 6.9 }, { x: 'Dec', low: 5.1, high: 12.1 }
+];
+
+export let data2: Object[] = [
+ { x: 'Jan', low: 1.7, high: 7.1 }, { x: 'Feb', low: 1.9, high: 7.7 }, { x: 'Mar', low: 1.2, high: null },
+ { x: 'Apr', low: 2.5, high: 9.8 }, { x: 'May', low: 4.7, high: 11.4 }, { x: 'Jun', low: 6.4, high: 14.4 },
+ { x: 'Jul', low: 9.6, high: undefined }, { x: 'Aug', low: 10.7, high: 17.9 }, { x: 'Sep', low: 7.5, high: 15.1 },
+ { x: 'Oct', low: 3.0, high: 10.5 }, { x: 'Nov', low: 1.2, high: 7.9 }, { x: 'Dec', low: 4.1, high: 9.1 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs8/app/index.jsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs8/app/index.jsx
new file mode 100644
index 000000000..75944aeea
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs8/app/index.jsx
@@ -0,0 +1,27 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, RangeColumnSeries } from '@syncfusion/ej2-react-charts';
+import { data2, data1 } from './datasource';
+
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'month' };
+ const emptyPoint = { mode: 'Average', fill: 'red', border: {width: 2, color: 'green'}};
+ const emptyPoint1 = { mode: 'Gap'};
+ const primaryyAxis = { title: 'Temperature(Celsius)' };
+ return
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs8/app/index.tsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs8/app/index.tsx
new file mode 100644
index 000000000..cc0d5bffc
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs8/app/index.tsx
@@ -0,0 +1,31 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, RangeColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data1, data2 } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel= {valueType: 'Category', title: 'month'} ;
+ const primaryyAxis: AxisModel= { title: 'Temperature(Celsius)'} ;
+ const emptyPoint: object = { mode: 'Average', fill: 'red', border: {width: 2, color: 'green'}};
+ const emptyPoint1: object = { mode: 'Gap'};
+ return
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs8/index.html b/ej2-react/code-snippet/chart/series/rangecolumn-cs8/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs8/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs8/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangecolumn-cs8/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs8/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs9/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs9/app/datasource.jsx
new file mode 100644
index 000000000..b82c3b556
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs9/app/datasource.jsx
@@ -0,0 +1,13 @@
+export let data1 = [
+ { x: 'Jan', low: 0.7, high: 6.1 }, { x: 'Feb', low: 1.3, high: 6.3 }, { x: 'Mar', low: 1.9, high: 8.5 },
+ { x: 'Apr', low: 4, high: 10.8 }, { x: 'May', low: 5.7, high: 14.40 }, { x: 'Jun', low: 8.4, high: 16.90 },
+ { x: 'Jul', low: 10.6, high: 19.20 }, { x: 'Aug', low: 10.5, high: 18.9 }, { x: 'Sep', low: 6, high: 16.1 },
+ { x: 'Oct', low: 6.0, high: 12.5 }, { x: 'Nov', low: 1.5, high: 6.9 }, { x: 'Dec', low: 5.1, high: 12.1 }
+];
+
+export let data2 = [
+ { x: 'Jan', low: 1.7, high: 7.1 }, { x: 'Feb', low: 1.9, high: 7.7 }, { x: 'Mar', low: 1.2, high: 10 },
+ { x: 'Apr', low: 2.5, high: 9.8 }, { x: 'May', low: 4.7, high: 11.4 }, { x: 'Jun', low: 6.4, high: 14.4 },
+ { x: 'Jul', low: 9.6, high: 9 }, { x: 'Aug', low: 10.7, high: 17.9 }, { x: 'Sep', low: 7.5, high: 15.1 },
+ { x: 'Oct', low: 3.0, high: 10.5 }, { x: 'Nov', low: 1.2, high: 7.9 }, { x: 'Dec', low: 4.1, high: 9.1 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs9/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs9/app/datasource.tsx
new file mode 100644
index 000000000..35f089b28
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs9/app/datasource.tsx
@@ -0,0 +1,13 @@
+export let data1: Object[] = [
+ { x: 'Jan', low: 0.7, high: 6.1 }, { x: 'Feb', low: 1.3, high: 6.3 }, { x: 'Mar', low: 1.9, high: 8.5 },
+ { x: 'Apr', low: 4, high: 10.8 }, { x: 'May', low: 5.7, high: 14.40 }, { x: 'Jun', low: 8.4, high: 16.90 },
+ { x: 'Jul', low: 10.6, high: 19.20 }, { x: 'Aug', low: 10.5, high: 18.9 }, { x: 'Sep', low: 6, high: 16.1 },
+ { x: 'Oct', low: 6.0, high: 12.5 }, { x: 'Nov', low: 1.5, high: 6.9 }, { x: 'Dec', low: 5.1, high: 12.1 }
+];
+
+export let data2: Object[] = [
+ { x: 'Jan', low: 1.7, high: 7.1 }, { x: 'Feb', low: 1.9, high: 7.7 }, { x: 'Mar', low: 1.2, high: 10 },
+ { x: 'Apr', low: 2.5, high: 9.8 }, { x: 'May', low: 4.7, high: 11.4 }, { x: 'Jun', low: 6.4, high: 14.4 },
+ { x: 'Jul', low: 9.6, high: 9 }, { x: 'Aug', low: 10.7, high: 17.9 }, { x: 'Sep', low: 7.5, high: 15.1 },
+ { x: 'Oct', low: 3.0, high: 10.5 }, { x: 'Nov', low: 1.2, high: 7.9 }, { x: 'Dec', low: 4.1, high: 9.1 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs9/app/index.jsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs9/app/index.jsx
new file mode 100644
index 000000000..63196a092
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs9/app/index.jsx
@@ -0,0 +1,33 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, RangeColumnSeries } from '@syncfusion/ej2-react-charts';
+import { data2, data1 } from './datasource';
+
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'month' };
+ const seriesRender = (args) => {
+ if (args.series.index === 0) {
+ args.fill = '#ff4251';
+ }
+ else if (args.series.index === 1) {
+ args.fill = '#4C4C4C';
+ }
+ }
+ const primaryyAxis = { title: 'Temperature(Celsius)' };
+ return
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs9/app/index.tsx b/ej2-react/code-snippet/chart/series/rangecolumn-cs9/app/index.tsx
new file mode 100644
index 000000000..154c32896
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs9/app/index.tsx
@@ -0,0 +1,37 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, RangeColumnSeries, ISeriesRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { data1, data2 } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel= {valueType: 'Category', title: 'month'} ;
+ const primaryyAxis: AxisModel= { title: 'Temperature(Celsius)'} ;
+ const seriesRender = (args: ISeriesRenderEventArgs) => {
+ if (args.series.index === 0) {
+ args.fill = '#ff4251';
+ }
+ else if (args.series.index === 1) {
+ args.fill = '#4C4C4C';
+ }
+ }
+ return
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs9/index.html b/ej2-react/code-snippet/chart/series/rangecolumn-cs9/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs9/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangecolumn-cs9/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangecolumn-cs9/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangecolumn-cs9/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs/app/index.jsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs/app/index.jsx
index 5e611d211..a1f0f9421 100644
--- a/ej2-react/code-snippet/chart/series/rangesteparea-cs/app/index.jsx
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs/app/index.jsx
@@ -21,10 +21,8 @@ function App() {
return
-
-
-
-
+
+
;
}
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs/app/index.tsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs/app/index.tsx
index 728548f94..da0189620 100644
--- a/ej2-react/code-snippet/chart/series/rangesteparea-cs/app/index.tsx
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs/app/index.tsx
@@ -27,9 +27,7 @@ function App() {
title='Monthly Temperature Range'>
-
-
-
+
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs10/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs10/app/datasource.jsx
new file mode 100644
index 000000000..d485203df
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs10/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineRangeData = [
+ { x: 'Jan', high: 29, low: 19 },
+ { x: 'Feb', high: 32, low: 22 },
+ { x: 'Mar', high: 25, low: 25 },
+ { x: 'Apr', high: 37, low: 27 },
+ { x: 'May', high: 35, low: 25 },
+ { x: 'Jun', high: 32, low: 22 },
+ { x: 'Jul', high: 30, low: 20 },
+ { x: 'Aug', high: 32, low: 22 },
+ { x: 'Sep', high: 35, low: 20 },
+ { x: 'Oct', high: 37, low: 27 },
+ { x: 'Nov', high: 35, low: 25 },
+ { x: 'Dec', high: 32, low: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs10/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs10/app/datasource.tsx
new file mode 100644
index 000000000..db67b34be
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs10/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineRangeData: Object[] = [
+ { x: 'Jan', high: 29, low: 19 },
+ { x: 'Feb', high: 32, low: 22 },
+ { x: 'Mar', high: 25, low: 25 },
+ { x: 'Apr', high: 37, low: 27 },
+ { x: 'May', high: 35, low: 25 },
+ { x: 'Jun', high: 32, low: 22 },
+ { x: 'Jul', high: 30, low: 20 },
+ { x: 'Aug', high: 32, low: 22 },
+ { x: 'Sep', high: 35, low: 20 },
+ { x: 'Oct', high: 37, low: 27 },
+ { x: 'Nov', high: 35, low: 25 },
+ { x: 'Dec', high: 32, low: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs10/app/index.jsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs10/app/index.jsx
new file mode 100644
index 000000000..dfba857f0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs10/app/index.jsx
@@ -0,0 +1,40 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, RangeStepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const pointRender = (args) => {
+ if (args.point.index % 2 !==0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ }
+ const marker = { visible: true };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs10/app/index.tsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs10/app/index.tsx
new file mode 100644
index 000000000..cebfbdedb
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs10/app/index.tsx
@@ -0,0 +1,45 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, RangeStepAreaSeries, IPointRenderEventArgs} from'@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis: AxisModel = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const pointRender = (args: IPointRenderEventArgs) => {
+ if (args.point.index % 2 !==0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+};
+ const marker: object = { visible: true };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs10/index.html b/ej2-react/code-snippet/chart/series/rangesteparea-cs10/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs10/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs10/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangesteparea-cs10/systemjs.config.js
new file mode 100644
index 000000000..800d6df7f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs10/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/21.1.35/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs2/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs2/app/datasource.jsx
new file mode 100644
index 000000000..30c04313f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs2/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineRangeData = [
+ { x: 'Jan', high: 14, low: 7, high1: 29, low1: 22 },
+ { x: 'Feb', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Mar', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Apr', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'May', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Jun', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Jul', high: 15, low: 5, high1: 30, low1: 20 },
+ { x: 'Aug', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Sep', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Oct', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'Nov', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Dec', high: 20, low: 7, high1: 35, low1: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs2/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs2/app/datasource.tsx
new file mode 100644
index 000000000..e7f34cf9d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs2/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineRangeData: Object[] = [
+ { x: 'Jan', high: 14, low: 7, high1: 29, low1: 22 },
+ { x: 'Feb', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Mar', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Apr', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'May', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Jun', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Jul', high: 15, low: 5, high1: 30, low1: 20 },
+ { x: 'Aug', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Sep', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Oct', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'Nov', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Dec', high: 20, low: 7, high1: 35, low1: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs2/app/index.jsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs2/app/index.jsx
new file mode 100644
index 000000000..020657eb7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs2/app/index.jsx
@@ -0,0 +1,33 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, RangeStepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const border = { color: 'yellow', width: 2};
+ const border1 = { color: 'brown', width: 2};
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs2/app/index.tsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs2/app/index.tsx
new file mode 100644
index 000000000..e4cb3a0dc
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs2/app/index.tsx
@@ -0,0 +1,39 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, RangeStepAreaSeries} from'@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis: AxisModel = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const border = { color: 'yellow', width: 2};
+ const border1 = { color: 'brown', width: 2};
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs2/index.html b/ej2-react/code-snippet/chart/series/rangesteparea-cs2/index.html
new file mode 100644
index 000000000..0deb6aa2b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs2/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs2/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangesteparea-cs2/systemjs.config.js
new file mode 100644
index 000000000..800d6df7f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs2/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/21.1.35/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs3/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs3/app/datasource.jsx
new file mode 100644
index 000000000..30c04313f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs3/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineRangeData = [
+ { x: 'Jan', high: 14, low: 7, high1: 29, low1: 22 },
+ { x: 'Feb', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Mar', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Apr', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'May', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Jun', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Jul', high: 15, low: 5, high1: 30, low1: 20 },
+ { x: 'Aug', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Sep', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Oct', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'Nov', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Dec', high: 20, low: 7, high1: 35, low1: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs3/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs3/app/datasource.tsx
new file mode 100644
index 000000000..e7f34cf9d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs3/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineRangeData: Object[] = [
+ { x: 'Jan', high: 14, low: 7, high1: 29, low1: 22 },
+ { x: 'Feb', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Mar', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Apr', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'May', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Jun', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Jul', high: 15, low: 5, high1: 30, low1: 20 },
+ { x: 'Aug', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Sep', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Oct', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'Nov', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Dec', high: 20, low: 7, high1: 35, low1: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs3/app/index.jsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs3/app/index.jsx
new file mode 100644
index 000000000..69cbc7685
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs3/app/index.jsx
@@ -0,0 +1,33 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, RangeStepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const border = { color: 'yellow', width: 2};
+ const border1 = { color: 'brown', width: 2};
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs3/app/index.tsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs3/app/index.tsx
new file mode 100644
index 000000000..3e7885b98
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs3/app/index.tsx
@@ -0,0 +1,39 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, RangeStepAreaSeries} from'@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis: AxisModel = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const border = { color: 'yellow', width: 2};
+ const border1 = { color: 'brown', width: 2};
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs3/index.html b/ej2-react/code-snippet/chart/series/rangesteparea-cs3/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs3/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs3/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangesteparea-cs3/systemjs.config.js
new file mode 100644
index 000000000..800d6df7f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs3/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/21.1.35/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs4/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs4/app/datasource.jsx
new file mode 100644
index 000000000..30c04313f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs4/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineRangeData = [
+ { x: 'Jan', high: 14, low: 7, high1: 29, low1: 22 },
+ { x: 'Feb', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Mar', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Apr', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'May', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Jun', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Jul', high: 15, low: 5, high1: 30, low1: 20 },
+ { x: 'Aug', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Sep', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Oct', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'Nov', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Dec', high: 20, low: 7, high1: 35, low1: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs4/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs4/app/datasource.tsx
new file mode 100644
index 000000000..e7f34cf9d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs4/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineRangeData: Object[] = [
+ { x: 'Jan', high: 14, low: 7, high1: 29, low1: 22 },
+ { x: 'Feb', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Mar', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Apr', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'May', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Jun', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Jul', high: 15, low: 5, high1: 30, low1: 20 },
+ { x: 'Aug', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Sep', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Oct', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'Nov', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Dec', high: 20, low: 7, high1: 35, low1: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs4/app/index.jsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs4/app/index.jsx
new file mode 100644
index 000000000..aa9fe2e98
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs4/app/index.jsx
@@ -0,0 +1,32 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, RangeStepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const border = { color: 'yellow', width: 2};
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs4/app/index.tsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs4/app/index.tsx
new file mode 100644
index 000000000..0bbe48e8b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs4/app/index.tsx
@@ -0,0 +1,38 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, RangeStepAreaSeries} from'@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis: AxisModel = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const border = { color: 'yellow', width: 2};
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs4/index.html b/ej2-react/code-snippet/chart/series/rangesteparea-cs4/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs4/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs4/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangesteparea-cs4/systemjs.config.js
new file mode 100644
index 000000000..800d6df7f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs4/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/21.1.35/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs5/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs5/app/datasource.jsx
new file mode 100644
index 000000000..30c04313f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs5/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineRangeData = [
+ { x: 'Jan', high: 14, low: 7, high1: 29, low1: 22 },
+ { x: 'Feb', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Mar', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Apr', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'May', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Jun', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Jul', high: 15, low: 5, high1: 30, low1: 20 },
+ { x: 'Aug', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Sep', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Oct', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'Nov', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Dec', high: 20, low: 7, high1: 35, low1: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs5/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs5/app/datasource.tsx
new file mode 100644
index 000000000..e7f34cf9d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs5/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineRangeData: Object[] = [
+ { x: 'Jan', high: 14, low: 7, high1: 29, low1: 22 },
+ { x: 'Feb', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Mar', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Apr', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'May', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Jun', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Jul', high: 15, low: 5, high1: 30, low1: 20 },
+ { x: 'Aug', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Sep', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Oct', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'Nov', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Dec', high: 20, low: 7, high1: 35, low1: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs5/app/index.jsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs5/app/index.jsx
new file mode 100644
index 000000000..45a968b3d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs5/app/index.jsx
@@ -0,0 +1,31 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, RangeStepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs5/app/index.tsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs5/app/index.tsx
new file mode 100644
index 000000000..db60c2726
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs5/app/index.tsx
@@ -0,0 +1,37 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, RangeStepAreaSeries} from'@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis: AxisModel = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs5/index.html b/ej2-react/code-snippet/chart/series/rangesteparea-cs5/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs5/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs5/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangesteparea-cs5/systemjs.config.js
new file mode 100644
index 000000000..800d6df7f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs5/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/21.1.35/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs6/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs6/app/datasource.jsx
new file mode 100644
index 000000000..c59c9fc1f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs6/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineRangeData = [
+ { x: 'Jan', high: 29, low: 19 },
+ { x: 'Feb', high: 32, low: 22 },
+ { x: 'Mar', high: null, low: 25 },
+ { x: 'Apr', high: 37, low: 27 },
+ { x: 'May', high: 35, low: 25 },
+ { x: 'Jun', high: 32, low: 22 },
+ { x: 'Jul', high: 30, low: 20 },
+ { x: 'Aug', high: 32, low: 22 },
+ { x: 'Sep', high: 35, low: undefined },
+ { x: 'Oct', high: 37, low: 27 },
+ { x: 'Nov', high: 35, low: 25 },
+ { x: 'Dec', high: 32, low: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs6/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs6/app/datasource.tsx
new file mode 100644
index 000000000..0f6daacbf
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs6/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineRangeData: Object[] = [
+ { x: 'Jan', high: 29, low: 19 },
+ { x: 'Feb', high: 32, low: 22 },
+ { x: 'Mar', high: null, low: 25 },
+ { x: 'Apr', high: 37, low: 27 },
+ { x: 'May', high: 35, low: 25 },
+ { x: 'Jun', high: 32, low: 22 },
+ { x: 'Jul', high: 30, low: 20 },
+ { x: 'Aug', high: 32, low: 22 },
+ { x: 'Sep', high: 35, low: undefined },
+ { x: 'Oct', high: 37, low: 27 },
+ { x: 'Nov', high: 35, low: 25 },
+ { x: 'Dec', high: 32, low: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs6/app/index.jsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs6/app/index.jsx
new file mode 100644
index 000000000..9d69ee1e3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs6/app/index.jsx
@@ -0,0 +1,33 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, RangeStepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const emptyPoint = { mode: 'Gap' };
+ const marker = { visible: true };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs6/app/index.tsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs6/app/index.tsx
new file mode 100644
index 000000000..441572a39
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs6/app/index.tsx
@@ -0,0 +1,38 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, RangeStepAreaSeries} from'@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis: AxisModel = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const emptyPoint: object = { mode: 'Gap' };
+ const marker: object = { visible: true };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs6/index.html b/ej2-react/code-snippet/chart/series/rangesteparea-cs6/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs6/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs6/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangesteparea-cs6/systemjs.config.js
new file mode 100644
index 000000000..800d6df7f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs6/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/21.1.35/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs7/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs7/app/datasource.jsx
new file mode 100644
index 000000000..c59c9fc1f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs7/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineRangeData = [
+ { x: 'Jan', high: 29, low: 19 },
+ { x: 'Feb', high: 32, low: 22 },
+ { x: 'Mar', high: null, low: 25 },
+ { x: 'Apr', high: 37, low: 27 },
+ { x: 'May', high: 35, low: 25 },
+ { x: 'Jun', high: 32, low: 22 },
+ { x: 'Jul', high: 30, low: 20 },
+ { x: 'Aug', high: 32, low: 22 },
+ { x: 'Sep', high: 35, low: undefined },
+ { x: 'Oct', high: 37, low: 27 },
+ { x: 'Nov', high: 35, low: 25 },
+ { x: 'Dec', high: 32, low: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs7/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs7/app/datasource.tsx
new file mode 100644
index 000000000..0f6daacbf
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs7/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineRangeData: Object[] = [
+ { x: 'Jan', high: 29, low: 19 },
+ { x: 'Feb', high: 32, low: 22 },
+ { x: 'Mar', high: null, low: 25 },
+ { x: 'Apr', high: 37, low: 27 },
+ { x: 'May', high: 35, low: 25 },
+ { x: 'Jun', high: 32, low: 22 },
+ { x: 'Jul', high: 30, low: 20 },
+ { x: 'Aug', high: 32, low: 22 },
+ { x: 'Sep', high: 35, low: undefined },
+ { x: 'Oct', high: 37, low: 27 },
+ { x: 'Nov', high: 35, low: 25 },
+ { x: 'Dec', high: 32, low: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs7/app/index.jsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs7/app/index.jsx
new file mode 100644
index 000000000..ea6921d35
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs7/app/index.jsx
@@ -0,0 +1,33 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, RangeStepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const emptyPoint = { mode: 'Average', fill: 'red' };
+ const marker = { visible: true };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs7/app/index.tsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs7/app/index.tsx
new file mode 100644
index 000000000..541d62363
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs7/app/index.tsx
@@ -0,0 +1,38 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, RangeStepAreaSeries} from'@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis: AxisModel = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const emptyPoint: object = { mode: 'Average', fill: 'red' };
+ const marker: object = { visible: true };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs7/index.html b/ej2-react/code-snippet/chart/series/rangesteparea-cs7/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs7/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs7/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangesteparea-cs7/systemjs.config.js
new file mode 100644
index 000000000..800d6df7f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs7/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/21.1.35/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs8/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs8/app/datasource.jsx
new file mode 100644
index 000000000..c59c9fc1f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs8/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineRangeData = [
+ { x: 'Jan', high: 29, low: 19 },
+ { x: 'Feb', high: 32, low: 22 },
+ { x: 'Mar', high: null, low: 25 },
+ { x: 'Apr', high: 37, low: 27 },
+ { x: 'May', high: 35, low: 25 },
+ { x: 'Jun', high: 32, low: 22 },
+ { x: 'Jul', high: 30, low: 20 },
+ { x: 'Aug', high: 32, low: 22 },
+ { x: 'Sep', high: 35, low: undefined },
+ { x: 'Oct', high: 37, low: 27 },
+ { x: 'Nov', high: 35, low: 25 },
+ { x: 'Dec', high: 32, low: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs8/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs8/app/datasource.tsx
new file mode 100644
index 000000000..0f6daacbf
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs8/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineRangeData: Object[] = [
+ { x: 'Jan', high: 29, low: 19 },
+ { x: 'Feb', high: 32, low: 22 },
+ { x: 'Mar', high: null, low: 25 },
+ { x: 'Apr', high: 37, low: 27 },
+ { x: 'May', high: 35, low: 25 },
+ { x: 'Jun', high: 32, low: 22 },
+ { x: 'Jul', high: 30, low: 20 },
+ { x: 'Aug', high: 32, low: 22 },
+ { x: 'Sep', high: 35, low: undefined },
+ { x: 'Oct', high: 37, low: 27 },
+ { x: 'Nov', high: 35, low: 25 },
+ { x: 'Dec', high: 32, low: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs8/app/index.jsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs8/app/index.jsx
new file mode 100644
index 000000000..7dd269f63
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs8/app/index.jsx
@@ -0,0 +1,33 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, RangeStepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const emptyPoint = { mode: 'Average', fill: 'red', border: {width: 1.5, color: 'green'} };
+ const marker = { visible: true };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs8/app/index.tsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs8/app/index.tsx
new file mode 100644
index 000000000..ed401a5d4
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs8/app/index.tsx
@@ -0,0 +1,38 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, RangeStepAreaSeries} from'@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis: AxisModel = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const emptyPoint: object = { mode: 'Average', fill: 'red', border: {width: 1.5, color: 'green'} };
+ const marker: object = { visible: true };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs8/index.html b/ej2-react/code-snippet/chart/series/rangesteparea-cs8/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs8/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs8/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangesteparea-cs8/systemjs.config.js
new file mode 100644
index 000000000..800d6df7f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs8/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/21.1.35/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs9/app/datasource.jsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs9/app/datasource.jsx
new file mode 100644
index 000000000..d485203df
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs9/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineRangeData = [
+ { x: 'Jan', high: 29, low: 19 },
+ { x: 'Feb', high: 32, low: 22 },
+ { x: 'Mar', high: 25, low: 25 },
+ { x: 'Apr', high: 37, low: 27 },
+ { x: 'May', high: 35, low: 25 },
+ { x: 'Jun', high: 32, low: 22 },
+ { x: 'Jul', high: 30, low: 20 },
+ { x: 'Aug', high: 32, low: 22 },
+ { x: 'Sep', high: 35, low: 20 },
+ { x: 'Oct', high: 37, low: 27 },
+ { x: 'Nov', high: 35, low: 25 },
+ { x: 'Dec', high: 32, low: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs9/app/datasource.tsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs9/app/datasource.tsx
new file mode 100644
index 000000000..db67b34be
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs9/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineRangeData: Object[] = [
+ { x: 'Jan', high: 29, low: 19 },
+ { x: 'Feb', high: 32, low: 22 },
+ { x: 'Mar', high: 25, low: 25 },
+ { x: 'Apr', high: 37, low: 27 },
+ { x: 'May', high: 35, low: 25 },
+ { x: 'Jun', high: 32, low: 22 },
+ { x: 'Jul', high: 30, low: 20 },
+ { x: 'Aug', high: 32, low: 22 },
+ { x: 'Sep', high: 35, low: 20 },
+ { x: 'Oct', high: 37, low: 27 },
+ { x: 'Nov', high: 35, low: 25 },
+ { x: 'Dec', high: 32, low: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs9/app/index.jsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs9/app/index.jsx
new file mode 100644
index 000000000..c80d46851
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs9/app/index.jsx
@@ -0,0 +1,35 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, RangeStepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const seriesRender = (args) => {
+ args.fill = '#ff6347';
+ }
+ const marker = { visible: true };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs9/app/index.tsx b/ej2-react/code-snippet/chart/series/rangesteparea-cs9/app/index.tsx
new file mode 100644
index 000000000..2f7fde9c2
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs9/app/index.tsx
@@ -0,0 +1,40 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, RangeStepAreaSeries, ISeriesRenderEventArgs} from'@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis: AxisModel = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const seriesRender = (args: ISeriesRenderEventArgs) => {
+ args.fill = '#ff6347';
+};
+ const marker: object = { visible: true };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs9/index.html b/ej2-react/code-snippet/chart/series/rangesteparea-cs9/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs9/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangesteparea-cs9/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangesteparea-cs9/systemjs.config.js
new file mode 100644
index 000000000..800d6df7f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangesteparea-cs9/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/21.1.35/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/rangestepraiser-cs/app/index.jsx b/ej2-react/code-snippet/chart/series/rangestepraiser-cs/app/index.jsx
new file mode 100644
index 000000000..8c4233ab6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangestepraiser-cs/app/index.jsx
@@ -0,0 +1,46 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, RangeStepAreaSeries} from'@syncfusion/ej2-react-charts';
+import { chartData } from "../datasource";
+
+function App() {
+
+ const primaryxAxis = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const border = { color: 'yellow', width: 2};
+ const border1 = { color: 'brown', width: 2};
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/rangestepraiser-cs/app/index.tsx b/ej2-react/code-snippet/chart/series/rangestepraiser-cs/app/index.tsx
new file mode 100644
index 000000000..8ade17267
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangestepraiser-cs/app/index.tsx
@@ -0,0 +1,46 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, RangeStepAreaSeries} from'@syncfusion/ej2-react-charts';
+import { chartData } from "../datasource";
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis: AxisModel = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const border = { color: 'yellow', width: 2};
+ const border1 = { color: 'brown', width: 2};
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/rangestepraiser-cs/datasource.js b/ej2-react/code-snippet/chart/series/rangestepraiser-cs/datasource.js
new file mode 100644
index 000000000..a0969089a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangestepraiser-cs/datasource.js
@@ -0,0 +1,14 @@
+export let chartData = [
+ { x: 'Jan', high: 29, low: 19 },
+ { x: 'Feb', high: 32, low: 22 },
+ { x: 'Mar', high: 35, low: 25 },
+ { x: 'Apr', high: 37, low: 27 },
+ { x: 'May', high: 35, low: 25 },
+ { x: 'Jun', high: 32, low: 22 },
+ { x: 'Jul', high: 30, low: 20 },
+ { x: 'Aug', high: 32, low: 22 },
+ { x: 'Sep', high: 35, low: 25 },
+ { x: 'Oct', high: 37, low: 27 },
+ { x: 'Nov', high: 35, low: 25 },
+ { x: 'Dec', high: 32, low: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangestepraiser-cs/datasource.ts b/ej2-react/code-snippet/chart/series/rangestepraiser-cs/datasource.ts
new file mode 100644
index 000000000..8f6db974b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangestepraiser-cs/datasource.ts
@@ -0,0 +1,14 @@
+export let chartData: Object[] = [
+ { x: 'Jan', high: 29, low: 19 },
+ { x: 'Feb', high: 32, low: 22 },
+ { x: 'Mar', high: 35, low: 25 },
+ { x: 'Apr', high: 37, low: 27 },
+ { x: 'May', high: 35, low: 25 },
+ { x: 'Jun', high: 32, low: 22 },
+ { x: 'Jul', high: 30, low: 20 },
+ { x: 'Aug', high: 32, low: 22 },
+ { x: 'Sep', high: 35, low: 25 },
+ { x: 'Oct', high: 37, low: 27 },
+ { x: 'Nov', high: 35, low: 25 },
+ { x: 'Dec', high: 32, low: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangestepraiser-cs/index.html b/ej2-react/code-snippet/chart/series/rangestepraiser-cs/index.html
new file mode 100644
index 000000000..c807e8648
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangestepraiser-cs/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Accumulation Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/rangestepraiser-cs/systemjs.config.js b/ej2-react/code-snippet/chart/series/rangestepraiser-cs/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/rangestepraiser-cs/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs/app/index.jsx b/ej2-react/code-snippet/chart/series/scatter-cs/app/index.jsx
index 0f6efc939..ee3add3ee 100644
--- a/ej2-react/code-snippet/chart/series/scatter-cs/app/index.jsx
+++ b/ej2-react/code-snippet/chart/series/scatter-cs/app/index.jsx
@@ -19,10 +19,10 @@ function App() {
return
-
-
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs/app/index.tsx b/ej2-react/code-snippet/chart/series/scatter-cs/app/index.tsx
index 46a5c479f..9368dece9 100644
--- a/ej2-react/code-snippet/chart/series/scatter-cs/app/index.tsx
+++ b/ej2-react/code-snippet/chart/series/scatter-cs/app/index.tsx
@@ -25,10 +25,10 @@ function App() {
title='Height Vs Weight'>
-
-
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs1/app/datasource.jsx b/ej2-react/code-snippet/chart/series/scatter-cs1/app/datasource.jsx
new file mode 100644
index 000000000..a18eec576
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs1/app/datasource.jsx
@@ -0,0 +1,23 @@
+export let scatterData = [
+ { height: 130, male: 35, female: 32 },
+ { height: 132, male: 38, female: 33 },
+ { height: 135, male: 41, female: 38 },
+ { height: 137, male: 43, female: 40 },
+ { height: 140, male: 45, female: 42 },
+ { height: 142, male: 46, female: 42.5 },
+ { height: 145, male: 48, female: 43 },
+ { height: 147, male: 50, female: 44 },
+ { height: 150, male: 52, female: 45 },
+ { height: 152, male: 55, female: 45 },
+ { height: 155, male: 58, female: 46 },
+ { height: 157, male: 60, female: 48 },
+ { height: 160, male: 63, female: 51 },
+ { height: 162, male: 70, female: 54 },
+ { height: 165, male: 75, female: 58 },
+ { height: 167, male: 78, female: 62 },
+ { height: 170, male: 82, female: 68 },
+ { height: 172, male: 87, female: 72 },
+ { height: 175, male: 89, female: 78 },
+ { height: 177, male: 92, female: 82 },
+ { height: 180, male: 95, female: 85 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs1/app/datasource.tsx b/ej2-react/code-snippet/chart/series/scatter-cs1/app/datasource.tsx
new file mode 100644
index 000000000..09e360852
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs1/app/datasource.tsx
@@ -0,0 +1,23 @@
+export let scatterData: Object[] = [
+ { height: 130, male: 35, female: 32 },
+ { height: 132, male: 38, female: 33 },
+ { height: 135, male: 41, female: 38 },
+ { height: 137, male: 43, female: 40 },
+ { height: 140, male: 45, female: 42 },
+ { height: 142, male: 46, female: 42.5 },
+ { height: 145, male: 48, female: 43 },
+ { height: 147, male: 50, female: 44 },
+ { height: 150, male: 52, female: 45 },
+ { height: 152, male: 55, female: 45 },
+ { height: 155, male: 58, female: 46 },
+ { height: 157, male: 60, female: 48 },
+ { height: 160, male: 63, female: 51 },
+ { height: 162, male: 70, female: 54 },
+ { height: 165, male: 75, female: 58 },
+ { height: 167, male: 78, female: 62 },
+ { height: 170, male: 82, female: 68 },
+ { height: 172, male: 87, female: 72 },
+ { height: 175, male: 89, female: 78 },
+ { height: 177, male: 92, female: 82 },
+ { height: 180, male: 95, female: 85 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs1/app/index.jsx b/ej2-react/code-snippet/chart/series/scatter-cs1/app/index.jsx
new file mode 100644
index 000000000..49fba4474
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs1/app/index.jsx
@@ -0,0 +1,35 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, ScatterSeries } from '@syncfusion/ej2-react-charts';
+import { scatterData } from './datasource';
+
+function App() {
+ const primaryxAxis = {
+ title: 'Height (cm)', minimum: 130, maximum: 180,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}cm'
+ };
+ const primaryyAxis = {
+ title: 'Weight (kg)', minimum: 30, maximum: 100,
+ labelFormat: '{value}kg', rangePadding: 'None'
+ };
+ const marker1 = { width: 10, height: 10, shape: 'Triangle' };
+ const marker = { width: 12, height: 12, shape: 'Rectangle'};
+ return
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs1/app/index.tsx b/ej2-react/code-snippet/chart/series/scatter-cs1/app/index.tsx
new file mode 100644
index 000000000..aad792ea5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs1/app/index.tsx
@@ -0,0 +1,41 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, ScatterSeries, Marker}
+from'@syncfusion/ej2-react-charts';
+import { scatterData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = {
+ title: 'Height (cm)', minimum: 130, maximum: 180,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}cm'
+ };
+ const primaryyAxis: AxisModel = {
+ title: 'Weight (kg)', minimum: 30, maximum: 100,
+ labelFormat: '{value}kg', rangePadding: 'None'
+ };
+ const marker1 = { width: 10, height: 10, shape: 'Triangle' };
+ const marker = { width: 12, height: 12, shape: 'Rectangle'};
+
+ return
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs1/index.html b/ej2-react/code-snippet/chart/series/scatter-cs1/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs1/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs1/systemjs.config.js b/ej2-react/code-snippet/chart/series/scatter-cs1/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs1/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs2/app/datasource.jsx b/ej2-react/code-snippet/chart/series/scatter-cs2/app/datasource.jsx
new file mode 100644
index 000000000..a18eec576
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs2/app/datasource.jsx
@@ -0,0 +1,23 @@
+export let scatterData = [
+ { height: 130, male: 35, female: 32 },
+ { height: 132, male: 38, female: 33 },
+ { height: 135, male: 41, female: 38 },
+ { height: 137, male: 43, female: 40 },
+ { height: 140, male: 45, female: 42 },
+ { height: 142, male: 46, female: 42.5 },
+ { height: 145, male: 48, female: 43 },
+ { height: 147, male: 50, female: 44 },
+ { height: 150, male: 52, female: 45 },
+ { height: 152, male: 55, female: 45 },
+ { height: 155, male: 58, female: 46 },
+ { height: 157, male: 60, female: 48 },
+ { height: 160, male: 63, female: 51 },
+ { height: 162, male: 70, female: 54 },
+ { height: 165, male: 75, female: 58 },
+ { height: 167, male: 78, female: 62 },
+ { height: 170, male: 82, female: 68 },
+ { height: 172, male: 87, female: 72 },
+ { height: 175, male: 89, female: 78 },
+ { height: 177, male: 92, female: 82 },
+ { height: 180, male: 95, female: 85 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs2/app/datasource.tsx b/ej2-react/code-snippet/chart/series/scatter-cs2/app/datasource.tsx
new file mode 100644
index 000000000..09e360852
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs2/app/datasource.tsx
@@ -0,0 +1,23 @@
+export let scatterData: Object[] = [
+ { height: 130, male: 35, female: 32 },
+ { height: 132, male: 38, female: 33 },
+ { height: 135, male: 41, female: 38 },
+ { height: 137, male: 43, female: 40 },
+ { height: 140, male: 45, female: 42 },
+ { height: 142, male: 46, female: 42.5 },
+ { height: 145, male: 48, female: 43 },
+ { height: 147, male: 50, female: 44 },
+ { height: 150, male: 52, female: 45 },
+ { height: 152, male: 55, female: 45 },
+ { height: 155, male: 58, female: 46 },
+ { height: 157, male: 60, female: 48 },
+ { height: 160, male: 63, female: 51 },
+ { height: 162, male: 70, female: 54 },
+ { height: 165, male: 75, female: 58 },
+ { height: 167, male: 78, female: 62 },
+ { height: 170, male: 82, female: 68 },
+ { height: 172, male: 87, female: 72 },
+ { height: 175, male: 89, female: 78 },
+ { height: 177, male: 92, female: 82 },
+ { height: 180, male: 95, female: 85 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs2/app/index.jsx b/ej2-react/code-snippet/chart/series/scatter-cs2/app/index.jsx
new file mode 100644
index 000000000..78d8f27f0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs2/app/index.jsx
@@ -0,0 +1,35 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, ScatterSeries } from '@syncfusion/ej2-react-charts';
+import { scatterData } from './datasource';
+
+function App() {
+ const primaryxAxis = {
+ title: 'Height (cm)', minimum: 130, maximum: 180,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}cm'
+ };
+ const primaryyAxis = {
+ title: 'Weight (kg)', minimum: 30, maximum: 100,
+ labelFormat: '{value}kg', rangePadding: 'None'
+ };
+ const marker1 = { width: 10, height: 10, shape: 'Star' };
+ const marker = { width: 12, height: 12, shape: 'Circle'};
+ return
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs2/app/index.tsx b/ej2-react/code-snippet/chart/series/scatter-cs2/app/index.tsx
new file mode 100644
index 000000000..93a17142a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs2/app/index.tsx
@@ -0,0 +1,41 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, ScatterSeries, Marker}
+from'@syncfusion/ej2-react-charts';
+import { scatterData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = {
+ title: 'Height (cm)', minimum: 130, maximum: 180,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}cm'
+ };
+ const primaryyAxis: AxisModel = {
+ title: 'Weight (kg)', minimum: 30, maximum: 100,
+ labelFormat: '{value}kg', rangePadding: 'None'
+ };
+ const marker1 = { width: 10, height: 10, shape: 'Star' };
+ const marker = { width: 12, height: 12, shape: 'Circle'};
+
+ return
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs2/index.html b/ej2-react/code-snippet/chart/series/scatter-cs2/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs2/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs2/systemjs.config.js b/ej2-react/code-snippet/chart/series/scatter-cs2/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs2/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs3/app/datasource.jsx b/ej2-react/code-snippet/chart/series/scatter-cs3/app/datasource.jsx
new file mode 100644
index 000000000..48537ad68
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs3/app/datasource.jsx
@@ -0,0 +1,23 @@
+export let scatterData = [
+ { height: 130, male: 35, female: 32 },
+ { height: 132, male: 38, female: 33 },
+ { height: 135, male: 41, female: 38 },
+ { height: 137, male: 43, female: 40 },
+ { height: 140, male: 45, female: 42 },
+ { height: 142, male: 46, female: 42.5 },
+ { height: 145, male: 48, female: 43 },
+ { height: 147, male: 50, female: 44 },
+ { height: 150, male: null, female: 45 },
+ { height: 152, male: 55, female: 45 },
+ { height: 155, male: 58, female: 46 },
+ { height: 157, male: 60, female: 48 },
+ { height: 160, male: 63, female: 51 },
+ { height: 162, male: 70, female: 54 },
+ { height: 165, male: undefined, female: 58 },
+ { height: 167, male: 78, female: 62 },
+ { height: 170, male: 82, female: 68 },
+ { height: 172, male: 87, female: 72 },
+ { height: 175, male: 89, female: 78 },
+ { height: 177, male: 92, female: 82 },
+ { height: 180, male: 95, female: 85 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs3/app/datasource.tsx b/ej2-react/code-snippet/chart/series/scatter-cs3/app/datasource.tsx
new file mode 100644
index 000000000..ec271e18f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs3/app/datasource.tsx
@@ -0,0 +1,23 @@
+export let scatterData: Object[] = [
+ { height: 130, male: 35, female: 32 },
+ { height: 132, male: 38, female: 33 },
+ { height: 135, male: 41, female: 38 },
+ { height: 137, male: 43, female: 40 },
+ { height: 140, male: 45, female: 42 },
+ { height: 142, male: 46, female: 42.5 },
+ { height: 145, male: 48, female: 43 },
+ { height: 147, male: 50, female: 44 },
+ { height: 150, male: null, female: 45 },
+ { height: 152, male: 55, female: 45 },
+ { height: 155, male: 58, female: 46 },
+ { height: 157, male: 60, female: 48 },
+ { height: 160, male: 63, female: 51 },
+ { height: 162, male: 70, female: 54 },
+ { height: 165, male: undefined, female: 58 },
+ { height: 167, male: 78, female: 62 },
+ { height: 170, male: 82, female: 68 },
+ { height: 172, male: 87, female: 72 },
+ { height: 175, male: 89, female: 78 },
+ { height: 177, male: 92, female: 82 },
+ { height: 180, male: 95, female: 85 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs3/app/index.jsx b/ej2-react/code-snippet/chart/series/scatter-cs3/app/index.jsx
new file mode 100644
index 000000000..5a4383966
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs3/app/index.jsx
@@ -0,0 +1,32 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, ScatterSeries } from '@syncfusion/ej2-react-charts';
+import { scatterData } from './datasource';
+
+function App() {
+ const primaryxAxis = {
+ title: 'Height (cm)', minimum: 130, maximum: 180,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}cm'
+ };
+ const primaryyAxis = {
+ title: 'Weight (kg)', minimum: 30, maximum: 100,
+ labelFormat: '{value}kg', rangePadding: 'None'
+ };
+ const marker1 = { width: 10, height: 10 };
+ const emptyPoint = { mode: 'Gap'};
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs3/app/index.tsx b/ej2-react/code-snippet/chart/series/scatter-cs3/app/index.tsx
new file mode 100644
index 000000000..6bab45730
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs3/app/index.tsx
@@ -0,0 +1,37 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, ScatterSeries, Marker}
+from'@syncfusion/ej2-react-charts';
+import { scatterData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = {
+ title: 'Height (cm)', minimum: 130, maximum: 180,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}cm'
+ };
+ const primaryyAxis: AxisModel = {
+ title: 'Weight (kg)', minimum: 30, maximum: 100,
+ labelFormat: '{value}kg', rangePadding: 'None'
+ };
+ const marker1 = { width: 10, height: 10};
+ const emptyPoint = { mode: 'Gap'};
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs3/index.html b/ej2-react/code-snippet/chart/series/scatter-cs3/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs3/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs3/systemjs.config.js b/ej2-react/code-snippet/chart/series/scatter-cs3/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs3/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs4/app/datasource.jsx b/ej2-react/code-snippet/chart/series/scatter-cs4/app/datasource.jsx
new file mode 100644
index 000000000..48537ad68
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs4/app/datasource.jsx
@@ -0,0 +1,23 @@
+export let scatterData = [
+ { height: 130, male: 35, female: 32 },
+ { height: 132, male: 38, female: 33 },
+ { height: 135, male: 41, female: 38 },
+ { height: 137, male: 43, female: 40 },
+ { height: 140, male: 45, female: 42 },
+ { height: 142, male: 46, female: 42.5 },
+ { height: 145, male: 48, female: 43 },
+ { height: 147, male: 50, female: 44 },
+ { height: 150, male: null, female: 45 },
+ { height: 152, male: 55, female: 45 },
+ { height: 155, male: 58, female: 46 },
+ { height: 157, male: 60, female: 48 },
+ { height: 160, male: 63, female: 51 },
+ { height: 162, male: 70, female: 54 },
+ { height: 165, male: undefined, female: 58 },
+ { height: 167, male: 78, female: 62 },
+ { height: 170, male: 82, female: 68 },
+ { height: 172, male: 87, female: 72 },
+ { height: 175, male: 89, female: 78 },
+ { height: 177, male: 92, female: 82 },
+ { height: 180, male: 95, female: 85 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs4/app/datasource.tsx b/ej2-react/code-snippet/chart/series/scatter-cs4/app/datasource.tsx
new file mode 100644
index 000000000..ec271e18f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs4/app/datasource.tsx
@@ -0,0 +1,23 @@
+export let scatterData: Object[] = [
+ { height: 130, male: 35, female: 32 },
+ { height: 132, male: 38, female: 33 },
+ { height: 135, male: 41, female: 38 },
+ { height: 137, male: 43, female: 40 },
+ { height: 140, male: 45, female: 42 },
+ { height: 142, male: 46, female: 42.5 },
+ { height: 145, male: 48, female: 43 },
+ { height: 147, male: 50, female: 44 },
+ { height: 150, male: null, female: 45 },
+ { height: 152, male: 55, female: 45 },
+ { height: 155, male: 58, female: 46 },
+ { height: 157, male: 60, female: 48 },
+ { height: 160, male: 63, female: 51 },
+ { height: 162, male: 70, female: 54 },
+ { height: 165, male: undefined, female: 58 },
+ { height: 167, male: 78, female: 62 },
+ { height: 170, male: 82, female: 68 },
+ { height: 172, male: 87, female: 72 },
+ { height: 175, male: 89, female: 78 },
+ { height: 177, male: 92, female: 82 },
+ { height: 180, male: 95, female: 85 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs4/app/index.jsx b/ej2-react/code-snippet/chart/series/scatter-cs4/app/index.jsx
new file mode 100644
index 000000000..26b5ab285
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs4/app/index.jsx
@@ -0,0 +1,32 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, ScatterSeries } from '@syncfusion/ej2-react-charts';
+import { scatterData } from './datasource';
+
+function App() {
+ const primaryxAxis = {
+ title: 'Height (cm)', minimum: 130, maximum: 180,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}cm'
+ };
+ const primaryyAxis = {
+ title: 'Weight (kg)', minimum: 30, maximum: 100,
+ labelFormat: '{value}kg', rangePadding: 'None'
+ };
+ const marker1 = { width: 10, height: 10 };
+ const emptyPoint = { mode: 'Average', fill: 'red'};
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs4/app/index.tsx b/ej2-react/code-snippet/chart/series/scatter-cs4/app/index.tsx
new file mode 100644
index 000000000..11b757acf
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs4/app/index.tsx
@@ -0,0 +1,37 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, ScatterSeries, Marker}
+from'@syncfusion/ej2-react-charts';
+import { scatterData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = {
+ title: 'Height (cm)', minimum: 130, maximum: 180,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}cm'
+ };
+ const primaryyAxis: AxisModel = {
+ title: 'Weight (kg)', minimum: 30, maximum: 100,
+ labelFormat: '{value}kg', rangePadding: 'None'
+ };
+ const marker1 = { width: 10, height: 10};
+ const emptyPoint = { mode: 'Average', fill: 'red'};
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs4/index.html b/ej2-react/code-snippet/chart/series/scatter-cs4/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs4/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs4/systemjs.config.js b/ej2-react/code-snippet/chart/series/scatter-cs4/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs4/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs5/app/datasource.jsx b/ej2-react/code-snippet/chart/series/scatter-cs5/app/datasource.jsx
new file mode 100644
index 000000000..48537ad68
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs5/app/datasource.jsx
@@ -0,0 +1,23 @@
+export let scatterData = [
+ { height: 130, male: 35, female: 32 },
+ { height: 132, male: 38, female: 33 },
+ { height: 135, male: 41, female: 38 },
+ { height: 137, male: 43, female: 40 },
+ { height: 140, male: 45, female: 42 },
+ { height: 142, male: 46, female: 42.5 },
+ { height: 145, male: 48, female: 43 },
+ { height: 147, male: 50, female: 44 },
+ { height: 150, male: null, female: 45 },
+ { height: 152, male: 55, female: 45 },
+ { height: 155, male: 58, female: 46 },
+ { height: 157, male: 60, female: 48 },
+ { height: 160, male: 63, female: 51 },
+ { height: 162, male: 70, female: 54 },
+ { height: 165, male: undefined, female: 58 },
+ { height: 167, male: 78, female: 62 },
+ { height: 170, male: 82, female: 68 },
+ { height: 172, male: 87, female: 72 },
+ { height: 175, male: 89, female: 78 },
+ { height: 177, male: 92, female: 82 },
+ { height: 180, male: 95, female: 85 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs5/app/datasource.tsx b/ej2-react/code-snippet/chart/series/scatter-cs5/app/datasource.tsx
new file mode 100644
index 000000000..ec271e18f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs5/app/datasource.tsx
@@ -0,0 +1,23 @@
+export let scatterData: Object[] = [
+ { height: 130, male: 35, female: 32 },
+ { height: 132, male: 38, female: 33 },
+ { height: 135, male: 41, female: 38 },
+ { height: 137, male: 43, female: 40 },
+ { height: 140, male: 45, female: 42 },
+ { height: 142, male: 46, female: 42.5 },
+ { height: 145, male: 48, female: 43 },
+ { height: 147, male: 50, female: 44 },
+ { height: 150, male: null, female: 45 },
+ { height: 152, male: 55, female: 45 },
+ { height: 155, male: 58, female: 46 },
+ { height: 157, male: 60, female: 48 },
+ { height: 160, male: 63, female: 51 },
+ { height: 162, male: 70, female: 54 },
+ { height: 165, male: undefined, female: 58 },
+ { height: 167, male: 78, female: 62 },
+ { height: 170, male: 82, female: 68 },
+ { height: 172, male: 87, female: 72 },
+ { height: 175, male: 89, female: 78 },
+ { height: 177, male: 92, female: 82 },
+ { height: 180, male: 95, female: 85 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs5/app/index.jsx b/ej2-react/code-snippet/chart/series/scatter-cs5/app/index.jsx
new file mode 100644
index 000000000..b943f6c9a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs5/app/index.jsx
@@ -0,0 +1,32 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, ScatterSeries } from '@syncfusion/ej2-react-charts';
+import { scatterData } from './datasource';
+
+function App() {
+ const primaryxAxis = {
+ title: 'Height (cm)', minimum: 130, maximum: 180,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}cm'
+ };
+ const primaryyAxis = {
+ title: 'Weight (kg)', minimum: 30, maximum: 100,
+ labelFormat: '{value}kg', rangePadding: 'None'
+ };
+ const marker1 = { width: 10, height: 10 };
+ const emptyPoint = { mode: 'Average', fill: 'red', border: {width:1.5, color: 'green'}};
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs5/app/index.tsx b/ej2-react/code-snippet/chart/series/scatter-cs5/app/index.tsx
new file mode 100644
index 000000000..ab74eb315
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs5/app/index.tsx
@@ -0,0 +1,37 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, ScatterSeries, Marker}
+from'@syncfusion/ej2-react-charts';
+import { scatterData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = {
+ title: 'Height (cm)', minimum: 130, maximum: 180,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}cm'
+ };
+ const primaryyAxis: AxisModel = {
+ title: 'Weight (kg)', minimum: 30, maximum: 100,
+ labelFormat: '{value}kg', rangePadding: 'None'
+ };
+ const marker1 = { width: 10, height: 10};
+ const emptyPoint = { mode: 'Average', fill: 'red', border: {width:1.5, color: 'green'}};
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs5/index.html b/ej2-react/code-snippet/chart/series/scatter-cs5/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs5/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs5/systemjs.config.js b/ej2-react/code-snippet/chart/series/scatter-cs5/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs5/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs6/app/datasource.jsx b/ej2-react/code-snippet/chart/series/scatter-cs6/app/datasource.jsx
new file mode 100644
index 000000000..a18eec576
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs6/app/datasource.jsx
@@ -0,0 +1,23 @@
+export let scatterData = [
+ { height: 130, male: 35, female: 32 },
+ { height: 132, male: 38, female: 33 },
+ { height: 135, male: 41, female: 38 },
+ { height: 137, male: 43, female: 40 },
+ { height: 140, male: 45, female: 42 },
+ { height: 142, male: 46, female: 42.5 },
+ { height: 145, male: 48, female: 43 },
+ { height: 147, male: 50, female: 44 },
+ { height: 150, male: 52, female: 45 },
+ { height: 152, male: 55, female: 45 },
+ { height: 155, male: 58, female: 46 },
+ { height: 157, male: 60, female: 48 },
+ { height: 160, male: 63, female: 51 },
+ { height: 162, male: 70, female: 54 },
+ { height: 165, male: 75, female: 58 },
+ { height: 167, male: 78, female: 62 },
+ { height: 170, male: 82, female: 68 },
+ { height: 172, male: 87, female: 72 },
+ { height: 175, male: 89, female: 78 },
+ { height: 177, male: 92, female: 82 },
+ { height: 180, male: 95, female: 85 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs6/app/datasource.tsx b/ej2-react/code-snippet/chart/series/scatter-cs6/app/datasource.tsx
new file mode 100644
index 000000000..09e360852
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs6/app/datasource.tsx
@@ -0,0 +1,23 @@
+export let scatterData: Object[] = [
+ { height: 130, male: 35, female: 32 },
+ { height: 132, male: 38, female: 33 },
+ { height: 135, male: 41, female: 38 },
+ { height: 137, male: 43, female: 40 },
+ { height: 140, male: 45, female: 42 },
+ { height: 142, male: 46, female: 42.5 },
+ { height: 145, male: 48, female: 43 },
+ { height: 147, male: 50, female: 44 },
+ { height: 150, male: 52, female: 45 },
+ { height: 152, male: 55, female: 45 },
+ { height: 155, male: 58, female: 46 },
+ { height: 157, male: 60, female: 48 },
+ { height: 160, male: 63, female: 51 },
+ { height: 162, male: 70, female: 54 },
+ { height: 165, male: 75, female: 58 },
+ { height: 167, male: 78, female: 62 },
+ { height: 170, male: 82, female: 68 },
+ { height: 172, male: 87, female: 72 },
+ { height: 175, male: 89, female: 78 },
+ { height: 177, male: 92, female: 82 },
+ { height: 180, male: 95, female: 85 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs6/app/index.jsx b/ej2-react/code-snippet/chart/series/scatter-cs6/app/index.jsx
new file mode 100644
index 000000000..4bc24990f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs6/app/index.jsx
@@ -0,0 +1,34 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, ScatterSeries } from '@syncfusion/ej2-react-charts';
+import { scatterData } from './datasource';
+
+function App() {
+ const primaryxAxis = {
+ title: 'Height (cm)', minimum: 130, maximum: 180,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}cm'
+ };
+ const primaryyAxis = {
+ title: 'Weight (kg)', minimum: 30, maximum: 100,
+ labelFormat: '{value}kg', rangePadding: 'None'
+ };
+ const marker1 = { width: 10, height: 10 };
+ const seriesRender = (args) => {
+ args.fill = '#ff6347';
+ }
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs6/app/index.tsx b/ej2-react/code-snippet/chart/series/scatter-cs6/app/index.tsx
new file mode 100644
index 000000000..74bb36174
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs6/app/index.tsx
@@ -0,0 +1,39 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, ScatterSeries, ISeriesRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { scatterData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = {
+ title: 'Height (cm)', minimum: 130, maximum: 180,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}cm'
+ };
+ const primaryyAxis: AxisModel = {
+ title: 'Weight (kg)', minimum: 30, maximum: 100,
+ labelFormat: '{value}kg', rangePadding: 'None'
+ };
+ const marker1 = { width: 10, height: 10};
+ const seriesRender = (args: ISeriesRenderEventArgs) => {
+ args.fill = '#ff6347';
+}
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs6/index.html b/ej2-react/code-snippet/chart/series/scatter-cs6/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs6/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs6/systemjs.config.js b/ej2-react/code-snippet/chart/series/scatter-cs6/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs6/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs7/app/datasource.jsx b/ej2-react/code-snippet/chart/series/scatter-cs7/app/datasource.jsx
new file mode 100644
index 000000000..a18eec576
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs7/app/datasource.jsx
@@ -0,0 +1,23 @@
+export let scatterData = [
+ { height: 130, male: 35, female: 32 },
+ { height: 132, male: 38, female: 33 },
+ { height: 135, male: 41, female: 38 },
+ { height: 137, male: 43, female: 40 },
+ { height: 140, male: 45, female: 42 },
+ { height: 142, male: 46, female: 42.5 },
+ { height: 145, male: 48, female: 43 },
+ { height: 147, male: 50, female: 44 },
+ { height: 150, male: 52, female: 45 },
+ { height: 152, male: 55, female: 45 },
+ { height: 155, male: 58, female: 46 },
+ { height: 157, male: 60, female: 48 },
+ { height: 160, male: 63, female: 51 },
+ { height: 162, male: 70, female: 54 },
+ { height: 165, male: 75, female: 58 },
+ { height: 167, male: 78, female: 62 },
+ { height: 170, male: 82, female: 68 },
+ { height: 172, male: 87, female: 72 },
+ { height: 175, male: 89, female: 78 },
+ { height: 177, male: 92, female: 82 },
+ { height: 180, male: 95, female: 85 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs7/app/datasource.tsx b/ej2-react/code-snippet/chart/series/scatter-cs7/app/datasource.tsx
new file mode 100644
index 000000000..09e360852
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs7/app/datasource.tsx
@@ -0,0 +1,23 @@
+export let scatterData: Object[] = [
+ { height: 130, male: 35, female: 32 },
+ { height: 132, male: 38, female: 33 },
+ { height: 135, male: 41, female: 38 },
+ { height: 137, male: 43, female: 40 },
+ { height: 140, male: 45, female: 42 },
+ { height: 142, male: 46, female: 42.5 },
+ { height: 145, male: 48, female: 43 },
+ { height: 147, male: 50, female: 44 },
+ { height: 150, male: 52, female: 45 },
+ { height: 152, male: 55, female: 45 },
+ { height: 155, male: 58, female: 46 },
+ { height: 157, male: 60, female: 48 },
+ { height: 160, male: 63, female: 51 },
+ { height: 162, male: 70, female: 54 },
+ { height: 165, male: 75, female: 58 },
+ { height: 167, male: 78, female: 62 },
+ { height: 170, male: 82, female: 68 },
+ { height: 172, male: 87, female: 72 },
+ { height: 175, male: 89, female: 78 },
+ { height: 177, male: 92, female: 82 },
+ { height: 180, male: 95, female: 85 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs7/app/index.jsx b/ej2-react/code-snippet/chart/series/scatter-cs7/app/index.jsx
new file mode 100644
index 000000000..5ef69556b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs7/app/index.jsx
@@ -0,0 +1,39 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, ScatterSeries } from '@syncfusion/ej2-react-charts';
+import { scatterData } from './datasource';
+
+function App() {
+ const primaryxAxis = {
+ title: 'Height (cm)', minimum: 130, maximum: 180,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}cm'
+ };
+ const primaryyAxis = {
+ title: 'Weight (kg)', minimum: 30, maximum: 100,
+ labelFormat: '{value}kg', rangePadding: 'None'
+ };
+ const marker1 = { width: 10, height: 10 };
+ const pointRender = (args) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ }
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs7/app/index.tsx b/ej2-react/code-snippet/chart/series/scatter-cs7/app/index.tsx
new file mode 100644
index 000000000..93f1a8f8d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs7/app/index.tsx
@@ -0,0 +1,44 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, ScatterSeries, IPointRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { scatterData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = {
+ title: 'Height (cm)', minimum: 130, maximum: 180,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}cm'
+ };
+ const primaryyAxis: AxisModel = {
+ title: 'Weight (kg)', minimum: 30, maximum: 100,
+ labelFormat: '{value}kg', rangePadding: 'None'
+ };
+ const marker1 = { width: 10, height: 10};
+ const pointRender = (args: IPointRenderEventArgs) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+}
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs7/index.html b/ej2-react/code-snippet/chart/series/scatter-cs7/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs7/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/scatter-cs7/systemjs.config.js b/ej2-react/code-snippet/chart/series/scatter-cs7/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/scatter-cs7/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/spline-cs1/app/index.jsx b/ej2-react/code-snippet/chart/series/spline-cs1/app/index.jsx
index 59dcab3b2..3b189a030 100644
--- a/ej2-react/code-snippet/chart/series/spline-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/chart/series/spline-cs1/app/index.jsx
@@ -3,11 +3,11 @@ import * as ReactDOM from "react-dom";
import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, SplineSeries } from '@syncfusion/ej2-react-charts';
import { data } from './datasource';
function App() {
- const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ const marker = { visible: true, width: 10, height: 10 };
return
-
+
;
diff --git a/ej2-react/code-snippet/chart/series/spline-cs1/app/index.tsx b/ej2-react/code-snippet/chart/series/spline-cs1/app/index.tsx
index 6bcf4e33a..15f6f15e2 100644
--- a/ej2-react/code-snippet/chart/series/spline-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/chart/series/spline-cs1/app/index.tsx
@@ -9,12 +9,12 @@ import { data } from './datasource';
function App() {
- const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ const marker = { visible: true, width: 10, height: 10};
return
-
diff --git a/ej2-react/code-snippet/chart/series/spline-cs10/app/datasource.jsx b/ej2-react/code-snippet/chart/series/spline-cs10/app/datasource.jsx
new file mode 100644
index 000000000..609287ba7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs10/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs10/app/datasource.tsx b/ej2-react/code-snippet/chart/series/spline-cs10/app/datasource.tsx
new file mode 100644
index 000000000..c88c0e7d8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs10/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs10/app/index.jsx b/ej2-react/code-snippet/chart/series/spline-cs10/app/index.jsx
new file mode 100644
index 000000000..4a5445f0e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs10/app/index.jsx
@@ -0,0 +1,20 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, SplineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10 };
+ const seriesRender =(args) => {
+ args.fill = '#ff6347';
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/spline-cs10/app/index.tsx b/ej2-react/code-snippet/chart/series/spline-cs10/app/index.tsx
new file mode 100644
index 000000000..efa9fba55
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs10/app/index.tsx
@@ -0,0 +1,30 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, SplineSeries, ISeriesRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10};
+ const seriesRender: object =(args: ISeriesRenderEventArgs) => {
+ args.fill = '#ff6347';
+}
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/spline-cs10/index.html b/ej2-react/code-snippet/chart/series/spline-cs10/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs10/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs10/systemjs.config.js b/ej2-react/code-snippet/chart/series/spline-cs10/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs10/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/spline-cs11/app/datasource.jsx b/ej2-react/code-snippet/chart/series/spline-cs11/app/datasource.jsx
new file mode 100644
index 000000000..609287ba7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs11/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs11/app/datasource.tsx b/ej2-react/code-snippet/chart/series/spline-cs11/app/datasource.tsx
new file mode 100644
index 000000000..c88c0e7d8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs11/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs11/app/index.jsx b/ej2-react/code-snippet/chart/series/spline-cs11/app/index.jsx
new file mode 100644
index 000000000..60ebd533e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs11/app/index.jsx
@@ -0,0 +1,20 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, SplineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10 };
+ const pointRender =(args) => {
+ args.fill = '#ff6347';
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/spline-cs11/app/index.tsx b/ej2-react/code-snippet/chart/series/spline-cs11/app/index.tsx
new file mode 100644
index 000000000..f2bd7ffbe
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs11/app/index.tsx
@@ -0,0 +1,30 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, SplineSeries, IPointRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10};
+ const pointRender: object =(args: IPointRenderEventArgs) => {
+ args.fill = '#ff6347';
+}
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/spline-cs11/index.html b/ej2-react/code-snippet/chart/series/spline-cs11/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs11/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs11/systemjs.config.js b/ej2-react/code-snippet/chart/series/spline-cs11/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs11/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/spline-cs2/app/datasource.jsx b/ej2-react/code-snippet/chart/series/spline-cs2/app/datasource.jsx
new file mode 100644
index 000000000..c48bb73ff
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs2/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineData = [
+ { x: 'Jan', y: -1 },
+ { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 },
+ { x: 'Apr', y: 8 },
+ { x: 'May', y: 13 },
+ { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 },
+ { x: 'Aug', y: 20 },
+ { x: 'Sep', y: 16 },
+ { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 },
+ { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs2/app/datasource.tsx b/ej2-react/code-snippet/chart/series/spline-cs2/app/datasource.tsx
new file mode 100644
index 000000000..31216bfde
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs2/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineData: Object[] = [
+ { x: 'Jan', y: -1 },
+ { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 },
+ { x: 'Apr', y: 8 },
+ { x: 'May', y: 13 },
+ { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 },
+ { x: 'Aug', y: 20 },
+ { x: 'Sep', y: 16 },
+ { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 },
+ { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs2/app/index.jsx b/ej2-react/code-snippet/chart/series/spline-cs2/app/index.jsx
new file mode 100644
index 000000000..cfa6dab13
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs2/app/index.jsx
@@ -0,0 +1,26 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, SplineSeries } from '@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Month', valueType: 'Category' };
+ const primaryyAxis = {
+ minimum: -5, maximum: 35, interval: 5,
+ title: 'Temperature in Celsius', labelFormat: '{value}C'
+ };
+ const marker = { visible: true, width: 10, height: 10 };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs2/app/index.tsx b/ej2-react/code-snippet/chart/series/spline-cs2/app/index.tsx
new file mode 100644
index 000000000..3015bc802
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs2/app/index.tsx
@@ -0,0 +1,36 @@
+
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, SplineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Month', valueType: 'Category' };
+ const primaryyAxis: AxisModel = {
+ minimum: -5, maximum: 35, interval: 5,
+ title: 'Temperature in Celsius', labelFormat: '{value}C'
+ };
+ const marker = { visible: true, width: 10, height: 10 };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/spline-cs2/index.html b/ej2-react/code-snippet/chart/series/spline-cs2/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs2/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs2/systemjs.config.js b/ej2-react/code-snippet/chart/series/spline-cs2/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs2/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/spline-cs3/app/datasource.jsx b/ej2-react/code-snippet/chart/series/spline-cs3/app/datasource.jsx
new file mode 100644
index 000000000..609287ba7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs3/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs3/app/datasource.tsx b/ej2-react/code-snippet/chart/series/spline-cs3/app/datasource.tsx
new file mode 100644
index 000000000..c88c0e7d8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs3/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs3/app/index.jsx b/ej2-react/code-snippet/chart/series/spline-cs3/app/index.jsx
new file mode 100644
index 000000000..59dde628a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs3/app/index.jsx
@@ -0,0 +1,17 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, SplineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10 };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/spline-cs3/app/index.tsx b/ej2-react/code-snippet/chart/series/spline-cs3/app/index.tsx
new file mode 100644
index 000000000..8fd42a0a9
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs3/app/index.tsx
@@ -0,0 +1,28 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, SplineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10};
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/spline-cs3/index.html b/ej2-react/code-snippet/chart/series/spline-cs3/index.html
new file mode 100644
index 000000000..3053259ce
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs3/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs3/systemjs.config.js b/ej2-react/code-snippet/chart/series/spline-cs3/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs3/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/spline-cs4/app/datasource.jsx b/ej2-react/code-snippet/chart/series/spline-cs4/app/datasource.jsx
new file mode 100644
index 000000000..609287ba7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs4/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs4/app/datasource.tsx b/ej2-react/code-snippet/chart/series/spline-cs4/app/datasource.tsx
new file mode 100644
index 000000000..c88c0e7d8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs4/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs4/app/index.jsx b/ej2-react/code-snippet/chart/series/spline-cs4/app/index.jsx
new file mode 100644
index 000000000..3cb08b929
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs4/app/index.jsx
@@ -0,0 +1,17 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, SplineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10 };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/spline-cs4/app/index.tsx b/ej2-react/code-snippet/chart/series/spline-cs4/app/index.tsx
new file mode 100644
index 000000000..bd188c044
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs4/app/index.tsx
@@ -0,0 +1,28 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, SplineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10};
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/spline-cs4/index.html b/ej2-react/code-snippet/chart/series/spline-cs4/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs4/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs4/systemjs.config.js b/ej2-react/code-snippet/chart/series/spline-cs4/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs4/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/spline-cs5/app/datasource.jsx b/ej2-react/code-snippet/chart/series/spline-cs5/app/datasource.jsx
new file mode 100644
index 000000000..609287ba7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs5/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs5/app/datasource.tsx b/ej2-react/code-snippet/chart/series/spline-cs5/app/datasource.tsx
new file mode 100644
index 000000000..c88c0e7d8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs5/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs5/app/index.jsx b/ej2-react/code-snippet/chart/series/spline-cs5/app/index.jsx
new file mode 100644
index 000000000..c9c4baccd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs5/app/index.jsx
@@ -0,0 +1,17 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, SplineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10 };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/spline-cs5/app/index.tsx b/ej2-react/code-snippet/chart/series/spline-cs5/app/index.tsx
new file mode 100644
index 000000000..637728141
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs5/app/index.tsx
@@ -0,0 +1,28 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, SplineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10};
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/spline-cs5/index.html b/ej2-react/code-snippet/chart/series/spline-cs5/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs5/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs5/systemjs.config.js b/ej2-react/code-snippet/chart/series/spline-cs5/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs5/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/spline-cs6/app/datasource.jsx b/ej2-react/code-snippet/chart/series/spline-cs6/app/datasource.jsx
new file mode 100644
index 000000000..609287ba7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs6/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs6/app/datasource.tsx b/ej2-react/code-snippet/chart/series/spline-cs6/app/datasource.tsx
new file mode 100644
index 000000000..c88c0e7d8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs6/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs6/app/index.jsx b/ej2-react/code-snippet/chart/series/spline-cs6/app/index.jsx
new file mode 100644
index 000000000..f2fc713ef
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs6/app/index.jsx
@@ -0,0 +1,17 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, SplineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10 };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/spline-cs6/app/index.tsx b/ej2-react/code-snippet/chart/series/spline-cs6/app/index.tsx
new file mode 100644
index 000000000..c4a6a66ce
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs6/app/index.tsx
@@ -0,0 +1,28 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, SplineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10};
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/spline-cs6/index.html b/ej2-react/code-snippet/chart/series/spline-cs6/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs6/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs6/systemjs.config.js b/ej2-react/code-snippet/chart/series/spline-cs6/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs6/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/spline-cs7/app/datasource.jsx b/ej2-react/code-snippet/chart/series/spline-cs7/app/datasource.jsx
new file mode 100644
index 000000000..5c1f63bad
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs7/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: null },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs7/app/datasource.tsx b/ej2-react/code-snippet/chart/series/spline-cs7/app/datasource.tsx
new file mode 100644
index 000000000..1e492c6ad
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs7/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: null },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs7/app/index.jsx b/ej2-react/code-snippet/chart/series/spline-cs7/app/index.jsx
new file mode 100644
index 000000000..7daa1dc15
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs7/app/index.jsx
@@ -0,0 +1,18 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, SplineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10 };
+ const emptyPoint = { mode: 'Gap' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/spline-cs7/app/index.tsx b/ej2-react/code-snippet/chart/series/spline-cs7/app/index.tsx
new file mode 100644
index 000000000..215ef2dfd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs7/app/index.tsx
@@ -0,0 +1,28 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, SplineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10};
+ const emptyPoint: object = { mode: 'Gap' };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/spline-cs7/index.html b/ej2-react/code-snippet/chart/series/spline-cs7/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs7/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs7/systemjs.config.js b/ej2-react/code-snippet/chart/series/spline-cs7/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs7/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/spline-cs8/app/datasource.jsx b/ej2-react/code-snippet/chart/series/spline-cs8/app/datasource.jsx
new file mode 100644
index 000000000..5c1f63bad
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs8/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: null },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs8/app/datasource.tsx b/ej2-react/code-snippet/chart/series/spline-cs8/app/datasource.tsx
new file mode 100644
index 000000000..1e492c6ad
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs8/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: null },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs8/app/index.jsx b/ej2-react/code-snippet/chart/series/spline-cs8/app/index.jsx
new file mode 100644
index 000000000..dda8af8da
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs8/app/index.jsx
@@ -0,0 +1,18 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, SplineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10 };
+ const emptyPoint = { mode: 'Average', fill: 'red' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/spline-cs8/app/index.tsx b/ej2-react/code-snippet/chart/series/spline-cs8/app/index.tsx
new file mode 100644
index 000000000..7aa89243b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs8/app/index.tsx
@@ -0,0 +1,28 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, SplineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10};
+ const emptyPoint: object = { mode: 'Average', fill: 'red' };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/spline-cs8/index.html b/ej2-react/code-snippet/chart/series/spline-cs8/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs8/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs8/systemjs.config.js b/ej2-react/code-snippet/chart/series/spline-cs8/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs8/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/spline-cs9/app/datasource.jsx b/ej2-react/code-snippet/chart/series/spline-cs9/app/datasource.jsx
new file mode 100644
index 000000000..5c1f63bad
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs9/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: null },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs9/app/datasource.tsx b/ej2-react/code-snippet/chart/series/spline-cs9/app/datasource.tsx
new file mode 100644
index 000000000..1e492c6ad
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs9/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: null },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs9/app/index.jsx b/ej2-react/code-snippet/chart/series/spline-cs9/app/index.jsx
new file mode 100644
index 000000000..338db524c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs9/app/index.jsx
@@ -0,0 +1,18 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, SplineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10 };
+ const emptyPoint = { mode: 'Average', fill: 'red', border: {width: 1.5, color: 'green'} };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/spline-cs9/app/index.tsx b/ej2-react/code-snippet/chart/series/spline-cs9/app/index.tsx
new file mode 100644
index 000000000..09f141591
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs9/app/index.tsx
@@ -0,0 +1,28 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, SplineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10};
+ const emptyPoint: object = { mode: 'Average', fill: 'red', border: {width: 1.5, color: 'green'} };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/spline-cs9/index.html b/ej2-react/code-snippet/chart/series/spline-cs9/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs9/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/spline-cs9/systemjs.config.js b/ej2-react/code-snippet/chart/series/spline-cs9/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/spline-cs9/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs/app/index.jsx b/ej2-react/code-snippet/chart/series/splinearea-cs/app/index.jsx
index 9a0396bbb..9dfcf03d2 100644
--- a/ej2-react/code-snippet/chart/series/splinearea-cs/app/index.jsx
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs/app/index.jsx
@@ -9,7 +9,7 @@ function App() {
return
-
+
;
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs/app/index.tsx b/ej2-react/code-snippet/chart/series/splinearea-cs/app/index.tsx
index fdc437dd3..02096c636 100644
--- a/ej2-react/code-snippet/chart/series/splinearea-cs/app/index.tsx
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs/app/index.tsx
@@ -15,7 +15,7 @@ function App() {
primaryXAxis={primaryxAxis}>
-
+
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs1/app/datasource.jsx b/ej2-react/code-snippet/chart/series/splinearea-cs1/app/datasource.jsx
new file mode 100644
index 000000000..a154a64ed
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs1/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineData = [
+ { x: 'Jan', y: -1 },
+ { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 },
+ { x: 'Apr', y: 8 },
+ { x: 'May', y: 13 },
+ { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 },
+ { x: 'Aug', y: 20 },
+ { x: 'Sep', y: 16 },
+ { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 },
+ { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs1/app/datasource.tsx b/ej2-react/code-snippet/chart/series/splinearea-cs1/app/datasource.tsx
new file mode 100644
index 000000000..763df4211
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs1/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineData: Object[] = [
+ { x: 'Jan', y: -1 },
+ { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 },
+ { x: 'Apr', y: 8 },
+ { x: 'May', y: 13 },
+ { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 },
+ { x: 'Aug', y: 20 },
+ { x: 'Sep', y: 16 },
+ { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 },
+ { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs1/app/index.jsx b/ej2-react/code-snippet/chart/series/splinearea-cs1/app/index.jsx
new file mode 100644
index 000000000..815b2ea99
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs1/app/index.jsx
@@ -0,0 +1,21 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, SplineAreaSeries, Legend, Category, Tooltip, DataLabel } from '@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Month', valueType: 'Category' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs1/app/index.tsx b/ej2-react/code-snippet/chart/series/splinearea-cs1/app/index.tsx
new file mode 100644
index 000000000..f53859508
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs1/app/index.tsx
@@ -0,0 +1,27 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, SplineAreaSeries,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, SplineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Month', valueType: 'Category' };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs1/index.html b/ej2-react/code-snippet/chart/series/splinearea-cs1/index.html
new file mode 100644
index 000000000..7ffca4046
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs1/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs1/systemjs.config.js b/ej2-react/code-snippet/chart/series/splinearea-cs1/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs1/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs2/app/datasource.jsx b/ej2-react/code-snippet/chart/series/splinearea-cs2/app/datasource.jsx
new file mode 100644
index 000000000..a154a64ed
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs2/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineData = [
+ { x: 'Jan', y: -1 },
+ { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 },
+ { x: 'Apr', y: 8 },
+ { x: 'May', y: 13 },
+ { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 },
+ { x: 'Aug', y: 20 },
+ { x: 'Sep', y: 16 },
+ { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 },
+ { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs2/app/datasource.tsx b/ej2-react/code-snippet/chart/series/splinearea-cs2/app/datasource.tsx
new file mode 100644
index 000000000..763df4211
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs2/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineData: Object[] = [
+ { x: 'Jan', y: -1 },
+ { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 },
+ { x: 'Apr', y: 8 },
+ { x: 'May', y: 13 },
+ { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 },
+ { x: 'Aug', y: 20 },
+ { x: 'Sep', y: 16 },
+ { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 },
+ { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs2/app/index.jsx b/ej2-react/code-snippet/chart/series/splinearea-cs2/app/index.jsx
new file mode 100644
index 000000000..19f63b8db
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs2/app/index.jsx
@@ -0,0 +1,21 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, SplineAreaSeries, Legend, Category, Tooltip, DataLabel } from '@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Month', valueType: 'Category' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs2/app/index.tsx b/ej2-react/code-snippet/chart/series/splinearea-cs2/app/index.tsx
new file mode 100644
index 000000000..bd824d221
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs2/app/index.tsx
@@ -0,0 +1,27 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, SplineAreaSeries,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, SplineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Month', valueType: 'Category' };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs2/index.html b/ej2-react/code-snippet/chart/series/splinearea-cs2/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs2/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs2/systemjs.config.js b/ej2-react/code-snippet/chart/series/splinearea-cs2/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs2/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs3/app/datasource.jsx b/ej2-react/code-snippet/chart/series/splinearea-cs3/app/datasource.jsx
new file mode 100644
index 000000000..a154a64ed
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs3/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineData = [
+ { x: 'Jan', y: -1 },
+ { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 },
+ { x: 'Apr', y: 8 },
+ { x: 'May', y: 13 },
+ { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 },
+ { x: 'Aug', y: 20 },
+ { x: 'Sep', y: 16 },
+ { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 },
+ { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs3/app/datasource.tsx b/ej2-react/code-snippet/chart/series/splinearea-cs3/app/datasource.tsx
new file mode 100644
index 000000000..763df4211
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs3/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineData: Object[] = [
+ { x: 'Jan', y: -1 },
+ { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 },
+ { x: 'Apr', y: 8 },
+ { x: 'May', y: 13 },
+ { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 },
+ { x: 'Aug', y: 20 },
+ { x: 'Sep', y: 16 },
+ { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 },
+ { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs3/app/index.jsx b/ej2-react/code-snippet/chart/series/splinearea-cs3/app/index.jsx
new file mode 100644
index 000000000..6636cff21
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs3/app/index.jsx
@@ -0,0 +1,22 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, SplineAreaSeries, Legend, Category, Tooltip, DataLabel } from '@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Month', valueType: 'Category' };
+ const border = { width: 1.5, color: 'blue'}
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs3/app/index.tsx b/ej2-react/code-snippet/chart/series/splinearea-cs3/app/index.tsx
new file mode 100644
index 000000000..e4bb5fbf0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs3/app/index.tsx
@@ -0,0 +1,27 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, SplineAreaSeries,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, SplineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Month', valueType: 'Category' };
+ const border: object = { width: 1.5, color: 'blue'};
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs3/index.html b/ej2-react/code-snippet/chart/series/splinearea-cs3/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs3/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs3/systemjs.config.js b/ej2-react/code-snippet/chart/series/splinearea-cs3/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs3/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs4/app/datasource.jsx b/ej2-react/code-snippet/chart/series/splinearea-cs4/app/datasource.jsx
new file mode 100644
index 000000000..fd811ad34
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs4/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineData = [
+ { x: 'Jan', y: -1 },
+ { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 },
+ { x: 'Apr', y: null },
+ { x: 'May', y: 13 },
+ { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 },
+ { x: 'Aug', y: 20 },
+ { x: 'Sep', y: undefined },
+ { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 },
+ { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs4/app/datasource.tsx b/ej2-react/code-snippet/chart/series/splinearea-cs4/app/datasource.tsx
new file mode 100644
index 000000000..c6c992568
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs4/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineData: Object[] = [
+ { x: 'Jan', y: -1 },
+ { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 },
+ { x: 'Apr', y: null },
+ { x: 'May', y: 13 },
+ { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 },
+ { x: 'Aug', y: 20 },
+ { x: 'Sep', y: undefined },
+ { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 },
+ { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs4/app/index.jsx b/ej2-react/code-snippet/chart/series/splinearea-cs4/app/index.jsx
new file mode 100644
index 000000000..649c744a0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs4/app/index.jsx
@@ -0,0 +1,22 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, SplineAreaSeries, Legend, Category, Tooltip, DataLabel } from '@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Month', valueType: 'Category' };
+ const emptyPoint = { mode: 'Gap' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs4/app/index.tsx b/ej2-react/code-snippet/chart/series/splinearea-cs4/app/index.tsx
new file mode 100644
index 000000000..134e2166e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs4/app/index.tsx
@@ -0,0 +1,27 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, SplineAreaSeries,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, SplineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Month', valueType: 'Category' };
+ const emptyPoint: object = { mode: 'Gap' };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs4/index.html b/ej2-react/code-snippet/chart/series/splinearea-cs4/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs4/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs4/systemjs.config.js b/ej2-react/code-snippet/chart/series/splinearea-cs4/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs4/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs5/app/datasource.jsx b/ej2-react/code-snippet/chart/series/splinearea-cs5/app/datasource.jsx
new file mode 100644
index 000000000..fd811ad34
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs5/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineData = [
+ { x: 'Jan', y: -1 },
+ { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 },
+ { x: 'Apr', y: null },
+ { x: 'May', y: 13 },
+ { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 },
+ { x: 'Aug', y: 20 },
+ { x: 'Sep', y: undefined },
+ { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 },
+ { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs5/app/datasource.tsx b/ej2-react/code-snippet/chart/series/splinearea-cs5/app/datasource.tsx
new file mode 100644
index 000000000..c6c992568
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs5/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineData: Object[] = [
+ { x: 'Jan', y: -1 },
+ { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 },
+ { x: 'Apr', y: null },
+ { x: 'May', y: 13 },
+ { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 },
+ { x: 'Aug', y: 20 },
+ { x: 'Sep', y: undefined },
+ { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 },
+ { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs5/app/index.jsx b/ej2-react/code-snippet/chart/series/splinearea-cs5/app/index.jsx
new file mode 100644
index 000000000..a69f6f143
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs5/app/index.jsx
@@ -0,0 +1,22 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, SplineAreaSeries, Legend, Category, Tooltip, DataLabel } from '@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Month', valueType: 'Category' };
+ const emptyPoint = { mode: 'Average', fill: 'red' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs5/app/index.tsx b/ej2-react/code-snippet/chart/series/splinearea-cs5/app/index.tsx
new file mode 100644
index 000000000..6b584c22c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs5/app/index.tsx
@@ -0,0 +1,27 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, SplineAreaSeries,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, SplineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Month', valueType: 'Category' };
+ const emptyPoint: object = { mode: 'Average', fill: 'red' };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs5/index.html b/ej2-react/code-snippet/chart/series/splinearea-cs5/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs5/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs5/systemjs.config.js b/ej2-react/code-snippet/chart/series/splinearea-cs5/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs5/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs6/app/datasource.jsx b/ej2-react/code-snippet/chart/series/splinearea-cs6/app/datasource.jsx
new file mode 100644
index 000000000..fd811ad34
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs6/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineData = [
+ { x: 'Jan', y: -1 },
+ { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 },
+ { x: 'Apr', y: null },
+ { x: 'May', y: 13 },
+ { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 },
+ { x: 'Aug', y: 20 },
+ { x: 'Sep', y: undefined },
+ { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 },
+ { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs6/app/datasource.tsx b/ej2-react/code-snippet/chart/series/splinearea-cs6/app/datasource.tsx
new file mode 100644
index 000000000..c6c992568
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs6/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineData: Object[] = [
+ { x: 'Jan', y: -1 },
+ { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 },
+ { x: 'Apr', y: null },
+ { x: 'May', y: 13 },
+ { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 },
+ { x: 'Aug', y: 20 },
+ { x: 'Sep', y: undefined },
+ { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 },
+ { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs6/app/index.jsx b/ej2-react/code-snippet/chart/series/splinearea-cs6/app/index.jsx
new file mode 100644
index 000000000..6dd896a04
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs6/app/index.jsx
@@ -0,0 +1,22 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, SplineAreaSeries, Legend, Category, Tooltip, DataLabel } from '@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Month', valueType: 'Category' };
+ const emptyPoint = { mode: 'Average', fill: 'red', border: {width: 1.5, color: 'green'} };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs6/app/index.tsx b/ej2-react/code-snippet/chart/series/splinearea-cs6/app/index.tsx
new file mode 100644
index 000000000..da3b9932d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs6/app/index.tsx
@@ -0,0 +1,27 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, SplineAreaSeries,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, SplineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Month', valueType: 'Category' };
+ const emptyPoint: object = { mode: 'Average', fill: 'red', border: {width: 1.5, color: 'green'} };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs6/index.html b/ej2-react/code-snippet/chart/series/splinearea-cs6/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs6/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs6/systemjs.config.js b/ej2-react/code-snippet/chart/series/splinearea-cs6/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs6/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs7/app/datasource.jsx b/ej2-react/code-snippet/chart/series/splinearea-cs7/app/datasource.jsx
new file mode 100644
index 000000000..a154a64ed
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs7/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineData = [
+ { x: 'Jan', y: -1 },
+ { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 },
+ { x: 'Apr', y: 8 },
+ { x: 'May', y: 13 },
+ { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 },
+ { x: 'Aug', y: 20 },
+ { x: 'Sep', y: 16 },
+ { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 },
+ { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs7/app/datasource.tsx b/ej2-react/code-snippet/chart/series/splinearea-cs7/app/datasource.tsx
new file mode 100644
index 000000000..763df4211
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs7/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineData: Object[] = [
+ { x: 'Jan', y: -1 },
+ { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 },
+ { x: 'Apr', y: 8 },
+ { x: 'May', y: 13 },
+ { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 },
+ { x: 'Aug', y: 20 },
+ { x: 'Sep', y: 16 },
+ { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 },
+ { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs7/app/index.jsx b/ej2-react/code-snippet/chart/series/splinearea-cs7/app/index.jsx
new file mode 100644
index 000000000..2a0a862b8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs7/app/index.jsx
@@ -0,0 +1,24 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, SplineAreaSeries, Legend, Category, Tooltip, DataLabel } from '@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Month', valueType: 'Category' };
+ const seriesRender = (args) => {
+ args.fill = '#ff6347';
+ }
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs7/app/index.tsx b/ej2-react/code-snippet/chart/series/splinearea-cs7/app/index.tsx
new file mode 100644
index 000000000..3ee801be4
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs7/app/index.tsx
@@ -0,0 +1,29 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, SplineAreaSeries,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, SplineSeries, ISeriesRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Month', valueType: 'Category' };
+ const seriesRender = (args: ISeriesRenderEventArgs) => {
+ args.fill = '#ff6347';
+ };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs7/index.html b/ej2-react/code-snippet/chart/series/splinearea-cs7/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs7/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs7/systemjs.config.js b/ej2-react/code-snippet/chart/series/splinearea-cs7/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs7/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs8/app/datasource.jsx b/ej2-react/code-snippet/chart/series/splinearea-cs8/app/datasource.jsx
new file mode 100644
index 000000000..a154a64ed
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs8/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineData = [
+ { x: 'Jan', y: -1 },
+ { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 },
+ { x: 'Apr', y: 8 },
+ { x: 'May', y: 13 },
+ { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 },
+ { x: 'Aug', y: 20 },
+ { x: 'Sep', y: 16 },
+ { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 },
+ { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs8/app/datasource.tsx b/ej2-react/code-snippet/chart/series/splinearea-cs8/app/datasource.tsx
new file mode 100644
index 000000000..763df4211
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs8/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineData: Object[] = [
+ { x: 'Jan', y: -1 },
+ { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 },
+ { x: 'Apr', y: 8 },
+ { x: 'May', y: 13 },
+ { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 },
+ { x: 'Aug', y: 20 },
+ { x: 'Sep', y: 16 },
+ { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 },
+ { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs8/app/index.jsx b/ej2-react/code-snippet/chart/series/splinearea-cs8/app/index.jsx
new file mode 100644
index 000000000..967184aae
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs8/app/index.jsx
@@ -0,0 +1,29 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, SplineAreaSeries, Legend, Category, Tooltip, DataLabel } from '@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Month', valueType: 'Category' };
+ const pointRender = (args) => {
+ if (args.point.y < 10) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ }
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs8/app/index.tsx b/ej2-react/code-snippet/chart/series/splinearea-cs8/app/index.tsx
new file mode 100644
index 000000000..af47640ea
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs8/app/index.tsx
@@ -0,0 +1,34 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, SplineAreaSeries,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, SplineSeries, IPointRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Month', valueType: 'Category' };
+ const pointRender = (args: IPointRenderEventArgs) => {
+ if (args.point.y < 10) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs8/index.html b/ej2-react/code-snippet/chart/series/splinearea-cs8/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs8/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinearea-cs8/systemjs.config.js b/ej2-react/code-snippet/chart/series/splinearea-cs8/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinearea-cs8/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs/app/index.jsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs/app/index.jsx
index 1b1e05abc..00edf5791 100644
--- a/ej2-react/code-snippet/chart/series/splinerangearea-cs/app/index.jsx
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs/app/index.jsx
@@ -19,9 +19,9 @@ function App() {
return
-
+
-
+
;
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs/app/index.tsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs/app/index.tsx
index 52d5faf87..1f491c908 100644
--- a/ej2-react/code-snippet/chart/series/splinerangearea-cs/app/index.tsx
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs/app/index.tsx
@@ -25,9 +25,9 @@ function App() {
title='Monthly Temperature Range'>
-
+
-
+
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs1/app/datasource.jsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs1/app/datasource.jsx
new file mode 100644
index 000000000..2badb1497
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs1/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineRangeData = [
+ { x: 'Jan', high: 14, low: 4, high1: 29, low1: 19 },
+ { x: 'Feb', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Mar', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Apr', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'May', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Jun', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Jul', high: 15, low: 5, high1: 30, low1: 20 },
+ { x: 'Aug', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Sep', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Oct', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'Nov', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Dec', high: 17, low: 7, high1: 32, low1: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs1/app/datasource.tsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs1/app/datasource.tsx
new file mode 100644
index 000000000..a293dce14
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs1/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineRangeData: Object[] = [
+ { x: 'Jan', high: 14, low: 4, high1: 29, low1: 19 },
+ { x: 'Feb', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Mar', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Apr', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'May', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Jun', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Jul', high: 15, low: 5, high1: 30, low1: 20 },
+ { x: 'Aug', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Sep', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Oct', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'Nov', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Dec', high: 17, low: 7, high1: 32, low1: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs1/app/index.jsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs1/app/index.jsx
new file mode 100644
index 000000000..790334ef6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs1/app/index.jsx
@@ -0,0 +1,33 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, SplineRangeAreaSeries } from '@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ return
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs1/app/index.tsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs1/app/index.tsx
new file mode 100644
index 000000000..07ceb27e6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs1/app/index.tsx
@@ -0,0 +1,39 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, SplineRangeAreaSeries} from'@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis: AxisModel = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+
+ return
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs1/index.html b/ej2-react/code-snippet/chart/series/splinerangearea-cs1/index.html
new file mode 100644
index 000000000..915775466
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs1/index.html
@@ -0,0 +1,51 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs1/systemjs.config.js b/ej2-react/code-snippet/chart/series/splinerangearea-cs1/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs1/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs2/app/datasource.jsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs2/app/datasource.jsx
new file mode 100644
index 000000000..2badb1497
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs2/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineRangeData = [
+ { x: 'Jan', high: 14, low: 4, high1: 29, low1: 19 },
+ { x: 'Feb', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Mar', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Apr', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'May', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Jun', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Jul', high: 15, low: 5, high1: 30, low1: 20 },
+ { x: 'Aug', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Sep', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Oct', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'Nov', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Dec', high: 17, low: 7, high1: 32, low1: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs2/app/datasource.tsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs2/app/datasource.tsx
new file mode 100644
index 000000000..a293dce14
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs2/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineRangeData: Object[] = [
+ { x: 'Jan', high: 14, low: 4, high1: 29, low1: 19 },
+ { x: 'Feb', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Mar', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Apr', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'May', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Jun', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Jul', high: 15, low: 5, high1: 30, low1: 20 },
+ { x: 'Aug', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Sep', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Oct', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'Nov', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Dec', high: 17, low: 7, high1: 32, low1: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs2/app/index.jsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs2/app/index.jsx
new file mode 100644
index 000000000..5454c0919
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs2/app/index.jsx
@@ -0,0 +1,33 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, SplineRangeAreaSeries } from '@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ return
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs2/app/index.tsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs2/app/index.tsx
new file mode 100644
index 000000000..f239f4b5a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs2/app/index.tsx
@@ -0,0 +1,39 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, SplineRangeAreaSeries} from'@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis: AxisModel = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+
+ return
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs2/index.html b/ej2-react/code-snippet/chart/series/splinerangearea-cs2/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs2/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs2/systemjs.config.js b/ej2-react/code-snippet/chart/series/splinerangearea-cs2/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs2/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs3/app/datasource.jsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs3/app/datasource.jsx
new file mode 100644
index 000000000..2badb1497
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs3/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineRangeData = [
+ { x: 'Jan', high: 14, low: 4, high1: 29, low1: 19 },
+ { x: 'Feb', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Mar', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Apr', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'May', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Jun', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Jul', high: 15, low: 5, high1: 30, low1: 20 },
+ { x: 'Aug', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Sep', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Oct', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'Nov', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Dec', high: 17, low: 7, high1: 32, low1: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs3/app/datasource.tsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs3/app/datasource.tsx
new file mode 100644
index 000000000..a293dce14
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs3/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineRangeData: Object[] = [
+ { x: 'Jan', high: 14, low: 4, high1: 29, low1: 19 },
+ { x: 'Feb', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Mar', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Apr', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'May', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Jun', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Jul', high: 15, low: 5, high1: 30, low1: 20 },
+ { x: 'Aug', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Sep', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Oct', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'Nov', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Dec', high: 17, low: 7, high1: 32, low1: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs3/app/index.jsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs3/app/index.jsx
new file mode 100644
index 000000000..e76356573
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs3/app/index.jsx
@@ -0,0 +1,34 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, SplineRangeAreaSeries } from '@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const border = { width: 1.5, color: 'Blue'};
+ return
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs3/app/index.tsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs3/app/index.tsx
new file mode 100644
index 000000000..93c6ab9bf
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs3/app/index.tsx
@@ -0,0 +1,39 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, SplineRangeAreaSeries} from'@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis: AxisModel = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const border: object = { width: 1.5, color: 'Blue'};
+ return
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs3/index.html b/ej2-react/code-snippet/chart/series/splinerangearea-cs3/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs3/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs3/systemjs.config.js b/ej2-react/code-snippet/chart/series/splinerangearea-cs3/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs3/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs4/app/datasource.jsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs4/app/datasource.jsx
new file mode 100644
index 000000000..d7a216e80
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs4/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineRangeData = [
+ { x: 'Jan', high: 14, low: 4, high1: 29, low1: 19 },
+ { x: 'Feb', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Mar', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Apr', high: null, low: 12, high1: 37, low1: 27 },
+ { x: 'May', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Jun', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Jul', high: 15, low: 5, high1: 30, low1: 20 },
+ { x: 'Aug', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Sep', high: 20, low: 10, high1: undefined, low1: 25 },
+ { x: 'Oct', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'Nov', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Dec', high: 17, low: 7, high1: 32, low1: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs4/app/datasource.tsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs4/app/datasource.tsx
new file mode 100644
index 000000000..161ee32c7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs4/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineRangeData: Object[] = [
+ { x: 'Jan', high: 14, low: 4, high1: 29, low1: 19 },
+ { x: 'Feb', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Mar', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Apr', high: null, low: 12, high1: 37, low1: 27 },
+ { x: 'May', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Jun', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Jul', high: 15, low: 5, high1: 30, low1: 20 },
+ { x: 'Aug', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Sep', high: 20, low: 10, high1: undefined, low1: 25 },
+ { x: 'Oct', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'Nov', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Dec', high: 17, low: 7, high1: 32, low1: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs4/app/index.jsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs4/app/index.jsx
new file mode 100644
index 000000000..2ad5ff7ed
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs4/app/index.jsx
@@ -0,0 +1,33 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, SplineRangeAreaSeries } from '@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const marker = { visible: true };
+ const emptyPoint = { mode: 'Gap' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs4/app/index.tsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs4/app/index.tsx
new file mode 100644
index 000000000..d924e26d1
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs4/app/index.tsx
@@ -0,0 +1,38 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, SplineRangeAreaSeries} from'@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis: AxisModel = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const emptyPoint: object = { mode: 'Gap' };
+ const marker: object = { visible: true };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs4/index.html b/ej2-react/code-snippet/chart/series/splinerangearea-cs4/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs4/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs4/systemjs.config.js b/ej2-react/code-snippet/chart/series/splinerangearea-cs4/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs4/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs5/app/datasource.jsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs5/app/datasource.jsx
new file mode 100644
index 000000000..d7a216e80
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs5/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineRangeData = [
+ { x: 'Jan', high: 14, low: 4, high1: 29, low1: 19 },
+ { x: 'Feb', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Mar', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Apr', high: null, low: 12, high1: 37, low1: 27 },
+ { x: 'May', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Jun', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Jul', high: 15, low: 5, high1: 30, low1: 20 },
+ { x: 'Aug', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Sep', high: 20, low: 10, high1: undefined, low1: 25 },
+ { x: 'Oct', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'Nov', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Dec', high: 17, low: 7, high1: 32, low1: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs5/app/datasource.tsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs5/app/datasource.tsx
new file mode 100644
index 000000000..161ee32c7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs5/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineRangeData: Object[] = [
+ { x: 'Jan', high: 14, low: 4, high1: 29, low1: 19 },
+ { x: 'Feb', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Mar', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Apr', high: null, low: 12, high1: 37, low1: 27 },
+ { x: 'May', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Jun', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Jul', high: 15, low: 5, high1: 30, low1: 20 },
+ { x: 'Aug', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Sep', high: 20, low: 10, high1: undefined, low1: 25 },
+ { x: 'Oct', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'Nov', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Dec', high: 17, low: 7, high1: 32, low1: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs5/app/index.jsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs5/app/index.jsx
new file mode 100644
index 000000000..a47bb5b80
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs5/app/index.jsx
@@ -0,0 +1,33 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, SplineRangeAreaSeries } from '@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const marker = { visible: true };
+ const emptyPoint = { mode: 'Average', fill:'red'};
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs5/app/index.tsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs5/app/index.tsx
new file mode 100644
index 000000000..1737a4efb
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs5/app/index.tsx
@@ -0,0 +1,38 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, SplineRangeAreaSeries} from'@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis: AxisModel = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const emptyPoint: object = { mode: 'Average', fill:'red' };
+ const marker: object = { visible: true };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs5/index.html b/ej2-react/code-snippet/chart/series/splinerangearea-cs5/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs5/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs5/systemjs.config.js b/ej2-react/code-snippet/chart/series/splinerangearea-cs5/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs5/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs6/app/datasource.jsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs6/app/datasource.jsx
new file mode 100644
index 000000000..d7a216e80
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs6/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineRangeData = [
+ { x: 'Jan', high: 14, low: 4, high1: 29, low1: 19 },
+ { x: 'Feb', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Mar', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Apr', high: null, low: 12, high1: 37, low1: 27 },
+ { x: 'May', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Jun', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Jul', high: 15, low: 5, high1: 30, low1: 20 },
+ { x: 'Aug', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Sep', high: 20, low: 10, high1: undefined, low1: 25 },
+ { x: 'Oct', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'Nov', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Dec', high: 17, low: 7, high1: 32, low1: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs6/app/datasource.tsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs6/app/datasource.tsx
new file mode 100644
index 000000000..161ee32c7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs6/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineRangeData: Object[] = [
+ { x: 'Jan', high: 14, low: 4, high1: 29, low1: 19 },
+ { x: 'Feb', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Mar', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Apr', high: null, low: 12, high1: 37, low1: 27 },
+ { x: 'May', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Jun', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Jul', high: 15, low: 5, high1: 30, low1: 20 },
+ { x: 'Aug', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Sep', high: 20, low: 10, high1: undefined, low1: 25 },
+ { x: 'Oct', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'Nov', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Dec', high: 17, low: 7, high1: 32, low1: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs6/app/index.jsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs6/app/index.jsx
new file mode 100644
index 000000000..a72e1c34a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs6/app/index.jsx
@@ -0,0 +1,33 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, SplineRangeAreaSeries } from '@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const marker = { visible: true };
+ const emptyPoint = { mode: 'Average', fill:'red', border: {width: 1.5, fill: 'green'}};
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs6/app/index.tsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs6/app/index.tsx
new file mode 100644
index 000000000..757ce63af
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs6/app/index.tsx
@@ -0,0 +1,38 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, SplineRangeAreaSeries} from'@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis: AxisModel = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const emptyPoint: object = { mode: 'Average', fill:'red', border: {width: 1.5, fill: 'green'} };
+ const marker: object = { visible: true };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs6/index.html b/ej2-react/code-snippet/chart/series/splinerangearea-cs6/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs6/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs6/systemjs.config.js b/ej2-react/code-snippet/chart/series/splinerangearea-cs6/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs6/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs7/app/datasource.jsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs7/app/datasource.jsx
new file mode 100644
index 000000000..6dc39b786
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs7/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineRangeData = [
+ { x: 'Jan', high: 14, low: 4, high1: 29, low1: 19 },
+ { x: 'Feb', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Mar', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Apr', high: 15, low: 12, high1: 37, low1: 27 },
+ { x: 'May', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Jun', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Jul', high: 15, low: 5, high1: 30, low1: 20 },
+ { x: 'Aug', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Sep', high: 20, low: 10, high1: 25, low1: 25 },
+ { x: 'Oct', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'Nov', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Dec', high: 17, low: 7, high1: 32, low1: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs7/app/datasource.tsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs7/app/datasource.tsx
new file mode 100644
index 000000000..f5f3b8667
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs7/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineRangeData: Object[] = [
+ { x: 'Jan', high: 14, low: 4, high1: 29, low1: 19 },
+ { x: 'Feb', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Mar', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Apr', high: 15, low: 12, high1: 37, low1: 27 },
+ { x: 'May', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Jun', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Jul', high: 15, low: 5, high1: 30, low1: 20 },
+ { x: 'Aug', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Sep', high: 20, low: 10, high1: 25, low1: 25 },
+ { x: 'Oct', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'Nov', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Dec', high: 17, low: 7, high1: 32, low1: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs7/app/index.jsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs7/app/index.jsx
new file mode 100644
index 000000000..e03a462b7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs7/app/index.jsx
@@ -0,0 +1,35 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, SplineRangeAreaSeries } from '@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const marker = { visible: true };
+ const seriesRender = (args) => {
+ args.fill = '#ff4251';
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs7/app/index.tsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs7/app/index.tsx
new file mode 100644
index 000000000..8246703ab
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs7/app/index.tsx
@@ -0,0 +1,40 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, SplineRangeAreaSeries, ISeriesRenderEventArgs} from'@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis: AxisModel = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const seriesRender: object = (args: ISeriesRenderEventArgs) => {
+ args.fill = '#ff4251';
+ }
+ const marker: object = { visible: true };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs7/index.html b/ej2-react/code-snippet/chart/series/splinerangearea-cs7/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs7/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs7/systemjs.config.js b/ej2-react/code-snippet/chart/series/splinerangearea-cs7/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs7/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs8/app/datasource.jsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs8/app/datasource.jsx
new file mode 100644
index 000000000..6dc39b786
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs8/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let splineRangeData = [
+ { x: 'Jan', high: 14, low: 4, high1: 29, low1: 19 },
+ { x: 'Feb', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Mar', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Apr', high: 15, low: 12, high1: 37, low1: 27 },
+ { x: 'May', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Jun', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Jul', high: 15, low: 5, high1: 30, low1: 20 },
+ { x: 'Aug', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Sep', high: 20, low: 10, high1: 25, low1: 25 },
+ { x: 'Oct', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'Nov', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Dec', high: 17, low: 7, high1: 32, low1: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs8/app/datasource.tsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs8/app/datasource.tsx
new file mode 100644
index 000000000..f5f3b8667
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs8/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let splineRangeData: Object[] = [
+ { x: 'Jan', high: 14, low: 4, high1: 29, low1: 19 },
+ { x: 'Feb', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Mar', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Apr', high: 15, low: 12, high1: 37, low1: 27 },
+ { x: 'May', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Jun', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Jul', high: 15, low: 5, high1: 30, low1: 20 },
+ { x: 'Aug', high: 17, low: 7, high1: 32, low1: 22 },
+ { x: 'Sep', high: 20, low: 10, high1: 25, low1: 25 },
+ { x: 'Oct', high: 22, low: 12, high1: 37, low1: 27 },
+ { x: 'Nov', high: 20, low: 10, high1: 35, low1: 25 },
+ { x: 'Dec', high: 17, low: 7, high1: 32, low1: 22 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs8/app/index.jsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs8/app/index.jsx
new file mode 100644
index 000000000..4076fdddf
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs8/app/index.jsx
@@ -0,0 +1,40 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, SplineRangeAreaSeries } from '@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const marker = { visible: true };
+ const pointRender = (args) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs8/app/index.tsx b/ej2-react/code-snippet/chart/series/splinerangearea-cs8/app/index.tsx
new file mode 100644
index 000000000..d45c67ef9
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs8/app/index.tsx
@@ -0,0 +1,45 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Category, SplineRangeAreaSeries, IPointRenderEventArgs} from'@syncfusion/ej2-react-charts';
+import { splineRangeData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ valueType: 'Category',
+ edgeLabelPlacement: 'Shift',
+ majorGridLines: { width: 0 }
+ };
+ const primaryyAxis: AxisModel = {
+ labelFormat: '{value}˚C',
+ lineStyle: { width: 0 },
+ minimum: 0, maximum: 40,
+ majorTickLines: { width: 0 }
+ };
+ const pointRender: object = (args: IPointRenderEventArgs) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ }
+ const marker: object = { visible: true };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs8/index.html b/ej2-react/code-snippet/chart/series/splinerangearea-cs8/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs8/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/splinerangearea-cs8/systemjs.config.js b/ej2-react/code-snippet/chart/series/splinerangearea-cs8/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/splinerangearea-cs8/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedarea-cs/app/index.jsx
index 5b22d6e27..629a68ad5 100644
--- a/ej2-react/code-snippet/chart/series/stackedarea-cs/app/index.jsx
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs/app/index.jsx
@@ -16,13 +16,13 @@ function App() {
return
-
+
-
+
-
+
-
+
;
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedarea-cs/app/index.tsx
index f31d4730d..7bca1ddde 100644
--- a/ej2-react/code-snippet/chart/series/stackedarea-cs/app/index.tsx
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs/app/index.tsx
@@ -22,13 +22,13 @@ function App() {
title='Trend in Sales of Ethical Produce'>
-
+
-
+
-
+
-
+
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs1/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedarea-cs1/app/datasource.jsx
new file mode 100644
index 000000000..4e33b5187
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs1/app/datasource.jsx
@@ -0,0 +1,17 @@
+export let stackedData = [
+ { x: new Date(2000, 0, 1), y: 0.61, y1: 0.03, y2: 0.48, y3: 0.23 },
+ { x: new Date(2001, 0, 1), y: 0.81, y1: 0.05, y2: 0.53, y3: 0.17 },
+ { x: new Date(2002, 0, 1), y: 0.91, y1: 0.06, y2: 0.57, y3: 0.17 },
+ { x: new Date(2003, 0, 1), y: 1, y1: 0.09, y2: 0.61, y3: 0.20 },
+ { x: new Date(2004, 0, 1), y: 1.19, y1: 0.14, y2: 0.63, y3: 0.23 },
+ { x: new Date(2005, 0, 1), y: 1.47, y1: 0.20, y2: 0.64, y3: 0.36 },
+ { x: new Date(2006, 0, 1), y: 1.74, y1: 0.29, y2: 0.66, y3: 0.43 },
+ { x: new Date(2007, 0, 1), y: 1.98, y1: 0.46, y2: 0.76, y3: 0.52 },
+ { x: new Date(2008, 0, 1), y: 1.99, y1: 0.64, y2: 0.77, y3: 0.72 },
+ { x: new Date(2009, 0, 1), y: 1.70, y1: 0.75, y2: 0.55, y3: 1.29 },
+ { x: new Date(2010, 0, 1), y: 1.48, y1: 1.06, y2: 0.54, y3: 1.38 },
+ { x: new Date(2011, 0, 1), y: 1.38, y1: 1.25, y2: 0.57, y3: 1.82 },
+ { x: new Date(2012, 0, 1), y: 1.66, y1: 1.55, y2: 0.61, y3: 2.16 },
+ { x: new Date(2013, 0, 1), y: 1.66, y1: 1.55, y2: 0.67, y3: 2.51 },
+ { x: new Date(2014, 0, 1), y: 1.67, y1: 1.65, y2: 0.67, y3: 2.61 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs1/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedarea-cs1/app/datasource.tsx
new file mode 100644
index 000000000..6ead5b7c2
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs1/app/datasource.tsx
@@ -0,0 +1,17 @@
+export let stackedData: Object[] = [
+ { x: new Date(2000, 0, 1), y: 0.61, y1: 0.03, y2: 0.48, y3: 0.23 },
+ { x: new Date(2001, 0, 1), y: 0.81, y1: 0.05, y2: 0.53, y3: 0.17 },
+ { x: new Date(2002, 0, 1), y: 0.91, y1: 0.06, y2: 0.57, y3: 0.17 },
+ { x: new Date(2003, 0, 1), y: 1, y1: 0.09, y2: 0.61, y3: 0.20 },
+ { x: new Date(2004, 0, 1), y: 1.19, y1: 0.14, y2: 0.63, y3: 0.23 },
+ { x: new Date(2005, 0, 1), y: 1.47, y1: 0.20, y2: 0.64, y3: 0.36 },
+ { x: new Date(2006, 0, 1), y: 1.74, y1: 0.29, y2: 0.66, y3: 0.43 },
+ { x: new Date(2007, 0, 1), y: 1.98, y1: 0.46, y2: 0.76, y3: 0.52 },
+ { x: new Date(2008, 0, 1), y: 1.99, y1: 0.64, y2: 0.77, y3: 0.72 },
+ { x: new Date(2009, 0, 1), y: 1.70, y1: 0.75, y2: 0.55, y3: 1.29 },
+ { x: new Date(2010, 0, 1), y: 1.48, y1: 1.06, y2: 0.54, y3: 1.38 },
+ { x: new Date(2011, 0, 1), y: 1.38, y1: 1.25, y2: 0.57, y3: 1.82 },
+ { x: new Date(2012, 0, 1), y: 1.66, y1: 1.55, y2: 0.61, y3: 2.16 },
+ { x: new Date(2013, 0, 1), y: 1.66, y1: 1.55, y2: 0.67, y3: 2.51 },
+ { x: new Date(2014, 0, 1), y: 1.67, y1: 1.65, y2: 0.67, y3: 2.61 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs1/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedarea-cs1/app/index.jsx
new file mode 100644
index 000000000..52c4dcf04
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs1/app/index.jsx
@@ -0,0 +1,34 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, DateTime, Tooltip, DataLabel, StackingAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stackedData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ majorTickLines: { width: 0 }, labelFormat: 'y', edgeLabelPlacement: 'Shift'
+ };
+ const primaryyAxis = {
+ title: 'Spend in Billions', minimum: 0, maximum: 7, interval: 1,
+ majorTickLines: { width: 0 }, labelFormat: '{value}B'
+ };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs1/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedarea-cs1/app/index.tsx
new file mode 100644
index 000000000..0a2bd59ed
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs1/app/index.tsx
@@ -0,0 +1,40 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, DateTime, Tooltip, DataLabel, Zoom, Crosshair, StackingAreaSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackedData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ majorTickLines: { width: 0 }, labelFormat: 'y', edgeLabelPlacement: 'Shift'};
+ const primaryyAxis: AxisModel = {
+ title: 'Spend in Billions', minimum: 0, maximum: 7, interval: 1,
+ majorTickLines: { width: 0 }, labelFormat: '{value}B'};
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs1/index.html b/ej2-react/code-snippet/chart/series/stackedarea-cs1/index.html
new file mode 100644
index 000000000..fbfbb8e2d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs1/index.html
@@ -0,0 +1,69 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs1/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedarea-cs1/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs1/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs2/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedarea-cs2/app/datasource.jsx
new file mode 100644
index 000000000..4e33b5187
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs2/app/datasource.jsx
@@ -0,0 +1,17 @@
+export let stackedData = [
+ { x: new Date(2000, 0, 1), y: 0.61, y1: 0.03, y2: 0.48, y3: 0.23 },
+ { x: new Date(2001, 0, 1), y: 0.81, y1: 0.05, y2: 0.53, y3: 0.17 },
+ { x: new Date(2002, 0, 1), y: 0.91, y1: 0.06, y2: 0.57, y3: 0.17 },
+ { x: new Date(2003, 0, 1), y: 1, y1: 0.09, y2: 0.61, y3: 0.20 },
+ { x: new Date(2004, 0, 1), y: 1.19, y1: 0.14, y2: 0.63, y3: 0.23 },
+ { x: new Date(2005, 0, 1), y: 1.47, y1: 0.20, y2: 0.64, y3: 0.36 },
+ { x: new Date(2006, 0, 1), y: 1.74, y1: 0.29, y2: 0.66, y3: 0.43 },
+ { x: new Date(2007, 0, 1), y: 1.98, y1: 0.46, y2: 0.76, y3: 0.52 },
+ { x: new Date(2008, 0, 1), y: 1.99, y1: 0.64, y2: 0.77, y3: 0.72 },
+ { x: new Date(2009, 0, 1), y: 1.70, y1: 0.75, y2: 0.55, y3: 1.29 },
+ { x: new Date(2010, 0, 1), y: 1.48, y1: 1.06, y2: 0.54, y3: 1.38 },
+ { x: new Date(2011, 0, 1), y: 1.38, y1: 1.25, y2: 0.57, y3: 1.82 },
+ { x: new Date(2012, 0, 1), y: 1.66, y1: 1.55, y2: 0.61, y3: 2.16 },
+ { x: new Date(2013, 0, 1), y: 1.66, y1: 1.55, y2: 0.67, y3: 2.51 },
+ { x: new Date(2014, 0, 1), y: 1.67, y1: 1.65, y2: 0.67, y3: 2.61 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs2/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedarea-cs2/app/datasource.tsx
new file mode 100644
index 000000000..6ead5b7c2
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs2/app/datasource.tsx
@@ -0,0 +1,17 @@
+export let stackedData: Object[] = [
+ { x: new Date(2000, 0, 1), y: 0.61, y1: 0.03, y2: 0.48, y3: 0.23 },
+ { x: new Date(2001, 0, 1), y: 0.81, y1: 0.05, y2: 0.53, y3: 0.17 },
+ { x: new Date(2002, 0, 1), y: 0.91, y1: 0.06, y2: 0.57, y3: 0.17 },
+ { x: new Date(2003, 0, 1), y: 1, y1: 0.09, y2: 0.61, y3: 0.20 },
+ { x: new Date(2004, 0, 1), y: 1.19, y1: 0.14, y2: 0.63, y3: 0.23 },
+ { x: new Date(2005, 0, 1), y: 1.47, y1: 0.20, y2: 0.64, y3: 0.36 },
+ { x: new Date(2006, 0, 1), y: 1.74, y1: 0.29, y2: 0.66, y3: 0.43 },
+ { x: new Date(2007, 0, 1), y: 1.98, y1: 0.46, y2: 0.76, y3: 0.52 },
+ { x: new Date(2008, 0, 1), y: 1.99, y1: 0.64, y2: 0.77, y3: 0.72 },
+ { x: new Date(2009, 0, 1), y: 1.70, y1: 0.75, y2: 0.55, y3: 1.29 },
+ { x: new Date(2010, 0, 1), y: 1.48, y1: 1.06, y2: 0.54, y3: 1.38 },
+ { x: new Date(2011, 0, 1), y: 1.38, y1: 1.25, y2: 0.57, y3: 1.82 },
+ { x: new Date(2012, 0, 1), y: 1.66, y1: 1.55, y2: 0.61, y3: 2.16 },
+ { x: new Date(2013, 0, 1), y: 1.66, y1: 1.55, y2: 0.67, y3: 2.51 },
+ { x: new Date(2014, 0, 1), y: 1.67, y1: 1.65, y2: 0.67, y3: 2.61 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs2/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedarea-cs2/app/index.jsx
new file mode 100644
index 000000000..a473dc4ba
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs2/app/index.jsx
@@ -0,0 +1,34 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, DateTime, Tooltip, DataLabel, StackingAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stackedData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ majorTickLines: { width: 0 }, labelFormat: 'y', edgeLabelPlacement: 'Shift'
+ };
+ const primaryyAxis = {
+ title: 'Spend in Billions', minimum: 0, maximum: 7, interval: 1,
+ majorTickLines: { width: 0 }, labelFormat: '{value}B'
+ };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs2/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedarea-cs2/app/index.tsx
new file mode 100644
index 000000000..f15bef396
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs2/app/index.tsx
@@ -0,0 +1,40 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, DateTime, Tooltip, DataLabel, Zoom, Crosshair, StackingAreaSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackedData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ majorTickLines: { width: 0 }, labelFormat: 'y', edgeLabelPlacement: 'Shift'};
+ const primaryyAxis: AxisModel = {
+ title: 'Spend in Billions', minimum: 0, maximum: 7, interval: 1,
+ majorTickLines: { width: 0 }, labelFormat: '{value}B'};
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs2/index.html b/ej2-react/code-snippet/chart/series/stackedarea-cs2/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs2/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs2/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedarea-cs2/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs2/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs3/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedarea-cs3/app/datasource.jsx
new file mode 100644
index 000000000..4e33b5187
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs3/app/datasource.jsx
@@ -0,0 +1,17 @@
+export let stackedData = [
+ { x: new Date(2000, 0, 1), y: 0.61, y1: 0.03, y2: 0.48, y3: 0.23 },
+ { x: new Date(2001, 0, 1), y: 0.81, y1: 0.05, y2: 0.53, y3: 0.17 },
+ { x: new Date(2002, 0, 1), y: 0.91, y1: 0.06, y2: 0.57, y3: 0.17 },
+ { x: new Date(2003, 0, 1), y: 1, y1: 0.09, y2: 0.61, y3: 0.20 },
+ { x: new Date(2004, 0, 1), y: 1.19, y1: 0.14, y2: 0.63, y3: 0.23 },
+ { x: new Date(2005, 0, 1), y: 1.47, y1: 0.20, y2: 0.64, y3: 0.36 },
+ { x: new Date(2006, 0, 1), y: 1.74, y1: 0.29, y2: 0.66, y3: 0.43 },
+ { x: new Date(2007, 0, 1), y: 1.98, y1: 0.46, y2: 0.76, y3: 0.52 },
+ { x: new Date(2008, 0, 1), y: 1.99, y1: 0.64, y2: 0.77, y3: 0.72 },
+ { x: new Date(2009, 0, 1), y: 1.70, y1: 0.75, y2: 0.55, y3: 1.29 },
+ { x: new Date(2010, 0, 1), y: 1.48, y1: 1.06, y2: 0.54, y3: 1.38 },
+ { x: new Date(2011, 0, 1), y: 1.38, y1: 1.25, y2: 0.57, y3: 1.82 },
+ { x: new Date(2012, 0, 1), y: 1.66, y1: 1.55, y2: 0.61, y3: 2.16 },
+ { x: new Date(2013, 0, 1), y: 1.66, y1: 1.55, y2: 0.67, y3: 2.51 },
+ { x: new Date(2014, 0, 1), y: 1.67, y1: 1.65, y2: 0.67, y3: 2.61 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs3/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedarea-cs3/app/datasource.tsx
new file mode 100644
index 000000000..6ead5b7c2
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs3/app/datasource.tsx
@@ -0,0 +1,17 @@
+export let stackedData: Object[] = [
+ { x: new Date(2000, 0, 1), y: 0.61, y1: 0.03, y2: 0.48, y3: 0.23 },
+ { x: new Date(2001, 0, 1), y: 0.81, y1: 0.05, y2: 0.53, y3: 0.17 },
+ { x: new Date(2002, 0, 1), y: 0.91, y1: 0.06, y2: 0.57, y3: 0.17 },
+ { x: new Date(2003, 0, 1), y: 1, y1: 0.09, y2: 0.61, y3: 0.20 },
+ { x: new Date(2004, 0, 1), y: 1.19, y1: 0.14, y2: 0.63, y3: 0.23 },
+ { x: new Date(2005, 0, 1), y: 1.47, y1: 0.20, y2: 0.64, y3: 0.36 },
+ { x: new Date(2006, 0, 1), y: 1.74, y1: 0.29, y2: 0.66, y3: 0.43 },
+ { x: new Date(2007, 0, 1), y: 1.98, y1: 0.46, y2: 0.76, y3: 0.52 },
+ { x: new Date(2008, 0, 1), y: 1.99, y1: 0.64, y2: 0.77, y3: 0.72 },
+ { x: new Date(2009, 0, 1), y: 1.70, y1: 0.75, y2: 0.55, y3: 1.29 },
+ { x: new Date(2010, 0, 1), y: 1.48, y1: 1.06, y2: 0.54, y3: 1.38 },
+ { x: new Date(2011, 0, 1), y: 1.38, y1: 1.25, y2: 0.57, y3: 1.82 },
+ { x: new Date(2012, 0, 1), y: 1.66, y1: 1.55, y2: 0.61, y3: 2.16 },
+ { x: new Date(2013, 0, 1), y: 1.66, y1: 1.55, y2: 0.67, y3: 2.51 },
+ { x: new Date(2014, 0, 1), y: 1.67, y1: 1.65, y2: 0.67, y3: 2.61 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs3/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedarea-cs3/app/index.jsx
new file mode 100644
index 000000000..e8bea0cec
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs3/app/index.jsx
@@ -0,0 +1,35 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, DateTime, Tooltip, DataLabel, StackingAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stackedData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ majorTickLines: { width: 0 }, labelFormat: 'y', edgeLabelPlacement: 'Shift'
+ };
+ const primaryyAxis = {
+ title: 'Spend in Billions', minimum: 0, maximum: 7, interval: 1,
+ majorTickLines: { width: 0 }, labelFormat: '{value}B'
+ };
+ const border = { width: 2, color: 'red' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs3/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedarea-cs3/app/index.tsx
new file mode 100644
index 000000000..9de286105
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs3/app/index.tsx
@@ -0,0 +1,40 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, DateTime, Tooltip, DataLabel, Zoom, Crosshair, StackingAreaSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackedData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ majorTickLines: { width: 0 }, labelFormat: 'y', edgeLabelPlacement: 'Shift'};
+ const primaryyAxis: AxisModel = {
+ title: 'Spend in Billions', minimum: 0, maximum: 7, interval: 1,
+ majorTickLines: { width: 0 }, labelFormat: '{value}B'};
+ const border: object = { width: 2, color: 'red' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs3/index.html b/ej2-react/code-snippet/chart/series/stackedarea-cs3/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs3/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs3/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedarea-cs3/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs3/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs4/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedarea-cs4/app/datasource.jsx
new file mode 100644
index 000000000..65bda83ee
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs4/app/datasource.jsx
@@ -0,0 +1,17 @@
+export let stackedData = [
+ { x: new Date(2000, 0, 1), y: 0.61, y1: 0.03, y2: 0.48, y3: 0.23 },
+ { x: new Date(2001, 0, 1), y: 0.81, y1: 0.05, y2: 0.53, y3: 0.17 },
+ { x: new Date(2002, 0, 1), y: 0.91, y1: 0.06, y2: 0.57, y3: 0.17 },
+ { x: new Date(2003, 0, 1), y: null, y1: 0.09, y2: 0.61, y3: 0.20 },
+ { x: new Date(2004, 0, 1), y: 1.19, y1: 0.14, y2: 0.63, y3: 0.23 },
+ { x: new Date(2005, 0, 1), y: 1.47, y1: 0.20, y2: 0.64, y3: 0.36 },
+ { x: new Date(2006, 0, 1), y: 1.74, y1: 0.29, y2: 0.66, y3: 0.43 },
+ { x: new Date(2007, 0, 1), y: 1.98, y1: 0.46, y2: 0.76, y3: 0.52 },
+ { x: new Date(2008, 0, 1), y: 1.99, y1: 0.64, y2: 0.77, y3: 0.72 },
+ { x: new Date(2009, 0, 1), y: 1.70, y1: 0.75, y2: undefined, y3: 1.29 },
+ { x: new Date(2010, 0, 1), y: 1.48, y1: 1.06, y2: 0.54, y3: 1.38 },
+ { x: new Date(2011, 0, 1), y: 1.38, y1: 1.25, y2: 0.57, y3: 1.82 },
+ { x: new Date(2012, 0, 1), y: 1.66, y1: 1.55, y2: 0.61, y3: 2.16 },
+ { x: new Date(2013, 0, 1), y: 1.66, y1: 1.55, y2: 0.67, y3: 2.51 },
+ { x: new Date(2014, 0, 1), y: 1.67, y1: 1.65, y2: 0.67, y3: 2.61 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs4/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedarea-cs4/app/datasource.tsx
new file mode 100644
index 000000000..3c89fffcd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs4/app/datasource.tsx
@@ -0,0 +1,17 @@
+export let stackedData: Object[] = [
+ { x: new Date(2000, 0, 1), y: 0.61, y1: 0.03, y2: 0.48, y3: 0.23 },
+ { x: new Date(2001, 0, 1), y: 0.81, y1: 0.05, y2: 0.53, y3: 0.17 },
+ { x: new Date(2002, 0, 1), y: 0.91, y1: 0.06, y2: 0.57, y3: 0.17 },
+ { x: new Date(2003, 0, 1), y: null, y1: 0.09, y2: 0.61, y3: 0.20 },
+ { x: new Date(2004, 0, 1), y: 1.19, y1: 0.14, y2: 0.63, y3: 0.23 },
+ { x: new Date(2005, 0, 1), y: 1.47, y1: 0.20, y2: 0.64, y3: 0.36 },
+ { x: new Date(2006, 0, 1), y: 1.74, y1: 0.29, y2: 0.66, y3: 0.43 },
+ { x: new Date(2007, 0, 1), y: 1.98, y1: 0.46, y2: 0.76, y3: 0.52 },
+ { x: new Date(2008, 0, 1), y: 1.99, y1: 0.64, y2: 0.77, y3: 0.72 },
+ { x: new Date(2009, 0, 1), y: 1.70, y1: 0.75, y2: undefined, y3: 1.29 },
+ { x: new Date(2010, 0, 1), y: 1.48, y1: 1.06, y2: 0.54, y3: 1.38 },
+ { x: new Date(2011, 0, 1), y: 1.38, y1: 1.25, y2: 0.57, y3: 1.82 },
+ { x: new Date(2012, 0, 1), y: 1.66, y1: 1.55, y2: 0.61, y3: 2.16 },
+ { x: new Date(2013, 0, 1), y: 1.66, y1: 1.55, y2: 0.67, y3: 2.51 },
+ { x: new Date(2014, 0, 1), y: 1.67, y1: 1.65, y2: 0.67, y3: 2.61 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs4/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedarea-cs4/app/index.jsx
new file mode 100644
index 000000000..d9a419f2d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs4/app/index.jsx
@@ -0,0 +1,36 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, DateTime, Tooltip, DataLabel, StackingAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stackedData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ majorTickLines: { width: 0 }, labelFormat: 'y', edgeLabelPlacement: 'Shift'
+ };
+ const primaryyAxis = {
+ title: 'Spend in Billions', minimum: 0, maximum: 7, interval: 1,
+ majorTickLines: { width: 0 }, labelFormat: '{value}B'
+ };
+ const emptyPoint = { mode: 'Zero' };
+ const emptyPoint1 = { mode: 'Gap' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs4/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedarea-cs4/app/index.tsx
new file mode 100644
index 000000000..279063a14
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs4/app/index.tsx
@@ -0,0 +1,41 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, DateTime, Tooltip, DataLabel, Zoom, Crosshair, StackingAreaSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackedData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ majorTickLines: { width: 0 }, labelFormat: 'y', edgeLabelPlacement: 'Shift'};
+ const primaryyAxis: AxisModel = {
+ title: 'Spend in Billions', minimum: 0, maximum: 7, interval: 1,
+ majorTickLines: { width: 0 }, labelFormat: '{value}B'};
+ const emptyPoint: object = { mode: 'Zero' };
+ const emptyPoint1: object = { mode: 'Gap' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs4/index.html b/ej2-react/code-snippet/chart/series/stackedarea-cs4/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs4/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs4/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedarea-cs4/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs4/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs5/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedarea-cs5/app/datasource.jsx
new file mode 100644
index 000000000..65bda83ee
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs5/app/datasource.jsx
@@ -0,0 +1,17 @@
+export let stackedData = [
+ { x: new Date(2000, 0, 1), y: 0.61, y1: 0.03, y2: 0.48, y3: 0.23 },
+ { x: new Date(2001, 0, 1), y: 0.81, y1: 0.05, y2: 0.53, y3: 0.17 },
+ { x: new Date(2002, 0, 1), y: 0.91, y1: 0.06, y2: 0.57, y3: 0.17 },
+ { x: new Date(2003, 0, 1), y: null, y1: 0.09, y2: 0.61, y3: 0.20 },
+ { x: new Date(2004, 0, 1), y: 1.19, y1: 0.14, y2: 0.63, y3: 0.23 },
+ { x: new Date(2005, 0, 1), y: 1.47, y1: 0.20, y2: 0.64, y3: 0.36 },
+ { x: new Date(2006, 0, 1), y: 1.74, y1: 0.29, y2: 0.66, y3: 0.43 },
+ { x: new Date(2007, 0, 1), y: 1.98, y1: 0.46, y2: 0.76, y3: 0.52 },
+ { x: new Date(2008, 0, 1), y: 1.99, y1: 0.64, y2: 0.77, y3: 0.72 },
+ { x: new Date(2009, 0, 1), y: 1.70, y1: 0.75, y2: undefined, y3: 1.29 },
+ { x: new Date(2010, 0, 1), y: 1.48, y1: 1.06, y2: 0.54, y3: 1.38 },
+ { x: new Date(2011, 0, 1), y: 1.38, y1: 1.25, y2: 0.57, y3: 1.82 },
+ { x: new Date(2012, 0, 1), y: 1.66, y1: 1.55, y2: 0.61, y3: 2.16 },
+ { x: new Date(2013, 0, 1), y: 1.66, y1: 1.55, y2: 0.67, y3: 2.51 },
+ { x: new Date(2014, 0, 1), y: 1.67, y1: 1.65, y2: 0.67, y3: 2.61 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs5/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedarea-cs5/app/datasource.tsx
new file mode 100644
index 000000000..3c89fffcd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs5/app/datasource.tsx
@@ -0,0 +1,17 @@
+export let stackedData: Object[] = [
+ { x: new Date(2000, 0, 1), y: 0.61, y1: 0.03, y2: 0.48, y3: 0.23 },
+ { x: new Date(2001, 0, 1), y: 0.81, y1: 0.05, y2: 0.53, y3: 0.17 },
+ { x: new Date(2002, 0, 1), y: 0.91, y1: 0.06, y2: 0.57, y3: 0.17 },
+ { x: new Date(2003, 0, 1), y: null, y1: 0.09, y2: 0.61, y3: 0.20 },
+ { x: new Date(2004, 0, 1), y: 1.19, y1: 0.14, y2: 0.63, y3: 0.23 },
+ { x: new Date(2005, 0, 1), y: 1.47, y1: 0.20, y2: 0.64, y3: 0.36 },
+ { x: new Date(2006, 0, 1), y: 1.74, y1: 0.29, y2: 0.66, y3: 0.43 },
+ { x: new Date(2007, 0, 1), y: 1.98, y1: 0.46, y2: 0.76, y3: 0.52 },
+ { x: new Date(2008, 0, 1), y: 1.99, y1: 0.64, y2: 0.77, y3: 0.72 },
+ { x: new Date(2009, 0, 1), y: 1.70, y1: 0.75, y2: undefined, y3: 1.29 },
+ { x: new Date(2010, 0, 1), y: 1.48, y1: 1.06, y2: 0.54, y3: 1.38 },
+ { x: new Date(2011, 0, 1), y: 1.38, y1: 1.25, y2: 0.57, y3: 1.82 },
+ { x: new Date(2012, 0, 1), y: 1.66, y1: 1.55, y2: 0.61, y3: 2.16 },
+ { x: new Date(2013, 0, 1), y: 1.66, y1: 1.55, y2: 0.67, y3: 2.51 },
+ { x: new Date(2014, 0, 1), y: 1.67, y1: 1.65, y2: 0.67, y3: 2.61 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs5/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedarea-cs5/app/index.jsx
new file mode 100644
index 000000000..d3316a92c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs5/app/index.jsx
@@ -0,0 +1,37 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, DateTime, Tooltip, DataLabel, StackingAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stackedData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ majorTickLines: { width: 0 }, labelFormat: 'y', edgeLabelPlacement: 'Shift'
+ };
+ const primaryyAxis = {
+ title: 'Spend in Billions', minimum: 0, maximum: 7, interval: 1,
+ majorTickLines: { width: 0 }, labelFormat: '{value}B'
+ };
+ const marker = { visible: true };
+ const emptyPoint = { mode: 'Zero', fill: 'red' };
+ const emptyPoint1 = { mode: 'Gap' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs5/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedarea-cs5/app/index.tsx
new file mode 100644
index 000000000..952d1be07
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs5/app/index.tsx
@@ -0,0 +1,42 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, DateTime, Tooltip, DataLabel, Zoom, Crosshair, StackingAreaSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackedData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ majorTickLines: { width: 0 }, labelFormat: 'y', edgeLabelPlacement: 'Shift'};
+ const primaryyAxis: AxisModel = {
+ title: 'Spend in Billions', minimum: 0, maximum: 7, interval: 1,
+ majorTickLines: { width: 0 }, labelFormat: '{value}B'};
+ const marker: object = { visible: true };
+ const emptyPoint: object = { mode: 'Zero', fill: 'red' };
+ const emptyPoint1: object = { mode: 'Gap' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs5/index.html b/ej2-react/code-snippet/chart/series/stackedarea-cs5/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs5/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs5/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedarea-cs5/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs5/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs6/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedarea-cs6/app/datasource.jsx
new file mode 100644
index 000000000..65bda83ee
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs6/app/datasource.jsx
@@ -0,0 +1,17 @@
+export let stackedData = [
+ { x: new Date(2000, 0, 1), y: 0.61, y1: 0.03, y2: 0.48, y3: 0.23 },
+ { x: new Date(2001, 0, 1), y: 0.81, y1: 0.05, y2: 0.53, y3: 0.17 },
+ { x: new Date(2002, 0, 1), y: 0.91, y1: 0.06, y2: 0.57, y3: 0.17 },
+ { x: new Date(2003, 0, 1), y: null, y1: 0.09, y2: 0.61, y3: 0.20 },
+ { x: new Date(2004, 0, 1), y: 1.19, y1: 0.14, y2: 0.63, y3: 0.23 },
+ { x: new Date(2005, 0, 1), y: 1.47, y1: 0.20, y2: 0.64, y3: 0.36 },
+ { x: new Date(2006, 0, 1), y: 1.74, y1: 0.29, y2: 0.66, y3: 0.43 },
+ { x: new Date(2007, 0, 1), y: 1.98, y1: 0.46, y2: 0.76, y3: 0.52 },
+ { x: new Date(2008, 0, 1), y: 1.99, y1: 0.64, y2: 0.77, y3: 0.72 },
+ { x: new Date(2009, 0, 1), y: 1.70, y1: 0.75, y2: undefined, y3: 1.29 },
+ { x: new Date(2010, 0, 1), y: 1.48, y1: 1.06, y2: 0.54, y3: 1.38 },
+ { x: new Date(2011, 0, 1), y: 1.38, y1: 1.25, y2: 0.57, y3: 1.82 },
+ { x: new Date(2012, 0, 1), y: 1.66, y1: 1.55, y2: 0.61, y3: 2.16 },
+ { x: new Date(2013, 0, 1), y: 1.66, y1: 1.55, y2: 0.67, y3: 2.51 },
+ { x: new Date(2014, 0, 1), y: 1.67, y1: 1.65, y2: 0.67, y3: 2.61 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs6/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedarea-cs6/app/datasource.tsx
new file mode 100644
index 000000000..3c89fffcd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs6/app/datasource.tsx
@@ -0,0 +1,17 @@
+export let stackedData: Object[] = [
+ { x: new Date(2000, 0, 1), y: 0.61, y1: 0.03, y2: 0.48, y3: 0.23 },
+ { x: new Date(2001, 0, 1), y: 0.81, y1: 0.05, y2: 0.53, y3: 0.17 },
+ { x: new Date(2002, 0, 1), y: 0.91, y1: 0.06, y2: 0.57, y3: 0.17 },
+ { x: new Date(2003, 0, 1), y: null, y1: 0.09, y2: 0.61, y3: 0.20 },
+ { x: new Date(2004, 0, 1), y: 1.19, y1: 0.14, y2: 0.63, y3: 0.23 },
+ { x: new Date(2005, 0, 1), y: 1.47, y1: 0.20, y2: 0.64, y3: 0.36 },
+ { x: new Date(2006, 0, 1), y: 1.74, y1: 0.29, y2: 0.66, y3: 0.43 },
+ { x: new Date(2007, 0, 1), y: 1.98, y1: 0.46, y2: 0.76, y3: 0.52 },
+ { x: new Date(2008, 0, 1), y: 1.99, y1: 0.64, y2: 0.77, y3: 0.72 },
+ { x: new Date(2009, 0, 1), y: 1.70, y1: 0.75, y2: undefined, y3: 1.29 },
+ { x: new Date(2010, 0, 1), y: 1.48, y1: 1.06, y2: 0.54, y3: 1.38 },
+ { x: new Date(2011, 0, 1), y: 1.38, y1: 1.25, y2: 0.57, y3: 1.82 },
+ { x: new Date(2012, 0, 1), y: 1.66, y1: 1.55, y2: 0.61, y3: 2.16 },
+ { x: new Date(2013, 0, 1), y: 1.66, y1: 1.55, y2: 0.67, y3: 2.51 },
+ { x: new Date(2014, 0, 1), y: 1.67, y1: 1.65, y2: 0.67, y3: 2.61 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs6/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedarea-cs6/app/index.jsx
new file mode 100644
index 000000000..025a52e06
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs6/app/index.jsx
@@ -0,0 +1,37 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, DateTime, Tooltip, DataLabel, StackingAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stackedData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ majorTickLines: { width: 0 }, labelFormat: 'y', edgeLabelPlacement: 'Shift'
+ };
+ const primaryyAxis = {
+ title: 'Spend in Billions', minimum: 0, maximum: 7, interval: 1,
+ majorTickLines: { width: 0 }, labelFormat: '{value}B'
+ };
+ const marker = { visible: true };
+ const emptyPoint = { mode: 'Zero', fill: 'red', border: {width: 1.5, color: 'green'} };
+ const emptyPoint1 = { mode: 'Gap' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs6/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedarea-cs6/app/index.tsx
new file mode 100644
index 000000000..0de37dff8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs6/app/index.tsx
@@ -0,0 +1,42 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, DateTime, Tooltip, DataLabel, Zoom, Crosshair, StackingAreaSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackedData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ majorTickLines: { width: 0 }, labelFormat: 'y', edgeLabelPlacement: 'Shift'};
+ const primaryyAxis: AxisModel = {
+ title: 'Spend in Billions', minimum: 0, maximum: 7, interval: 1,
+ majorTickLines: { width: 0 }, labelFormat: '{value}B'};
+ const marker: object = { visible: true };
+ const emptyPoint: object = { mode: 'Zero', fill: 'red', border: {width: 1.5, color: 'green'}};
+ const emptyPoint1: object = { mode: 'Gap' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs6/index.html b/ej2-react/code-snippet/chart/series/stackedarea-cs6/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs6/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs6/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedarea-cs6/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs6/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs7/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedarea-cs7/app/datasource.jsx
new file mode 100644
index 000000000..4e33b5187
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs7/app/datasource.jsx
@@ -0,0 +1,17 @@
+export let stackedData = [
+ { x: new Date(2000, 0, 1), y: 0.61, y1: 0.03, y2: 0.48, y3: 0.23 },
+ { x: new Date(2001, 0, 1), y: 0.81, y1: 0.05, y2: 0.53, y3: 0.17 },
+ { x: new Date(2002, 0, 1), y: 0.91, y1: 0.06, y2: 0.57, y3: 0.17 },
+ { x: new Date(2003, 0, 1), y: 1, y1: 0.09, y2: 0.61, y3: 0.20 },
+ { x: new Date(2004, 0, 1), y: 1.19, y1: 0.14, y2: 0.63, y3: 0.23 },
+ { x: new Date(2005, 0, 1), y: 1.47, y1: 0.20, y2: 0.64, y3: 0.36 },
+ { x: new Date(2006, 0, 1), y: 1.74, y1: 0.29, y2: 0.66, y3: 0.43 },
+ { x: new Date(2007, 0, 1), y: 1.98, y1: 0.46, y2: 0.76, y3: 0.52 },
+ { x: new Date(2008, 0, 1), y: 1.99, y1: 0.64, y2: 0.77, y3: 0.72 },
+ { x: new Date(2009, 0, 1), y: 1.70, y1: 0.75, y2: 0.55, y3: 1.29 },
+ { x: new Date(2010, 0, 1), y: 1.48, y1: 1.06, y2: 0.54, y3: 1.38 },
+ { x: new Date(2011, 0, 1), y: 1.38, y1: 1.25, y2: 0.57, y3: 1.82 },
+ { x: new Date(2012, 0, 1), y: 1.66, y1: 1.55, y2: 0.61, y3: 2.16 },
+ { x: new Date(2013, 0, 1), y: 1.66, y1: 1.55, y2: 0.67, y3: 2.51 },
+ { x: new Date(2014, 0, 1), y: 1.67, y1: 1.65, y2: 0.67, y3: 2.61 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs7/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedarea-cs7/app/datasource.tsx
new file mode 100644
index 000000000..6ead5b7c2
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs7/app/datasource.tsx
@@ -0,0 +1,17 @@
+export let stackedData: Object[] = [
+ { x: new Date(2000, 0, 1), y: 0.61, y1: 0.03, y2: 0.48, y3: 0.23 },
+ { x: new Date(2001, 0, 1), y: 0.81, y1: 0.05, y2: 0.53, y3: 0.17 },
+ { x: new Date(2002, 0, 1), y: 0.91, y1: 0.06, y2: 0.57, y3: 0.17 },
+ { x: new Date(2003, 0, 1), y: 1, y1: 0.09, y2: 0.61, y3: 0.20 },
+ { x: new Date(2004, 0, 1), y: 1.19, y1: 0.14, y2: 0.63, y3: 0.23 },
+ { x: new Date(2005, 0, 1), y: 1.47, y1: 0.20, y2: 0.64, y3: 0.36 },
+ { x: new Date(2006, 0, 1), y: 1.74, y1: 0.29, y2: 0.66, y3: 0.43 },
+ { x: new Date(2007, 0, 1), y: 1.98, y1: 0.46, y2: 0.76, y3: 0.52 },
+ { x: new Date(2008, 0, 1), y: 1.99, y1: 0.64, y2: 0.77, y3: 0.72 },
+ { x: new Date(2009, 0, 1), y: 1.70, y1: 0.75, y2: 0.55, y3: 1.29 },
+ { x: new Date(2010, 0, 1), y: 1.48, y1: 1.06, y2: 0.54, y3: 1.38 },
+ { x: new Date(2011, 0, 1), y: 1.38, y1: 1.25, y2: 0.57, y3: 1.82 },
+ { x: new Date(2012, 0, 1), y: 1.66, y1: 1.55, y2: 0.61, y3: 2.16 },
+ { x: new Date(2013, 0, 1), y: 1.66, y1: 1.55, y2: 0.67, y3: 2.51 },
+ { x: new Date(2014, 0, 1), y: 1.67, y1: 1.65, y2: 0.67, y3: 2.61 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs7/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedarea-cs7/app/index.jsx
new file mode 100644
index 000000000..c8407c9ea
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs7/app/index.jsx
@@ -0,0 +1,49 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, DateTime, Tooltip, DataLabel, StackingAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stackedData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ majorTickLines: { width: 0 }, labelFormat: 'y', edgeLabelPlacement: 'Shift'
+ };
+ const primaryyAxis = {
+ title: 'Spend in Billions', minimum: 0, maximum: 7, interval: 1,
+ majorTickLines: { width: 0 }, labelFormat: '{value}B'
+ };
+ const marker = { visible: true };
+ const seriesRender = (args) => {
+ if (args.series.index === 0) {
+ args.fill = '#ff4251';
+ }
+ else if (args.series.index === 1) {
+ args.fill = '#4C4C4C';
+ }
+ else if (args.series.index === 2) {
+ args.fill = '#794F1B';
+ }
+ else if (args.series.index === 3) {
+ args.fill = '#1a9a6f';
+ }
+ };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs7/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedarea-cs7/app/index.tsx
new file mode 100644
index 000000000..ea89cbc99
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs7/app/index.tsx
@@ -0,0 +1,54 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, DateTime, Tooltip, DataLabel, Zoom, Crosshair, StackingAreaSeries, ISeriesRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { stackedData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ majorTickLines: { width: 0 }, labelFormat: 'y', edgeLabelPlacement: 'Shift'};
+ const primaryyAxis: AxisModel = {
+ title: 'Spend in Billions', minimum: 0, maximum: 7, interval: 1,
+ majorTickLines: { width: 0 }, labelFormat: '{value}B'};
+ const marker: object = { visible: true };
+ const seriesRender = (args: ISeriesRenderEventArgs) => {
+ if (args.series.index === 0) {
+ args.fill = '#ff4251';
+ }
+ else if (args.series.index === 1) {
+ args.fill = '#4C4C4C';
+ }
+ else if (args.series.index === 2) {
+ args.fill = '#794F1B';
+ }
+ else if (args.series.index === 3) {
+ args.fill = '#1a9a6f';
+ }
+ };
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs7/index.html b/ej2-react/code-snippet/chart/series/stackedarea-cs7/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs7/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs7/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedarea-cs7/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs7/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs8/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedarea-cs8/app/datasource.jsx
new file mode 100644
index 000000000..4e33b5187
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs8/app/datasource.jsx
@@ -0,0 +1,17 @@
+export let stackedData = [
+ { x: new Date(2000, 0, 1), y: 0.61, y1: 0.03, y2: 0.48, y3: 0.23 },
+ { x: new Date(2001, 0, 1), y: 0.81, y1: 0.05, y2: 0.53, y3: 0.17 },
+ { x: new Date(2002, 0, 1), y: 0.91, y1: 0.06, y2: 0.57, y3: 0.17 },
+ { x: new Date(2003, 0, 1), y: 1, y1: 0.09, y2: 0.61, y3: 0.20 },
+ { x: new Date(2004, 0, 1), y: 1.19, y1: 0.14, y2: 0.63, y3: 0.23 },
+ { x: new Date(2005, 0, 1), y: 1.47, y1: 0.20, y2: 0.64, y3: 0.36 },
+ { x: new Date(2006, 0, 1), y: 1.74, y1: 0.29, y2: 0.66, y3: 0.43 },
+ { x: new Date(2007, 0, 1), y: 1.98, y1: 0.46, y2: 0.76, y3: 0.52 },
+ { x: new Date(2008, 0, 1), y: 1.99, y1: 0.64, y2: 0.77, y3: 0.72 },
+ { x: new Date(2009, 0, 1), y: 1.70, y1: 0.75, y2: 0.55, y3: 1.29 },
+ { x: new Date(2010, 0, 1), y: 1.48, y1: 1.06, y2: 0.54, y3: 1.38 },
+ { x: new Date(2011, 0, 1), y: 1.38, y1: 1.25, y2: 0.57, y3: 1.82 },
+ { x: new Date(2012, 0, 1), y: 1.66, y1: 1.55, y2: 0.61, y3: 2.16 },
+ { x: new Date(2013, 0, 1), y: 1.66, y1: 1.55, y2: 0.67, y3: 2.51 },
+ { x: new Date(2014, 0, 1), y: 1.67, y1: 1.65, y2: 0.67, y3: 2.61 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs8/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedarea-cs8/app/datasource.tsx
new file mode 100644
index 000000000..6ead5b7c2
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs8/app/datasource.tsx
@@ -0,0 +1,17 @@
+export let stackedData: Object[] = [
+ { x: new Date(2000, 0, 1), y: 0.61, y1: 0.03, y2: 0.48, y3: 0.23 },
+ { x: new Date(2001, 0, 1), y: 0.81, y1: 0.05, y2: 0.53, y3: 0.17 },
+ { x: new Date(2002, 0, 1), y: 0.91, y1: 0.06, y2: 0.57, y3: 0.17 },
+ { x: new Date(2003, 0, 1), y: 1, y1: 0.09, y2: 0.61, y3: 0.20 },
+ { x: new Date(2004, 0, 1), y: 1.19, y1: 0.14, y2: 0.63, y3: 0.23 },
+ { x: new Date(2005, 0, 1), y: 1.47, y1: 0.20, y2: 0.64, y3: 0.36 },
+ { x: new Date(2006, 0, 1), y: 1.74, y1: 0.29, y2: 0.66, y3: 0.43 },
+ { x: new Date(2007, 0, 1), y: 1.98, y1: 0.46, y2: 0.76, y3: 0.52 },
+ { x: new Date(2008, 0, 1), y: 1.99, y1: 0.64, y2: 0.77, y3: 0.72 },
+ { x: new Date(2009, 0, 1), y: 1.70, y1: 0.75, y2: 0.55, y3: 1.29 },
+ { x: new Date(2010, 0, 1), y: 1.48, y1: 1.06, y2: 0.54, y3: 1.38 },
+ { x: new Date(2011, 0, 1), y: 1.38, y1: 1.25, y2: 0.57, y3: 1.82 },
+ { x: new Date(2012, 0, 1), y: 1.66, y1: 1.55, y2: 0.61, y3: 2.16 },
+ { x: new Date(2013, 0, 1), y: 1.66, y1: 1.55, y2: 0.67, y3: 2.51 },
+ { x: new Date(2014, 0, 1), y: 1.67, y1: 1.65, y2: 0.67, y3: 2.61 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs8/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedarea-cs8/app/index.jsx
new file mode 100644
index 000000000..fb4ea7474
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs8/app/index.jsx
@@ -0,0 +1,43 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, DateTime, Tooltip, DataLabel, StackingAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stackedData } from './datasource';
+function App() {
+ const primaryxAxis = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ majorTickLines: { width: 0 }, labelFormat: 'y', edgeLabelPlacement: 'Shift'
+ };
+ const primaryyAxis = {
+ title: 'Spend in Billions', minimum: 0, maximum: 7, interval: 1,
+ majorTickLines: { width: 0 }, labelFormat: '{value}B'
+ };
+ const marker = { visible: true };
+ const pointRender = (args) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs8/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedarea-cs8/app/index.tsx
new file mode 100644
index 000000000..7684ad1d6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs8/app/index.tsx
@@ -0,0 +1,48 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, DateTime, Tooltip, DataLabel, Zoom, Crosshair, StackingAreaSeries, IPointRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { stackedData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = {
+ title: 'Years', valueType: 'DateTime', intervalType: 'Years',
+ majorTickLines: { width: 0 }, labelFormat: 'y', edgeLabelPlacement: 'Shift'};
+ const primaryyAxis: AxisModel = {
+ title: 'Spend in Billions', minimum: 0, maximum: 7, interval: 1,
+ majorTickLines: { width: 0 }, labelFormat: '{value}B'};
+ const marker: object = { visible: true };
+ const pointRender = (args: IPointRenderEventArgs) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ };
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs8/index.html b/ej2-react/code-snippet/chart/series/stackedarea-cs8/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs8/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedarea-cs8/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedarea-cs8/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedarea-cs8/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedbar-cs/app/index.jsx
index 2e0de936e..e4ab2c6ba 100644
--- a/ej2-react/code-snippet/chart/series/stackedbar-cs/app/index.jsx
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs/app/index.jsx
@@ -13,11 +13,11 @@ function App() {
return
-
+
-
+
-
+
;
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedbar-cs/app/index.tsx
index 931efb6ad..f17b9fbcd 100644
--- a/ej2-react/code-snippet/chart/series/stackedbar-cs/app/index.tsx
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs/app/index.tsx
@@ -21,11 +21,11 @@ function App() {
title='Sales Comparison'>
-
+
-
+
-
+
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs1/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedbar-cs1/app/datasource.jsx
new file mode 100644
index 000000000..73cbfac59
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs1/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let stackBarData = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: 35, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs1/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedbar-cs1/app/datasource.tsx
new file mode 100644
index 000000000..644e7b9a1
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs1/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let stackBarData: Object[] = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: 35, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs1/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedbar-cs1/app/index.jsx
new file mode 100644
index 000000000..774d2ecee
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs1/app/index.jsx
@@ -0,0 +1,29 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingBarSeries } from '@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ return
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs1/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedbar-cs1/app/index.tsx
new file mode 100644
index 000000000..3211cebcc
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs1/app/index.tsx
@@ -0,0 +1,37 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingBarSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis: AxisModel = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs1/index.html b/ej2-react/code-snippet/chart/series/stackedbar-cs1/index.html
new file mode 100644
index 000000000..e4fa03cc3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs1/index.html
@@ -0,0 +1,58 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs1/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedbar-cs1/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs1/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs2/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedbar-cs2/app/datasource.jsx
new file mode 100644
index 000000000..73cbfac59
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs2/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let stackBarData = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: 35, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs2/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedbar-cs2/app/datasource.tsx
new file mode 100644
index 000000000..644e7b9a1
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs2/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let stackBarData: Object[] = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: 35, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs2/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedbar-cs2/app/index.jsx
new file mode 100644
index 000000000..6cfda7867
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs2/app/index.jsx
@@ -0,0 +1,29 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingBarSeries } from '@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ return
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs2/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedbar-cs2/app/index.tsx
new file mode 100644
index 000000000..02ffb7b88
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs2/app/index.tsx
@@ -0,0 +1,37 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingBarSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis: AxisModel = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs2/index.html b/ej2-react/code-snippet/chart/series/stackedbar-cs2/index.html
new file mode 100644
index 000000000..e4fa03cc3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs2/index.html
@@ -0,0 +1,58 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs2/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedbar-cs2/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs2/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs3/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedbar-cs3/app/datasource.jsx
new file mode 100644
index 000000000..73cbfac59
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs3/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let stackBarData = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: 35, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs3/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedbar-cs3/app/datasource.tsx
new file mode 100644
index 000000000..644e7b9a1
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs3/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let stackBarData: Object[] = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: 35, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs3/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedbar-cs3/app/index.jsx
new file mode 100644
index 000000000..30687bdb6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs3/app/index.jsx
@@ -0,0 +1,30 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingBarSeries } from '@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const border = { width: 1.5, color: 'red'}
+ return
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs3/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedbar-cs3/app/index.tsx
new file mode 100644
index 000000000..b511fe57a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs3/app/index.tsx
@@ -0,0 +1,37 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingBarSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis: AxisModel = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const border: object = { width: 1.5, color: 'red'}
+ return
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs3/index.html b/ej2-react/code-snippet/chart/series/stackedbar-cs3/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs3/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs3/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedbar-cs3/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs3/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs4/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedbar-cs4/app/datasource.jsx
new file mode 100644
index 000000000..73cbfac59
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs4/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let stackBarData = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: 35, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs4/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedbar-cs4/app/datasource.tsx
new file mode 100644
index 000000000..644e7b9a1
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs4/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let stackBarData: Object[] = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: 35, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs4/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedbar-cs4/app/index.jsx
new file mode 100644
index 000000000..9c8dc193b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs4/app/index.jsx
@@ -0,0 +1,30 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingBarSeries } from '@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const border = { width: 1.5, color: 'red'}
+ return
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs4/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedbar-cs4/app/index.tsx
new file mode 100644
index 000000000..8d03a562e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs4/app/index.tsx
@@ -0,0 +1,37 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingBarSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis: AxisModel = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const border: object = { width: 1.5, color: 'red'}
+ return
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs4/index.html b/ej2-react/code-snippet/chart/series/stackedbar-cs4/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs4/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs4/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedbar-cs4/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs4/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs5/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedbar-cs5/app/datasource.jsx
new file mode 100644
index 000000000..ed896be60
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs5/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let stackBarData = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 },
+ { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: null },
+ { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 },
+ { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: undefined, y2: -4 },
+ { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 },
+ { x: 'Oct', y: null, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 },
+ { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs5/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedbar-cs5/app/datasource.tsx
new file mode 100644
index 000000000..ad0685277
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs5/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let stackBarData: Object[] = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 },
+ { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: null },
+ { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 },
+ { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: undefined, y2: -4 },
+ { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 },
+ { x: 'Oct', y: null, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 },
+ { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs5/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedbar-cs5/app/index.jsx
new file mode 100644
index 000000000..ccfc896f3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs5/app/index.jsx
@@ -0,0 +1,32 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingBarSeries } from '@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const emptyPoint = { mode: 'Zero' };
+ const emptyPoint1 = { mode: 'Gap' };
+ const emptyPoint2 = { mode: 'Average' };
+ return
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs5/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedbar-cs5/app/index.tsx
new file mode 100644
index 000000000..9b514a49d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs5/app/index.tsx
@@ -0,0 +1,39 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingBarSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis: AxisModel = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const emptyPoint: object = { mode: 'Zero' };
+ const emptyPoint1: object = { mode: 'Gap' };
+ const emptyPoint2: object = { mode: 'Average' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs5/index.html b/ej2-react/code-snippet/chart/series/stackedbar-cs5/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs5/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs5/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedbar-cs5/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs5/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs6/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedbar-cs6/app/datasource.jsx
new file mode 100644
index 000000000..ed896be60
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs6/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let stackBarData = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 },
+ { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: null },
+ { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 },
+ { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: undefined, y2: -4 },
+ { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 },
+ { x: 'Oct', y: null, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 },
+ { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs6/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedbar-cs6/app/datasource.tsx
new file mode 100644
index 000000000..ad0685277
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs6/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let stackBarData: Object[] = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 },
+ { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: null },
+ { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 },
+ { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: undefined, y2: -4 },
+ { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 },
+ { x: 'Oct', y: null, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 },
+ { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs6/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedbar-cs6/app/index.jsx
new file mode 100644
index 000000000..513ce8ed4
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs6/app/index.jsx
@@ -0,0 +1,32 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingBarSeries } from '@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const emptyPoint = { mode: 'Zero' };
+ const emptyPoint1 = { mode: 'Gap' };
+ const emptyPoint2 = { mode: 'Average', fill: 'red' };
+ return
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs6/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedbar-cs6/app/index.tsx
new file mode 100644
index 000000000..03fbda562
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs6/app/index.tsx
@@ -0,0 +1,39 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingBarSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis: AxisModel = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const emptyPoint: object = { mode: 'Zero' };
+ const emptyPoint1: object = { mode: 'Gap' };
+ const emptyPoint2: object = { mode: 'Average', fill: 'red' };
+ return
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs6/index.html b/ej2-react/code-snippet/chart/series/stackedbar-cs6/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs6/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs6/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedbar-cs6/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs6/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs7/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedbar-cs7/app/datasource.jsx
new file mode 100644
index 000000000..ed896be60
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs7/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let stackBarData = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 },
+ { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: null },
+ { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 },
+ { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: undefined, y2: -4 },
+ { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 },
+ { x: 'Oct', y: null, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 },
+ { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs7/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedbar-cs7/app/datasource.tsx
new file mode 100644
index 000000000..ad0685277
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs7/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let stackBarData: Object[] = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 },
+ { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: null },
+ { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 },
+ { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: undefined, y2: -4 },
+ { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 },
+ { x: 'Oct', y: null, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 },
+ { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs7/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedbar-cs7/app/index.jsx
new file mode 100644
index 000000000..aa1111e12
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs7/app/index.jsx
@@ -0,0 +1,32 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingBarSeries } from '@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const emptyPoint = { mode: 'Zero' };
+ const emptyPoint1 = { mode: 'Gap' };
+ const emptyPoint2 = { mode: 'Average', fill: 'red', border: {width: 1.5, color: 'blue'} };
+ return
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs7/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedbar-cs7/app/index.tsx
new file mode 100644
index 000000000..948e9a654
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs7/app/index.tsx
@@ -0,0 +1,39 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingBarSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis: AxisModel = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const emptyPoint: object = { mode: 'Zero' };
+ const emptyPoint1: object = { mode: 'Gap' };
+ const emptyPoint2: object = { mode: 'Average', fill: 'red', border: {width: 1.5, color: 'blue'}};
+ return
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs7/index.html b/ej2-react/code-snippet/chart/series/stackedbar-cs7/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs7/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs7/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedbar-cs7/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs7/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs8/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedbar-cs8/app/datasource.jsx
new file mode 100644
index 000000000..73cbfac59
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs8/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let stackBarData = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: 35, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs8/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedbar-cs8/app/datasource.tsx
new file mode 100644
index 000000000..644e7b9a1
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs8/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let stackBarData: Object[] = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: 35, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs8/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedbar-cs8/app/index.jsx
new file mode 100644
index 000000000..3a835a9d7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs8/app/index.jsx
@@ -0,0 +1,40 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingBarSeries } from '@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const seriesRender = (args) => {
+ if (args.series.index === 0) {
+ args.fill = '#ff4251';
+ }
+ else if (args.series.index === 1) {
+ args.fill = '#4C4C4C';
+ }
+ else if (args.series.index === 2) {
+ args.fill = '#794F1B';
+ }
+ };
+ return
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs8/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedbar-cs8/app/index.tsx
new file mode 100644
index 000000000..9849d22cb
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs8/app/index.tsx
@@ -0,0 +1,47 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingBarSeries, ISeriesRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis: AxisModel = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const seriesRender = (args: ISeriesRenderEventArgs) => {
+ if (args.series.index === 0) {
+ args.fill = '#ff4251';
+ }
+ else if (args.series.index === 1) {
+ args.fill = '#4C4C4C';
+ }
+ else if (args.series.index === 2) {
+ args.fill = '#794F1B';
+ }
+ };
+ return
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs8/index.html b/ej2-react/code-snippet/chart/series/stackedbar-cs8/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs8/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs8/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedbar-cs8/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs8/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs9/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedbar-cs9/app/datasource.jsx
new file mode 100644
index 000000000..73cbfac59
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs9/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let stackBarData = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: 35, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs9/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedbar-cs9/app/datasource.tsx
new file mode 100644
index 000000000..644e7b9a1
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs9/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let stackBarData: Object[] = [
+ { x: 'Jan', y: 6, y1: 6, y2: -1 }, { x: 'Feb', y: 8 , y1: 8, y2: -1.5 },
+ { x: 'Mar', y: 12, y1: 11, y2: -2 }, { x: 'Apr', y: 15, y1: 16, y2: -2.5 },
+ { x: 'May', y: 20, y1: 21, y2: -3 }, { x: 'Jun', y: 24, y1: 25, y2: -3.5 },
+ { x: 'Jul', y: 28, y1: 27, y2: -4 }, { x: 'Aug', y: 32, y1: 31, y2: -4.5 },
+ { x: 'Sep', y: 33, y1: 34, y2: -5 }, { x: 'Oct', y: 35, y1: 34, y2: -5.5 },
+ { x: 'Nov', y: 40, y1: 41, y2: -6 }, { x: 'Dec', y: 42, y1: 42, y2: -6.5 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs9/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedbar-cs9/app/index.jsx
new file mode 100644
index 000000000..06ebf5a8b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs9/app/index.jsx
@@ -0,0 +1,40 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingBarSeries } from '@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const pointRender = (args) => {
+ if (args.series.index === 0) {
+ args.fill = '#ff4251';
+ }
+ else if (args.series.index === 1) {
+ args.fill = '#4C4C4C';
+ }
+ else if (args.series.index === 2) {
+ args.fill = '#794F1B';
+ }
+ };
+ return
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs9/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedbar-cs9/app/index.tsx
new file mode 100644
index 000000000..67a2ee85f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs9/app/index.tsx
@@ -0,0 +1,47 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingBarSeries, IPointRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { stackBarData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'Category', title: 'Months' };
+ const primaryyAxis: AxisModel = {
+ title: 'Percentage (%)', minimum: -20, maximum: 100,
+ edgeLabelPlacement: 'Shift', labelFormat: '{value}%'
+ };
+ const pointRender = (args: IPointRenderEventArgs) => {
+ if (args.series.index === 0) {
+ args.fill = '#ff4251';
+ }
+ else if (args.series.index === 1) {
+ args.fill = '#4C4C4C';
+ }
+ else if (args.series.index === 2) {
+ args.fill = '#794F1B';
+ }
+ };
+ return
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs9/index.html b/ej2-react/code-snippet/chart/series/stackedbar-cs9/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs9/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedbar-cs9/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedbar-cs9/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedbar-cs9/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs/app/index.jsx
index 3131fce48..3e152e7b8 100644
--- a/ej2-react/code-snippet/chart/series/stackedcolumn-cs/app/index.jsx
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs/app/index.jsx
@@ -13,13 +13,13 @@ function App() {
return
-
+
-
+
-
+
-
+
;
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs/app/index.tsx
index 786dfe1ed..35a63be30 100644
--- a/ej2-react/code-snippet/chart/series/stackedcolumn-cs/app/index.tsx
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs/app/index.tsx
@@ -21,13 +21,13 @@ function App() {
title='Mobile Game Market by Country'>
-
+
-
+
-
+
-
+
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs1/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs1/app/datasource.jsx
new file mode 100644
index 000000000..d1d1af8cd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs1/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let stackColumndata = [
+ { x: '2014', y: 111.1, y1: 76.9, y2: 66.1, y3: 34.1 },
+ { x: '2015', y: 127.3, y1: 99.5, y2: 79.3, y3: 38.2 },
+ { x: '2016', y: 143.4, y1: 121.7, y2: 91.3, y3: 44.0 },
+ { x: '2017', y: 159.9, y1: 142.5, y2: 102.4, y3: 51.6 },
+ { x: '2018', y: 175.4, y1: 166.7, y2: 112.9, y3: 61.9 },
+ { x: '2019', y: 189.0, y1: 182.9, y2: 122.4, y3: 71.5 },
+ { x: '2020', y: 202.7, y1: 197.3, y2: 120.9, y3: 82.0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs1/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs1/app/datasource.tsx
new file mode 100644
index 000000000..05ba9a4e7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs1/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let stackColumndata: Object[] = [
+ { x: '2014', y: 111.1, y1: 76.9, y2: 66.1, y3: 34.1 },
+ { x: '2015', y: 127.3, y1: 99.5, y2: 79.3, y3: 38.2 },
+ { x: '2016', y: 143.4, y1: 121.7, y2: 91.3, y3: 44.0 },
+ { x: '2017', y: 159.9, y1: 142.5, y2: 102.4, y3: 51.6 },
+ { x: '2018', y: 175.4, y1: 166.7, y2: 112.9, y3: 61.9 },
+ { x: '2019', y: 189.0, y1: 182.9, y2: 122.4, y3: 71.5 },
+ { x: '2020', y: 202.7, y1: 197.3, y2: 120.9, y3: 82.0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs1/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs1/app/index.jsx
new file mode 100644
index 000000000..2ada8102c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs1/app/index.jsx
@@ -0,0 +1,31 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingColumnSeries } from '@syncfusion/ej2-react-charts';
+import { stackColumndata } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis = {
+ title: 'Sales in Billions', minimum: 0, maximum: 700, interval: 100,
+ labelFormat: '{value}B'
+ };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs1/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs1/app/index.tsx
new file mode 100644
index 000000000..421e02681
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs1/app/index.tsx
@@ -0,0 +1,39 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackColumndata } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis: AxisModel = {
+ title: 'Sales in Billions', minimum: 0, maximum: 700, interval: 100,
+ labelFormat: '{value}B'
+ };
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs1/index.html b/ej2-react/code-snippet/chart/series/stackedcolumn-cs1/index.html
new file mode 100644
index 000000000..efa2e6e28
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs1/index.html
@@ -0,0 +1,66 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs1/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedcolumn-cs1/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs1/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs10/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs10/app/datasource.jsx
new file mode 100644
index 000000000..d1d1af8cd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs10/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let stackColumndata = [
+ { x: '2014', y: 111.1, y1: 76.9, y2: 66.1, y3: 34.1 },
+ { x: '2015', y: 127.3, y1: 99.5, y2: 79.3, y3: 38.2 },
+ { x: '2016', y: 143.4, y1: 121.7, y2: 91.3, y3: 44.0 },
+ { x: '2017', y: 159.9, y1: 142.5, y2: 102.4, y3: 51.6 },
+ { x: '2018', y: 175.4, y1: 166.7, y2: 112.9, y3: 61.9 },
+ { x: '2019', y: 189.0, y1: 182.9, y2: 122.4, y3: 71.5 },
+ { x: '2020', y: 202.7, y1: 197.3, y2: 120.9, y3: 82.0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs10/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs10/app/datasource.tsx
new file mode 100644
index 000000000..05ba9a4e7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs10/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let stackColumndata: Object[] = [
+ { x: '2014', y: 111.1, y1: 76.9, y2: 66.1, y3: 34.1 },
+ { x: '2015', y: 127.3, y1: 99.5, y2: 79.3, y3: 38.2 },
+ { x: '2016', y: 143.4, y1: 121.7, y2: 91.3, y3: 44.0 },
+ { x: '2017', y: 159.9, y1: 142.5, y2: 102.4, y3: 51.6 },
+ { x: '2018', y: 175.4, y1: 166.7, y2: 112.9, y3: 61.9 },
+ { x: '2019', y: 189.0, y1: 182.9, y2: 122.4, y3: 71.5 },
+ { x: '2020', y: 202.7, y1: 197.3, y2: 120.9, y3: 82.0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs10/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs10/app/index.jsx
new file mode 100644
index 000000000..05f03720b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs10/app/index.jsx
@@ -0,0 +1,32 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingColumnSeries } from '@syncfusion/ej2-react-charts';
+import { stackColumndata } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis = {
+ title: 'Sales in Billions', minimum: 0, maximum: 700, interval: 100,
+ labelFormat: '{value}B'
+ };
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs10/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs10/app/index.tsx
new file mode 100644
index 000000000..608c2e620
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs10/app/index.tsx
@@ -0,0 +1,38 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingColumnSeries, IPointRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { stackColumndata } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis: AxisModel = {
+ title: 'Sales in Billions', minimum: 0, maximum: 700, interval: 100,
+ labelFormat: '{value}B'
+ };
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs10/index.html b/ej2-react/code-snippet/chart/series/stackedcolumn-cs10/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs10/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs10/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedcolumn-cs10/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs10/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs2/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs2/app/datasource.jsx
new file mode 100644
index 000000000..d1d1af8cd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs2/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let stackColumndata = [
+ { x: '2014', y: 111.1, y1: 76.9, y2: 66.1, y3: 34.1 },
+ { x: '2015', y: 127.3, y1: 99.5, y2: 79.3, y3: 38.2 },
+ { x: '2016', y: 143.4, y1: 121.7, y2: 91.3, y3: 44.0 },
+ { x: '2017', y: 159.9, y1: 142.5, y2: 102.4, y3: 51.6 },
+ { x: '2018', y: 175.4, y1: 166.7, y2: 112.9, y3: 61.9 },
+ { x: '2019', y: 189.0, y1: 182.9, y2: 122.4, y3: 71.5 },
+ { x: '2020', y: 202.7, y1: 197.3, y2: 120.9, y3: 82.0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs2/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs2/app/datasource.tsx
new file mode 100644
index 000000000..05ba9a4e7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs2/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let stackColumndata: Object[] = [
+ { x: '2014', y: 111.1, y1: 76.9, y2: 66.1, y3: 34.1 },
+ { x: '2015', y: 127.3, y1: 99.5, y2: 79.3, y3: 38.2 },
+ { x: '2016', y: 143.4, y1: 121.7, y2: 91.3, y3: 44.0 },
+ { x: '2017', y: 159.9, y1: 142.5, y2: 102.4, y3: 51.6 },
+ { x: '2018', y: 175.4, y1: 166.7, y2: 112.9, y3: 61.9 },
+ { x: '2019', y: 189.0, y1: 182.9, y2: 122.4, y3: 71.5 },
+ { x: '2020', y: 202.7, y1: 197.3, y2: 120.9, y3: 82.0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs2/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs2/app/index.jsx
new file mode 100644
index 000000000..39532b14b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs2/app/index.jsx
@@ -0,0 +1,31 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingColumnSeries } from '@syncfusion/ej2-react-charts';
+import { stackColumndata } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis = {
+ title: 'Sales in Billions', minimum: 0, maximum: 700, interval: 100,
+ labelFormat: '{value}B'
+ };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs2/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs2/app/index.tsx
new file mode 100644
index 000000000..7d07e4a96
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs2/app/index.tsx
@@ -0,0 +1,39 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackColumndata } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis: AxisModel = {
+ title: 'Sales in Billions', minimum: 0, maximum: 700, interval: 100,
+ labelFormat: '{value}B'
+ };
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs2/index.html b/ej2-react/code-snippet/chart/series/stackedcolumn-cs2/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs2/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs2/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedcolumn-cs2/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs2/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs3/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs3/app/datasource.jsx
new file mode 100644
index 000000000..d1d1af8cd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs3/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let stackColumndata = [
+ { x: '2014', y: 111.1, y1: 76.9, y2: 66.1, y3: 34.1 },
+ { x: '2015', y: 127.3, y1: 99.5, y2: 79.3, y3: 38.2 },
+ { x: '2016', y: 143.4, y1: 121.7, y2: 91.3, y3: 44.0 },
+ { x: '2017', y: 159.9, y1: 142.5, y2: 102.4, y3: 51.6 },
+ { x: '2018', y: 175.4, y1: 166.7, y2: 112.9, y3: 61.9 },
+ { x: '2019', y: 189.0, y1: 182.9, y2: 122.4, y3: 71.5 },
+ { x: '2020', y: 202.7, y1: 197.3, y2: 120.9, y3: 82.0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs3/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs3/app/datasource.tsx
new file mode 100644
index 000000000..05ba9a4e7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs3/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let stackColumndata: Object[] = [
+ { x: '2014', y: 111.1, y1: 76.9, y2: 66.1, y3: 34.1 },
+ { x: '2015', y: 127.3, y1: 99.5, y2: 79.3, y3: 38.2 },
+ { x: '2016', y: 143.4, y1: 121.7, y2: 91.3, y3: 44.0 },
+ { x: '2017', y: 159.9, y1: 142.5, y2: 102.4, y3: 51.6 },
+ { x: '2018', y: 175.4, y1: 166.7, y2: 112.9, y3: 61.9 },
+ { x: '2019', y: 189.0, y1: 182.9, y2: 122.4, y3: 71.5 },
+ { x: '2020', y: 202.7, y1: 197.3, y2: 120.9, y3: 82.0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs3/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs3/app/index.jsx
new file mode 100644
index 000000000..f04f87375
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs3/app/index.jsx
@@ -0,0 +1,32 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingColumnSeries } from '@syncfusion/ej2-react-charts';
+import { stackColumndata } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis = {
+ title: 'Sales in Billions', minimum: 0, maximum: 700, interval: 100,
+ labelFormat: '{value}B'
+ };
+ const border = { width: 1.5, color: 'Blue'}
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs3/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs3/app/index.tsx
new file mode 100644
index 000000000..37453e5ce
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs3/app/index.tsx
@@ -0,0 +1,39 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackColumndata } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis: AxisModel = {
+ title: 'Sales in Billions', minimum: 0, maximum: 700, interval: 100,
+ labelFormat: '{value}B'
+ };
+ const border: object = { width: 1.5, color: 'Blue'};
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs3/index.html b/ej2-react/code-snippet/chart/series/stackedcolumn-cs3/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs3/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs3/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedcolumn-cs3/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs3/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs4/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs4/app/datasource.jsx
new file mode 100644
index 000000000..d1d1af8cd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs4/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let stackColumndata = [
+ { x: '2014', y: 111.1, y1: 76.9, y2: 66.1, y3: 34.1 },
+ { x: '2015', y: 127.3, y1: 99.5, y2: 79.3, y3: 38.2 },
+ { x: '2016', y: 143.4, y1: 121.7, y2: 91.3, y3: 44.0 },
+ { x: '2017', y: 159.9, y1: 142.5, y2: 102.4, y3: 51.6 },
+ { x: '2018', y: 175.4, y1: 166.7, y2: 112.9, y3: 61.9 },
+ { x: '2019', y: 189.0, y1: 182.9, y2: 122.4, y3: 71.5 },
+ { x: '2020', y: 202.7, y1: 197.3, y2: 120.9, y3: 82.0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs4/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs4/app/datasource.tsx
new file mode 100644
index 000000000..05ba9a4e7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs4/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let stackColumndata: Object[] = [
+ { x: '2014', y: 111.1, y1: 76.9, y2: 66.1, y3: 34.1 },
+ { x: '2015', y: 127.3, y1: 99.5, y2: 79.3, y3: 38.2 },
+ { x: '2016', y: 143.4, y1: 121.7, y2: 91.3, y3: 44.0 },
+ { x: '2017', y: 159.9, y1: 142.5, y2: 102.4, y3: 51.6 },
+ { x: '2018', y: 175.4, y1: 166.7, y2: 112.9, y3: 61.9 },
+ { x: '2019', y: 189.0, y1: 182.9, y2: 122.4, y3: 71.5 },
+ { x: '2020', y: 202.7, y1: 197.3, y2: 120.9, y3: 82.0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs4/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs4/app/index.jsx
new file mode 100644
index 000000000..9b7e90d2b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs4/app/index.jsx
@@ -0,0 +1,32 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingColumnSeries } from '@syncfusion/ej2-react-charts';
+import { stackColumndata } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis = {
+ title: 'Sales in Billions', minimum: 0, maximum: 700, interval: 100,
+ labelFormat: '{value}B'
+ };
+ const border = { width: 1.5, color: 'Blue'}
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs4/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs4/app/index.tsx
new file mode 100644
index 000000000..fe9094c8e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs4/app/index.tsx
@@ -0,0 +1,39 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackColumndata } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis: AxisModel = {
+ title: 'Sales in Billions', minimum: 0, maximum: 700, interval: 100,
+ labelFormat: '{value}B'
+ };
+ const border: object = { width: 1.5, color: 'Blue'};
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs4/index.html b/ej2-react/code-snippet/chart/series/stackedcolumn-cs4/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs4/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs4/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedcolumn-cs4/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs4/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs5/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs5/app/datasource.jsx
new file mode 100644
index 000000000..66c3a4751
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs5/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let stackColumndata = [
+ { x: '2014', y: 111.1, y1: 76.9, y2: 66.1, y3: 34.1 },
+ { x: '2015', y: 127.3, y1: 99.5, y2: 79.3, y3: 38.2 },
+ { x: '2016', y: null, y1: 121.7, y2: 91.3, y3: 44.0 },
+ { x: '2017', y: 159.9, y1: 142.5, y2: 102.4, y3: 51.6 },
+ { x: '2018', y: 175.4, y1: 166.7, y2: 112.9, y3: 61.9 },
+ { x: '2019', y: 189.0, y1: 182.9, y2: null, y3: 71.5 },
+ { x: '2020', y: 202.7, y1: 197.3, y2: 120.9, y3: 82.0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs5/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs5/app/datasource.tsx
new file mode 100644
index 000000000..a65f7e487
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs5/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let stackColumndata: Object[] = [
+ { x: '2014', y: 111.1, y1: 76.9, y2: 66.1, y3: 34.1 },
+ { x: '2015', y: 127.3, y1: 99.5, y2: 79.3, y3: 38.2 },
+ { x: '2016', y: null, y1: 121.7, y2: 91.3, y3: 44.0 },
+ { x: '2017', y: 159.9, y1: 142.5, y2: 102.4, y3: 51.6 },
+ { x: '2018', y: 175.4, y1: 166.7, y2: 112.9, y3: 61.9 },
+ { x: '2019', y: 189.0, y1: 182.9, y2: null, y3: 71.5 },
+ { x: '2020', y: 202.7, y1: 197.3, y2: 120.9, y3: 82.0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs5/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs5/app/index.jsx
new file mode 100644
index 000000000..5ff0f92e1
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs5/app/index.jsx
@@ -0,0 +1,33 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingColumnSeries } from '@syncfusion/ej2-react-charts';
+import { stackColumndata } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis = {
+ title: 'Sales in Billions', minimum: 0, maximum: 700, interval: 100,
+ labelFormat: '{value}B'
+ };
+ const emptyPoint = { mode: 'Zero'};
+ const emptyPoint1 = { mode: 'Average'};
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs5/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs5/app/index.tsx
new file mode 100644
index 000000000..d19242edb
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs5/app/index.tsx
@@ -0,0 +1,40 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackColumndata } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis: AxisModel = {
+ title: 'Sales in Billions', minimum: 0, maximum: 700, interval: 100,
+ labelFormat: '{value}B'
+ };
+ const emptyPoint: object = { mode: 'Zero'};
+ const emptyPoint1: object = { mode: 'Average'};
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs5/index.html b/ej2-react/code-snippet/chart/series/stackedcolumn-cs5/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs5/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs5/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedcolumn-cs5/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs5/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs6/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs6/app/datasource.jsx
new file mode 100644
index 000000000..66c3a4751
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs6/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let stackColumndata = [
+ { x: '2014', y: 111.1, y1: 76.9, y2: 66.1, y3: 34.1 },
+ { x: '2015', y: 127.3, y1: 99.5, y2: 79.3, y3: 38.2 },
+ { x: '2016', y: null, y1: 121.7, y2: 91.3, y3: 44.0 },
+ { x: '2017', y: 159.9, y1: 142.5, y2: 102.4, y3: 51.6 },
+ { x: '2018', y: 175.4, y1: 166.7, y2: 112.9, y3: 61.9 },
+ { x: '2019', y: 189.0, y1: 182.9, y2: null, y3: 71.5 },
+ { x: '2020', y: 202.7, y1: 197.3, y2: 120.9, y3: 82.0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs6/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs6/app/datasource.tsx
new file mode 100644
index 000000000..a65f7e487
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs6/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let stackColumndata: Object[] = [
+ { x: '2014', y: 111.1, y1: 76.9, y2: 66.1, y3: 34.1 },
+ { x: '2015', y: 127.3, y1: 99.5, y2: 79.3, y3: 38.2 },
+ { x: '2016', y: null, y1: 121.7, y2: 91.3, y3: 44.0 },
+ { x: '2017', y: 159.9, y1: 142.5, y2: 102.4, y3: 51.6 },
+ { x: '2018', y: 175.4, y1: 166.7, y2: 112.9, y3: 61.9 },
+ { x: '2019', y: 189.0, y1: 182.9, y2: null, y3: 71.5 },
+ { x: '2020', y: 202.7, y1: 197.3, y2: 120.9, y3: 82.0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs6/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs6/app/index.jsx
new file mode 100644
index 000000000..2e22374fd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs6/app/index.jsx
@@ -0,0 +1,33 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingColumnSeries } from '@syncfusion/ej2-react-charts';
+import { stackColumndata } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis = {
+ title: 'Sales in Billions', minimum: 0, maximum: 700, interval: 100,
+ labelFormat: '{value}B'
+ };
+ const emptyPoint = { mode: 'Zero'};
+ const emptyPoint1 = { mode: 'Average', fill: 'red'};
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs6/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs6/app/index.tsx
new file mode 100644
index 000000000..fd2fb3cf4
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs6/app/index.tsx
@@ -0,0 +1,40 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackColumndata } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis: AxisModel = {
+ title: 'Sales in Billions', minimum: 0, maximum: 700, interval: 100,
+ labelFormat: '{value}B'
+ };
+ const emptyPoint: object = { mode: 'Zero'};
+ const emptyPoint1: object = { mode: 'Average', fill: 'red'};
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs6/index.html b/ej2-react/code-snippet/chart/series/stackedcolumn-cs6/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs6/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs6/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedcolumn-cs6/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs6/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs7/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs7/app/datasource.jsx
new file mode 100644
index 000000000..66c3a4751
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs7/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let stackColumndata = [
+ { x: '2014', y: 111.1, y1: 76.9, y2: 66.1, y3: 34.1 },
+ { x: '2015', y: 127.3, y1: 99.5, y2: 79.3, y3: 38.2 },
+ { x: '2016', y: null, y1: 121.7, y2: 91.3, y3: 44.0 },
+ { x: '2017', y: 159.9, y1: 142.5, y2: 102.4, y3: 51.6 },
+ { x: '2018', y: 175.4, y1: 166.7, y2: 112.9, y3: 61.9 },
+ { x: '2019', y: 189.0, y1: 182.9, y2: null, y3: 71.5 },
+ { x: '2020', y: 202.7, y1: 197.3, y2: 120.9, y3: 82.0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs7/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs7/app/datasource.tsx
new file mode 100644
index 000000000..a65f7e487
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs7/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let stackColumndata: Object[] = [
+ { x: '2014', y: 111.1, y1: 76.9, y2: 66.1, y3: 34.1 },
+ { x: '2015', y: 127.3, y1: 99.5, y2: 79.3, y3: 38.2 },
+ { x: '2016', y: null, y1: 121.7, y2: 91.3, y3: 44.0 },
+ { x: '2017', y: 159.9, y1: 142.5, y2: 102.4, y3: 51.6 },
+ { x: '2018', y: 175.4, y1: 166.7, y2: 112.9, y3: 61.9 },
+ { x: '2019', y: 189.0, y1: 182.9, y2: null, y3: 71.5 },
+ { x: '2020', y: 202.7, y1: 197.3, y2: 120.9, y3: 82.0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs7/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs7/app/index.jsx
new file mode 100644
index 000000000..facf63b3b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs7/app/index.jsx
@@ -0,0 +1,33 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingColumnSeries } from '@syncfusion/ej2-react-charts';
+import { stackColumndata } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis = {
+ title: 'Sales in Billions', minimum: 0, maximum: 700, interval: 100,
+ labelFormat: '{value}B'
+ };
+ const emptyPoint = { mode: 'Zero'};
+ const emptyPoint1 = { mode: 'Average', fill: 'red', border: {width: 2, color: 'Green'}};
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs7/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs7/app/index.tsx
new file mode 100644
index 000000000..a1fb2f6dd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs7/app/index.tsx
@@ -0,0 +1,40 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingColumnSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { stackColumndata } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis: AxisModel = {
+ title: 'Sales in Billions', minimum: 0, maximum: 700, interval: 100,
+ labelFormat: '{value}B'
+ };
+ const emptyPoint: object = { mode: 'Zero'};
+ const emptyPoint1: object = { mode: 'Average', border: {width: 2, color: 'Green'}};
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs7/index.html b/ej2-react/code-snippet/chart/series/stackedcolumn-cs7/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs7/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs7/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedcolumn-cs7/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs7/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs8/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs8/app/datasource.jsx
new file mode 100644
index 000000000..d1d1af8cd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs8/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let stackColumndata = [
+ { x: '2014', y: 111.1, y1: 76.9, y2: 66.1, y3: 34.1 },
+ { x: '2015', y: 127.3, y1: 99.5, y2: 79.3, y3: 38.2 },
+ { x: '2016', y: 143.4, y1: 121.7, y2: 91.3, y3: 44.0 },
+ { x: '2017', y: 159.9, y1: 142.5, y2: 102.4, y3: 51.6 },
+ { x: '2018', y: 175.4, y1: 166.7, y2: 112.9, y3: 61.9 },
+ { x: '2019', y: 189.0, y1: 182.9, y2: 122.4, y3: 71.5 },
+ { x: '2020', y: 202.7, y1: 197.3, y2: 120.9, y3: 82.0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs8/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs8/app/datasource.tsx
new file mode 100644
index 000000000..05ba9a4e7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs8/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let stackColumndata: Object[] = [
+ { x: '2014', y: 111.1, y1: 76.9, y2: 66.1, y3: 34.1 },
+ { x: '2015', y: 127.3, y1: 99.5, y2: 79.3, y3: 38.2 },
+ { x: '2016', y: 143.4, y1: 121.7, y2: 91.3, y3: 44.0 },
+ { x: '2017', y: 159.9, y1: 142.5, y2: 102.4, y3: 51.6 },
+ { x: '2018', y: 175.4, y1: 166.7, y2: 112.9, y3: 61.9 },
+ { x: '2019', y: 189.0, y1: 182.9, y2: 122.4, y3: 71.5 },
+ { x: '2020', y: 202.7, y1: 197.3, y2: 120.9, y3: 82.0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs8/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs8/app/index.jsx
new file mode 100644
index 000000000..ed4dd0072
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs8/app/index.jsx
@@ -0,0 +1,45 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingColumnSeries } from '@syncfusion/ej2-react-charts';
+import { stackColumndata } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis = {
+ title: 'Sales in Billions', minimum: 0, maximum: 700, interval: 100,
+ labelFormat: '{value}B'
+ };
+ const seriesRender = (args) => {
+ if (args.series.index === 0) {
+ args.fill = '#ff4251';
+ }
+ else if (args.series.index === 1) {
+ args.fill = '#4C4C4C';
+ }
+ else if (args.series.index === 2) {
+ args.fill = '#794F1B';
+ }
+ else if (args.series.index === 3) {
+ args.fill = '#1a9a6f';
+ }
+ };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs8/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs8/app/index.tsx
new file mode 100644
index 000000000..dd3c15c32
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs8/app/index.tsx
@@ -0,0 +1,52 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingColumnSeries, ISeriesRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { stackColumndata } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis: AxisModel = {
+ title: 'Sales in Billions', minimum: 0, maximum: 700, interval: 100,
+ labelFormat: '{value}B'
+ };
+ const seriesRender = (args: ISeriesRenderEventArgs) => {
+ if (args.series.index === 0) {
+ args.fill = '#ff4251';
+ }
+ else if (args.series.index === 1) {
+ args.fill = '#4C4C4C';
+ }
+ else if (args.series.index === 2) {
+ args.fill = '#794F1B';
+ }
+ else if (args.series.index === 3) {
+ args.fill = '#1a9a6f';
+ }
+ };
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs8/index.html b/ej2-react/code-snippet/chart/series/stackedcolumn-cs8/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs8/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs8/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedcolumn-cs8/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs8/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs9/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs9/app/datasource.jsx
new file mode 100644
index 000000000..d1d1af8cd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs9/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let stackColumndata = [
+ { x: '2014', y: 111.1, y1: 76.9, y2: 66.1, y3: 34.1 },
+ { x: '2015', y: 127.3, y1: 99.5, y2: 79.3, y3: 38.2 },
+ { x: '2016', y: 143.4, y1: 121.7, y2: 91.3, y3: 44.0 },
+ { x: '2017', y: 159.9, y1: 142.5, y2: 102.4, y3: 51.6 },
+ { x: '2018', y: 175.4, y1: 166.7, y2: 112.9, y3: 61.9 },
+ { x: '2019', y: 189.0, y1: 182.9, y2: 122.4, y3: 71.5 },
+ { x: '2020', y: 202.7, y1: 197.3, y2: 120.9, y3: 82.0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs9/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs9/app/datasource.tsx
new file mode 100644
index 000000000..05ba9a4e7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs9/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let stackColumndata: Object[] = [
+ { x: '2014', y: 111.1, y1: 76.9, y2: 66.1, y3: 34.1 },
+ { x: '2015', y: 127.3, y1: 99.5, y2: 79.3, y3: 38.2 },
+ { x: '2016', y: 143.4, y1: 121.7, y2: 91.3, y3: 44.0 },
+ { x: '2017', y: 159.9, y1: 142.5, y2: 102.4, y3: 51.6 },
+ { x: '2018', y: 175.4, y1: 166.7, y2: 112.9, y3: 61.9 },
+ { x: '2019', y: 189.0, y1: 182.9, y2: 122.4, y3: 71.5 },
+ { x: '2020', y: 202.7, y1: 197.3, y2: 120.9, y3: 82.0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs9/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs9/app/index.jsx
new file mode 100644
index 000000000..64d024762
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs9/app/index.jsx
@@ -0,0 +1,39 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingColumnSeries } from '@syncfusion/ej2-react-charts';
+import { stackColumndata } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis = {
+ title: 'Sales in Billions', minimum: 0, maximum: 700, interval: 100,
+ labelFormat: '{value}B'
+ };
+ const pointRender = (args) => {
+ if (args.point.series.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs9/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedcolumn-cs9/app/index.tsx
new file mode 100644
index 000000000..23daf25dc
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs9/app/index.tsx
@@ -0,0 +1,52 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingColumnSeries, IPointRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { stackColumndata } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { title: 'Years', interval: 1, valueType: 'Category' };
+ const primaryyAxis: AxisModel = {
+ title: 'Sales in Billions', minimum: 0, maximum: 700, interval: 100,
+ labelFormat: '{value}B'
+ };
+ const pointRender = (args: IPointRenderEventArgs) => {
+ if (args.series.index === 0) {
+ args.fill = '#ff4251';
+ }
+ else if (args.series.index === 1) {
+ args.fill = '#4C4C4C';
+ }
+ else if (args.series.index === 2) {
+ args.fill = '#794F1B';
+ }
+ else if (args.series.index === 3) {
+ args.fill = '#1a9a6f';
+ }
+ };
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs9/index.html b/ej2-react/code-snippet/chart/series/stackedcolumn-cs9/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs9/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedcolumn-cs9/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedcolumn-cs9/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedcolumn-cs9/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs1/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedline-cs1/app/index.jsx
index aeb0acecd..751e61de9 100644
--- a/ej2-react/code-snippet/chart/series/stackedline-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs1/app/index.jsx
@@ -9,13 +9,13 @@ function App() {
return
-
+
-
+
-
+
-
+
;
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs1/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedline-cs1/app/index.tsx
index c0a7a1d15..045aa3125 100644
--- a/ej2-react/code-snippet/chart/series/stackedline-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs1/app/index.tsx
@@ -17,13 +17,13 @@ function App() {
primaryYAxis={{ title: 'Expense', minimum: 0, maximum: 400, interval: 100, labelFormat: '${value}' }}>
-
+
-
+
-
+
-
+
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs10/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedline-cs10/app/datasource.jsx
new file mode 100644
index 000000000..49e3d86a5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs10/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let chartData = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: 70, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: 55, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs10/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedline-cs10/app/datasource.tsx
new file mode 100644
index 000000000..31ba8b98a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs10/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let chartData: Object[] = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: 70, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: 55, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs10/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedline-cs10/app/index.jsx
new file mode 100644
index 000000000..9fe45bd04
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs10/app/index.jsx
@@ -0,0 +1,35 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingLineSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const marker = { visible: true, };
+ const pointRender = (args) => {
+ if (args.point.y < 100) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ }
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs10/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedline-cs10/app/index.tsx
new file mode 100644
index 000000000..5ed2e2069
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs10/app/index.tsx
@@ -0,0 +1,42 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingLineSeries, IPointRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+
+ const marker: object = { visible: true };
+ const pointRender = (args: IPointRenderEventArgs) => {
+ if (args.point.y < 100) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+};
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs10/index.html b/ej2-react/code-snippet/chart/series/stackedline-cs10/index.html
new file mode 100644
index 000000000..abf3452c0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs10/index.html
@@ -0,0 +1,36 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs10/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedline-cs10/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs10/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs2/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedline-cs2/app/datasource.jsx
new file mode 100644
index 000000000..49e3d86a5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs2/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let chartData = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: 70, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: 55, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs2/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedline-cs2/app/datasource.tsx
new file mode 100644
index 000000000..31ba8b98a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs2/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let chartData: Object[] = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: 70, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: 55, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs2/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedline-cs2/app/index.jsx
new file mode 100644
index 000000000..f3f32adad
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs2/app/index.jsx
@@ -0,0 +1,27 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingLineSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs2/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedline-cs2/app/index.tsx
new file mode 100644
index 000000000..d667b9794
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs2/app/index.tsx
@@ -0,0 +1,35 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingLineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs2/index.html b/ej2-react/code-snippet/chart/series/stackedline-cs2/index.html
new file mode 100644
index 000000000..8c4806121
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs2/index.html
@@ -0,0 +1,70 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs2/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedline-cs2/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs2/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs3/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedline-cs3/app/datasource.jsx
new file mode 100644
index 000000000..49e3d86a5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs3/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let chartData = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: 70, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: 55, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs3/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedline-cs3/app/datasource.tsx
new file mode 100644
index 000000000..31ba8b98a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs3/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let chartData: Object[] = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: 70, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: 55, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs3/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedline-cs3/app/index.jsx
new file mode 100644
index 000000000..e22a1c488
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs3/app/index.jsx
@@ -0,0 +1,27 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingLineSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs3/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedline-cs3/app/index.tsx
new file mode 100644
index 000000000..b77f56624
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs3/app/index.tsx
@@ -0,0 +1,35 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingLineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs3/index.html b/ej2-react/code-snippet/chart/series/stackedline-cs3/index.html
new file mode 100644
index 000000000..da84a48be
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs3/index.html
@@ -0,0 +1,36 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs3/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedline-cs3/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs3/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs4/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedline-cs4/app/datasource.jsx
new file mode 100644
index 000000000..49e3d86a5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs4/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let chartData = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: 70, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: 55, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs4/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedline-cs4/app/datasource.tsx
new file mode 100644
index 000000000..31ba8b98a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs4/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let chartData: Object[] = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: 70, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: 55, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs4/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedline-cs4/app/index.jsx
new file mode 100644
index 000000000..cc4cf1aae
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs4/app/index.jsx
@@ -0,0 +1,27 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingLineSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs4/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedline-cs4/app/index.tsx
new file mode 100644
index 000000000..a00b31776
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs4/app/index.tsx
@@ -0,0 +1,35 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingLineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs4/index.html b/ej2-react/code-snippet/chart/series/stackedline-cs4/index.html
new file mode 100644
index 000000000..da84a48be
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs4/index.html
@@ -0,0 +1,36 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs4/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedline-cs4/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs4/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs5/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedline-cs5/app/datasource.jsx
new file mode 100644
index 000000000..49e3d86a5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs5/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let chartData = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: 70, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: 55, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs5/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedline-cs5/app/datasource.tsx
new file mode 100644
index 000000000..31ba8b98a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs5/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let chartData: Object[] = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: 70, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: 55, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs5/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedline-cs5/app/index.jsx
new file mode 100644
index 000000000..7e5ba65d0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs5/app/index.jsx
@@ -0,0 +1,27 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingLineSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs5/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedline-cs5/app/index.tsx
new file mode 100644
index 000000000..0b82f941c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs5/app/index.tsx
@@ -0,0 +1,35 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingLineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs5/index.html b/ej2-react/code-snippet/chart/series/stackedline-cs5/index.html
new file mode 100644
index 000000000..abf3452c0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs5/index.html
@@ -0,0 +1,36 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs5/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedline-cs5/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs5/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs6/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedline-cs6/app/datasource.jsx
new file mode 100644
index 000000000..e41a87be2
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs6/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let chartData = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: null, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: undefined, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs6/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedline-cs6/app/datasource.tsx
new file mode 100644
index 000000000..4f4e8ed1e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs6/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let chartData: Object[] = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: null, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: undefined, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs6/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedline-cs6/app/index.jsx
new file mode 100644
index 000000000..fc85180d3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs6/app/index.jsx
@@ -0,0 +1,29 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingLineSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const marker = { visible: true, };
+ const emptyPoint = { mode: 'Average'};
+ const emptyPoint1 = { mode: 'Gap'};
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs6/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedline-cs6/app/index.tsx
new file mode 100644
index 000000000..97047024f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs6/app/index.tsx
@@ -0,0 +1,36 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingLineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+
+ const marker: object = { visible: true };
+ const emptyPoint: object = { mode: 'Average'};
+ const emptyPoint1: object = { mode: 'Gap'};
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs6/index.html b/ej2-react/code-snippet/chart/series/stackedline-cs6/index.html
new file mode 100644
index 000000000..abf3452c0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs6/index.html
@@ -0,0 +1,36 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs6/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedline-cs6/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs6/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs7/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedline-cs7/app/datasource.jsx
new file mode 100644
index 000000000..e41a87be2
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs7/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let chartData = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: null, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: undefined, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs7/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedline-cs7/app/datasource.tsx
new file mode 100644
index 000000000..4f4e8ed1e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs7/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let chartData: Object[] = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: null, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: undefined, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs7/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedline-cs7/app/index.jsx
new file mode 100644
index 000000000..87e39a6b0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs7/app/index.jsx
@@ -0,0 +1,29 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingLineSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const marker = { visible: true, };
+ const emptyPoint = { mode: 'Average', fill: 'red'};
+ const emptyPoint1 = { mode: 'Gap'};
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs7/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedline-cs7/app/index.tsx
new file mode 100644
index 000000000..186dff154
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs7/app/index.tsx
@@ -0,0 +1,36 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingLineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+
+ const marker: object = { visible: true };
+ const emptyPoint: object = { mode: 'Average', fill: 'red'};
+ const emptyPoint1: object = { mode: 'Gap'};
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs7/index.html b/ej2-react/code-snippet/chart/series/stackedline-cs7/index.html
new file mode 100644
index 000000000..abf3452c0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs7/index.html
@@ -0,0 +1,36 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs7/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedline-cs7/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs7/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs8/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedline-cs8/app/datasource.jsx
new file mode 100644
index 000000000..e41a87be2
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs8/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let chartData = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: null, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: undefined, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs8/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedline-cs8/app/datasource.tsx
new file mode 100644
index 000000000..4f4e8ed1e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs8/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let chartData: Object[] = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: null, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: undefined, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs8/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedline-cs8/app/index.jsx
new file mode 100644
index 000000000..3ca39f918
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs8/app/index.jsx
@@ -0,0 +1,29 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingLineSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const marker = { visible: true, };
+ const emptyPoint = { mode: 'Average', fill: 'red', border: { width: 2 , fill: 'green'}};
+ const emptyPoint1 = { mode: 'Gap'};
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs8/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedline-cs8/app/index.tsx
new file mode 100644
index 000000000..186dff154
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs8/app/index.tsx
@@ -0,0 +1,36 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingLineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+
+ const marker: object = { visible: true };
+ const emptyPoint: object = { mode: 'Average', fill: 'red'};
+ const emptyPoint1: object = { mode: 'Gap'};
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs8/index.html b/ej2-react/code-snippet/chart/series/stackedline-cs8/index.html
new file mode 100644
index 000000000..abf3452c0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs8/index.html
@@ -0,0 +1,36 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs8/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedline-cs8/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs8/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs9/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedline-cs9/app/datasource.jsx
new file mode 100644
index 000000000..49e3d86a5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs9/app/datasource.jsx
@@ -0,0 +1,14 @@
+export let chartData = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: 70, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: 55, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs9/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedline-cs9/app/datasource.tsx
new file mode 100644
index 000000000..31ba8b98a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs9/app/datasource.tsx
@@ -0,0 +1,14 @@
+export let chartData: Object[] = [
+ { x: 'Food', y: 90, y1: 40, y2: 70, y3: 120 },
+ { x: 'Transport', y: 80, y1: 90, y2: 110, y3: 70 },
+ { x: 'Medical', y: 50, y1: 80, y2: 120, y3: 50 },
+ { x: 'Clothes', y: 70, y1: 30, y2: 60, y3: 180 },
+ { x: 'Personal Care', y: 30, y1: 80, y2: 80, y3: 30 },
+ { x: 'Books', y: 10, y1: 40, y2: 30, y3: 270 },
+ { x: 'Fitness', y: 100, y1: 30, y2: 70, y3: 40 },
+ { x: 'Electricity', y: 55, y1: 95, y2: 55, y3: 75 },
+ { x: 'Tax', y: 20, y1: 50, y2: 40, y3: 65 },
+ { x: 'Pet Care', y: 40, y1: 20, y2: 80, y3: 95 },
+ { x: 'Education', y: 45, y1: 15, y2: 45, y3: 195 },
+ { x: 'Entertainment', y: 75, y1: 45, y2: 65, y3: 115 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs9/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedline-cs9/app/index.jsx
new file mode 100644
index 000000000..738d366bb
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs9/app/index.jsx
@@ -0,0 +1,41 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StackingLineSeries } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const marker = { visible: true, };
+ const seriesRender = (args) => {
+ if (args.series.index === 0) {
+ args.fill = '#ff4251';
+ }
+ else if (args.series.index === 1) {
+ args.fill = '#4C4C4C';
+ }
+ else if (args.series.index === 2) {
+ args.fill = '#794F1B';
+ }
+ else if (args.series.index === 3) {
+ args.fill = '#1a9a6f';
+ }
+ }
+ return
+
+
+
+
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs9/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedline-cs9/app/index.tsx
new file mode 100644
index 000000000..9360412d6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs9/app/index.tsx
@@ -0,0 +1,48 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StackingLineSeries, IseriesRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+
+ const marker: object = { visible: true };
+ const seriesRender = (args: IseriesRenderEventArgs) => {
+ if (args.series.index === 0) {
+ args.fill = '#ff4251';
+ }
+ else if (args.series.index === 1) {
+ args.fill = '#4C4C4C';
+ }
+ else if (args.series.index === 2) {
+ args.fill = '#794F1B';
+ }
+ else if (args.series.index === 3) {
+ args.fill = '#1a9a6f';
+ }
+};
+
+ return
+
+
+
+
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs9/index.html b/ej2-react/code-snippet/chart/series/stackedline-cs9/index.html
new file mode 100644
index 000000000..abf3452c0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs9/index.html
@@ -0,0 +1,36 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedline-cs9/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedline-cs9/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedline-cs9/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs1/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs1/app/index.jsx
index 109794579..63007dd03 100644
--- a/ej2-react/code-snippet/chart/series/stackedsteparea-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs1/app/index.jsx
@@ -8,9 +8,9 @@ function App() {
return
-
+
-
+
;
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs1/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs1/app/index.tsx
index 860421b28..8f291d491 100644
--- a/ej2-react/code-snippet/chart/series/stackedsteparea-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs1/app/index.tsx
@@ -17,9 +17,9 @@ function App() {
title='Annual Temperature Comparison'>
-
+
-
+
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs10/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs10/app/datasource.jsx
new file mode 100644
index 000000000..0d2af6f5c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs10/app/datasource.jsx
@@ -0,0 +1,12 @@
+export let stepAreaData = [
+ { x: 1, y: 7, y1: 10 }, { x: 2, y: 1, y1: 5 },
+ { x: 3, y: 1, y1: 7 }, { x: 4, y: 14, y1: 12 },
+ { x: 5, y: 1, y1: 4 }, { x: 6, y: 10, y1: 15 },
+ { x: 7, y: 8, y1: 12 }, { x: 8, y: 6, y1: 10 },
+ { x: 9, y: 10, y1: 14 }, { x: 10, y: 10, y1: 15 },
+ { x: 11, y: 16, y1: 18 }, { x: 12, y: 6, y1: 10 },
+ { x: 13, y: 14, y1: 18 }, { x: 14, y: 7, y1: 11 },
+ { x: 15, y: 5, y1: 9 }, { x: 16, y: 2, y1: 5 },
+ { x: 17, y: 14, y1: 18 }, { x: 18, y: 7, y1: 11 },
+ { x: 19, y: 7, y1: 10 }, { x: 20, y: 10, y1: 14 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs10/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs10/app/datasource.tsx
new file mode 100644
index 000000000..f6d887ed8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs10/app/datasource.tsx
@@ -0,0 +1,12 @@
+export let stepAreaData: Object[] = [
+ { x: 1, y: 7, y1: 10 }, { x: 2, y: 1, y1: 5 },
+ { x: 3, y: 1, y1: 7 }, { x: 4, y: 14, y1: 12 },
+ { x: 5, y: 1, y1: 4 }, { x: 6, y: 10, y1: 15 },
+ { x: 7, y: 8, y1: 12 }, { x: 8, y: 6, y1: 10 },
+ { x: 9, y: 10, y1: 14 }, { x: 10, y: 10, y1: 15 },
+ { x: 11, y: 16, y1: 18 }, { x: 12, y: 6, y1: 10 },
+ { x: 13, y: 14, y1: 18 }, { x: 14, y: 7, y1: 11 },
+ { x: 15, y: 5, y1: 9 }, { x: 16, y: 2, y1: 5 },
+ { x: 17, y: 14, y1: 18 }, { x: 18, y: 7, y1: 11 },
+ { x: 19, y: 7, y1: 10 }, { x: 20, y: 10, y1: 14 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs10/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs10/app/index.jsx
new file mode 100644
index 000000000..33b4084f9
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs10/app/index.jsx
@@ -0,0 +1,28 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, StackingStepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis = { title: 'Runs' };
+ const pointRender = (args) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ };
+ return
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs10/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs10/app/index.tsx
new file mode 100644
index 000000000..0781381f6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs10/app/index.tsx
@@ -0,0 +1,39 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, StackingStepAreaSeries, IPointRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis: AxisModel = { title: 'Runs' };
+ const pointRender = (args: IPointRenderEventArgs) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+};
+ return
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs10/index.html b/ej2-react/code-snippet/chart/series/stackedsteparea-cs10/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs10/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs10/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedsteparea-cs10/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs10/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs2/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs2/app/datasource.jsx
new file mode 100644
index 000000000..0d2af6f5c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs2/app/datasource.jsx
@@ -0,0 +1,12 @@
+export let stepAreaData = [
+ { x: 1, y: 7, y1: 10 }, { x: 2, y: 1, y1: 5 },
+ { x: 3, y: 1, y1: 7 }, { x: 4, y: 14, y1: 12 },
+ { x: 5, y: 1, y1: 4 }, { x: 6, y: 10, y1: 15 },
+ { x: 7, y: 8, y1: 12 }, { x: 8, y: 6, y1: 10 },
+ { x: 9, y: 10, y1: 14 }, { x: 10, y: 10, y1: 15 },
+ { x: 11, y: 16, y1: 18 }, { x: 12, y: 6, y1: 10 },
+ { x: 13, y: 14, y1: 18 }, { x: 14, y: 7, y1: 11 },
+ { x: 15, y: 5, y1: 9 }, { x: 16, y: 2, y1: 5 },
+ { x: 17, y: 14, y1: 18 }, { x: 18, y: 7, y1: 11 },
+ { x: 19, y: 7, y1: 10 }, { x: 20, y: 10, y1: 14 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs2/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs2/app/datasource.tsx
new file mode 100644
index 000000000..f6d887ed8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs2/app/datasource.tsx
@@ -0,0 +1,12 @@
+export let stepAreaData: Object[] = [
+ { x: 1, y: 7, y1: 10 }, { x: 2, y: 1, y1: 5 },
+ { x: 3, y: 1, y1: 7 }, { x: 4, y: 14, y1: 12 },
+ { x: 5, y: 1, y1: 4 }, { x: 6, y: 10, y1: 15 },
+ { x: 7, y: 8, y1: 12 }, { x: 8, y: 6, y1: 10 },
+ { x: 9, y: 10, y1: 14 }, { x: 10, y: 10, y1: 15 },
+ { x: 11, y: 16, y1: 18 }, { x: 12, y: 6, y1: 10 },
+ { x: 13, y: 14, y1: 18 }, { x: 14, y: 7, y1: 11 },
+ { x: 15, y: 5, y1: 9 }, { x: 16, y: 2, y1: 5 },
+ { x: 17, y: 14, y1: 18 }, { x: 18, y: 7, y1: 11 },
+ { x: 19, y: 7, y1: 10 }, { x: 20, y: 10, y1: 14 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs2/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs2/app/index.jsx
new file mode 100644
index 000000000..78ffae0d7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs2/app/index.jsx
@@ -0,0 +1,20 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, StackingStepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis = { title: 'Runs' };
+ return
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs2/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs2/app/index.tsx
new file mode 100644
index 000000000..30f8bc996
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs2/app/index.tsx
@@ -0,0 +1,31 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, StackingStepAreaSeries}
+from'@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis: AxisModel = { title: 'Runs' };
+
+ return
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs2/index.html b/ej2-react/code-snippet/chart/series/stackedsteparea-cs2/index.html
new file mode 100644
index 000000000..7494de6b5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs2/index.html
@@ -0,0 +1,51 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs2/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedsteparea-cs2/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs2/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs3/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs3/app/datasource.jsx
new file mode 100644
index 000000000..0d2af6f5c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs3/app/datasource.jsx
@@ -0,0 +1,12 @@
+export let stepAreaData = [
+ { x: 1, y: 7, y1: 10 }, { x: 2, y: 1, y1: 5 },
+ { x: 3, y: 1, y1: 7 }, { x: 4, y: 14, y1: 12 },
+ { x: 5, y: 1, y1: 4 }, { x: 6, y: 10, y1: 15 },
+ { x: 7, y: 8, y1: 12 }, { x: 8, y: 6, y1: 10 },
+ { x: 9, y: 10, y1: 14 }, { x: 10, y: 10, y1: 15 },
+ { x: 11, y: 16, y1: 18 }, { x: 12, y: 6, y1: 10 },
+ { x: 13, y: 14, y1: 18 }, { x: 14, y: 7, y1: 11 },
+ { x: 15, y: 5, y1: 9 }, { x: 16, y: 2, y1: 5 },
+ { x: 17, y: 14, y1: 18 }, { x: 18, y: 7, y1: 11 },
+ { x: 19, y: 7, y1: 10 }, { x: 20, y: 10, y1: 14 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs3/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs3/app/datasource.tsx
new file mode 100644
index 000000000..f6d887ed8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs3/app/datasource.tsx
@@ -0,0 +1,12 @@
+export let stepAreaData: Object[] = [
+ { x: 1, y: 7, y1: 10 }, { x: 2, y: 1, y1: 5 },
+ { x: 3, y: 1, y1: 7 }, { x: 4, y: 14, y1: 12 },
+ { x: 5, y: 1, y1: 4 }, { x: 6, y: 10, y1: 15 },
+ { x: 7, y: 8, y1: 12 }, { x: 8, y: 6, y1: 10 },
+ { x: 9, y: 10, y1: 14 }, { x: 10, y: 10, y1: 15 },
+ { x: 11, y: 16, y1: 18 }, { x: 12, y: 6, y1: 10 },
+ { x: 13, y: 14, y1: 18 }, { x: 14, y: 7, y1: 11 },
+ { x: 15, y: 5, y1: 9 }, { x: 16, y: 2, y1: 5 },
+ { x: 17, y: 14, y1: 18 }, { x: 18, y: 7, y1: 11 },
+ { x: 19, y: 7, y1: 10 }, { x: 20, y: 10, y1: 14 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs3/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs3/app/index.jsx
new file mode 100644
index 000000000..cc8392469
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs3/app/index.jsx
@@ -0,0 +1,20 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, StackingStepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis = { title: 'Runs' };
+ return
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs3/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs3/app/index.tsx
new file mode 100644
index 000000000..64306d6a6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs3/app/index.tsx
@@ -0,0 +1,31 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, StackingStepAreaSeries}
+from'@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis: AxisModel = { title: 'Runs' };
+
+ return
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs3/index.html b/ej2-react/code-snippet/chart/series/stackedsteparea-cs3/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs3/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs3/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedsteparea-cs3/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs3/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs4/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs4/app/datasource.jsx
new file mode 100644
index 000000000..0d2af6f5c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs4/app/datasource.jsx
@@ -0,0 +1,12 @@
+export let stepAreaData = [
+ { x: 1, y: 7, y1: 10 }, { x: 2, y: 1, y1: 5 },
+ { x: 3, y: 1, y1: 7 }, { x: 4, y: 14, y1: 12 },
+ { x: 5, y: 1, y1: 4 }, { x: 6, y: 10, y1: 15 },
+ { x: 7, y: 8, y1: 12 }, { x: 8, y: 6, y1: 10 },
+ { x: 9, y: 10, y1: 14 }, { x: 10, y: 10, y1: 15 },
+ { x: 11, y: 16, y1: 18 }, { x: 12, y: 6, y1: 10 },
+ { x: 13, y: 14, y1: 18 }, { x: 14, y: 7, y1: 11 },
+ { x: 15, y: 5, y1: 9 }, { x: 16, y: 2, y1: 5 },
+ { x: 17, y: 14, y1: 18 }, { x: 18, y: 7, y1: 11 },
+ { x: 19, y: 7, y1: 10 }, { x: 20, y: 10, y1: 14 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs4/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs4/app/datasource.tsx
new file mode 100644
index 000000000..f6d887ed8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs4/app/datasource.tsx
@@ -0,0 +1,12 @@
+export let stepAreaData: Object[] = [
+ { x: 1, y: 7, y1: 10 }, { x: 2, y: 1, y1: 5 },
+ { x: 3, y: 1, y1: 7 }, { x: 4, y: 14, y1: 12 },
+ { x: 5, y: 1, y1: 4 }, { x: 6, y: 10, y1: 15 },
+ { x: 7, y: 8, y1: 12 }, { x: 8, y: 6, y1: 10 },
+ { x: 9, y: 10, y1: 14 }, { x: 10, y: 10, y1: 15 },
+ { x: 11, y: 16, y1: 18 }, { x: 12, y: 6, y1: 10 },
+ { x: 13, y: 14, y1: 18 }, { x: 14, y: 7, y1: 11 },
+ { x: 15, y: 5, y1: 9 }, { x: 16, y: 2, y1: 5 },
+ { x: 17, y: 14, y1: 18 }, { x: 18, y: 7, y1: 11 },
+ { x: 19, y: 7, y1: 10 }, { x: 20, y: 10, y1: 14 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs4/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs4/app/index.jsx
new file mode 100644
index 000000000..9b7484ce7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs4/app/index.jsx
@@ -0,0 +1,21 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, StackingStepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis = { title: 'Runs' };
+ const border = { width: 2, color: 'red'};
+ return
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs4/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs4/app/index.tsx
new file mode 100644
index 000000000..81b9da52e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs4/app/index.tsx
@@ -0,0 +1,31 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, StackingStepAreaSeries}
+from'@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis: AxisModel = { title: 'Runs' };
+ const border: object = { width: 2, color: 'red'};
+ return
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs4/index.html b/ej2-react/code-snippet/chart/series/stackedsteparea-cs4/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs4/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs4/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedsteparea-cs4/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs4/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs5/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs5/app/datasource.jsx
new file mode 100644
index 000000000..0d2af6f5c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs5/app/datasource.jsx
@@ -0,0 +1,12 @@
+export let stepAreaData = [
+ { x: 1, y: 7, y1: 10 }, { x: 2, y: 1, y1: 5 },
+ { x: 3, y: 1, y1: 7 }, { x: 4, y: 14, y1: 12 },
+ { x: 5, y: 1, y1: 4 }, { x: 6, y: 10, y1: 15 },
+ { x: 7, y: 8, y1: 12 }, { x: 8, y: 6, y1: 10 },
+ { x: 9, y: 10, y1: 14 }, { x: 10, y: 10, y1: 15 },
+ { x: 11, y: 16, y1: 18 }, { x: 12, y: 6, y1: 10 },
+ { x: 13, y: 14, y1: 18 }, { x: 14, y: 7, y1: 11 },
+ { x: 15, y: 5, y1: 9 }, { x: 16, y: 2, y1: 5 },
+ { x: 17, y: 14, y1: 18 }, { x: 18, y: 7, y1: 11 },
+ { x: 19, y: 7, y1: 10 }, { x: 20, y: 10, y1: 14 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs5/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs5/app/datasource.tsx
new file mode 100644
index 000000000..f6d887ed8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs5/app/datasource.tsx
@@ -0,0 +1,12 @@
+export let stepAreaData: Object[] = [
+ { x: 1, y: 7, y1: 10 }, { x: 2, y: 1, y1: 5 },
+ { x: 3, y: 1, y1: 7 }, { x: 4, y: 14, y1: 12 },
+ { x: 5, y: 1, y1: 4 }, { x: 6, y: 10, y1: 15 },
+ { x: 7, y: 8, y1: 12 }, { x: 8, y: 6, y1: 10 },
+ { x: 9, y: 10, y1: 14 }, { x: 10, y: 10, y1: 15 },
+ { x: 11, y: 16, y1: 18 }, { x: 12, y: 6, y1: 10 },
+ { x: 13, y: 14, y1: 18 }, { x: 14, y: 7, y1: 11 },
+ { x: 15, y: 5, y1: 9 }, { x: 16, y: 2, y1: 5 },
+ { x: 17, y: 14, y1: 18 }, { x: 18, y: 7, y1: 11 },
+ { x: 19, y: 7, y1: 10 }, { x: 20, y: 10, y1: 14 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs5/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs5/app/index.jsx
new file mode 100644
index 000000000..5a49f5f44
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs5/app/index.jsx
@@ -0,0 +1,21 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, StackingStepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis = { title: 'Runs' };
+ const border = { width: 2, color: 'red'};
+ return
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs5/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs5/app/index.tsx
new file mode 100644
index 000000000..3f50c8a7b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs5/app/index.tsx
@@ -0,0 +1,31 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, StackingStepAreaSeries}
+from'@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis: AxisModel = { title: 'Runs' };
+ const border: object = { width: 2, color: 'red'};
+ return
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs5/index.html b/ej2-react/code-snippet/chart/series/stackedsteparea-cs5/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs5/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs5/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedsteparea-cs5/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs5/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs6/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs6/app/datasource.jsx
new file mode 100644
index 000000000..2b1fc0844
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs6/app/datasource.jsx
@@ -0,0 +1,12 @@
+export let stepAreaData = [
+ { x: 1, y: 7, y1: 10 }, { x: 2, y: 1, y1: 5 },
+ { x: 3, y: 1, y1: 7 }, { x: 4, y: 14, y1: 12 },
+ { x: 5, y: 1, y1: 4 }, { x: 6, y: 10, y1: 15 },
+ { x: 7, y: 8, y1: 12 }, { x: 8, y: 6, y1: 10 },
+ { x: 9, y: null, y1: 14 }, { x: 10, y: null, y1: 15 },
+ { x: 11, y: 16, y1: 18 }, { x: 12, y: 6, y1: 10 },
+ { x: 13, y: 14, y1: 18 }, { x: 14, y: 7, y1: 11 },
+ { x: 15, y: 5, y1: 9 }, { x: 16, y: 2, y1: 5 },
+ { x: 17, y: 14, y1: 18 }, { x: 18, y: 7, y1: 11 },
+ { x: 19, y: 7, y1: 10 }, { x: 20, y: 10, y1: 14 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs6/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs6/app/datasource.tsx
new file mode 100644
index 000000000..1aab28c1b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs6/app/datasource.tsx
@@ -0,0 +1,12 @@
+export let stepAreaData: Object[] = [
+ { x: 1, y: 7, y1: 10 }, { x: 2, y: 1, y1: 5 },
+ { x: 3, y: 1, y1: 7 }, { x: 4, y: 14, y1: 12 },
+ { x: 5, y: 1, y1: 4 }, { x: 6, y: 10, y1: 15 },
+ { x: 7, y: 8, y1: 12 }, { x: 8, y: 6, y1: 10 },
+ { x: 9, y: null, y1: 14 }, { x: 10, y: null, y1: 15 },
+ { x: 11, y: 16, y1: 18 }, { x: 12, y: 6, y1: 10 },
+ { x: 13, y: 14, y1: 18 }, { x: 14, y: 7, y1: 11 },
+ { x: 15, y: 5, y1: 9 }, { x: 16, y: 2, y1: 5 },
+ { x: 17, y: 14, y1: 18 }, { x: 18, y: 7, y1: 11 },
+ { x: 19, y: 7, y1: 10 }, { x: 20, y: 10, y1: 14 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs6/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs6/app/index.jsx
new file mode 100644
index 000000000..f9d8e24dd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs6/app/index.jsx
@@ -0,0 +1,21 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, StackingStepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis = { title: 'Runs' };
+ const emptyPoint = { mode: 'Gap' };
+ return
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs6/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs6/app/index.tsx
new file mode 100644
index 000000000..ae6e759b3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs6/app/index.tsx
@@ -0,0 +1,31 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, StackingStepAreaSeries}
+from'@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis: AxisModel = { title: 'Runs' };
+ const emptyPoint: object = { mode: 'Gap' };
+ return
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs6/index.html b/ej2-react/code-snippet/chart/series/stackedsteparea-cs6/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs6/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs6/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedsteparea-cs6/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs6/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs7/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs7/app/datasource.jsx
new file mode 100644
index 000000000..2b1fc0844
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs7/app/datasource.jsx
@@ -0,0 +1,12 @@
+export let stepAreaData = [
+ { x: 1, y: 7, y1: 10 }, { x: 2, y: 1, y1: 5 },
+ { x: 3, y: 1, y1: 7 }, { x: 4, y: 14, y1: 12 },
+ { x: 5, y: 1, y1: 4 }, { x: 6, y: 10, y1: 15 },
+ { x: 7, y: 8, y1: 12 }, { x: 8, y: 6, y1: 10 },
+ { x: 9, y: null, y1: 14 }, { x: 10, y: null, y1: 15 },
+ { x: 11, y: 16, y1: 18 }, { x: 12, y: 6, y1: 10 },
+ { x: 13, y: 14, y1: 18 }, { x: 14, y: 7, y1: 11 },
+ { x: 15, y: 5, y1: 9 }, { x: 16, y: 2, y1: 5 },
+ { x: 17, y: 14, y1: 18 }, { x: 18, y: 7, y1: 11 },
+ { x: 19, y: 7, y1: 10 }, { x: 20, y: 10, y1: 14 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs7/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs7/app/datasource.tsx
new file mode 100644
index 000000000..1aab28c1b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs7/app/datasource.tsx
@@ -0,0 +1,12 @@
+export let stepAreaData: Object[] = [
+ { x: 1, y: 7, y1: 10 }, { x: 2, y: 1, y1: 5 },
+ { x: 3, y: 1, y1: 7 }, { x: 4, y: 14, y1: 12 },
+ { x: 5, y: 1, y1: 4 }, { x: 6, y: 10, y1: 15 },
+ { x: 7, y: 8, y1: 12 }, { x: 8, y: 6, y1: 10 },
+ { x: 9, y: null, y1: 14 }, { x: 10, y: null, y1: 15 },
+ { x: 11, y: 16, y1: 18 }, { x: 12, y: 6, y1: 10 },
+ { x: 13, y: 14, y1: 18 }, { x: 14, y: 7, y1: 11 },
+ { x: 15, y: 5, y1: 9 }, { x: 16, y: 2, y1: 5 },
+ { x: 17, y: 14, y1: 18 }, { x: 18, y: 7, y1: 11 },
+ { x: 19, y: 7, y1: 10 }, { x: 20, y: 10, y1: 14 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs7/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs7/app/index.jsx
new file mode 100644
index 000000000..2fdf3cad1
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs7/app/index.jsx
@@ -0,0 +1,21 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, StackingStepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis = { title: 'Runs' };
+ const emptyPoint = { mode: 'Average', fill: 'red' };
+ return
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs7/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs7/app/index.tsx
new file mode 100644
index 000000000..596154079
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs7/app/index.tsx
@@ -0,0 +1,31 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, StackingStepAreaSeries}
+from'@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis: AxisModel = { title: 'Runs' };
+ const emptyPoint: object = { mode: 'Average', fill: 'red' };
+ return
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs7/index.html b/ej2-react/code-snippet/chart/series/stackedsteparea-cs7/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs7/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs7/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedsteparea-cs7/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs7/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs8/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs8/app/datasource.jsx
new file mode 100644
index 000000000..2b1fc0844
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs8/app/datasource.jsx
@@ -0,0 +1,12 @@
+export let stepAreaData = [
+ { x: 1, y: 7, y1: 10 }, { x: 2, y: 1, y1: 5 },
+ { x: 3, y: 1, y1: 7 }, { x: 4, y: 14, y1: 12 },
+ { x: 5, y: 1, y1: 4 }, { x: 6, y: 10, y1: 15 },
+ { x: 7, y: 8, y1: 12 }, { x: 8, y: 6, y1: 10 },
+ { x: 9, y: null, y1: 14 }, { x: 10, y: null, y1: 15 },
+ { x: 11, y: 16, y1: 18 }, { x: 12, y: 6, y1: 10 },
+ { x: 13, y: 14, y1: 18 }, { x: 14, y: 7, y1: 11 },
+ { x: 15, y: 5, y1: 9 }, { x: 16, y: 2, y1: 5 },
+ { x: 17, y: 14, y1: 18 }, { x: 18, y: 7, y1: 11 },
+ { x: 19, y: 7, y1: 10 }, { x: 20, y: 10, y1: 14 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs8/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs8/app/datasource.tsx
new file mode 100644
index 000000000..1aab28c1b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs8/app/datasource.tsx
@@ -0,0 +1,12 @@
+export let stepAreaData: Object[] = [
+ { x: 1, y: 7, y1: 10 }, { x: 2, y: 1, y1: 5 },
+ { x: 3, y: 1, y1: 7 }, { x: 4, y: 14, y1: 12 },
+ { x: 5, y: 1, y1: 4 }, { x: 6, y: 10, y1: 15 },
+ { x: 7, y: 8, y1: 12 }, { x: 8, y: 6, y1: 10 },
+ { x: 9, y: null, y1: 14 }, { x: 10, y: null, y1: 15 },
+ { x: 11, y: 16, y1: 18 }, { x: 12, y: 6, y1: 10 },
+ { x: 13, y: 14, y1: 18 }, { x: 14, y: 7, y1: 11 },
+ { x: 15, y: 5, y1: 9 }, { x: 16, y: 2, y1: 5 },
+ { x: 17, y: 14, y1: 18 }, { x: 18, y: 7, y1: 11 },
+ { x: 19, y: 7, y1: 10 }, { x: 20, y: 10, y1: 14 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs8/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs8/app/index.jsx
new file mode 100644
index 000000000..cb4f4b950
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs8/app/index.jsx
@@ -0,0 +1,21 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, StackingStepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis = { title: 'Runs' };
+ const emptyPoint = { mode: 'Average', fill: 'red', border: {width: 1.5, fill: 'green'} };
+ return
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs8/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs8/app/index.tsx
new file mode 100644
index 000000000..d0db53c15
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs8/app/index.tsx
@@ -0,0 +1,31 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, StackingStepAreaSeries}
+from'@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis: AxisModel = { title: 'Runs' };
+ const emptyPoint: object = { mode: 'Average', fill: 'red', border: {width: 1.5, fill: 'green'} };
+ return
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs8/index.html b/ej2-react/code-snippet/chart/series/stackedsteparea-cs8/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs8/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs8/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedsteparea-cs8/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs8/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs9/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs9/app/datasource.jsx
new file mode 100644
index 000000000..0d2af6f5c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs9/app/datasource.jsx
@@ -0,0 +1,12 @@
+export let stepAreaData = [
+ { x: 1, y: 7, y1: 10 }, { x: 2, y: 1, y1: 5 },
+ { x: 3, y: 1, y1: 7 }, { x: 4, y: 14, y1: 12 },
+ { x: 5, y: 1, y1: 4 }, { x: 6, y: 10, y1: 15 },
+ { x: 7, y: 8, y1: 12 }, { x: 8, y: 6, y1: 10 },
+ { x: 9, y: 10, y1: 14 }, { x: 10, y: 10, y1: 15 },
+ { x: 11, y: 16, y1: 18 }, { x: 12, y: 6, y1: 10 },
+ { x: 13, y: 14, y1: 18 }, { x: 14, y: 7, y1: 11 },
+ { x: 15, y: 5, y1: 9 }, { x: 16, y: 2, y1: 5 },
+ { x: 17, y: 14, y1: 18 }, { x: 18, y: 7, y1: 11 },
+ { x: 19, y: 7, y1: 10 }, { x: 20, y: 10, y1: 14 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs9/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs9/app/datasource.tsx
new file mode 100644
index 000000000..f6d887ed8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs9/app/datasource.tsx
@@ -0,0 +1,12 @@
+export let stepAreaData: Object[] = [
+ { x: 1, y: 7, y1: 10 }, { x: 2, y: 1, y1: 5 },
+ { x: 3, y: 1, y1: 7 }, { x: 4, y: 14, y1: 12 },
+ { x: 5, y: 1, y1: 4 }, { x: 6, y: 10, y1: 15 },
+ { x: 7, y: 8, y1: 12 }, { x: 8, y: 6, y1: 10 },
+ { x: 9, y: 10, y1: 14 }, { x: 10, y: 10, y1: 15 },
+ { x: 11, y: 16, y1: 18 }, { x: 12, y: 6, y1: 10 },
+ { x: 13, y: 14, y1: 18 }, { x: 14, y: 7, y1: 11 },
+ { x: 15, y: 5, y1: 9 }, { x: 16, y: 2, y1: 5 },
+ { x: 17, y: 14, y1: 18 }, { x: 18, y: 7, y1: 11 },
+ { x: 19, y: 7, y1: 10 }, { x: 20, y: 10, y1: 14 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs9/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs9/app/index.jsx
new file mode 100644
index 000000000..53064e7b2
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs9/app/index.jsx
@@ -0,0 +1,31 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, StackingStepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis = { title: 'Runs' };
+ const seriesRender = (args) => {
+ if (args.series.index === 0) {
+ args.fill = '#ff4251';
+ }
+ else if (args.series.index === 1) {
+ args.fill = '#4C4C4C';
+ }
+ else if (args.series.index === 2) {
+ args.fill = '#794F1B';
+ }
+ };
+ return
+
+
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs9/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedsteparea-cs9/app/index.tsx
new file mode 100644
index 000000000..8fc850b3c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs9/app/index.tsx
@@ -0,0 +1,42 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, StackingStepAreaSeries, ISeriesRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis: AxisModel = { title: 'Runs' };
+ const seriesRender = (args: ISeriesRenderEventArgs) => {
+ if (args.series.index === 0) {
+ args.fill = '#ff4251';
+ }
+ else if (args.series.index === 1) {
+ args.fill = '#4C4C4C';
+ }
+ else if (args.series.index === 2) {
+ args.fill = '#794F1B';
+ }
+};
+ return
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs9/index.html b/ej2-react/code-snippet/chart/series/stackedsteparea-cs9/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs9/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparea-cs9/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedsteparea-cs9/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparea-cs9/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparearaiser-cs/app/index.jsx b/ej2-react/code-snippet/chart/series/stackedsteparearaiser-cs/app/index.jsx
new file mode 100644
index 000000000..58d7d0dce
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparearaiser-cs/app/index.jsx
@@ -0,0 +1,40 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, StackingStepAreaSeries}
+from'@syncfusion/ej2-react-charts';
+import { percentData } from "../datasource";
+
+function App() {
+
+ return
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparearaiser-cs/app/index.tsx b/ej2-react/code-snippet/chart/series/stackedsteparearaiser-cs/app/index.tsx
new file mode 100644
index 000000000..58d7d0dce
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparearaiser-cs/app/index.tsx
@@ -0,0 +1,40 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, StackingStepAreaSeries}
+from'@syncfusion/ej2-react-charts';
+import { percentData } from "../datasource";
+
+function App() {
+
+ return
+
+
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparearaiser-cs/datasource.js b/ej2-react/code-snippet/chart/series/stackedsteparearaiser-cs/datasource.js
new file mode 100644
index 000000000..2992ede22
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparearaiser-cs/datasource.js
@@ -0,0 +1,12 @@
+export let percentData = [
+ { x: 2000, y: 0.61, y1: 0.03, y2: 0.48},
+ { x: 2001, y: 0.81, y1: 0.05, y2: 0.53 },
+ { x: 2002, y: 0.91, y1: 0.06, y2: 0.57 },
+ { x: 2003, y: 1, y1: 0.09, y2: 0.61 },
+ { x: 2004, y: 1.19, y1: 0.14, y2: 0.63 },
+ { x: 2005, y: 1.47, y1: 0.20, y2: 0.64 },
+ { x: 2006, y: 1.74, y1: 0.29, y2: 0.66 },
+ { x: 2007, y: 1.98, y1: 0.46, y2: 0.76 },
+ { x: 2008, y: 1.99, y1: 0.64, y2: 0.77 },
+ { x: 2009, y: 1.70, y1: 0.75, y2: 0.55 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparearaiser-cs/datasource.ts b/ej2-react/code-snippet/chart/series/stackedsteparearaiser-cs/datasource.ts
new file mode 100644
index 000000000..bf14a2718
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparearaiser-cs/datasource.ts
@@ -0,0 +1,12 @@
+export let percentData: Object[] = [
+ { x: 2000, y: 0.61, y1: 0.03, y2: 0.48},
+ { x: 2001, y: 0.81, y1: 0.05, y2: 0.53 },
+ { x: 2002, y: 0.91, y1: 0.06, y2: 0.57 },
+ { x: 2003, y: 1, y1: 0.09, y2: 0.61 },
+ { x: 2004, y: 1.19, y1: 0.14, y2: 0.63 },
+ { x: 2005, y: 1.47, y1: 0.20, y2: 0.64 },
+ { x: 2006, y: 1.74, y1: 0.29, y2: 0.66 },
+ { x: 2007, y: 1.98, y1: 0.46, y2: 0.76 },
+ { x: 2008, y: 1.99, y1: 0.64, y2: 0.77 },
+ { x: 2009, y: 1.70, y1: 0.75, y2: 0.55 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparearaiser-cs/index.html b/ej2-react/code-snippet/chart/series/stackedsteparearaiser-cs/index.html
new file mode 100644
index 000000000..c807e8648
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparearaiser-cs/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Accumulation Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stackedsteparearaiser-cs/systemjs.config.js b/ej2-react/code-snippet/chart/series/stackedsteparearaiser-cs/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stackedsteparearaiser-cs/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs/app/index.jsx b/ej2-react/code-snippet/chart/series/steparea-cs/app/index.jsx
index beb85417a..43df92dc9 100644
--- a/ej2-react/code-snippet/chart/series/steparea-cs/app/index.jsx
+++ b/ej2-react/code-snippet/chart/series/steparea-cs/app/index.jsx
@@ -8,8 +8,7 @@ function App() {
return
-
+
;
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs/app/index.tsx b/ej2-react/code-snippet/chart/series/steparea-cs/app/index.tsx
index ce12e314b..7c7ae8dc5 100644
--- a/ej2-react/code-snippet/chart/series/steparea-cs/app/index.tsx
+++ b/ej2-react/code-snippet/chart/series/steparea-cs/app/index.tsx
@@ -17,8 +17,7 @@ function App() {
title='Annual Temperature Comparison'>
-
+
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs1/app/datasource.jsx b/ej2-react/code-snippet/chart/series/steparea-cs1/app/datasource.jsx
new file mode 100644
index 000000000..45d1ebd3b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs1/app/datasource.jsx
@@ -0,0 +1,12 @@
+export let stepAreaData = [
+ { x: 1, y: 7 }, { x: 2, y: 1 },
+ { x: 3, y: 1 }, { x: 4, y: 14 },
+ { x: 5, y: 1 }, { x: 6, y: 10 },
+ { x: 7, y: 8 }, { x: 8, y: 6 },
+ { x: 9, y: 10 }, { x: 10, y: 10 },
+ { x: 11, y: 16 }, { x: 12, y: 6 },
+ { x: 13, y: 14 }, { x: 14, y: 7 },
+ { x: 15, y: 5 }, { x: 16, y: 2 },
+ { x: 17, y: 14 }, { x: 18, y: 7 },
+ { x: 19, y: 7 }, { x: 20, y: 10 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs1/app/datasource.tsx b/ej2-react/code-snippet/chart/series/steparea-cs1/app/datasource.tsx
new file mode 100644
index 000000000..ee50c6708
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs1/app/datasource.tsx
@@ -0,0 +1,12 @@
+export let stepAreaData: Object[] = [
+ { x: 1, y: 7 }, { x: 2, y: 1 },
+ { x: 3, y: 1 }, { x: 4, y: 14 },
+ { x: 5, y: 1 }, { x: 6, y: 10 },
+ { x: 7, y: 8 }, { x: 8, y: 6 },
+ { x: 9, y: 10 }, { x: 10, y: 10 },
+ { x: 11, y: 16 }, { x: 12, y: 6 },
+ { x: 13, y: 14 }, { x: 14, y: 7 },
+ { x: 15, y: 5 }, { x: 16, y: 2 },
+ { x: 17, y: 14 }, { x: 18, y: 7 },
+ { x: 19, y: 7 }, { x: 20, y: 10 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs1/app/index.jsx b/ej2-react/code-snippet/chart/series/steparea-cs1/app/index.jsx
new file mode 100644
index 000000000..7185eb4e3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs1/app/index.jsx
@@ -0,0 +1,18 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, StepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis = { title: 'Runs' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs1/app/index.tsx b/ej2-react/code-snippet/chart/series/steparea-cs1/app/index.tsx
new file mode 100644
index 000000000..2f63d76ba
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs1/app/index.tsx
@@ -0,0 +1,29 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, StepAreaSeries}
+from'@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis: AxisModel = { title: 'Runs' };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs1/index.html b/ej2-react/code-snippet/chart/series/steparea-cs1/index.html
new file mode 100644
index 000000000..7ffca4046
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs1/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs1/systemjs.config.js b/ej2-react/code-snippet/chart/series/steparea-cs1/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs1/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs2/app/datasource.jsx b/ej2-react/code-snippet/chart/series/steparea-cs2/app/datasource.jsx
new file mode 100644
index 000000000..45d1ebd3b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs2/app/datasource.jsx
@@ -0,0 +1,12 @@
+export let stepAreaData = [
+ { x: 1, y: 7 }, { x: 2, y: 1 },
+ { x: 3, y: 1 }, { x: 4, y: 14 },
+ { x: 5, y: 1 }, { x: 6, y: 10 },
+ { x: 7, y: 8 }, { x: 8, y: 6 },
+ { x: 9, y: 10 }, { x: 10, y: 10 },
+ { x: 11, y: 16 }, { x: 12, y: 6 },
+ { x: 13, y: 14 }, { x: 14, y: 7 },
+ { x: 15, y: 5 }, { x: 16, y: 2 },
+ { x: 17, y: 14 }, { x: 18, y: 7 },
+ { x: 19, y: 7 }, { x: 20, y: 10 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs2/app/datasource.tsx b/ej2-react/code-snippet/chart/series/steparea-cs2/app/datasource.tsx
new file mode 100644
index 000000000..ee50c6708
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs2/app/datasource.tsx
@@ -0,0 +1,12 @@
+export let stepAreaData: Object[] = [
+ { x: 1, y: 7 }, { x: 2, y: 1 },
+ { x: 3, y: 1 }, { x: 4, y: 14 },
+ { x: 5, y: 1 }, { x: 6, y: 10 },
+ { x: 7, y: 8 }, { x: 8, y: 6 },
+ { x: 9, y: 10 }, { x: 10, y: 10 },
+ { x: 11, y: 16 }, { x: 12, y: 6 },
+ { x: 13, y: 14 }, { x: 14, y: 7 },
+ { x: 15, y: 5 }, { x: 16, y: 2 },
+ { x: 17, y: 14 }, { x: 18, y: 7 },
+ { x: 19, y: 7 }, { x: 20, y: 10 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs2/app/index.jsx b/ej2-react/code-snippet/chart/series/steparea-cs2/app/index.jsx
new file mode 100644
index 000000000..848701fa7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs2/app/index.jsx
@@ -0,0 +1,18 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, StepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis = { title: 'Runs' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs2/app/index.tsx b/ej2-react/code-snippet/chart/series/steparea-cs2/app/index.tsx
new file mode 100644
index 000000000..edaa894a7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs2/app/index.tsx
@@ -0,0 +1,29 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, StepAreaSeries}
+from'@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis: AxisModel = { title: 'Runs' };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs2/index.html b/ej2-react/code-snippet/chart/series/steparea-cs2/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs2/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs2/systemjs.config.js b/ej2-react/code-snippet/chart/series/steparea-cs2/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs2/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs3/app/datasource.jsx b/ej2-react/code-snippet/chart/series/steparea-cs3/app/datasource.jsx
new file mode 100644
index 000000000..45d1ebd3b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs3/app/datasource.jsx
@@ -0,0 +1,12 @@
+export let stepAreaData = [
+ { x: 1, y: 7 }, { x: 2, y: 1 },
+ { x: 3, y: 1 }, { x: 4, y: 14 },
+ { x: 5, y: 1 }, { x: 6, y: 10 },
+ { x: 7, y: 8 }, { x: 8, y: 6 },
+ { x: 9, y: 10 }, { x: 10, y: 10 },
+ { x: 11, y: 16 }, { x: 12, y: 6 },
+ { x: 13, y: 14 }, { x: 14, y: 7 },
+ { x: 15, y: 5 }, { x: 16, y: 2 },
+ { x: 17, y: 14 }, { x: 18, y: 7 },
+ { x: 19, y: 7 }, { x: 20, y: 10 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs3/app/datasource.tsx b/ej2-react/code-snippet/chart/series/steparea-cs3/app/datasource.tsx
new file mode 100644
index 000000000..ee50c6708
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs3/app/datasource.tsx
@@ -0,0 +1,12 @@
+export let stepAreaData: Object[] = [
+ { x: 1, y: 7 }, { x: 2, y: 1 },
+ { x: 3, y: 1 }, { x: 4, y: 14 },
+ { x: 5, y: 1 }, { x: 6, y: 10 },
+ { x: 7, y: 8 }, { x: 8, y: 6 },
+ { x: 9, y: 10 }, { x: 10, y: 10 },
+ { x: 11, y: 16 }, { x: 12, y: 6 },
+ { x: 13, y: 14 }, { x: 14, y: 7 },
+ { x: 15, y: 5 }, { x: 16, y: 2 },
+ { x: 17, y: 14 }, { x: 18, y: 7 },
+ { x: 19, y: 7 }, { x: 20, y: 10 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs3/app/index.jsx b/ej2-react/code-snippet/chart/series/steparea-cs3/app/index.jsx
new file mode 100644
index 000000000..b0eb32814
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs3/app/index.jsx
@@ -0,0 +1,18 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, StepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis = { title: 'Runs' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs3/app/index.tsx b/ej2-react/code-snippet/chart/series/steparea-cs3/app/index.tsx
new file mode 100644
index 000000000..07c6f3dc2
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs3/app/index.tsx
@@ -0,0 +1,29 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, StepAreaSeries}
+from'@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis: AxisModel = { title: 'Runs' };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs3/index.html b/ej2-react/code-snippet/chart/series/steparea-cs3/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs3/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs3/systemjs.config.js b/ej2-react/code-snippet/chart/series/steparea-cs3/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs3/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs4/app/datasource.jsx b/ej2-react/code-snippet/chart/series/steparea-cs4/app/datasource.jsx
new file mode 100644
index 000000000..45d1ebd3b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs4/app/datasource.jsx
@@ -0,0 +1,12 @@
+export let stepAreaData = [
+ { x: 1, y: 7 }, { x: 2, y: 1 },
+ { x: 3, y: 1 }, { x: 4, y: 14 },
+ { x: 5, y: 1 }, { x: 6, y: 10 },
+ { x: 7, y: 8 }, { x: 8, y: 6 },
+ { x: 9, y: 10 }, { x: 10, y: 10 },
+ { x: 11, y: 16 }, { x: 12, y: 6 },
+ { x: 13, y: 14 }, { x: 14, y: 7 },
+ { x: 15, y: 5 }, { x: 16, y: 2 },
+ { x: 17, y: 14 }, { x: 18, y: 7 },
+ { x: 19, y: 7 }, { x: 20, y: 10 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs4/app/datasource.tsx b/ej2-react/code-snippet/chart/series/steparea-cs4/app/datasource.tsx
new file mode 100644
index 000000000..ee50c6708
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs4/app/datasource.tsx
@@ -0,0 +1,12 @@
+export let stepAreaData: Object[] = [
+ { x: 1, y: 7 }, { x: 2, y: 1 },
+ { x: 3, y: 1 }, { x: 4, y: 14 },
+ { x: 5, y: 1 }, { x: 6, y: 10 },
+ { x: 7, y: 8 }, { x: 8, y: 6 },
+ { x: 9, y: 10 }, { x: 10, y: 10 },
+ { x: 11, y: 16 }, { x: 12, y: 6 },
+ { x: 13, y: 14 }, { x: 14, y: 7 },
+ { x: 15, y: 5 }, { x: 16, y: 2 },
+ { x: 17, y: 14 }, { x: 18, y: 7 },
+ { x: 19, y: 7 }, { x: 20, y: 10 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs4/app/index.jsx b/ej2-react/code-snippet/chart/series/steparea-cs4/app/index.jsx
new file mode 100644
index 000000000..dac350a5e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs4/app/index.jsx
@@ -0,0 +1,18 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, StepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis = { title: 'Runs' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs4/app/index.tsx b/ej2-react/code-snippet/chart/series/steparea-cs4/app/index.tsx
new file mode 100644
index 000000000..891ea1f94
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs4/app/index.tsx
@@ -0,0 +1,29 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, StepAreaSeries}
+from'@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis: AxisModel = { title: 'Runs' };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs4/index.html b/ej2-react/code-snippet/chart/series/steparea-cs4/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs4/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs4/systemjs.config.js b/ej2-react/code-snippet/chart/series/steparea-cs4/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs4/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs5/app/datasource.jsx b/ej2-react/code-snippet/chart/series/steparea-cs5/app/datasource.jsx
new file mode 100644
index 000000000..5c1125bc0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs5/app/datasource.jsx
@@ -0,0 +1,12 @@
+export let stepAreaData = [
+ { x: 1, y: 7 }, { x: 2, y: 1 },
+ { x: 3, y: 1 }, { x: 4, y: 14 },
+ { x: 5, y: null }, { x: 6, y: 10 },
+ { x: 7, y: 8 }, { x: 8, y: 6 },
+ { x: 9, y: 10 }, { x: 10, y: 10 },
+ { x: 11, y: 16 }, { x: 12, y: 6 },
+ { x: 13, y: 14 }, { x: 14, y: undefined },
+ { x: 15, y: 5 }, { x: 16, y: 2 },
+ { x: 17, y: 14 }, { x: 18, y: 7 },
+ { x: 19, y: 7 }, { x: 20, y: 10 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs5/app/datasource.tsx b/ej2-react/code-snippet/chart/series/steparea-cs5/app/datasource.tsx
new file mode 100644
index 000000000..748f61d9e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs5/app/datasource.tsx
@@ -0,0 +1,12 @@
+export let stepAreaData: Object[] = [
+ { x: 1, y: 7 }, { x: 2, y: 1 },
+ { x: 3, y: 1 }, { x: 4, y: 14 },
+ { x: 5, y: null }, { x: 6, y: 10 },
+ { x: 7, y: 8 }, { x: 8, y: 6 },
+ { x: 9, y: 10 }, { x: 10, y: 10 },
+ { x: 11, y: 16 }, { x: 12, y: 6 },
+ { x: 13, y: 14 }, { x: 14, y: undefined },
+ { x: 15, y: 5 }, { x: 16, y: 2 },
+ { x: 17, y: 14 }, { x: 18, y: 7 },
+ { x: 19, y: 7 }, { x: 20, y: 10 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs5/app/index.jsx b/ej2-react/code-snippet/chart/series/steparea-cs5/app/index.jsx
new file mode 100644
index 000000000..9c8fc1718
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs5/app/index.jsx
@@ -0,0 +1,20 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, StepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis = { title: 'Runs' };
+ const emptyPoint = {mode: 'Gap'};
+ const marker = {visible: true};
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs5/app/index.tsx b/ej2-react/code-snippet/chart/series/steparea-cs5/app/index.tsx
new file mode 100644
index 000000000..1c7861e1c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs5/app/index.tsx
@@ -0,0 +1,30 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, StepAreaSeries}
+from'@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis: AxisModel = { title: 'Runs' };
+ const emptyPoint: object = {mode: 'Gap'};
+ const marker: object = {visible: true};
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs5/index.html b/ej2-react/code-snippet/chart/series/steparea-cs5/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs5/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs5/systemjs.config.js b/ej2-react/code-snippet/chart/series/steparea-cs5/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs5/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs6/app/datasource.jsx b/ej2-react/code-snippet/chart/series/steparea-cs6/app/datasource.jsx
new file mode 100644
index 000000000..5c1125bc0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs6/app/datasource.jsx
@@ -0,0 +1,12 @@
+export let stepAreaData = [
+ { x: 1, y: 7 }, { x: 2, y: 1 },
+ { x: 3, y: 1 }, { x: 4, y: 14 },
+ { x: 5, y: null }, { x: 6, y: 10 },
+ { x: 7, y: 8 }, { x: 8, y: 6 },
+ { x: 9, y: 10 }, { x: 10, y: 10 },
+ { x: 11, y: 16 }, { x: 12, y: 6 },
+ { x: 13, y: 14 }, { x: 14, y: undefined },
+ { x: 15, y: 5 }, { x: 16, y: 2 },
+ { x: 17, y: 14 }, { x: 18, y: 7 },
+ { x: 19, y: 7 }, { x: 20, y: 10 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs6/app/datasource.tsx b/ej2-react/code-snippet/chart/series/steparea-cs6/app/datasource.tsx
new file mode 100644
index 000000000..748f61d9e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs6/app/datasource.tsx
@@ -0,0 +1,12 @@
+export let stepAreaData: Object[] = [
+ { x: 1, y: 7 }, { x: 2, y: 1 },
+ { x: 3, y: 1 }, { x: 4, y: 14 },
+ { x: 5, y: null }, { x: 6, y: 10 },
+ { x: 7, y: 8 }, { x: 8, y: 6 },
+ { x: 9, y: 10 }, { x: 10, y: 10 },
+ { x: 11, y: 16 }, { x: 12, y: 6 },
+ { x: 13, y: 14 }, { x: 14, y: undefined },
+ { x: 15, y: 5 }, { x: 16, y: 2 },
+ { x: 17, y: 14 }, { x: 18, y: 7 },
+ { x: 19, y: 7 }, { x: 20, y: 10 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs6/app/index.jsx b/ej2-react/code-snippet/chart/series/steparea-cs6/app/index.jsx
new file mode 100644
index 000000000..a4f3c5871
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs6/app/index.jsx
@@ -0,0 +1,20 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, StepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis = { title: 'Runs' };
+ const emptyPoint = {mode: 'Average', fill: 'red'};
+ const marker = {visible: true};
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs6/app/index.tsx b/ej2-react/code-snippet/chart/series/steparea-cs6/app/index.tsx
new file mode 100644
index 000000000..8e456d1ed
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs6/app/index.tsx
@@ -0,0 +1,30 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, StepAreaSeries}
+from'@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis: AxisModel = { title: 'Runs' };
+ const emptyPoint: object = {mode: 'Average', fill: 'red'};
+ const marker: object = {visible: true};
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs6/index.html b/ej2-react/code-snippet/chart/series/steparea-cs6/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs6/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs6/systemjs.config.js b/ej2-react/code-snippet/chart/series/steparea-cs6/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs6/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs7/app/datasource.jsx b/ej2-react/code-snippet/chart/series/steparea-cs7/app/datasource.jsx
new file mode 100644
index 000000000..5c1125bc0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs7/app/datasource.jsx
@@ -0,0 +1,12 @@
+export let stepAreaData = [
+ { x: 1, y: 7 }, { x: 2, y: 1 },
+ { x: 3, y: 1 }, { x: 4, y: 14 },
+ { x: 5, y: null }, { x: 6, y: 10 },
+ { x: 7, y: 8 }, { x: 8, y: 6 },
+ { x: 9, y: 10 }, { x: 10, y: 10 },
+ { x: 11, y: 16 }, { x: 12, y: 6 },
+ { x: 13, y: 14 }, { x: 14, y: undefined },
+ { x: 15, y: 5 }, { x: 16, y: 2 },
+ { x: 17, y: 14 }, { x: 18, y: 7 },
+ { x: 19, y: 7 }, { x: 20, y: 10 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs7/app/datasource.tsx b/ej2-react/code-snippet/chart/series/steparea-cs7/app/datasource.tsx
new file mode 100644
index 000000000..748f61d9e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs7/app/datasource.tsx
@@ -0,0 +1,12 @@
+export let stepAreaData: Object[] = [
+ { x: 1, y: 7 }, { x: 2, y: 1 },
+ { x: 3, y: 1 }, { x: 4, y: 14 },
+ { x: 5, y: null }, { x: 6, y: 10 },
+ { x: 7, y: 8 }, { x: 8, y: 6 },
+ { x: 9, y: 10 }, { x: 10, y: 10 },
+ { x: 11, y: 16 }, { x: 12, y: 6 },
+ { x: 13, y: 14 }, { x: 14, y: undefined },
+ { x: 15, y: 5 }, { x: 16, y: 2 },
+ { x: 17, y: 14 }, { x: 18, y: 7 },
+ { x: 19, y: 7 }, { x: 20, y: 10 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs7/app/index.jsx b/ej2-react/code-snippet/chart/series/steparea-cs7/app/index.jsx
new file mode 100644
index 000000000..ac0883b1c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs7/app/index.jsx
@@ -0,0 +1,20 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, StepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis = { title: 'Runs' };
+ const emptyPoint = {mode: 'Average', fill: 'red', border: {width: 1.5, color: 'green'}};
+ const marker = {visible: true};
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs7/app/index.tsx b/ej2-react/code-snippet/chart/series/steparea-cs7/app/index.tsx
new file mode 100644
index 000000000..d82a47cdd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs7/app/index.tsx
@@ -0,0 +1,30 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, StepAreaSeries}
+from'@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis: AxisModel = { title: 'Runs' };
+ const emptyPoint: object = {mode: 'Average', fill: 'red', border: {width: 1.5, color: 'green'}};
+ const marker: object = {visible: true};
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs7/index.html b/ej2-react/code-snippet/chart/series/steparea-cs7/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs7/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs7/systemjs.config.js b/ej2-react/code-snippet/chart/series/steparea-cs7/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs7/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs8/app/datasource.jsx b/ej2-react/code-snippet/chart/series/steparea-cs8/app/datasource.jsx
new file mode 100644
index 000000000..45d1ebd3b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs8/app/datasource.jsx
@@ -0,0 +1,12 @@
+export let stepAreaData = [
+ { x: 1, y: 7 }, { x: 2, y: 1 },
+ { x: 3, y: 1 }, { x: 4, y: 14 },
+ { x: 5, y: 1 }, { x: 6, y: 10 },
+ { x: 7, y: 8 }, { x: 8, y: 6 },
+ { x: 9, y: 10 }, { x: 10, y: 10 },
+ { x: 11, y: 16 }, { x: 12, y: 6 },
+ { x: 13, y: 14 }, { x: 14, y: 7 },
+ { x: 15, y: 5 }, { x: 16, y: 2 },
+ { x: 17, y: 14 }, { x: 18, y: 7 },
+ { x: 19, y: 7 }, { x: 20, y: 10 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs8/app/datasource.tsx b/ej2-react/code-snippet/chart/series/steparea-cs8/app/datasource.tsx
new file mode 100644
index 000000000..ee50c6708
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs8/app/datasource.tsx
@@ -0,0 +1,12 @@
+export let stepAreaData: Object[] = [
+ { x: 1, y: 7 }, { x: 2, y: 1 },
+ { x: 3, y: 1 }, { x: 4, y: 14 },
+ { x: 5, y: 1 }, { x: 6, y: 10 },
+ { x: 7, y: 8 }, { x: 8, y: 6 },
+ { x: 9, y: 10 }, { x: 10, y: 10 },
+ { x: 11, y: 16 }, { x: 12, y: 6 },
+ { x: 13, y: 14 }, { x: 14, y: 7 },
+ { x: 15, y: 5 }, { x: 16, y: 2 },
+ { x: 17, y: 14 }, { x: 18, y: 7 },
+ { x: 19, y: 7 }, { x: 20, y: 10 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs8/app/index.jsx b/ej2-react/code-snippet/chart/series/steparea-cs8/app/index.jsx
new file mode 100644
index 000000000..3cdd82335
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs8/app/index.jsx
@@ -0,0 +1,23 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, StepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis = { title: 'Runs' };
+
+ const seriesRender = (args) => {
+ args.fill = '#ff6347';
+ };
+ const marker = {visible: true};
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs8/app/index.tsx b/ej2-react/code-snippet/chart/series/steparea-cs8/app/index.tsx
new file mode 100644
index 000000000..9227dfe04
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs8/app/index.tsx
@@ -0,0 +1,33 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, StepAreaSeries, ISeriesRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis: AxisModel = { title: 'Runs' };
+ const seriesRender = (args: ISeriesRenderEventArgs) => {
+ args.fill = '#ff6347';
+};
+const marker: object = {visible: true};
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs8/index.html b/ej2-react/code-snippet/chart/series/steparea-cs8/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs8/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs8/systemjs.config.js b/ej2-react/code-snippet/chart/series/steparea-cs8/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs8/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs9/app/datasource.jsx b/ej2-react/code-snippet/chart/series/steparea-cs9/app/datasource.jsx
new file mode 100644
index 000000000..45d1ebd3b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs9/app/datasource.jsx
@@ -0,0 +1,12 @@
+export let stepAreaData = [
+ { x: 1, y: 7 }, { x: 2, y: 1 },
+ { x: 3, y: 1 }, { x: 4, y: 14 },
+ { x: 5, y: 1 }, { x: 6, y: 10 },
+ { x: 7, y: 8 }, { x: 8, y: 6 },
+ { x: 9, y: 10 }, { x: 10, y: 10 },
+ { x: 11, y: 16 }, { x: 12, y: 6 },
+ { x: 13, y: 14 }, { x: 14, y: 7 },
+ { x: 15, y: 5 }, { x: 16, y: 2 },
+ { x: 17, y: 14 }, { x: 18, y: 7 },
+ { x: 19, y: 7 }, { x: 20, y: 10 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs9/app/datasource.tsx b/ej2-react/code-snippet/chart/series/steparea-cs9/app/datasource.tsx
new file mode 100644
index 000000000..ee50c6708
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs9/app/datasource.tsx
@@ -0,0 +1,12 @@
+export let stepAreaData: Object[] = [
+ { x: 1, y: 7 }, { x: 2, y: 1 },
+ { x: 3, y: 1 }, { x: 4, y: 14 },
+ { x: 5, y: 1 }, { x: 6, y: 10 },
+ { x: 7, y: 8 }, { x: 8, y: 6 },
+ { x: 9, y: 10 }, { x: 10, y: 10 },
+ { x: 11, y: 16 }, { x: 12, y: 6 },
+ { x: 13, y: 14 }, { x: 14, y: 7 },
+ { x: 15, y: 5 }, { x: 16, y: 2 },
+ { x: 17, y: 14 }, { x: 18, y: 7 },
+ { x: 19, y: 7 }, { x: 20, y: 10 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs9/app/index.jsx b/ej2-react/code-snippet/chart/series/steparea-cs9/app/index.jsx
new file mode 100644
index 000000000..37ec1bf40
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs9/app/index.jsx
@@ -0,0 +1,28 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, StepAreaSeries } from '@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+function App() {
+ const primaryxAxis = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis = { title: 'Runs' };
+
+ const pointRender = (args) => {
+ if (args.point.y <= 8) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ };
+ const marker = {visible: true};
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs9/app/index.tsx b/ej2-react/code-snippet/chart/series/steparea-cs9/app/index.tsx
new file mode 100644
index 000000000..b8e832a6a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs9/app/index.tsx
@@ -0,0 +1,38 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, StepAreaSeries, IPointRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { stepAreaData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel = { valueType: 'Double', title: 'Overs' };
+ const primaryyAxis: AxisModel = { title: 'Runs' };
+ const pointRender = (args: IPointRenderEventArgs) => {
+ if (args.point.y <= 8) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+};
+ const marker: object = {visible: true};
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs9/index.html b/ej2-react/code-snippet/chart/series/steparea-cs9/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs9/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparea-cs9/systemjs.config.js b/ej2-react/code-snippet/chart/series/steparea-cs9/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparea-cs9/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/steparearaiser-cs/app/index.jsx b/ej2-react/code-snippet/chart/series/steparearaiser-cs/app/index.jsx
new file mode 100644
index 000000000..9ee3a8a0e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparearaiser-cs/app/index.jsx
@@ -0,0 +1,25 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, StepAreaSeries}
+from'@syncfusion/ej2-react-charts';
+import { stepData } from "../datasource";
+
+function App() {
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/steparearaiser-cs/app/index.tsx b/ej2-react/code-snippet/chart/series/steparearaiser-cs/app/index.tsx
new file mode 100644
index 000000000..b0968a1a0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparearaiser-cs/app/index.tsx
@@ -0,0 +1,27 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, StepAreaSeries}
+from'@syncfusion/ej2-react-charts';
+import { stepData } from "../datasource";
+
+function App() {
+ const primaryxAxis: AxisModel = {valueType: 'Double',title: 'Overs' };
+ const primaryyAxis: AxisModel = {title: 'Runs' };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/steparearaiser-cs/datasource.js b/ej2-react/code-snippet/chart/series/steparearaiser-cs/datasource.js
new file mode 100644
index 000000000..3e4bc74ab
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparearaiser-cs/datasource.js
@@ -0,0 +1,12 @@
+export let stepData = [
+ { x: 1, y: 7 }, { x: 2, y: 1 },
+ { x: 3, y: 1 }, { x: 4, y: 14 },
+ { x: 5, y: 1 }, { x: 6, y: 10 },
+ { x: 7, y: 8 }, { x: 8, y: 6 },
+ { x: 9, y: 10 }, { x: 10, y: 10 },
+ { x: 11, y: 16 }, { x: 12, y: 6 },
+ { x: 13, y: 14 }, { x: 14, y: 7 },
+ { x: 15, y: 5 }, { x: 16, y: 2 },
+ { x: 17, y: 14 }, { x: 18, y: 7 },
+ { x: 19, y: 7 }, { x: 20, y: 10 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparearaiser-cs/datasource.ts b/ej2-react/code-snippet/chart/series/steparearaiser-cs/datasource.ts
new file mode 100644
index 000000000..57dce5a08
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparearaiser-cs/datasource.ts
@@ -0,0 +1,12 @@
+export let stepData: Object[] = [
+ { x: 1, y: 7 }, { x: 2, y: 1 },
+ { x: 3, y: 1 }, { x: 4, y: 14 },
+ { x: 5, y: 1 }, { x: 6, y: 10 },
+ { x: 7, y: 8 }, { x: 8, y: 6 },
+ { x: 9, y: 10 }, { x: 10, y: 10 },
+ { x: 11, y: 16 }, { x: 12, y: 6 },
+ { x: 13, y: 14 }, { x: 14, y: 7 },
+ { x: 15, y: 5 }, { x: 16, y: 2 },
+ { x: 17, y: 14 }, { x: 18, y: 7 },
+ { x: 19, y: 7 }, { x: 20, y: 10 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparearaiser-cs/index.html b/ej2-react/code-snippet/chart/series/steparearaiser-cs/index.html
new file mode 100644
index 000000000..c807e8648
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparearaiser-cs/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Accumulation Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/steparearaiser-cs/systemjs.config.js b/ej2-react/code-snippet/chart/series/steparearaiser-cs/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/steparearaiser-cs/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs1/app/index.jsx b/ej2-react/code-snippet/chart/series/stepline-cs1/app/index.jsx
index b382500a0..105658b49 100644
--- a/ej2-react/code-snippet/chart/series/stepline-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/chart/series/stepline-cs1/app/index.jsx
@@ -7,7 +7,7 @@ function App() {
return
-
+
;
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs1/app/index.tsx b/ej2-react/code-snippet/chart/series/stepline-cs1/app/index.tsx
index 949030da7..2b786ee5d 100644
--- a/ej2-react/code-snippet/chart/series/stepline-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/chart/series/stepline-cs1/app/index.tsx
@@ -14,8 +14,8 @@ function App() {
return
-
+
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs10/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stepline-cs10/app/datasource.jsx
new file mode 100644
index 000000000..609287ba7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs10/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs10/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stepline-cs10/app/datasource.tsx
new file mode 100644
index 000000000..c88c0e7d8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs10/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs10/app/index.jsx b/ej2-react/code-snippet/chart/series/stepline-cs10/app/index.jsx
new file mode 100644
index 000000000..8e1148f9e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs10/app/index.jsx
@@ -0,0 +1,20 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StepLineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ const seriesRender = (args) => {
+ args.fill = '#ff6347';
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs10/app/index.tsx b/ej2-react/code-snippet/chart/series/stepline-cs10/app/index.tsx
new file mode 100644
index 000000000..ea3a4daef
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs10/app/index.tsx
@@ -0,0 +1,29 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StepLineSeries, ISeriesRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ const seriesRender = (args: ISeriesRenderEventArgs) => {
+ args.fill = '#ff6347';
+};
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs10/index.html b/ej2-react/code-snippet/chart/series/stepline-cs10/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs10/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs10/systemjs.config.js b/ej2-react/code-snippet/chart/series/stepline-cs10/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs10/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs11/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stepline-cs11/app/datasource.jsx
new file mode 100644
index 000000000..609287ba7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs11/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs11/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stepline-cs11/app/datasource.tsx
new file mode 100644
index 000000000..c88c0e7d8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs11/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs11/app/index.jsx b/ej2-react/code-snippet/chart/series/stepline-cs11/app/index.jsx
new file mode 100644
index 000000000..d3bba8c4e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs11/app/index.jsx
@@ -0,0 +1,25 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StepLineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ const pointRender = (args) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs11/app/index.tsx b/ej2-react/code-snippet/chart/series/stepline-cs11/app/index.tsx
new file mode 100644
index 000000000..95debb25a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs11/app/index.tsx
@@ -0,0 +1,34 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StepLineSeries, IPointRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ const pointRender = (args: IPointRenderEventArgs) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+};
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs11/index.html b/ej2-react/code-snippet/chart/series/stepline-cs11/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs11/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs11/systemjs.config.js b/ej2-react/code-snippet/chart/series/stepline-cs11/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs11/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs2/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stepline-cs2/app/datasource.jsx
new file mode 100644
index 000000000..609287ba7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs2/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs2/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stepline-cs2/app/datasource.tsx
new file mode 100644
index 000000000..c88c0e7d8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs2/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs2/app/index.jsx b/ej2-react/code-snippet/chart/series/stepline-cs2/app/index.jsx
new file mode 100644
index 000000000..4eaddd91e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs2/app/index.jsx
@@ -0,0 +1,17 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StepLineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs2/app/index.tsx b/ej2-react/code-snippet/chart/series/stepline-cs2/app/index.tsx
new file mode 100644
index 000000000..302e00552
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs2/app/index.tsx
@@ -0,0 +1,27 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StepLineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs2/index.html b/ej2-react/code-snippet/chart/series/stepline-cs2/index.html
new file mode 100644
index 000000000..3053259ce
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs2/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs2/systemjs.config.js b/ej2-react/code-snippet/chart/series/stepline-cs2/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs2/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs3/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stepline-cs3/app/datasource.jsx
new file mode 100644
index 000000000..609287ba7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs3/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs3/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stepline-cs3/app/datasource.tsx
new file mode 100644
index 000000000..c88c0e7d8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs3/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs3/app/index.jsx b/ej2-react/code-snippet/chart/series/stepline-cs3/app/index.jsx
new file mode 100644
index 000000000..378f9d5ea
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs3/app/index.jsx
@@ -0,0 +1,17 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StepLineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs3/app/index.tsx b/ej2-react/code-snippet/chart/series/stepline-cs3/app/index.tsx
new file mode 100644
index 000000000..672fa4f2b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs3/app/index.tsx
@@ -0,0 +1,27 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StepLineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs3/index.html b/ej2-react/code-snippet/chart/series/stepline-cs3/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs3/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs3/systemjs.config.js b/ej2-react/code-snippet/chart/series/stepline-cs3/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs3/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs4/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stepline-cs4/app/datasource.jsx
new file mode 100644
index 000000000..609287ba7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs4/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs4/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stepline-cs4/app/datasource.tsx
new file mode 100644
index 000000000..c88c0e7d8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs4/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs4/app/index.jsx b/ej2-react/code-snippet/chart/series/stepline-cs4/app/index.jsx
new file mode 100644
index 000000000..0a216ea15
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs4/app/index.jsx
@@ -0,0 +1,17 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StepLineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs4/app/index.tsx b/ej2-react/code-snippet/chart/series/stepline-cs4/app/index.tsx
new file mode 100644
index 000000000..dd87812f0
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs4/app/index.tsx
@@ -0,0 +1,27 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StepLineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs4/index.html b/ej2-react/code-snippet/chart/series/stepline-cs4/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs4/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs4/systemjs.config.js b/ej2-react/code-snippet/chart/series/stepline-cs4/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs4/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs5/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stepline-cs5/app/datasource.jsx
new file mode 100644
index 000000000..609287ba7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs5/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs5/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stepline-cs5/app/datasource.tsx
new file mode 100644
index 000000000..c88c0e7d8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs5/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs5/app/index.jsx b/ej2-react/code-snippet/chart/series/stepline-cs5/app/index.jsx
new file mode 100644
index 000000000..ffc3651ec
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs5/app/index.jsx
@@ -0,0 +1,17 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StepLineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs5/app/index.tsx b/ej2-react/code-snippet/chart/series/stepline-cs5/app/index.tsx
new file mode 100644
index 000000000..8102592fb
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs5/app/index.tsx
@@ -0,0 +1,27 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StepLineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs5/index.html b/ej2-react/code-snippet/chart/series/stepline-cs5/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs5/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs5/systemjs.config.js b/ej2-react/code-snippet/chart/series/stepline-cs5/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs5/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs6/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stepline-cs6/app/datasource.jsx
new file mode 100644
index 000000000..609287ba7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs6/app/datasource.jsx
@@ -0,0 +1,9 @@
+export let data = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs6/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stepline-cs6/app/datasource.tsx
new file mode 100644
index 000000000..c88c0e7d8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs6/app/datasource.tsx
@@ -0,0 +1,9 @@
+export let data: Object[] = [
+ { x: 2005, y: 28 },
+ { x: 2006, y: 25 },
+ { x: 2007, y: 26 },
+ { x: 2008, y: 27 },
+ { x: 2009, y: 32 },
+ { x: 2010, y: 35 },
+ { x: 2011, y: 30 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs6/app/index.jsx b/ej2-react/code-snippet/chart/series/stepline-cs6/app/index.jsx
new file mode 100644
index 000000000..721df8fd8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs6/app/index.jsx
@@ -0,0 +1,17 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StepLineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs6/app/index.tsx b/ej2-react/code-snippet/chart/series/stepline-cs6/app/index.tsx
new file mode 100644
index 000000000..1bec1ad0b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs6/app/index.tsx
@@ -0,0 +1,27 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StepLineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs6/index.html b/ej2-react/code-snippet/chart/series/stepline-cs6/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs6/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs6/systemjs.config.js b/ej2-react/code-snippet/chart/series/stepline-cs6/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs6/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs7/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stepline-cs7/app/datasource.jsx
new file mode 100644
index 000000000..670b87a01
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs7/app/datasource.jsx
@@ -0,0 +1,10 @@
+export let data = [
+ { x: 2005, y: 370 },
+ { x: 2006, y: 378 },
+ { x: 2007, y: 416 },
+ { x: 2008, y: 404 },
+ { x: 2009, y: undefined },
+ { x: 2010, y: 376 },
+ { x: 2011, y: 365 },
+ { x: 2012, y: 350 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs7/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stepline-cs7/app/datasource.tsx
new file mode 100644
index 000000000..f7b9e6f60
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs7/app/datasource.tsx
@@ -0,0 +1,10 @@
+export let data: Object[] = [
+ { x: 2005, y: 370 },
+ { x: 2006, y: 378 },
+ { x: 2007, y: 416 },
+ { x: 2008, y: 404 },
+ { x: 2009, y: undefined },
+ { x: 2010, y: 376 },
+ { x: 2011, y: 365 },
+ { x: 2012, y: 350 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs7/app/index.jsx b/ej2-react/code-snippet/chart/series/stepline-cs7/app/index.jsx
new file mode 100644
index 000000000..82ead0a62
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs7/app/index.jsx
@@ -0,0 +1,18 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StepLineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ const emptyPoint = { mode: 'Gap' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs7/app/index.tsx b/ej2-react/code-snippet/chart/series/stepline-cs7/app/index.tsx
new file mode 100644
index 000000000..28f3e093b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs7/app/index.tsx
@@ -0,0 +1,27 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StepLineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ const emptyPoint: object = { mode: 'Gap' };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs7/index.html b/ej2-react/code-snippet/chart/series/stepline-cs7/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs7/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs7/systemjs.config.js b/ej2-react/code-snippet/chart/series/stepline-cs7/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs7/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs8/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stepline-cs8/app/datasource.jsx
new file mode 100644
index 000000000..670b87a01
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs8/app/datasource.jsx
@@ -0,0 +1,10 @@
+export let data = [
+ { x: 2005, y: 370 },
+ { x: 2006, y: 378 },
+ { x: 2007, y: 416 },
+ { x: 2008, y: 404 },
+ { x: 2009, y: undefined },
+ { x: 2010, y: 376 },
+ { x: 2011, y: 365 },
+ { x: 2012, y: 350 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs8/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stepline-cs8/app/datasource.tsx
new file mode 100644
index 000000000..f7b9e6f60
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs8/app/datasource.tsx
@@ -0,0 +1,10 @@
+export let data: Object[] = [
+ { x: 2005, y: 370 },
+ { x: 2006, y: 378 },
+ { x: 2007, y: 416 },
+ { x: 2008, y: 404 },
+ { x: 2009, y: undefined },
+ { x: 2010, y: 376 },
+ { x: 2011, y: 365 },
+ { x: 2012, y: 350 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs8/app/index.jsx b/ej2-react/code-snippet/chart/series/stepline-cs8/app/index.jsx
new file mode 100644
index 000000000..cd4d61fe8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs8/app/index.jsx
@@ -0,0 +1,18 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StepLineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ const emptyPoint = { mode: 'Average', fill: 'red' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs8/app/index.tsx b/ej2-react/code-snippet/chart/series/stepline-cs8/app/index.tsx
new file mode 100644
index 000000000..67bd0c633
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs8/app/index.tsx
@@ -0,0 +1,27 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StepLineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ const emptyPoint: object = { mode: 'Average', fill: 'red' };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs8/index.html b/ej2-react/code-snippet/chart/series/stepline-cs8/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs8/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs8/systemjs.config.js b/ej2-react/code-snippet/chart/series/stepline-cs8/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs8/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs9/app/datasource.jsx b/ej2-react/code-snippet/chart/series/stepline-cs9/app/datasource.jsx
new file mode 100644
index 000000000..670b87a01
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs9/app/datasource.jsx
@@ -0,0 +1,10 @@
+export let data = [
+ { x: 2005, y: 370 },
+ { x: 2006, y: 378 },
+ { x: 2007, y: 416 },
+ { x: 2008, y: 404 },
+ { x: 2009, y: undefined },
+ { x: 2010, y: 376 },
+ { x: 2011, y: 365 },
+ { x: 2012, y: 350 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs9/app/datasource.tsx b/ej2-react/code-snippet/chart/series/stepline-cs9/app/datasource.tsx
new file mode 100644
index 000000000..f7b9e6f60
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs9/app/datasource.tsx
@@ -0,0 +1,10 @@
+export let data: Object[] = [
+ { x: 2005, y: 370 },
+ { x: 2006, y: 378 },
+ { x: 2007, y: 416 },
+ { x: 2008, y: 404 },
+ { x: 2009, y: undefined },
+ { x: 2010, y: 376 },
+ { x: 2011, y: 365 },
+ { x: 2012, y: 350 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs9/app/index.jsx b/ej2-react/code-snippet/chart/series/stepline-cs9/app/index.jsx
new file mode 100644
index 000000000..9b337b961
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs9/app/index.jsx
@@ -0,0 +1,18 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, StepLineSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ const emptyPoint = { mode: 'Average', fill: 'red', border: {width: 2, color: 'green'} };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs9/app/index.tsx b/ej2-react/code-snippet/chart/series/stepline-cs9/app/index.tsx
new file mode 100644
index 000000000..88c2a2189
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs9/app/index.tsx
@@ -0,0 +1,27 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, StepLineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const marker = { visible: true, width: 10, height: 10, border: { width: 2, color: '#F8AB1D' } };
+ const emptyPoint: object = { mode: 'Average', fill: 'red', border: {width: 2, color: 'green'} };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs9/index.html b/ej2-react/code-snippet/chart/series/stepline-cs9/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs9/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepline-cs9/systemjs.config.js b/ej2-react/code-snippet/chart/series/stepline-cs9/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepline-cs9/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/stepraiser-cs/app/index.jsx b/ej2-react/code-snippet/chart/series/stepraiser-cs/app/index.jsx
new file mode 100644
index 000000000..48bc3c6d3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepraiser-cs/app/index.jsx
@@ -0,0 +1,36 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, StepLineSeries}
+from'@syncfusion/ej2-react-charts';
+import { stepData } from "../datasource";
+
+function App() {
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/stepraiser-cs/app/index.tsx b/ej2-react/code-snippet/chart/series/stepraiser-cs/app/index.tsx
new file mode 100644
index 000000000..48bc3c6d3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepraiser-cs/app/index.tsx
@@ -0,0 +1,36 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, StepLineSeries}
+from'@syncfusion/ej2-react-charts';
+import { stepData } from "../datasource";
+
+function App() {
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/stepraiser-cs/datasource.js b/ej2-react/code-snippet/chart/series/stepraiser-cs/datasource.js
new file mode 100644
index 000000000..a00057d5e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepraiser-cs/datasource.js
@@ -0,0 +1,10 @@
+export let stepData = [
+ { x: 2005, y: 370 },
+ { x: 2006, y: 378 },
+ { x: 2007, y: 416 },
+ { x: 2008, y: 404 },
+ { x: 2009, y: 390 },
+ { x: 2010, y: 376 },
+ { x: 2011, y: 365 },
+ { x: 2012, y: 350 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepraiser-cs/datasource.ts b/ej2-react/code-snippet/chart/series/stepraiser-cs/datasource.ts
new file mode 100644
index 000000000..657f6eb33
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepraiser-cs/datasource.ts
@@ -0,0 +1,10 @@
+export let stepData: Object[] = [
+ { x: 2005, y: 370 },
+ { x: 2006, y: 378 },
+ { x: 2007, y: 416 },
+ { x: 2008, y: 404 },
+ { x: 2009, y: 390 },
+ { x: 2010, y: 376 },
+ { x: 2011, y: 365 },
+ { x: 2012, y: 350 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepraiser-cs/index.html b/ej2-react/code-snippet/chart/series/stepraiser-cs/index.html
new file mode 100644
index 000000000..c807e8648
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepraiser-cs/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Accumulation Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/stepraiser-cs/systemjs.config.js b/ej2-react/code-snippet/chart/series/stepraiser-cs/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/stepraiser-cs/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs/app/datasource.jsx b/ej2-react/code-snippet/chart/series/vertical-cs/app/datasource.jsx
new file mode 100644
index 000000000..57a8b6377
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let splineData = [
+ { x: 'Jan', y: -1 }, { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 }, { x: 'Apr', y: null },
+ { x: 'May', y: 13 }, { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 }, { x: 'Aug', y: 20 },
+ { x: 'Sep', y: undefined }, { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 }, { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs/app/datasource.tsx b/ej2-react/code-snippet/chart/series/vertical-cs/app/datasource.tsx
new file mode 100644
index 000000000..ca57da471
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let splineData: Object[] = [
+ { x: 'Jan', y: -1 }, { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 }, { x: 'Apr', y: null },
+ { x: 'May', y: 13 }, { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 }, { x: 'Aug', y: 20 },
+ { x: 'Sep', y: undefined }, { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 }, { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs/app/index.jsx b/ej2-react/code-snippet/chart/series/vertical-cs/app/index.jsx
new file mode 100644
index 000000000..7dd6cb4bf
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs/app/index.jsx
@@ -0,0 +1,24 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, SplineSeries } from '@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Month', valueType: 'Category' };
+ const primaryyAxis = { minimum: -5, maximum: 35, interval: 5, title: 'Temperature in Celsius', labelFormat: '{value}C' };
+ const marker={visible:true};
+ const emptyPoint= { mode: 'Zero' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs/app/index.tsx b/ej2-react/code-snippet/chart/series/vertical-cs/app/index.tsx
new file mode 100644
index 000000000..e689397d3
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs/app/index.tsx
@@ -0,0 +1,32 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, SplineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel= { title: 'Month',valueType: 'Category'} ;
+ const primaryyAxis: AxisModel= { minimum: -5, maximum: 35, interval: 5,title: 'Temperature in Celsius',labelFormat: '{value}C'} ;
+ const marker = { visible: true };
+ const emptyPoint: object = { mode: 'Zero' };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs/index.html b/ej2-react/code-snippet/chart/series/vertical-cs/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs/systemjs.config.js b/ej2-react/code-snippet/chart/series/vertical-cs/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs1/app/datasource.jsx b/ej2-react/code-snippet/chart/series/vertical-cs1/app/datasource.jsx
new file mode 100644
index 000000000..57a8b6377
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs1/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let splineData = [
+ { x: 'Jan', y: -1 }, { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 }, { x: 'Apr', y: null },
+ { x: 'May', y: 13 }, { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 }, { x: 'Aug', y: 20 },
+ { x: 'Sep', y: undefined }, { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 }, { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs1/app/datasource.tsx b/ej2-react/code-snippet/chart/series/vertical-cs1/app/datasource.tsx
new file mode 100644
index 000000000..ca57da471
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs1/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let splineData: Object[] = [
+ { x: 'Jan', y: -1 }, { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 }, { x: 'Apr', y: null },
+ { x: 'May', y: 13 }, { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 }, { x: 'Aug', y: 20 },
+ { x: 'Sep', y: undefined }, { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 }, { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs1/app/index.jsx b/ej2-react/code-snippet/chart/series/vertical-cs1/app/index.jsx
new file mode 100644
index 000000000..915a443c1
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs1/app/index.jsx
@@ -0,0 +1,24 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, SplineSeries } from '@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Month', valueType: 'Category' };
+ const primaryyAxis = { minimum: -5, maximum: 35, interval: 5, title: 'Temperature in Celsius', labelFormat: '{value}C' };
+ const marker={visible:true};
+ const emptyPoint= { mode: 'Zero', fill: 'red' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs1/app/index.tsx b/ej2-react/code-snippet/chart/series/vertical-cs1/app/index.tsx
new file mode 100644
index 000000000..ac139a2c4
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs1/app/index.tsx
@@ -0,0 +1,32 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, SplineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel= { title: 'Month',valueType: 'Category'} ;
+ const primaryyAxis: AxisModel= { minimum: -5, maximum: 35, interval: 5,title: 'Temperature in Celsius',labelFormat: '{value}C'} ;
+ const marker = { visible: true };
+ const emptyPoint: object = { mode: 'Zero', fill: 'red' };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs1/index.html b/ej2-react/code-snippet/chart/series/vertical-cs1/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs1/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs1/systemjs.config.js b/ej2-react/code-snippet/chart/series/vertical-cs1/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs1/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs2/app/datasource.jsx b/ej2-react/code-snippet/chart/series/vertical-cs2/app/datasource.jsx
new file mode 100644
index 000000000..57a8b6377
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs2/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let splineData = [
+ { x: 'Jan', y: -1 }, { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 }, { x: 'Apr', y: null },
+ { x: 'May', y: 13 }, { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 }, { x: 'Aug', y: 20 },
+ { x: 'Sep', y: undefined }, { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 }, { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs2/app/datasource.tsx b/ej2-react/code-snippet/chart/series/vertical-cs2/app/datasource.tsx
new file mode 100644
index 000000000..ca57da471
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs2/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let splineData: Object[] = [
+ { x: 'Jan', y: -1 }, { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 }, { x: 'Apr', y: null },
+ { x: 'May', y: 13 }, { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 }, { x: 'Aug', y: 20 },
+ { x: 'Sep', y: undefined }, { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 }, { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs2/app/index.jsx b/ej2-react/code-snippet/chart/series/vertical-cs2/app/index.jsx
new file mode 100644
index 000000000..2cdea1900
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs2/app/index.jsx
@@ -0,0 +1,24 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, SplineSeries } from '@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Month', valueType: 'Category' };
+ const primaryyAxis = { minimum: -5, maximum: 35, interval: 5, title: 'Temperature in Celsius', labelFormat: '{value}C' };
+ const marker={visible:true};
+ const emptyPoint= { mode: 'Zero', fill: 'red', border: {width: 2, color: 'red'} };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs2/app/index.tsx b/ej2-react/code-snippet/chart/series/vertical-cs2/app/index.tsx
new file mode 100644
index 000000000..002901a20
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs2/app/index.tsx
@@ -0,0 +1,32 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, SplineSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel= { title: 'Month',valueType: 'Category'} ;
+ const primaryyAxis: AxisModel= { minimum: -5, maximum: 35, interval: 5,title: 'Temperature in Celsius',labelFormat: '{value}C'} ;
+ const marker = { visible: true };
+ const emptyPoint: object = { mode: 'Zero', fill: 'red', border: {width: 2, color: 'red'} };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs2/index.html b/ej2-react/code-snippet/chart/series/vertical-cs2/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs2/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs2/systemjs.config.js b/ej2-react/code-snippet/chart/series/vertical-cs2/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs2/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs3/app/datasource.jsx b/ej2-react/code-snippet/chart/series/vertical-cs3/app/datasource.jsx
new file mode 100644
index 000000000..e130d4a09
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs3/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let splineData = [
+ { x: 'Jan', y: -1 }, { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 }, { x: 'Apr', y: 14 },
+ { x: 'May', y: 13 }, { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 }, { x: 'Aug', y: 20 },
+ { x: 'Sep', y: 10 }, { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 }, { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs3/app/datasource.tsx b/ej2-react/code-snippet/chart/series/vertical-cs3/app/datasource.tsx
new file mode 100644
index 000000000..6428ee542
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs3/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let splineData: Object[] = [
+ { x: 'Jan', y: -1 }, { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 }, { x: 'Apr', y: 14 },
+ { x: 'May', y: 13 }, { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 }, { x: 'Aug', y: 20 },
+ { x: 'Sep', y: 10 }, { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 }, { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs3/app/index.jsx b/ej2-react/code-snippet/chart/series/vertical-cs3/app/index.jsx
new file mode 100644
index 000000000..a8b7bfd98
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs3/app/index.jsx
@@ -0,0 +1,26 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, SplineSeries } from '@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Month', valueType: 'Category' };
+ const primaryyAxis = { minimum: -5, maximum: 35, interval: 5, title: 'Temperature in Celsius', labelFormat: '{value}C' };
+ const marker={visible:true};
+ const seriesRender = (args) => {
+ args.fill = '#ff6347';
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs3/app/index.tsx b/ej2-react/code-snippet/chart/series/vertical-cs3/app/index.tsx
new file mode 100644
index 000000000..c949ec791
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs3/app/index.tsx
@@ -0,0 +1,34 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, SplineSeries, ISeriesRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel= { title: 'Month',valueType: 'Category'} ;
+ const primaryyAxis: AxisModel= { minimum: -5, maximum: 35, interval: 5,title: 'Temperature in Celsius',labelFormat: '{value}C'} ;
+ const marker = { visible: true };
+ const seriesRender = (args: ISeriesRenderEventArgs) => {
+ args.fill = '#ff6347';
+ };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs3/index.html b/ej2-react/code-snippet/chart/series/vertical-cs3/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs3/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs3/systemjs.config.js b/ej2-react/code-snippet/chart/series/vertical-cs3/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs3/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs4/app/datasource.jsx b/ej2-react/code-snippet/chart/series/vertical-cs4/app/datasource.jsx
new file mode 100644
index 000000000..e130d4a09
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs4/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let splineData = [
+ { x: 'Jan', y: -1 }, { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 }, { x: 'Apr', y: 14 },
+ { x: 'May', y: 13 }, { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 }, { x: 'Aug', y: 20 },
+ { x: 'Sep', y: 10 }, { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 }, { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs4/app/datasource.tsx b/ej2-react/code-snippet/chart/series/vertical-cs4/app/datasource.tsx
new file mode 100644
index 000000000..6428ee542
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs4/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let splineData: Object[] = [
+ { x: 'Jan', y: -1 }, { x: 'Feb', y: -1 },
+ { x: 'Mar', y: 2 }, { x: 'Apr', y: 14 },
+ { x: 'May', y: 13 }, { x: 'Jun', y: 18 },
+ { x: 'Jul', y: 21 }, { x: 'Aug', y: 20 },
+ { x: 'Sep', y: 10 }, { x: 'Oct', y: 10 },
+ { x: 'Nov', y: 4 }, { x: 'Dec', y: 0 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs4/app/index.jsx b/ej2-react/code-snippet/chart/series/vertical-cs4/app/index.jsx
new file mode 100644
index 000000000..5d8b88402
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs4/app/index.jsx
@@ -0,0 +1,31 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, SplineSeries } from '@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Month', valueType: 'Category' };
+ const primaryyAxis = { minimum: -5, maximum: 35, interval: 5, title: 'Temperature in Celsius', labelFormat: '{value}C' };
+ const marker={visible:true};
+ const pointRender = (args) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs4/app/index.tsx b/ej2-react/code-snippet/chart/series/vertical-cs4/app/index.tsx
new file mode 100644
index 000000000..3d4c6c200
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs4/app/index.tsx
@@ -0,0 +1,39 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, SplineSeries, IPointRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { splineData } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel= { title: 'Month',valueType: 'Category'} ;
+ const primaryyAxis: AxisModel= { minimum: -5, maximum: 35, interval: 5,title: 'Temperature in Celsius',labelFormat: '{value}C'} ;
+ const marker = { visible: true };
+ const pointRender = (args: IPointRenderEventArgs) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs4/index.html b/ej2-react/code-snippet/chart/series/vertical-cs4/index.html
new file mode 100644
index 000000000..7fdba8f1d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs4/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Line Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/vertical-cs4/systemjs.config.js b/ej2-react/code-snippet/chart/series/vertical-cs4/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/vertical-cs4/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs10/app/datasource.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs10/app/datasource.jsx
new file mode 100644
index 000000000..99f97e53a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs10/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let chartData = [
+ { x: 'Button Defect', y: 23 },
+ { x: 'Pocket Defect', y: 16 },
+ { x: 'Collar Defect ', y: 10 },
+ { x: 'Cuff Defect', y: 7 },
+ { x: 'Sleeve Defect', y: 6 },
+ { x: 'Other Defect', y: 2 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs10/app/datasource.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs10/app/datasource.tsx
new file mode 100644
index 000000000..80b3c521d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs10/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let chartData: Object[] = [
+ { x: 'Button Defect', y: 23 },
+ { x: 'Pocket Defect', y: 16 },
+ { x: 'Collar Defect ', y: 10 },
+ { x: 'Cuff Defect', y: 7 },
+ { x: 'Sleeve Defect', y: 6 },
+ { x: 'Other Defect', y: 2 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs10/app/index.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs10/app/index.jsx
new file mode 100644
index 000000000..85552d04e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs10/app/index.jsx
@@ -0,0 +1,23 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, ParetoSeries, ColumnSeries, LineSeries, Legend, Category, Tooltip, DataLabel } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Defects', valueType: 'Category' };
+ const primaryyAxis = { title: 'Frequency', minimum: 0, maximum: 150, interval: 30 };
+ const tooltipsettings = { enable: true };
+ const marker = { visible: true, width: 10, height: 10 };
+ const paretoOptions = {
+ marker: { visible: true, width: 10, height: 10 },
+ }
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs10/app/index.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs10/app/index.tsx
new file mode 100644
index 000000000..e44c6a69b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs10/app/index.tsx
@@ -0,0 +1,37 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, ChartTheme,LegendSettingsModel,TooltipSettingsModel,ParetoSeries,ColumnSeries,LineSeries,
+ Legend, Category, Tooltip, ILoadedEventArgs, DataLabel
+} from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel= { title: 'Defects', valueType: 'Category' } ;
+ const primaryyAxis: AxisModel= { title: 'Frequency', minimum: 0, maximum: 150,interval: 30 } ;
+ const tooltipsettings: TooltipSettingsModel={ enable: true };
+ const marker={ visible: true, width: 10, height: 10};
+ const paretoOptions: object = {
+ marker: { visible: true, width: 10, height: 10 },
+ };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs10/index.html b/ej2-react/code-snippet/chart/series/waterfall-cs10/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs10/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs10/systemjs.config.js b/ej2-react/code-snippet/chart/series/waterfall-cs10/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs10/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs11/app/datasource.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs11/app/datasource.jsx
new file mode 100644
index 000000000..99f97e53a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs11/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let chartData = [
+ { x: 'Button Defect', y: 23 },
+ { x: 'Pocket Defect', y: 16 },
+ { x: 'Collar Defect ', y: 10 },
+ { x: 'Cuff Defect', y: 7 },
+ { x: 'Sleeve Defect', y: 6 },
+ { x: 'Other Defect', y: 2 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs11/app/datasource.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs11/app/datasource.tsx
new file mode 100644
index 000000000..80b3c521d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs11/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let chartData: Object[] = [
+ { x: 'Button Defect', y: 23 },
+ { x: 'Pocket Defect', y: 16 },
+ { x: 'Collar Defect ', y: 10 },
+ { x: 'Cuff Defect', y: 7 },
+ { x: 'Sleeve Defect', y: 6 },
+ { x: 'Other Defect', y: 2 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs11/app/index.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs11/app/index.jsx
new file mode 100644
index 000000000..daacfeb1a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs11/app/index.jsx
@@ -0,0 +1,23 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, ParetoSeries, ColumnSeries, LineSeries, Legend, Category, Tooltip, DataLabel } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Defects', valueType: 'Category' };
+ const primaryyAxis = { title: 'Frequency', minimum: 0, maximum: 150, interval: 30 };
+ const tooltipsettings = { enable: true };
+ const marker = { visible: true, width: 10, height: 10 };
+ const paretoOptions = {
+ marker: { visible: true, width: 10, height: 10 }, showAxis: false
+ }
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs11/app/index.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs11/app/index.tsx
new file mode 100644
index 000000000..1cd8ca327
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs11/app/index.tsx
@@ -0,0 +1,37 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, ChartTheme,LegendSettingsModel,TooltipSettingsModel,ParetoSeries,ColumnSeries,LineSeries,
+ Legend, Category, Tooltip, ILoadedEventArgs, DataLabel
+} from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel= { title: 'Defects', valueType: 'Category' } ;
+ const primaryyAxis: AxisModel= { title: 'Frequency', minimum: 0, maximum: 150,interval: 30 } ;
+ const tooltipsettings: TooltipSettingsModel={ enable: true };
+ const marker={ visible: true, width: 10, height: 10};
+ const paretoOptions: object = {
+ marker: { visible: true, width: 10, height: 10 }, showAxis: false
+ };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs11/index.html b/ej2-react/code-snippet/chart/series/waterfall-cs11/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs11/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs11/systemjs.config.js b/ej2-react/code-snippet/chart/series/waterfall-cs11/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs11/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs12/app/datasource.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs12/app/datasource.jsx
new file mode 100644
index 000000000..14511ef44
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs12/app/datasource.jsx
@@ -0,0 +1,11 @@
+export let chartData = [
+ { x: 'Button Defect', y: 23 },
+ { x: 'Pocket Defect', y: 16 },
+ { x: 'Collar Defect', y: null },
+ { x: 'Cuff Defect', y: 7 },
+ { x: 'Sleeve Defect', y: 6 },
+ { x: 'Other Defect', y: 2 },
+ { x: 'Stitching Defect', y: null },
+ { x: 'Zipper Defect', y: 3 },
+ { x: 'Fabric Defect', y: 9 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs12/app/datasource.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs12/app/datasource.tsx
new file mode 100644
index 000000000..264013faf
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs12/app/datasource.tsx
@@ -0,0 +1,11 @@
+export let chartData: Object[] = [
+ { x: 'Button Defect', y: 23 },
+ { x: 'Pocket Defect', y: 16 },
+ { x: 'Collar Defect', y: null },
+ { x: 'Cuff Defect', y: 7 },
+ { x: 'Sleeve Defect', y: 6 },
+ { x: 'Other Defect', y: 2 },
+ { x: 'Stitching Defect', y: null },
+ { x: 'Zipper Defect', y: 3 },
+ { x: 'Fabric Defect', y: 9 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs12/app/index.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs12/app/index.jsx
new file mode 100644
index 000000000..2265959cd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs12/app/index.jsx
@@ -0,0 +1,24 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, ParetoSeries, ColumnSeries, LineSeries, Legend, Category, Tooltip, DataLabel } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Defects', valueType: 'Category' };
+ const primaryyAxis = { title: 'Frequency', minimum: 0, maximum: 150, interval: 30 };
+ const tooltipsettings = { enable: true };
+ const marker = { visible: true, width: 10, height: 10 };
+ const paretoOptions = {
+ marker: { visible: true, width: 10, height: 10 }, showAxis: false
+ }
+ const emptyPoint = { mode: 'Gap' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs12/app/index.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs12/app/index.tsx
new file mode 100644
index 000000000..522b38b8c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs12/app/index.tsx
@@ -0,0 +1,38 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, ChartTheme,LegendSettingsModel,TooltipSettingsModel,ParetoSeries,ColumnSeries,LineSeries,
+ Legend, Category, Tooltip, ILoadedEventArgs, DataLabel
+} from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel= { title: 'Defects', valueType: 'Category' } ;
+ const primaryyAxis: AxisModel= { title: 'Frequency', minimum: 0, maximum: 150,interval: 30 } ;
+ const tooltipsettings: TooltipSettingsModel={ enable: true };
+ const marker={ visible: true, width: 10, height: 10};
+ const paretoOptions: object = {
+ marker: { visible: true, width: 10, height: 10 }, showAxis: false
+ };
+ const emptyPoint: object = { mode: 'Gap' };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs12/index.html b/ej2-react/code-snippet/chart/series/waterfall-cs12/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs12/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs12/systemjs.config.js b/ej2-react/code-snippet/chart/series/waterfall-cs12/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs12/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs13/app/datasource.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs13/app/datasource.jsx
new file mode 100644
index 000000000..14511ef44
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs13/app/datasource.jsx
@@ -0,0 +1,11 @@
+export let chartData = [
+ { x: 'Button Defect', y: 23 },
+ { x: 'Pocket Defect', y: 16 },
+ { x: 'Collar Defect', y: null },
+ { x: 'Cuff Defect', y: 7 },
+ { x: 'Sleeve Defect', y: 6 },
+ { x: 'Other Defect', y: 2 },
+ { x: 'Stitching Defect', y: null },
+ { x: 'Zipper Defect', y: 3 },
+ { x: 'Fabric Defect', y: 9 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs13/app/datasource.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs13/app/datasource.tsx
new file mode 100644
index 000000000..264013faf
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs13/app/datasource.tsx
@@ -0,0 +1,11 @@
+export let chartData: Object[] = [
+ { x: 'Button Defect', y: 23 },
+ { x: 'Pocket Defect', y: 16 },
+ { x: 'Collar Defect', y: null },
+ { x: 'Cuff Defect', y: 7 },
+ { x: 'Sleeve Defect', y: 6 },
+ { x: 'Other Defect', y: 2 },
+ { x: 'Stitching Defect', y: null },
+ { x: 'Zipper Defect', y: 3 },
+ { x: 'Fabric Defect', y: 9 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs13/app/index.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs13/app/index.jsx
new file mode 100644
index 000000000..9a8d45857
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs13/app/index.jsx
@@ -0,0 +1,24 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, ParetoSeries, ColumnSeries, LineSeries, Legend, Category, Tooltip, DataLabel } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Defects', valueType: 'Category' };
+ const primaryyAxis = { title: 'Frequency', minimum: 0, maximum: 150, interval: 30 };
+ const tooltipsettings = { enable: true };
+ const marker = { visible: true, width: 10, height: 10 };
+ const paretoOptions = {
+ marker: { visible: true, width: 10, height: 10 }, showAxis: false
+ }
+ const emptyPoint = { mode: 'Average', fill: 'red' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs13/app/index.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs13/app/index.tsx
new file mode 100644
index 000000000..644aa0b18
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs13/app/index.tsx
@@ -0,0 +1,38 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, ChartTheme,LegendSettingsModel,TooltipSettingsModel,ParetoSeries,ColumnSeries,LineSeries,
+ Legend, Category, Tooltip, ILoadedEventArgs, DataLabel
+} from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel= { title: 'Defects', valueType: 'Category' } ;
+ const primaryyAxis: AxisModel= { title: 'Frequency', minimum: 0, maximum: 150,interval: 30 } ;
+ const tooltipsettings: TooltipSettingsModel={ enable: true };
+ const marker={ visible: true, width: 10, height: 10};
+ const paretoOptions: object = {
+ marker: { visible: true, width: 10, height: 10 }, showAxis: false
+ };
+ const emptyPoint: object = { mode: 'Average', fill: 'red' };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs13/index.html b/ej2-react/code-snippet/chart/series/waterfall-cs13/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs13/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs13/systemjs.config.js b/ej2-react/code-snippet/chart/series/waterfall-cs13/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs13/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs14/app/datasource.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs14/app/datasource.jsx
new file mode 100644
index 000000000..14511ef44
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs14/app/datasource.jsx
@@ -0,0 +1,11 @@
+export let chartData = [
+ { x: 'Button Defect', y: 23 },
+ { x: 'Pocket Defect', y: 16 },
+ { x: 'Collar Defect', y: null },
+ { x: 'Cuff Defect', y: 7 },
+ { x: 'Sleeve Defect', y: 6 },
+ { x: 'Other Defect', y: 2 },
+ { x: 'Stitching Defect', y: null },
+ { x: 'Zipper Defect', y: 3 },
+ { x: 'Fabric Defect', y: 9 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs14/app/datasource.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs14/app/datasource.tsx
new file mode 100644
index 000000000..264013faf
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs14/app/datasource.tsx
@@ -0,0 +1,11 @@
+export let chartData: Object[] = [
+ { x: 'Button Defect', y: 23 },
+ { x: 'Pocket Defect', y: 16 },
+ { x: 'Collar Defect', y: null },
+ { x: 'Cuff Defect', y: 7 },
+ { x: 'Sleeve Defect', y: 6 },
+ { x: 'Other Defect', y: 2 },
+ { x: 'Stitching Defect', y: null },
+ { x: 'Zipper Defect', y: 3 },
+ { x: 'Fabric Defect', y: 9 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs14/app/index.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs14/app/index.jsx
new file mode 100644
index 000000000..f56ec352a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs14/app/index.jsx
@@ -0,0 +1,24 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, ParetoSeries, ColumnSeries, LineSeries, Legend, Category, Tooltip, DataLabel } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Defects', valueType: 'Category' };
+ const primaryyAxis = { title: 'Frequency', minimum: 0, maximum: 150, interval: 30 };
+ const tooltipsettings = { enable: true };
+ const marker = { visible: true, width: 10, height: 10 };
+ const paretoOptions = {
+ marker: { visible: true, width: 10, height: 10 }, showAxis: false
+ }
+ const emptyPoint = { mode: 'Average', fill: 'red', border: { width: 2, color: 'green' } };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs14/app/index.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs14/app/index.tsx
new file mode 100644
index 000000000..ffff64b8f
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs14/app/index.tsx
@@ -0,0 +1,38 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, ChartTheme,LegendSettingsModel,TooltipSettingsModel,ParetoSeries,ColumnSeries,LineSeries,
+ Legend, Category, Tooltip, ILoadedEventArgs, DataLabel
+} from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel= { title: 'Defects', valueType: 'Category' } ;
+ const primaryyAxis: AxisModel= { title: 'Frequency', minimum: 0, maximum: 150,interval: 30 } ;
+ const tooltipsettings: TooltipSettingsModel={ enable: true };
+ const marker={ visible: true, width: 10, height: 10};
+ const paretoOptions: object = {
+ marker: { visible: true, width: 10, height: 10 }, showAxis: false
+ };
+ const emptyPoint: object = { mode: 'Average', fill: 'red', border: { width: 2, color: 'green' } };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs14/index.html b/ej2-react/code-snippet/chart/series/waterfall-cs14/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs14/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs14/systemjs.config.js b/ej2-react/code-snippet/chart/series/waterfall-cs14/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs14/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs15/app/datasource.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs15/app/datasource.jsx
new file mode 100644
index 000000000..97692733a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs15/app/datasource.jsx
@@ -0,0 +1,11 @@
+export let chartData = [
+ { x: 'Button Defect', y: 23 },
+ { x: 'Pocket Defect', y: 16 },
+ { x: 'Collar Defect', y: 4 },
+ { x: 'Cuff Defect', y: 7 },
+ { x: 'Sleeve Defect', y: 6 },
+ { x: 'Other Defect', y: 2 },
+ { x: 'Stitching Defect', y: 5 },
+ { x: 'Zipper Defect', y: 3 },
+ { x: 'Fabric Defect', y: 9 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs15/app/datasource.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs15/app/datasource.tsx
new file mode 100644
index 000000000..30d4be201
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs15/app/datasource.tsx
@@ -0,0 +1,11 @@
+export let chartData: Object[] = [
+ { x: 'Button Defect', y: 23 },
+ { x: 'Pocket Defect', y: 16 },
+ { x: 'Collar Defect', y: 4 },
+ { x: 'Cuff Defect', y: 7 },
+ { x: 'Sleeve Defect', y: 6 },
+ { x: 'Other Defect', y: 2 },
+ { x: 'Stitching Defect', y: 5 },
+ { x: 'Zipper Defect', y: 3 },
+ { x: 'Fabric Defect', y: 9 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs15/app/index.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs15/app/index.jsx
new file mode 100644
index 000000000..8c259ac76
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs15/app/index.jsx
@@ -0,0 +1,26 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, ParetoSeries, ColumnSeries, LineSeries, Legend, Category, Tooltip, DataLabel } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Defects', valueType: 'Category' };
+ const primaryyAxis = { title: 'Frequency', minimum: 0, maximum: 150, interval: 30 };
+ const tooltipsettings = { enable: true };
+ const marker = { visible: true, width: 10, height: 10 };
+ const paretoOptions = {
+ marker: { visible: true, width: 10, height: 10 }, showAxis: false
+ }
+ const seriesRender = (args) => {
+ args.fill = '#ff6347';
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs15/app/index.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs15/app/index.tsx
new file mode 100644
index 000000000..c58050449
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs15/app/index.tsx
@@ -0,0 +1,41 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, ChartTheme,LegendSettingsModel,TooltipSettingsModel,ParetoSeries,ColumnSeries,LineSeries,
+ Legend, Category, Tooltip, ILoadedEventArgs, DataLabel, ISeriesRenderEventArgs
+} from '@syncfusion/ej2-react-charts';
+import { EmitType } from '@syncfusion/ej2-base';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel= { title: 'Defects', valueType: 'Category' } ;
+ const primaryyAxis: AxisModel= { title: 'Frequency', minimum: 0, maximum: 150,interval: 30 } ;
+ const tooltipsettings: TooltipSettingsModel={ enable: true };
+ const marker={ visible: true, width: 10, height: 10};
+ const paretoOptions: object = {
+ marker: { visible: true, width: 10, height: 10 }, showAxis: false
+ };
+ const seriesRender: EmitType = (args: ISeriesRenderEventArgs): void => {
+ args.fill = '#ff6347';
+ };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs15/index.html b/ej2-react/code-snippet/chart/series/waterfall-cs15/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs15/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs15/systemjs.config.js b/ej2-react/code-snippet/chart/series/waterfall-cs15/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs15/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs16/app/datasource.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs16/app/datasource.jsx
new file mode 100644
index 000000000..97692733a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs16/app/datasource.jsx
@@ -0,0 +1,11 @@
+export let chartData = [
+ { x: 'Button Defect', y: 23 },
+ { x: 'Pocket Defect', y: 16 },
+ { x: 'Collar Defect', y: 4 },
+ { x: 'Cuff Defect', y: 7 },
+ { x: 'Sleeve Defect', y: 6 },
+ { x: 'Other Defect', y: 2 },
+ { x: 'Stitching Defect', y: 5 },
+ { x: 'Zipper Defect', y: 3 },
+ { x: 'Fabric Defect', y: 9 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs16/app/datasource.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs16/app/datasource.tsx
new file mode 100644
index 000000000..30d4be201
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs16/app/datasource.tsx
@@ -0,0 +1,11 @@
+export let chartData: Object[] = [
+ { x: 'Button Defect', y: 23 },
+ { x: 'Pocket Defect', y: 16 },
+ { x: 'Collar Defect', y: 4 },
+ { x: 'Cuff Defect', y: 7 },
+ { x: 'Sleeve Defect', y: 6 },
+ { x: 'Other Defect', y: 2 },
+ { x: 'Stitching Defect', y: 5 },
+ { x: 'Zipper Defect', y: 3 },
+ { x: 'Fabric Defect', y: 9 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs16/app/index.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs16/app/index.jsx
new file mode 100644
index 000000000..98d0fd381
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs16/app/index.jsx
@@ -0,0 +1,31 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, ParetoSeries, ColumnSeries, LineSeries, Legend, Category, Tooltip, DataLabel } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Defects', valueType: 'Category' };
+ const primaryyAxis = { title: 'Frequency', minimum: 0, maximum: 150, interval: 30 };
+ const tooltipsettings = { enable: true };
+ const marker = { visible: true, width: 10, height: 10 };
+ const paretoOptions = {
+ marker: { visible: true, width: 10, height: 10 }, showAxis: false
+ }
+ const pointRender = (args) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs16/app/index.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs16/app/index.tsx
new file mode 100644
index 000000000..ae57902f6
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs16/app/index.tsx
@@ -0,0 +1,46 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, ChartTheme,LegendSettingsModel,TooltipSettingsModel,ParetoSeries,ColumnSeries,LineSeries,
+ Legend, Category, Tooltip, ILoadedEventArgs, DataLabel, IPointRenderEventArgs
+} from '@syncfusion/ej2-react-charts';
+import { EmitType } from '@syncfusion/ej2-base';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel= { title: 'Defects', valueType: 'Category' } ;
+ const primaryyAxis: AxisModel= { title: 'Frequency', minimum: 0, maximum: 150,interval: 30 } ;
+ const tooltipsettings: TooltipSettingsModel={ enable: true };
+ const marker={ visible: true, width: 10, height: 10};
+ const paretoOptions: object = {
+ marker: { visible: true, width: 10, height: 10 }, showAxis: false
+ };
+ const pointRender: EmitType = (args: IPointRenderEventArgs): void => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs16/index.html b/ej2-react/code-snippet/chart/series/waterfall-cs16/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs16/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs16/systemjs.config.js b/ej2-react/code-snippet/chart/series/waterfall-cs16/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs16/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs17/app/datasource.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs17/app/datasource.jsx
new file mode 100644
index 000000000..44870b632
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs17/app/datasource.jsx
@@ -0,0 +1,11 @@
+export let data = [
+ { x: 'Income', y: 4711 },
+ { x: 'Sales', y: -1015 },
+ { x: 'Development', y: -688 },
+ { x: 'Revenue', y: null },
+ { x: 'Balance' },
+ { x: 'Administrative', y: -780 },
+ { x: 'Expense', y: -361 },
+ { x: 'Tax', y: -695 },
+ { x: 'Net Profit' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs17/app/datasource.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs17/app/datasource.tsx
new file mode 100644
index 000000000..0d335cdab
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs17/app/datasource.tsx
@@ -0,0 +1,11 @@
+export let data: Object[] = [
+ { x: 'Income', y: 4711 },
+ { x: 'Sales', y: -1015 },
+ { x: 'Development', y: -688 },
+ { x: 'Revenue', y: null },
+ { x: 'Balance' },
+ { x: 'Administrative', y: -780 },
+ { x: 'Expense', y: -361 },
+ { x: 'Tax', y: -695 },
+ { x: 'Net Profit' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs17/app/index.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs17/app/index.jsx
new file mode 100644
index 000000000..517781394
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs17/app/index.jsx
@@ -0,0 +1,25 @@
+{% raw %}
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, WaterfallSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const primaryxAxis = { crossesAt: 15 };
+ const primaryyAxis = { crossesAt: 5 };
+ const marker = { dataLabel: { visible: true, font: { color: '#ffffff' } } };
+ const connector = { color: '#5F6A6A', width: 2 };
+ const tooltip = { enable: true, shared: false };
+ const legendSettings = { visible: false };
+ const emptyPoint = { mode: 'Average' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs17/app/index.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs17/app/index.tsx
new file mode 100644
index 000000000..e9b25fadf
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs17/app/index.tsx
@@ -0,0 +1,39 @@
+{% raw %}
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,TooltipSettingsModel,LegendSettingsModel,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, WaterfallSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { crossesAt: 15 };
+ const primaryyAxis: AxisModel = { crossesAt: 5 };
+ const marker = { dataLabel: { visible: true, font: { color: '#ffffff' } } };
+ const connector = { color: '#5F6A6A', width: 2 };
+ const tooltip: TooltipSettingsModel = { enable: true, shared: false };
+ const legendSettings: LegendSettingsModel = { visible: false };
+ const emptyPoint: object = { mode: 'Average' };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs17/index.html b/ej2-react/code-snippet/chart/series/waterfall-cs17/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs17/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs17/systemjs.config.js b/ej2-react/code-snippet/chart/series/waterfall-cs17/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs17/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs18/app/datasource.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs18/app/datasource.jsx
new file mode 100644
index 000000000..44870b632
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs18/app/datasource.jsx
@@ -0,0 +1,11 @@
+export let data = [
+ { x: 'Income', y: 4711 },
+ { x: 'Sales', y: -1015 },
+ { x: 'Development', y: -688 },
+ { x: 'Revenue', y: null },
+ { x: 'Balance' },
+ { x: 'Administrative', y: -780 },
+ { x: 'Expense', y: -361 },
+ { x: 'Tax', y: -695 },
+ { x: 'Net Profit' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs18/app/datasource.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs18/app/datasource.tsx
new file mode 100644
index 000000000..0d335cdab
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs18/app/datasource.tsx
@@ -0,0 +1,11 @@
+export let data: Object[] = [
+ { x: 'Income', y: 4711 },
+ { x: 'Sales', y: -1015 },
+ { x: 'Development', y: -688 },
+ { x: 'Revenue', y: null },
+ { x: 'Balance' },
+ { x: 'Administrative', y: -780 },
+ { x: 'Expense', y: -361 },
+ { x: 'Tax', y: -695 },
+ { x: 'Net Profit' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs18/app/index.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs18/app/index.jsx
new file mode 100644
index 000000000..1081ce240
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs18/app/index.jsx
@@ -0,0 +1,25 @@
+{% raw %}
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, WaterfallSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const primaryxAxis = { crossesAt: 15 };
+ const primaryyAxis = { crossesAt: 5 };
+ const marker = { dataLabel: { visible: true, font: { color: '#ffffff' } } };
+ const connector = { color: '#5F6A6A', width: 2 };
+ const tooltip = { enable: true, shared: false };
+ const legendSettings = { visible: false };
+ const emptyPoint = { mode: 'Average', fill: 'red' };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs18/app/index.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs18/app/index.tsx
new file mode 100644
index 000000000..06dd81524
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs18/app/index.tsx
@@ -0,0 +1,39 @@
+{% raw %}
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,TooltipSettingsModel,LegendSettingsModel,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, WaterfallSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { crossesAt: 15 };
+ const primaryyAxis: AxisModel = { crossesAt: 5 };
+ const marker = { dataLabel: { visible: true, font: { color: '#ffffff' } } };
+ const connector = { color: '#5F6A6A', width: 2 };
+ const tooltip: TooltipSettingsModel = { enable: true, shared: false };
+ const legendSettings: LegendSettingsModel = { visible: false };
+ const emptyPoint: object = { mode: 'Average', fill: 'red' };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs18/index.html b/ej2-react/code-snippet/chart/series/waterfall-cs18/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs18/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs18/systemjs.config.js b/ej2-react/code-snippet/chart/series/waterfall-cs18/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs18/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs19/app/datasource.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs19/app/datasource.jsx
new file mode 100644
index 000000000..44870b632
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs19/app/datasource.jsx
@@ -0,0 +1,11 @@
+export let data = [
+ { x: 'Income', y: 4711 },
+ { x: 'Sales', y: -1015 },
+ { x: 'Development', y: -688 },
+ { x: 'Revenue', y: null },
+ { x: 'Balance' },
+ { x: 'Administrative', y: -780 },
+ { x: 'Expense', y: -361 },
+ { x: 'Tax', y: -695 },
+ { x: 'Net Profit' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs19/app/datasource.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs19/app/datasource.tsx
new file mode 100644
index 000000000..0d335cdab
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs19/app/datasource.tsx
@@ -0,0 +1,11 @@
+export let data: Object[] = [
+ { x: 'Income', y: 4711 },
+ { x: 'Sales', y: -1015 },
+ { x: 'Development', y: -688 },
+ { x: 'Revenue', y: null },
+ { x: 'Balance' },
+ { x: 'Administrative', y: -780 },
+ { x: 'Expense', y: -361 },
+ { x: 'Tax', y: -695 },
+ { x: 'Net Profit' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs19/app/index.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs19/app/index.jsx
new file mode 100644
index 000000000..07016c6cb
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs19/app/index.jsx
@@ -0,0 +1,25 @@
+{% raw %}
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, WaterfallSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const primaryxAxis = { crossesAt: 15 };
+ const primaryyAxis = { crossesAt: 5 };
+ const marker = { dataLabel: { visible: true, font: { color: '#ffffff' } } };
+ const connector = { color: '#5F6A6A', width: 2 };
+ const tooltip = { enable: true, shared: false };
+ const legendSettings = { visible: false };
+ const emptyPoint = { mode: 'Average', fill: 'red', border: {width: 1.5, color: 'green'} };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs19/app/index.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs19/app/index.tsx
new file mode 100644
index 000000000..a368c60c4
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs19/app/index.tsx
@@ -0,0 +1,39 @@
+{% raw %}
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,TooltipSettingsModel,LegendSettingsModel,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, WaterfallSeries, Selection}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { crossesAt: 15 };
+ const primaryyAxis: AxisModel = { crossesAt: 5 };
+ const marker = { dataLabel: { visible: true, font: { color: '#ffffff' } } };
+ const connector = { color: '#5F6A6A', width: 2 };
+ const tooltip: TooltipSettingsModel = { enable: true, shared: false };
+ const legendSettings: LegendSettingsModel = { visible: false };
+ const emptyPoint: object = { mode: 'Average', fill: 'red', border: {width: 1.5, color: 'green'} };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs19/index.html b/ej2-react/code-snippet/chart/series/waterfall-cs19/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs19/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs19/systemjs.config.js b/ej2-react/code-snippet/chart/series/waterfall-cs19/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs19/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs20/app/datasource.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs20/app/datasource.jsx
new file mode 100644
index 000000000..b78dacc5d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs20/app/datasource.jsx
@@ -0,0 +1,10 @@
+export let data = [
+ { x: 'Income', y: 4711 },
+ { x: 'Sales', y: -1015 },
+ { x: 'Development', y: -688 },
+ { x: 'Revenue', y: 1030 },
+ { x: 'Balance' },
+ { x: 'Expense', y: -361 },
+ { x: 'Tax', y: -695 },
+ { x: 'Net Profit' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs20/app/datasource.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs20/app/datasource.tsx
new file mode 100644
index 000000000..b3c8ae467
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs20/app/datasource.tsx
@@ -0,0 +1,10 @@
+export let data: Object[] = [
+ { x: 'Income', y: 4711 },
+ { x: 'Sales', y: -1015 },
+ { x: 'Development', y: -688 },
+ { x: 'Revenue', y: 1030 },
+ { x: 'Balance' },
+ { x: 'Expense', y: -361 },
+ { x: 'Tax', y: -695 },
+ { x: 'Net Profit' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs20/app/index.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs20/app/index.jsx
new file mode 100644
index 000000000..899f5942c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs20/app/index.jsx
@@ -0,0 +1,29 @@
+{% raw %}
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, WaterfallSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const primaryxAxis = { crossesAt: 15 };
+ const primaryyAxis = { crossesAt: 5 };
+ const marker = { dataLabel: { visible: true, font: { color: '#ffffff' } } };
+ const connector = { color: '#5F6A6A', width: 2 };
+ const tooltip = { enable: true, shared: false };
+ const legendSettings = { visible: false };
+ const seriesRender = (args) => {
+ args.fill = '#ff6347';
+ args.series.negativeFillColor = '#ff6347';
+ args.series.summaryFillColor = '#ff6347';
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs20/app/index.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs20/app/index.tsx
new file mode 100644
index 000000000..96d6ff579
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs20/app/index.tsx
@@ -0,0 +1,44 @@
+{% raw %}
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,TooltipSettingsModel,LegendSettingsModel,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, WaterfallSeries, ISeriesRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { crossesAt: 15 };
+ const primaryyAxis: AxisModel = { crossesAt: 5 };
+ const marker = { dataLabel: { visible: true, font: { color: '#ffffff' } } };
+ const connector = { color: '#5F6A6A', width: 2 };
+ const tooltip: TooltipSettingsModel = { enable: true, shared: false };
+ const legendSettings: LegendSettingsModel = { visible: false };
+ const seriesRender = (args: ISeriesRenderEventArgs) => {
+ args.fill = '#ff6347';
+ args.series.negativeFillColor = '#ff6347';
+ args.series.summaryFillColor = '#ff6347';
+};
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs20/index.html b/ej2-react/code-snippet/chart/series/waterfall-cs20/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs20/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs20/systemjs.config.js b/ej2-react/code-snippet/chart/series/waterfall-cs20/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs20/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs21/app/datasource.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs21/app/datasource.jsx
new file mode 100644
index 000000000..b78dacc5d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs21/app/datasource.jsx
@@ -0,0 +1,10 @@
+export let data = [
+ { x: 'Income', y: 4711 },
+ { x: 'Sales', y: -1015 },
+ { x: 'Development', y: -688 },
+ { x: 'Revenue', y: 1030 },
+ { x: 'Balance' },
+ { x: 'Expense', y: -361 },
+ { x: 'Tax', y: -695 },
+ { x: 'Net Profit' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs21/app/datasource.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs21/app/datasource.tsx
new file mode 100644
index 000000000..b3c8ae467
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs21/app/datasource.tsx
@@ -0,0 +1,10 @@
+export let data: Object[] = [
+ { x: 'Income', y: 4711 },
+ { x: 'Sales', y: -1015 },
+ { x: 'Development', y: -688 },
+ { x: 'Revenue', y: 1030 },
+ { x: 'Balance' },
+ { x: 'Expense', y: -361 },
+ { x: 'Tax', y: -695 },
+ { x: 'Net Profit' }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs21/app/index.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs21/app/index.jsx
new file mode 100644
index 000000000..5136cca34
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs21/app/index.jsx
@@ -0,0 +1,32 @@
+{% raw %}
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, WaterfallSeries } from '@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+function App() {
+ const primaryxAxis = { crossesAt: 15 };
+ const primaryyAxis = { crossesAt: 5 };
+ const marker = { dataLabel: { visible: true, font: { color: '#ffffff' } } };
+ const connector = { color: '#5F6A6A', width: 2 };
+ const tooltip = { enable: true, shared: false };
+ const legendSettings = { visible: false };
+ const pointRender = (args) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+ };
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs21/app/index.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs21/app/index.tsx
new file mode 100644
index 000000000..ec113c92a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs21/app/index.tsx
@@ -0,0 +1,47 @@
+{% raw %}
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,TooltipSettingsModel,LegendSettingsModel,
+ Legend, Category, Tooltip, DataLabel, Zoom, Crosshair, WaterfallSeries, IPointRenderEventArgs}
+from'@syncfusion/ej2-react-charts';
+import { data } from './datasource';
+
+function App() {
+
+ const primaryxAxis: AxisModel = { crossesAt: 15 };
+ const primaryyAxis: AxisModel = { crossesAt: 5 };
+ const marker = { dataLabel: { visible: true, font: { color: '#ffffff' } } };
+ const connector = { color: '#5F6A6A', width: 2 };
+ const tooltip: TooltipSettingsModel = { enable: true, shared: false };
+ const legendSettings: LegendSettingsModel = { visible: false };
+ const pointRender = (args: IPointRenderEventArgs) => {
+ if (args.point.index % 2 !== 0) {
+ args.fill = '#ff6347';
+ }
+ else {
+ args.fill = '#009cb8';
+ }
+};
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs21/index.html b/ej2-react/code-snippet/chart/series/waterfall-cs21/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs21/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs21/systemjs.config.js b/ej2-react/code-snippet/chart/series/waterfall-cs21/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs21/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs5/app/index.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs5/app/index.jsx
index 78944912c..952aacea4 100644
--- a/ej2-react/code-snippet/chart/series/waterfall-cs5/app/index.jsx
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs5/app/index.jsx
@@ -1,32 +1,23 @@
-{% raw %}
-
-
import * as React from "react";
import * as ReactDOM from "react-dom";
-import { Browser } from '@syncfusion/ej2-base';
import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, ParetoSeries, ColumnSeries, LineSeries, Legend, Category, Tooltip, DataLabel } from '@syncfusion/ej2-react-charts';
import { chartData } from './datasource';
function App() {
- const primaryxAxis = { interval: 1, valueType: 'Category', majorGridLines: { width: 0 }, labelIntersectAction: 'Rotate45', minorGridLines: { width: 0 }, majorTickLines: { width: 0 }, minorTickLines: { width: 0 }, lineStyle: { width: 0 } };
- const primaryyAxis = { title: 'Frequency of Occurence', minimum: 0, maximum: 25, interval: 5, lineStyle: { width: 0 }, majorTickLines: { width: 0 }, majorGridLines: { width: 1 }, minorGridLines: { width: 1 }, minorTickLines: { width: 0 } };
- const tooltipsettings = { enable: true, shared: true, format: '${series.name} : ${point.y} ' };
-
- return
-
-
-
-
-
-
+ const primaryxAxis = { title: 'Defects', valueType: 'Category' };
+ const primaryyAxis = { title: 'Frequency', minimum: 0, maximum: 150, interval: 30 };
+ const tooltipsettings = { enable: true };
+ const marker = { visible: true, width: 10, height: 10 };
+ const paretoOptions = {
+ fill: 'red'
+ }
+ return
+
+
+
+
+
+ ;
}
;
export default App;
ReactDOM.render( , document.getElementById("charts"));
-
-
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs5/app/index.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs5/app/index.tsx
index 1e5b75d32..f05d8e788 100644
--- a/ej2-react/code-snippet/chart/series/waterfall-cs5/app/index.tsx
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs5/app/index.tsx
@@ -1,35 +1,37 @@
-{% raw %}
+
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, ChartTheme, LegendSettingsModel, TooltipSettingsModel, ParetoSeries, ColumnSeries, LineSeries,
- Legend, Category, Tooltip, ILoadedEventArgs, DataLabel, Highlight
+ AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, ChartTheme,LegendSettingsModel,TooltipSettingsModel,ParetoSeries,ColumnSeries,LineSeries,
+ Legend, Category, Tooltip, ILoadedEventArgs, DataLabel
} from '@syncfusion/ej2-react-charts';
-import { Browser } from '@syncfusion/ej2-base';
import { chartData } from './datasource';
-function App() {
- const primaryxAxis: AxisModel = { interval: 1, valueType: 'Category', majorGridLines: { width: 0 }, labelIntersectAction: 'Rotate45', minorGridLines: { width: 0 }, majorTickLines: { width: 0 }, minorTickLines: { width: 0 }, lineStyle: { width: 0 } };
- const primaryyAxis: AxisModel = { title: 'Frequency of Occurence', minimum: 0, maximum: 25, interval: 5, lineStyle: { width: 0 }, majorTickLines: { width: 0 }, majorGridLines: { width: 1 }, minorGridLines: { width: 1 }, minorTickLines: { width: 0 } };
- const tooltipsettings: TooltipSettingsModel = { enable: true, shared: true, format: '${series.name} : ${point.y} ' };
- return
-
-
-
-
-
-
+function App() {
+ const primaryxAxis: AxisModel= { title: 'Defects', valueType: 'Category' } ;
+ const primaryyAxis: AxisModel= { title: 'Frequency', minimum: 0, maximum: 150,interval: 30 } ;
+ const tooltipsettings: TooltipSettingsModel={ enable: true };
+ const marker={ visible: true, width: 10, height: 10};
+ const paretoOptions: object = {
+ fill: 'red'
+ };
+ return
+
+
+
+
+
+
};
export default App;
ReactDOM.render( , document.getElementById("charts"));
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs6/app/datasource.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs6/app/datasource.jsx
new file mode 100644
index 000000000..03afd1439
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs6/app/datasource.jsx
@@ -0,0 +1,12 @@
+export let points = [
+ 5.250, 7.750, 0, 8.275, 9.750, 7.750, 8.275, 6.250, 5.750,
+ 5.250, 23.000, 26.500, 27.750, 25.025, 26.500, 26.500, 28.025, 29.250, 26.750, 27.250,
+ 26.250, 25.250, 34.500, 25.625, 25.500, 26.625, 36.275, 36.250, 26.875, 40.000, 43.000,
+ 46.500, 47.750, 45.025, 56.500, 56.500, 58.025, 59.250, 56.750, 57.250,
+ 46.250, 55.250, 44.500, 45.525, 55.500, 46.625, 46.275, 56.250, 46.875, 43.000,
+ 46.250, 55.250, 44.500, 45.425, 55.500, 56.625, 46.275, 56.250, 46.875, 43.000,
+ 46.250, 55.250, 44.500, 45.425, 55.500, 46.625, 56.275, 46.250, 56.875, 41.000, 63.000,
+ 66.500, 67.750, 65.025, 66.500, 76.500, 78.025, 79.250, 76.750, 77.250,
+ 66.250, 75.250, 74.500, 65.625, 75.500, 76.625, 76.275, 66.250, 66.875, 80.000, 85.250,
+ 87.750, 89.000, 88.275, 89.750, 97.750, 98.275, 96.250, 95.750, 95.250
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs6/app/datasource.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs6/app/datasource.tsx
new file mode 100644
index 000000000..9c15417fd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs6/app/datasource.tsx
@@ -0,0 +1,12 @@
+export let points: number[] = [
+ 5.250, 7.750, 0, 8.275, 9.750, 7.750, 8.275, 6.250, 5.750,
+ 5.250, 23.000, 26.500, 27.750, 25.025, 26.500, 26.500, 28.025, 29.250, 26.750, 27.250,
+ 26.250, 25.250, 34.500, 25.625, 25.500, 26.625, 36.275, 36.250, 26.875, 40.000, 43.000,
+ 46.500, 47.750, 45.025, 56.500, 56.500, 58.025, 59.250, 56.750, 57.250,
+ 46.250, 55.250, 44.500, 45.525, 55.500, 46.625, 46.275, 56.250, 46.875, 43.000,
+ 46.250, 55.250, 44.500, 45.425, 55.500, 56.625, 46.275, 56.250, 46.875, 43.000,
+ 46.250, 55.250, 44.500, 45.425, 55.500, 46.625, 56.275, 46.250, 56.875, 41.000, 63.000,
+ 66.500, 67.750, 65.025, 66.500, 76.500, 78.025, 79.250, 76.750, 77.250,
+ 66.250, 75.250, 74.500, 65.625, 75.500, 76.625, 76.275, 66.250, 66.875, 80.000, 85.250,
+ 87.750, 89.000, 88.275, 89.750, 97.750, 98.275, 96.250, 95.750, 95.250
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs6/app/index.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs6/app/index.jsx
new file mode 100644
index 000000000..172024ce8
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs6/app/index.jsx
@@ -0,0 +1,33 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, HistogramSeries } from '@syncfusion/ej2-react-charts';
+import { points } from './datasource';
+function App() {
+ const chartData = [];
+ function chartLoad() {
+ points.map((value) => {
+ chartData.push({
+ y: value
+ });
+ });
+ }
+ const primaryxAxis = { majorGridLines: { width: 0 }, title: 'Score of Final Examination', minimum: 0, maximum: 100 };
+ const primaryyAxis = { title: 'Number of Students', minimum: 0, maximum: 50, interval: 10, majorTickLines: { width: 0 }, lineStyle: { width: 0 } };
+ const legendSettings = { visible: false };
+ const tooltipsettings = { enable: true };
+ const marker = { dataLabel: { visible: true, position: 'Top', font: { fontWeight: '600', color: '#ffffff' } } };
+ const seriesRender = (args) => {
+ args.fill = '#ff6347';
+ };
+ chartLoad();
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs6/app/index.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs6/app/index.tsx
new file mode 100644
index 000000000..5e53192df
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs6/app/index.tsx
@@ -0,0 +1,50 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, ChartTheme,LegendSettingsModel,TooltipSettingsModel,
+ Legend, Category, Tooltip, ColumnSeries, ILoadedEventArgs, DataLabel, HistogramSeries, ISeriesRenderEventArgs
+} from '@syncfusion/ej2-react-charts';
+import { points } from './datasource';
+
+function App() {
+
+ const chartData: Object[] = [];
+ function chartLoad(): void {
+ points.map((value: number) => {
+ chartData.push({
+ y: value
+ });
+ });
+ }
+ const primaryxAxis: AxisModel= { majorGridLines: { width: 0 }, title: 'Score of Final Examination', minimum: 0, maximum: 100 } ;
+ const primaryyAxis: AxisModel= { title: 'Number of Students', minimum: 0, maximum: 50, interval: 10, majorTickLines: { width: 0 }, lineStyle: { width: 0 }} ;
+ const legendSettings: LegendSettingsModel= { visible: false };
+ const tooltipsettings: TooltipSettingsModel={ enable: true };
+ const marker={ dataLabel: { visible: true, position: 'Top', font: { fontWeight: '600', color: '#ffffff' } } };
+ const seriesRender = (args: ISeriesRenderEventArgs) => {
+ args.fill = '#ff6347';
+ };
+ chartLoad();
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs6/index.html b/ej2-react/code-snippet/chart/series/waterfall-cs6/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs6/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs6/systemjs.config.js b/ej2-react/code-snippet/chart/series/waterfall-cs6/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs6/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs7/app/datasource.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs7/app/datasource.jsx
new file mode 100644
index 000000000..03afd1439
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs7/app/datasource.jsx
@@ -0,0 +1,12 @@
+export let points = [
+ 5.250, 7.750, 0, 8.275, 9.750, 7.750, 8.275, 6.250, 5.750,
+ 5.250, 23.000, 26.500, 27.750, 25.025, 26.500, 26.500, 28.025, 29.250, 26.750, 27.250,
+ 26.250, 25.250, 34.500, 25.625, 25.500, 26.625, 36.275, 36.250, 26.875, 40.000, 43.000,
+ 46.500, 47.750, 45.025, 56.500, 56.500, 58.025, 59.250, 56.750, 57.250,
+ 46.250, 55.250, 44.500, 45.525, 55.500, 46.625, 46.275, 56.250, 46.875, 43.000,
+ 46.250, 55.250, 44.500, 45.425, 55.500, 56.625, 46.275, 56.250, 46.875, 43.000,
+ 46.250, 55.250, 44.500, 45.425, 55.500, 46.625, 56.275, 46.250, 56.875, 41.000, 63.000,
+ 66.500, 67.750, 65.025, 66.500, 76.500, 78.025, 79.250, 76.750, 77.250,
+ 66.250, 75.250, 74.500, 65.625, 75.500, 76.625, 76.275, 66.250, 66.875, 80.000, 85.250,
+ 87.750, 89.000, 88.275, 89.750, 97.750, 98.275, 96.250, 95.750, 95.250
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs7/app/datasource.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs7/app/datasource.tsx
new file mode 100644
index 000000000..9c15417fd
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs7/app/datasource.tsx
@@ -0,0 +1,12 @@
+export let points: number[] = [
+ 5.250, 7.750, 0, 8.275, 9.750, 7.750, 8.275, 6.250, 5.750,
+ 5.250, 23.000, 26.500, 27.750, 25.025, 26.500, 26.500, 28.025, 29.250, 26.750, 27.250,
+ 26.250, 25.250, 34.500, 25.625, 25.500, 26.625, 36.275, 36.250, 26.875, 40.000, 43.000,
+ 46.500, 47.750, 45.025, 56.500, 56.500, 58.025, 59.250, 56.750, 57.250,
+ 46.250, 55.250, 44.500, 45.525, 55.500, 46.625, 46.275, 56.250, 46.875, 43.000,
+ 46.250, 55.250, 44.500, 45.425, 55.500, 56.625, 46.275, 56.250, 46.875, 43.000,
+ 46.250, 55.250, 44.500, 45.425, 55.500, 46.625, 56.275, 46.250, 56.875, 41.000, 63.000,
+ 66.500, 67.750, 65.025, 66.500, 76.500, 78.025, 79.250, 76.750, 77.250,
+ 66.250, 75.250, 74.500, 65.625, 75.500, 76.625, 76.275, 66.250, 66.875, 80.000, 85.250,
+ 87.750, 89.000, 88.275, 89.750, 97.750, 98.275, 96.250, 95.750, 95.250
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs7/app/index.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs7/app/index.jsx
new file mode 100644
index 000000000..ece4fb4d7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs7/app/index.jsx
@@ -0,0 +1,37 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, Tooltip, DataLabel, HistogramSeries } from '@syncfusion/ej2-react-charts';
+import { points } from './datasource';
+function App() {
+ const chartData = [];
+ function chartLoad() {
+ points.map((value) => {
+ chartData.push({
+ y: value
+ });
+ });
+ }
+ const primaryxAxis = { majorGridLines: { width: 0 }, title: 'Score of Final Examination', minimum: 0, maximum: 100 };
+ const primaryyAxis = { title: 'Number of Students', minimum: 0, maximum: 50, interval: 10, majorTickLines: { width: 0 }, lineStyle: { width: 0 } };
+ const legendSettings = { visible: false };
+ const tooltipsettings = { enable: true };
+ const marker = { dataLabel: { visible: true, position: 'Top', font: { fontWeight: '600', color: '#ffffff' } } };
+ const pointRender = (args) => {
+ if (args.point.y >= 15) {
+ args.fill = '#ff6347';
+ } else {
+ args.fill = '#009cb8';
+ }
+ };
+ chartLoad();
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs7/app/index.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs7/app/index.tsx
new file mode 100644
index 000000000..a3e7c3759
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs7/app/index.tsx
@@ -0,0 +1,54 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, ChartTheme,LegendSettingsModel,TooltipSettingsModel,
+ Legend, Category, Tooltip, ColumnSeries, ILoadedEventArgs, DataLabel, HistogramSeries, IPointRenderEventArgs
+} from '@syncfusion/ej2-react-charts';
+import { points } from './datasource';
+
+function App() {
+
+ const chartData: Object[] = [];
+ function chartLoad(): void {
+ points.map((value: number) => {
+ chartData.push({
+ y: value
+ });
+ });
+ }
+ const primaryxAxis: AxisModel= { majorGridLines: { width: 0 }, title: 'Score of Final Examination', minimum: 0, maximum: 100 } ;
+ const primaryyAxis: AxisModel= { title: 'Number of Students', minimum: 0, maximum: 50, interval: 10, majorTickLines: { width: 0 }, lineStyle: { width: 0 }} ;
+ const legendSettings: LegendSettingsModel= { visible: false };
+ const tooltipsettings: TooltipSettingsModel={ enable: true };
+ const marker={ dataLabel: { visible: true, position: 'Top', font: { fontWeight: '600', color: '#ffffff' } } };
+ const pointRender = (args: IPointRenderEventArgs) => {
+ if (args.point.y >= 15) {
+ args.fill = '#ff6347';
+ } else {
+ args.fill = '#009cb8';
+ }
+ };
+ chartLoad();
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs7/index.html b/ej2-react/code-snippet/chart/series/waterfall-cs7/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs7/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs7/systemjs.config.js b/ej2-react/code-snippet/chart/series/waterfall-cs7/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs7/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs8/app/datasource.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs8/app/datasource.jsx
new file mode 100644
index 000000000..99f97e53a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs8/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let chartData = [
+ { x: 'Button Defect', y: 23 },
+ { x: 'Pocket Defect', y: 16 },
+ { x: 'Collar Defect ', y: 10 },
+ { x: 'Cuff Defect', y: 7 },
+ { x: 'Sleeve Defect', y: 6 },
+ { x: 'Other Defect', y: 2 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs8/app/datasource.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs8/app/datasource.tsx
new file mode 100644
index 000000000..80b3c521d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs8/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let chartData: Object[] = [
+ { x: 'Button Defect', y: 23 },
+ { x: 'Pocket Defect', y: 16 },
+ { x: 'Collar Defect ', y: 10 },
+ { x: 'Cuff Defect', y: 7 },
+ { x: 'Sleeve Defect', y: 6 },
+ { x: 'Other Defect', y: 2 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs8/app/index.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs8/app/index.jsx
new file mode 100644
index 000000000..f19c3d73b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs8/app/index.jsx
@@ -0,0 +1,23 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, ParetoSeries, ColumnSeries, LineSeries, Legend, Category, Tooltip, DataLabel } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Defects', valueType: 'Category' };
+ const primaryyAxis = { title: 'Frequency', minimum: 0, maximum: 150, interval: 30 };
+ const tooltipsettings = { enable: true };
+ const marker = { visible: true, width: 10, height: 10 };
+ const paretoOptions = {
+ fill: 'red', dashArray: '5'
+ }
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs8/app/index.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs8/app/index.tsx
new file mode 100644
index 000000000..bdebba81e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs8/app/index.tsx
@@ -0,0 +1,37 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, ChartTheme,LegendSettingsModel,TooltipSettingsModel,ParetoSeries,ColumnSeries,LineSeries,
+ Legend, Category, Tooltip, ILoadedEventArgs, DataLabel
+} from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel= { title: 'Defects', valueType: 'Category' } ;
+ const primaryyAxis: AxisModel= { title: 'Frequency', minimum: 0, maximum: 150,interval: 30 } ;
+ const tooltipsettings: TooltipSettingsModel={ enable: true };
+ const marker={ visible: true, width: 10, height: 10};
+ const paretoOptions: object = {
+ fill: 'red', dashArray: '5'
+ };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs8/index.html b/ej2-react/code-snippet/chart/series/waterfall-cs8/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs8/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs8/systemjs.config.js b/ej2-react/code-snippet/chart/series/waterfall-cs8/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs8/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs9/app/datasource.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs9/app/datasource.jsx
new file mode 100644
index 000000000..99f97e53a
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs9/app/datasource.jsx
@@ -0,0 +1,8 @@
+export let chartData = [
+ { x: 'Button Defect', y: 23 },
+ { x: 'Pocket Defect', y: 16 },
+ { x: 'Collar Defect ', y: 10 },
+ { x: 'Cuff Defect', y: 7 },
+ { x: 'Sleeve Defect', y: 6 },
+ { x: 'Other Defect', y: 2 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs9/app/datasource.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs9/app/datasource.tsx
new file mode 100644
index 000000000..80b3c521d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs9/app/datasource.tsx
@@ -0,0 +1,8 @@
+export let chartData: Object[] = [
+ { x: 'Button Defect', y: 23 },
+ { x: 'Pocket Defect', y: 16 },
+ { x: 'Collar Defect ', y: 10 },
+ { x: 'Cuff Defect', y: 7 },
+ { x: 'Sleeve Defect', y: 6 },
+ { x: 'Other Defect', y: 2 }
+];
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs9/app/index.jsx b/ej2-react/code-snippet/chart/series/waterfall-cs9/app/index.jsx
new file mode 100644
index 000000000..5e42b85f9
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs9/app/index.jsx
@@ -0,0 +1,23 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, ParetoSeries, ColumnSeries, LineSeries, Legend, Category, Tooltip, DataLabel } from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+function App() {
+ const primaryxAxis = { title: 'Defects', valueType: 'Category' };
+ const primaryyAxis = { title: 'Frequency', minimum: 0, maximum: 150, interval: 30 };
+ const tooltipsettings = { enable: true };
+ const marker = { visible: true, width: 10, height: 10 };
+ const paretoOptions = {
+ width: 4
+ }
+ return
+
+
+
+
+
+ ;
+}
+;
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs9/app/index.tsx b/ej2-react/code-snippet/chart/series/waterfall-cs9/app/index.tsx
new file mode 100644
index 000000000..8365cc13e
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs9/app/index.tsx
@@ -0,0 +1,37 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, ChartTheme,LegendSettingsModel,TooltipSettingsModel,ParetoSeries,ColumnSeries,LineSeries,
+ Legend, Category, Tooltip, ILoadedEventArgs, DataLabel
+} from '@syncfusion/ej2-react-charts';
+import { chartData } from './datasource';
+
+function App() {
+ const primaryxAxis: AxisModel= { title: 'Defects', valueType: 'Category' } ;
+ const primaryyAxis: AxisModel= { title: 'Frequency', minimum: 0, maximum: 150,interval: 30 } ;
+ const tooltipsettings: TooltipSettingsModel={ enable: true };
+ const marker={ visible: true, width: 10, height: 10};
+ const paretoOptions: object = {
+ width: 4
+ };
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs9/index.html b/ej2-react/code-snippet/chart/series/waterfall-cs9/index.html
new file mode 100644
index 000000000..9afc666e5
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs9/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-RangeColumn Series
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/series/waterfall-cs9/systemjs.config.js b/ej2-react/code-snippet/chart/series/waterfall-cs9/systemjs.config.js
new file mode 100644
index 000000000..4ed36970d
--- /dev/null
+++ b/ej2-react/code-snippet/chart/series/waterfall-cs9/systemjs.config.js
@@ -0,0 +1,55 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chart/user-interaction/zoom-cs10/app/index.jsx b/ej2-react/code-snippet/chart/user-interaction/zoom-cs10/app/index.jsx
new file mode 100644
index 000000000..1843f8ab7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/user-interaction/zoom-cs10/app/index.jsx
@@ -0,0 +1,35 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,LegendSettingsModel,ZoomSettingsModel,
+ Legend, DateTime, Tooltip, DataLabel, AreaSeries, Zoom}
+from'@syncfusion/ej2-react-charts';
+import { series1 } from "../datasource";
+
+function App() {
+
+ const primaryxAxis = { valueType: 'DateTime',
+ labelFormat: 'yMMM',
+ zoomFactor: 0.2, zoomPosition: 0.6,
+ };
+ const legendSettings = { visible: false };
+ const zoomSettings = { enableSelectionZooming: true, enableAnimation: true ,
+ enablePan: true };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
diff --git a/ej2-react/code-snippet/chart/user-interaction/zoom-cs10/app/index.tsx b/ej2-react/code-snippet/chart/user-interaction/zoom-cs10/app/index.tsx
new file mode 100644
index 000000000..ecbfd32b7
--- /dev/null
+++ b/ej2-react/code-snippet/chart/user-interaction/zoom-cs10/app/index.tsx
@@ -0,0 +1,38 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { AxisModel, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject,LegendSettingsModel,ZoomSettingsModel,
+ Legend, DateTime, Tooltip, DataLabel, AreaSeries, Zoom}
+from'@syncfusion/ej2-react-charts';
+import { series1 } from "../datasource";
+
+function App() {
+
+ const primaryxAxis: AxisModel = { valueType: 'DateTime',
+ labelFormat: 'yMMM',
+ zoomFactor: 0.2, zoomPosition: 0.6,
+ };
+ const legendSettings: LegendSettingsModel = { visible: false };
+ const zoomSettings: ZoomSettingsModel = { enableSelectionZooming: true, enableAnimation: true ,
+ enablePan: true };
+
+ return
+
+
+
+
+
+
+
+};
+export default App;
+ReactDOM.render( , document.getElementById("charts"));
+
+
+
diff --git a/ej2-react/code-snippet/chart/user-interaction/zoom-cs10/datasource.ts b/ej2-react/code-snippet/chart/user-interaction/zoom-cs10/datasource.ts
new file mode 100644
index 000000000..e2162940c
--- /dev/null
+++ b/ej2-react/code-snippet/chart/user-interaction/zoom-cs10/datasource.ts
@@ -0,0 +1,12 @@
+export let series1: Object[] = [];
+export let point1: Object;
+let value: number = 40;
+let i: number;
+for (i = 1; i < 500; i++) { if (Math.random() > .5) {
+ value += Math.random();
+ } else {
+ value -= Math.random();
+ }
+ point1 = { x: new Date(1950, i + 2, i), y: value.toFixed(1) };
+ series1.push(point1);
+}
diff --git a/ej2-react/code-snippet/chart/user-interaction/zoom-cs10/index.html b/ej2-react/code-snippet/chart/user-interaction/zoom-cs10/index.html
new file mode 100644
index 000000000..1165f838b
--- /dev/null
+++ b/ej2-react/code-snippet/chart/user-interaction/zoom-cs10/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Syncfusion React Chart-Zooming
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/chart/user-interaction/zoom-cs10/systemjs.config.js b/ej2-react/code-snippet/chart/user-interaction/zoom-cs10/systemjs.config.js
new file mode 100644
index 000000000..62897a322
--- /dev/null
+++ b/ej2-react/code-snippet/chart/user-interaction/zoom-cs10/systemjs.config.js
@@ -0,0 +1,56 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+"react-dom":"https://unpkg.com/react-dom@16.3.1/umd/react-dom.development.js",
+"react":"https://unpkg.com/react@16.3.1/umd/react.development.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/chips/avatar-cs2/app/app.jsx b/ej2-react/code-snippet/chips/avatar-cs2/app/app.jsx
index cbbe177ec..dac572aed 100644
--- a/ej2-react/code-snippet/chips/avatar-cs2/app/app.jsx
+++ b/ej2-react/code-snippet/chips/avatar-cs2/app/app.jsx
@@ -1,6 +1,7 @@
import * as React from 'react';
import * as ReactDom from 'react-dom';
import { ChipListComponent, ChipsDirective, ChipDirective } from '@syncfusion/ej2-react-buttons';
+import './index.css';
import { enableRipple } from '@syncfusion/ej2-base';
enableRipple(true);
// To render Chip.
diff --git a/ej2-react/code-snippet/chips/avatar-cs3/app/app.jsx b/ej2-react/code-snippet/chips/avatar-cs3/app/app.jsx
index f52f0498d..2e2f5dc7d 100644
--- a/ej2-react/code-snippet/chips/avatar-cs3/app/app.jsx
+++ b/ej2-react/code-snippet/chips/avatar-cs3/app/app.jsx
@@ -1,6 +1,7 @@
import * as React from 'react';
import * as ReactDom from 'react-dom';
import { ChipListComponent, ChipsDirective, ChipDirective } from '@syncfusion/ej2-react-buttons';
+import './index.css';
import { enableRipple } from '@syncfusion/ej2-base';
enableRipple(true);
// To render Chip.
diff --git a/ej2-react/code-snippet/chips/avatar-cs4/app/app.jsx b/ej2-react/code-snippet/chips/avatar-cs4/app/app.jsx
index cb6fb21d6..20031a0a6 100644
--- a/ej2-react/code-snippet/chips/avatar-cs4/app/app.jsx
+++ b/ej2-react/code-snippet/chips/avatar-cs4/app/app.jsx
@@ -1,6 +1,7 @@
import * as React from 'react';
import * as ReactDom from 'react-dom';
import { ChipListComponent, ChipsDirective, ChipDirective } from '@syncfusion/ej2-react-buttons';
+import './index.css';
import { enableRipple } from '@syncfusion/ej2-base';
enableRipple(true);
// To render Chip.
diff --git a/ej2-react/code-snippet/colorpicker/how-to-cs7/app/index.jsx b/ej2-react/code-snippet/colorpicker/how-to-cs7/app/index.jsx
new file mode 100644
index 000000000..63169dedd
--- /dev/null
+++ b/ej2-react/code-snippet/colorpicker/how-to-cs7/app/index.jsx
@@ -0,0 +1,15 @@
+import { L10n } from '@syncfusion/ej2-base';
+import { ColorPickerComponent } from '@syncfusion/ej2-react-inputs';
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+
+function App() {
+ return ();
+}
+export default App;
+ReactDOM.render( , document.getElementById('element'));
diff --git a/ej2-react/code-snippet/colorpicker/how-to-cs7/app/index.tsx b/ej2-react/code-snippet/colorpicker/how-to-cs7/app/index.tsx
new file mode 100644
index 000000000..25770f172
--- /dev/null
+++ b/ej2-react/code-snippet/colorpicker/how-to-cs7/app/index.tsx
@@ -0,0 +1,21 @@
+
+
+import { L10n } from '@syncfusion/ej2-base';
+import { ColorPickerComponent } from '@syncfusion/ej2-react-inputs';
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+
+function App() {
+ return (
+
+ );
+}
+export default App;
+ReactDOM.render( , document.getElementById('element'));
+
+
diff --git a/ej2-react/code-snippet/colorpicker/how-to-cs7/index.html b/ej2-react/code-snippet/colorpicker/how-to-cs7/index.html
new file mode 100644
index 000000000..ba4da689a
--- /dev/null
+++ b/ej2-react/code-snippet/colorpicker/how-to-cs7/index.html
@@ -0,0 +1,26 @@
+
+
+
+
+ EJ2 React ColorPicker
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/colorpicker/how-to-cs7/styles.css b/ej2-react/code-snippet/colorpicker/how-to-cs7/styles.css
new file mode 100644
index 000000000..2eae6dc89
--- /dev/null
+++ b/ej2-react/code-snippet/colorpicker/how-to-cs7/styles.css
@@ -0,0 +1,27 @@
+#loader {
+ color: #008cff;
+ font-family: 'Helvetica Neue', 'calibiri';
+ font-size: 14px;
+ height: 40px;
+ left: 45%;
+ position: absolute;
+ top: 45%;
+ width: 30%;
+}
+
+#element+.e-container {
+ background-color: transparent;
+ border-color: transparent;
+ box-shadow: none;
+}
+
+.wrap {
+ margin: 0 auto;
+ width: 300px;
+ text-align: center;
+}
+
+h4 {
+ font-family: 'Helvetica Neue', 'Helvetica', 'Arial', 'sans-serif';
+ font-size: 14px;
+}
diff --git a/ej2-react/code-snippet/colorpicker/how-to-cs7/systemjs.config.js b/ej2-react/code-snippet/colorpicker/how-to-cs7/systemjs.config.js
new file mode 100644
index 000000000..b0201d698
--- /dev/null
+++ b/ej2-react/code-snippet/colorpicker/how-to-cs7/systemjs.config.js
@@ -0,0 +1,41 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-inputs": "syncfusion:ej2-react-inputs/dist/ej2-react-inputs.umd.min.js",
+ "@syncfusion/ej2-react-splitbuttons": "syncfusion:ej2-react-splitbuttons/dist/ej2-react-splitbuttons.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
\ No newline at end of file
diff --git a/ej2-react/code-snippet/common/bootstrap5.3-cs1/app/index.jsx b/ej2-react/code-snippet/common/bootstrap5.3-cs1/app/index.jsx
new file mode 100644
index 000000000..06d4a8828
--- /dev/null
+++ b/ej2-react/code-snippet/common/bootstrap5.3-cs1/app/index.jsx
@@ -0,0 +1,44 @@
+import * as React from 'react';
+import * as ReactDom from 'react-dom';
+import { useState } from 'react';
+import { ButtonComponent, CheckBoxComponent } from '@syncfusion/ej2-react-buttons';
+import { enableRipple } from '@syncfusion/ej2-base';
+enableRipple(true);
+function App() {
+ const [isChecked, setIsChecked] = useState(false);
+
+ const handleCheckboxChange = (event) => {
+ setIsChecked(event.target.checked);
+
+ // Add or remove the classes on the body element based on the checkbox state
+ const body = document.body;
+
+ if (event.target.checked) {
+ body.classList.add('dark');
+ body.classList.add('dark');
+ } else {
+ body.classList.remove('e-dark-mode');
+ body.classList.remove('e-dark-mode');
+ }
+ };
+ return (
+ {/* Primary Button - Used to represent a primary action. */}
+
+ button
+
+ {/* Success Button - Used to represent a positive action. */}
+ button
+
+ {/* Info Button - Used to represent an informative action. */}
+ button
+
+ {/* Warning Button - Used to represent an action with caution.*/}
+ button
+
+ {/* Danger Button - Used to represent a negative action.*/}
+ button
+
+
);
+}
+export default App;
+ReactDom.render( , document.getElementById('button'));
diff --git a/ej2-react/code-snippet/common/bootstrap5.3-cs1/app/index.tsx b/ej2-react/code-snippet/common/bootstrap5.3-cs1/app/index.tsx
new file mode 100644
index 000000000..bb2d89311
--- /dev/null
+++ b/ej2-react/code-snippet/common/bootstrap5.3-cs1/app/index.tsx
@@ -0,0 +1,47 @@
+
+import {ButtonComponent, CheckBoxComponent} from '@syncfusion/ej2-react-buttons';
+import { enableRipple } from '@syncfusion/ej2-base';
+import * as React from 'react';
+import * as ReactDom from 'react-dom';
+import { useState } from 'react';
+enableRipple(true);
+
+function App() {
+ const [isChecked, setIsChecked] = useState(false);
+
+ const handleCheckboxChange = (event: React.ChangeEvent) => {
+ setIsChecked(event.target.checked);
+
+ // Add or remove the class on the body element based on the checkbox state
+ if (event.target.checked) {
+ document.body.classList.add('dark');
+ document.body.classList.add('e-dark-mode');
+ } else {
+ document.body.classList.remove('dark');
+ document.body.classList.remove('e-dark-mode');
+ }
+ };
+ return (
+
+ { /* checkbox - Used to represent checkbox. */ }
+
+ { /* Primary Button - Used to represent a primary action. */ }
+ Button
+
+ { /* Success Button - Used to represent a positive action. */ }
+ Button
+
+ { /* Info Button - Used to represent an informative action. */ }
+ Button
+
+ { /* Warning Button - Used to represent an action with caution.*/ }
+ Button
+
+ { /* Danger Button - Used to represent a negative action.*/ }
+ Button
+
+
+ );
+}
+export default App;
+ReactDom.render( ,document.getElementById('button'));
\ No newline at end of file
diff --git a/ej2-react/code-snippet/common/bootstrap5.3-cs1/index.css b/ej2-react/code-snippet/common/bootstrap5.3-cs1/index.css
new file mode 100644
index 000000000..cd656242c
--- /dev/null
+++ b/ej2-react/code-snippet/common/bootstrap5.3-cs1/index.css
@@ -0,0 +1,18 @@
+button {
+ margin: 25px 5px 20px 20px;
+}
+
+#loader {
+ color: #008cff;
+ height: 40px;
+ left: 45%;
+ position: absolute;
+ top: 45%;
+ width: 30%;
+}
+.e-checkbox-wrap {
+ margin-top: 18px;
+ }
+ .dark{
+ background-color: black;
+ }
\ No newline at end of file
diff --git a/ej2-react/code-snippet/common/bootstrap5.3-cs1/index.html b/ej2-react/code-snippet/common/bootstrap5.3-cs1/index.html
new file mode 100644
index 000000000..f62b40b05
--- /dev/null
+++ b/ej2-react/code-snippet/common/bootstrap5.3-cs1/index.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Syncfusion React Button
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/common/bootstrap5.3-cs1/systemjs.config.js b/ej2-react/code-snippet/common/bootstrap5.3-cs1/systemjs.config.js
new file mode 100644
index 000000000..0925c5473
--- /dev/null
+++ b/ej2-react/code-snippet/common/bootstrap5.3-cs1/systemjs.config.js
@@ -0,0 +1,40 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"},
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/common/bootstrap5.3-cs2/app/index.jsx b/ej2-react/code-snippet/common/bootstrap5.3-cs2/app/index.jsx
new file mode 100644
index 000000000..7105697ba
--- /dev/null
+++ b/ej2-react/code-snippet/common/bootstrap5.3-cs2/app/index.jsx
@@ -0,0 +1,13 @@
+import * as React from 'react';
+import * as ReactDom from 'react-dom';
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
+import { enableRipple } from '@syncfusion/ej2-base';
+enableRipple(true);
+function App() {
+ return (
+ {/* Primary Button - Used to represent a primary action. */}
+ button
+
);
+}
+export default App;
+ReactDom.render( , document.getElementById('button'));
diff --git a/ej2-react/code-snippet/common/bootstrap5.3-cs2/app/index.tsx b/ej2-react/code-snippet/common/bootstrap5.3-cs2/app/index.tsx
new file mode 100644
index 000000000..0c125b623
--- /dev/null
+++ b/ej2-react/code-snippet/common/bootstrap5.3-cs2/app/index.tsx
@@ -0,0 +1,18 @@
+
+import {ButtonComponent} from '@syncfusion/ej2-react-buttons';
+import { enableRipple } from '@syncfusion/ej2-base';
+import * as React from 'react';
+import * as ReactDom from 'react-dom';
+
+enableRipple(true);
+
+function App() {
+ return (
+
+ { /* Primary Button - Used to represent a primary action. */ }
+ Button
+
+ );
+}
+export default App;
+ReactDom.render( ,document.getElementById('button'));
\ No newline at end of file
diff --git a/ej2-react/code-snippet/common/bootstrap5.3-cs2/index.css b/ej2-react/code-snippet/common/bootstrap5.3-cs2/index.css
new file mode 100644
index 000000000..391b66de9
--- /dev/null
+++ b/ej2-react/code-snippet/common/bootstrap5.3-cs2/index.css
@@ -0,0 +1,16 @@
+:root {
+ --color-sf-primary: 104, 134, 164;
+}
+
+button {
+ margin: 25px 5px 20px 20px;
+}
+
+#loader {
+ color: #008cff;
+ height: 40px;
+ left: 45%;
+ position: absolute;
+ top: 45%;
+ width: 30%;
+}
diff --git a/ej2-react/code-snippet/common/bootstrap5.3-cs2/index.html b/ej2-react/code-snippet/common/bootstrap5.3-cs2/index.html
new file mode 100644
index 000000000..f62b40b05
--- /dev/null
+++ b/ej2-react/code-snippet/common/bootstrap5.3-cs2/index.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Syncfusion React Button
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/common/bootstrap5.3-cs2/systemjs.config.js b/ej2-react/code-snippet/common/bootstrap5.3-cs2/systemjs.config.js
new file mode 100644
index 000000000..0925c5473
--- /dev/null
+++ b/ej2-react/code-snippet/common/bootstrap5.3-cs2/systemjs.config.js
@@ -0,0 +1,40 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"},
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/common/css-value-cs1/bootstrap5.3.css b/ej2-react/code-snippet/common/css-value-cs1/bootstrap5.3.css
new file mode 100644
index 000000000..42bdc0cb2
--- /dev/null
+++ b/ej2-react/code-snippet/common/css-value-cs1/bootstrap5.3.css
@@ -0,0 +1,22 @@
+:root {
+ --color-sf-black: 0, 0, 0;
+ --color-sf-white: 255, 255, 255;
+ --color-sf-content-bg-color: #fff;
+ --color-sf-content-bg-color-alt1: #f8f9fa;
+ --color-sf-content-bg-color-alt2: #e9ecef;
+ --color-sf-content-bg-color-alt3: #dee2e6;
+ --color-sf-content-bg-color-alt4: #ced4da;
+ --color-sf-content-bg-color-alt5: #adb5bd;
+ --color-sf-content-bg-color-hover: #f8f9fa;
+ --color-sf-content-bg-color-pressed: #e9ecef;
+ --color-sf-content-bg-color-focus: #e9ecef;
+ --color-sf-content-bg-color-selected: #0d6efd;
+ --color-sf-content-bg-color-dragged: #ced4da;
+ --color-sf-content-bg-color-disabled: #e9ecef;
+ --color-sf-flyout-bg-color: #fff;
+ --color-sf-flyout-bg-color-hover: #f8f9fa;
+ --color-sf-flyout-bg-color-pressed: #0d6efd;
+ --color-sf-flyout-bg-color-focus: #f8f9fa;
+ --color-sf-overlay-bg-color: 0, 0, 0;
+ --color-sf-table-bg-color-hover: rgba(0, 0, 0, .07);
+}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/common/fluent2-cs1/app/index.jsx b/ej2-react/code-snippet/common/fluent2-cs1/app/index.jsx
index 06d4a8828..a11f70d4d 100644
--- a/ej2-react/code-snippet/common/fluent2-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/common/fluent2-cs1/app/index.jsx
@@ -8,22 +8,22 @@ function App() {
const [isChecked, setIsChecked] = useState(false);
const handleCheckboxChange = (event) => {
- setIsChecked(event.target.checked);
+ setIsChecked(event.checked);
// Add or remove the classes on the body element based on the checkbox state
const body = document.body;
- if (event.target.checked) {
- body.classList.add('dark');
+ if (event.checked) {
body.classList.add('dark');
+ body.classList.add('e-dark-mode');
} else {
- body.classList.remove('e-dark-mode');
+ body.classList.remove('dark');
body.classList.remove('e-dark-mode');
}
};
return (
{/* Primary Button - Used to represent a primary action. */}
-
+
button
{/* Success Button - Used to represent a positive action. */}
diff --git a/ej2-react/code-snippet/common/fluent2-cs1/app/index.tsx b/ej2-react/code-snippet/common/fluent2-cs1/app/index.tsx
index bb2d89311..494486910 100644
--- a/ej2-react/code-snippet/common/fluent2-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/common/fluent2-cs1/app/index.tsx
@@ -1,6 +1,7 @@
import {ButtonComponent, CheckBoxComponent} from '@syncfusion/ej2-react-buttons';
import { enableRipple } from '@syncfusion/ej2-base';
+import { ChangeEventArgs } from '@syncfusion/ej2-buttons';
import * as React from 'react';
import * as ReactDom from 'react-dom';
import { useState } from 'react';
@@ -9,11 +10,12 @@ enableRipple(true);
function App() {
const [isChecked, setIsChecked] = useState(false);
- const handleCheckboxChange = (event: React.ChangeEvent) => {
- setIsChecked(event.target.checked);
+ const handleCheckboxChange = (event: ChangeEventArgs) => {
+ const checked = event.checked ?? false;
+ setIsChecked(checked);
// Add or remove the class on the body element based on the checkbox state
- if (event.target.checked) {
+ if (checked) {
document.body.classList.add('dark');
document.body.classList.add('e-dark-mode');
} else {
@@ -24,7 +26,7 @@ function App() {
return (
{ /* checkbox - Used to represent checkbox. */ }
-
+
{ /* Primary Button - Used to represent a primary action. */ }
Button
diff --git a/ej2-react/code-snippet/common/fluent2-cs2/index.css b/ej2-react/code-snippet/common/fluent2-cs2/index.css
index 391b66de9..e36b76f4f 100644
--- a/ej2-react/code-snippet/common/fluent2-cs2/index.css
+++ b/ej2-react/code-snippet/common/fluent2-cs2/index.css
@@ -1,5 +1,5 @@
:root {
- --color-sf-primary: 104, 134, 164;
+ --color-sf-primary: #6886a4;
}
button {
diff --git a/ej2-react/code-snippet/common/material3-cs1/app/index.jsx b/ej2-react/code-snippet/common/material3-cs1/app/index.jsx
index 06d4a8828..a11f70d4d 100644
--- a/ej2-react/code-snippet/common/material3-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/common/material3-cs1/app/index.jsx
@@ -8,22 +8,22 @@ function App() {
const [isChecked, setIsChecked] = useState(false);
const handleCheckboxChange = (event) => {
- setIsChecked(event.target.checked);
+ setIsChecked(event.checked);
// Add or remove the classes on the body element based on the checkbox state
const body = document.body;
- if (event.target.checked) {
- body.classList.add('dark');
+ if (event.checked) {
body.classList.add('dark');
+ body.classList.add('e-dark-mode');
} else {
- body.classList.remove('e-dark-mode');
+ body.classList.remove('dark');
body.classList.remove('e-dark-mode');
}
};
return (
{/* Primary Button - Used to represent a primary action. */}
-
+
button
{/* Success Button - Used to represent a positive action. */}
diff --git a/ej2-react/code-snippet/common/material3-cs1/app/index.tsx b/ej2-react/code-snippet/common/material3-cs1/app/index.tsx
index bb2d89311..494486910 100644
--- a/ej2-react/code-snippet/common/material3-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/common/material3-cs1/app/index.tsx
@@ -1,6 +1,7 @@
import {ButtonComponent, CheckBoxComponent} from '@syncfusion/ej2-react-buttons';
import { enableRipple } from '@syncfusion/ej2-base';
+import { ChangeEventArgs } from '@syncfusion/ej2-buttons';
import * as React from 'react';
import * as ReactDom from 'react-dom';
import { useState } from 'react';
@@ -9,11 +10,12 @@ enableRipple(true);
function App() {
const [isChecked, setIsChecked] = useState(false);
- const handleCheckboxChange = (event: React.ChangeEvent) => {
- setIsChecked(event.target.checked);
+ const handleCheckboxChange = (event: ChangeEventArgs) => {
+ const checked = event.checked ?? false;
+ setIsChecked(checked);
// Add or remove the class on the body element based on the checkbox state
- if (event.target.checked) {
+ if (checked) {
document.body.classList.add('dark');
document.body.classList.add('e-dark-mode');
} else {
@@ -24,7 +26,7 @@ function App() {
return (
{ /* checkbox - Used to represent checkbox. */ }
-
+
{ /* Primary Button - Used to represent a primary action. */ }
Button
diff --git a/ej2-react/code-snippet/dashboard-layout/getting-started-cs1/app/App.jsx b/ej2-react/code-snippet/dashboard-layout/getting-started-cs1/app/App.jsx
index 4a9bddbf8..0aa63d6f7 100644
--- a/ej2-react/code-snippet/dashboard-layout/getting-started-cs1/app/App.jsx
+++ b/ej2-react/code-snippet/dashboard-layout/getting-started-cs1/app/App.jsx
@@ -1,5 +1,6 @@
import { DashboardLayoutComponent } from '@syncfusion/ej2-react-layouts';
import * as React from 'react';
+import './index.css'
function App() {
const cellSpacing = [5, 5];
return (
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs1/app/index.jsx
new file mode 100644
index 000000000..2a813f0fe
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs1/app/index.jsx
@@ -0,0 +1,68 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, DataBinding, ComplexHierarchicalTree } from "@syncfusion/ej2-react-diagrams";
+
+
+//Initialize nodes for diagram
+let nodes = [
+ { id: 'node1' },
+ { id: 'node2' },
+ { id: 'node3' },
+ { id: 'node4' },
+ { id: 'node5' },
+ { id: 'node6' },
+ { id: 'node7' },
+ ];
+
+//Initialize connectors for diagram
+let connectors = [
+ { id: 'node1-node4', sourceID: 'node1', targetID: 'node4' },
+ { id: 'node2-node4', sourceID: 'node2', targetID: 'node4' },
+ { id: 'node3-node4', sourceID: 'node3', targetID: 'node4' },
+ { id: 'node4-node5', sourceID: 'node4', targetID: 'node5' },
+ { id: 'node4-node6', sourceID: 'node4', targetID: 'node6' },
+ { id: 'node5-node6', sourceID: 'node6', targetID: 'node7' },
+ ];
+
+export default function App() {
+
+ return (
+
+ {
+ node.width = 70; node.height = 70;
+ node.annotations = [{ content: node.id }];
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render(
);
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs1/app/index.tsx
new file mode 100644
index 000000000..930556379
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs1/app/index.tsx
@@ -0,0 +1,69 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, NodeModel, ConnectorModel, DataBinding,
+ ComplexHierarchicalTree } from "@syncfusion/ej2-react-diagrams";
+
+
+//Initialize nodes for diagram
+let nodes: NodeModel[] = [
+ { id: 'node1' },
+ { id: 'node2' },
+ { id: 'node3' },
+ { id: 'node4' },
+ { id: 'node5' },
+ { id: 'node6' },
+ { id: 'node7' },
+];
+
+//Initialize connectors for diagram
+let connectors: ConnectorModel[] = [
+ { id: 'node1-node4', sourceID: 'node1', targetID: 'node4' },
+ { id: 'node2-node4', sourceID: 'node2', targetID: 'node4' },
+ { id: 'node3-node4', sourceID: 'node3', targetID: 'node4' },
+ { id: 'node4-node5', sourceID: 'node4', targetID: 'node5' },
+ { id: 'node4-node6', sourceID: 'node4', targetID: 'node6' },
+ { id: 'node5-node6', sourceID: 'node6', targetID: 'node7' },
+];
+
+export default function App() {
+
+ return (
+
+ {
+ node.width = 70; node.height = 70;
+ node.annotations = [{ content: node.id }];
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render(
);
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs1/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs1/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/contextmenu/es5custom-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs1/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/contextmenu/es5custom-cs1/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs1/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs2/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs2/app/index.jsx
new file mode 100644
index 000000000..7ad26e1c0
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs2/app/index.jsx
@@ -0,0 +1,83 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, DataBinding, ComplexHierarchicalTree } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+
+//Initializes data source
+let data = [
+ { "Name": "node11" },
+ { "Name": "node12", "ReportingPerson": ["node114"] },
+ { "Name": "node13", "ReportingPerson": ["node12"] },
+ { "Name": "node14", "ReportingPerson": ["node12"] },
+ { "Name": "node15", "ReportingPerson": ["node12"] },
+ { "Name": "node16", "ReportingPerson": [] },
+ { "Name": "node17", "ReportingPerson": ["node13", "node14", "node15"] },
+ { "Name": "node18", "ReportingPerson": [] },
+ { "Name": "node19", "ReportingPerson": ["node16", "node17", "node18"] },
+ { "Name": "node110", "ReportingPerson": ["node16", "node17", "node18"] },
+ { "Name": "node111", "ReportingPerson": ["node16", "node17", "node18", "node116"] },
+ { "Name": "node21" },
+ { "Name": "node22", "ReportingPerson": ["node114"] },
+ { "Name": "node23", "ReportingPerson": ["node22"] },
+ { "Name": "node24", "ReportingPerson": ["node22"] },
+ { "Name": "node25", "ReportingPerson": ["node22"] },
+ { "Name": "node26", "ReportingPerson": [] },
+ { "Name": "node27", "ReportingPerson": ["node23", "node24", "node25"] },
+ { "Name": "node28", "ReportingPerson": [] },
+ { "Name": "node29", "ReportingPerson": ["node26", "node27", "node28", "node116"] },
+ { "Name": "node210", "ReportingPerson": ["node26", "node27", "node28"] },
+ { "Name": "node211", "ReportingPerson": ["node26", "node27", "node28"] },
+ { "Name": "node31" },
+ { "Name": "node114", "ReportingPerson": ["node11", "node21", "node31"] },
+ { "Name": "node116", "ReportingPerson": ["node12", "node22"], }
+];
+
+let items = new DataManager(data, new Query().take(7));
+
+export default function App() {
+
+ return (
+
+ {
+ node.width = 70; node.height = 70;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render(
);
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs2/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs2/app/index.tsx
new file mode 100644
index 000000000..509bb7214
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs2/app/index.tsx
@@ -0,0 +1,84 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, NodeModel, ConnectorModel, DataBinding,
+ ComplexHierarchicalTree } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+
+//Initializes data source
+let data: object[] = [
+ { "Name": "node11" },
+ { "Name": "node12", "ReportingPerson": ["node114"] },
+ { "Name": "node13", "ReportingPerson": ["node12"] },
+ { "Name": "node14", "ReportingPerson": ["node12"] },
+ { "Name": "node15", "ReportingPerson": ["node12"] },
+ { "Name": "node16", "ReportingPerson": [] },
+ { "Name": "node17", "ReportingPerson": ["node13", "node14", "node15"] },
+ { "Name": "node18", "ReportingPerson": [] },
+ { "Name": "node19", "ReportingPerson": ["node16", "node17", "node18"] },
+ { "Name": "node110", "ReportingPerson": ["node16", "node17", "node18"] },
+ { "Name": "node111", "ReportingPerson": ["node16", "node17", "node18", "node116"] },
+ { "Name": "node21" },
+ { "Name": "node22", "ReportingPerson": ["node114"] },
+ { "Name": "node23", "ReportingPerson": ["node22"] },
+ { "Name": "node24", "ReportingPerson": ["node22"] },
+ { "Name": "node25", "ReportingPerson": ["node22"] },
+ { "Name": "node26", "ReportingPerson": [] },
+ { "Name": "node27", "ReportingPerson": ["node23", "node24", "node25"] },
+ { "Name": "node28", "ReportingPerson": [] },
+ { "Name": "node29", "ReportingPerson": ["node26", "node27", "node28", "node116"] },
+ { "Name": "node210", "ReportingPerson": ["node26", "node27", "node28"] },
+ { "Name": "node211", "ReportingPerson": ["node26", "node27", "node28"] },
+ { "Name": "node31" },
+ { "Name": "node114", "ReportingPerson": ["node11", "node21", "node31"] },
+ { "Name": "node116", "ReportingPerson": ["node12", "node22"], }
+];
+
+let items: DataManager = new DataManager(data as JSON[], new Query().take(7));
+
+export default function App() {
+
+ return (
+
+ {
+ node.width = 70; node.height = 70;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render(
);
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs2/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs2/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs2/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/contextmenu/es5default-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs2/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/contextmenu/es5default-cs1/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs2/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs3/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs3/app/index.jsx
new file mode 100644
index 000000000..2dcc5c87f
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs3/app/index.jsx
@@ -0,0 +1,78 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, DataBinding, ComplexHierarchicalTree,
+ ConnectionPointOrigin, LineDistribution } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+
+//Initializes data source
+let data = [
+ { "Name": "node11" },
+ { "Name": "node12", "ReportingPerson": ["node114"] },
+ { "Name": "node13", "ReportingPerson": ["node12"] },
+ { "Name": "node14", "ReportingPerson": ["node12"] },
+ { "Name": "node15", "ReportingPerson": ["node12"] },
+ { "Name": "node116", "ReportingPerson": ["node22", "node12"] },
+ { "Name": "node16", "ReportingPerson": [] },
+ { "Name": "node18", "ReportingPerson": [] },
+ { "Name": "node21" },
+ { "Name": "node22", "ReportingPerson": ["node114"] },
+ { "Name": "node23", "ReportingPerson": ["node22"] },
+ { "Name": "node24", "ReportingPerson": ["node22"] },
+ { "Name": "node25", "ReportingPerson": ["node22"] },
+ { "Name": "node26", "ReportingPerson": [] },
+ { "Name": "node28", "ReportingPerson": [] },
+ { "Name": "node31" },
+ { "Name": "node114", "ReportingPerson": ["node11", "node21", "node31"] }
+];
+
+let items = new DataManager(data, new Query().take(7));
+
+export default function App() {
+
+ return (
+
+ {
+ node.width = 40; node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ connector.cornerRadius = 7;
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render(
);
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs3/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs3/app/index.tsx
new file mode 100644
index 000000000..e58d6a9b9
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs3/app/index.tsx
@@ -0,0 +1,78 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, NodeModel, ConnectorModel, DataBinding,
+ ComplexHierarchicalTree, ConnectionPointOrigin, LineDistribution } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+
+//Initializes data source
+let data: object[] = [
+ { "Name": "node11" },
+ { "Name": "node12", "ReportingPerson": ["node114"] },
+ { "Name": "node13", "ReportingPerson": ["node12"] },
+ { "Name": "node14", "ReportingPerson": ["node12"] },
+ { "Name": "node15", "ReportingPerson": ["node12"] },
+ { "Name": "node116", "ReportingPerson": ["node22", "node12"] },
+ { "Name": "node16", "ReportingPerson": [] },
+ { "Name": "node18", "ReportingPerson": [] },
+ { "Name": "node21" },
+ { "Name": "node22", "ReportingPerson": ["node114"] },
+ { "Name": "node23", "ReportingPerson": ["node22"] },
+ { "Name": "node24", "ReportingPerson": ["node22"] },
+ { "Name": "node25", "ReportingPerson": ["node22"] },
+ { "Name": "node26", "ReportingPerson": [] },
+ { "Name": "node28", "ReportingPerson": [] },
+ { "Name": "node31" },
+ { "Name": "node114", "ReportingPerson": ["node11", "node21", "node31"] }
+];
+
+let items: DataManager = new DataManager(data as JSON[], new Query().take(7));
+
+export default function App() {
+
+ return (
+
+ {
+ node.width = 40; node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel) => {
+ connector.type = 'Orthogonal';
+ connector.cornerRadius = 7;
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render(
);
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs3/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs3/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs3/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/group/es5group-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs3/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/group/es5group-cs1/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs3/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs4/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs4/app/index.jsx
new file mode 100644
index 000000000..23c5a346a
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs4/app/index.jsx
@@ -0,0 +1,78 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, DataBinding, ComplexHierarchicalTree, LineDistribution,
+ ChildArrangement } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+
+//Initializes data source
+let data = [
+ { "Name": "node11" },
+ { "Name": "node12", "ReportingPerson": ["node114"] },
+ { "Name": "node13", "ReportingPerson": ["node12"] },
+ { "Name": "node14", "ReportingPerson": ["node12"] },
+ { "Name": "node15", "ReportingPerson": ["node12"] },
+ { "Name": "node116", "ReportingPerson": ["node22", "node12"] },
+ { "Name": "node16", "ReportingPerson": [] },
+ { "Name": "node18", "ReportingPerson": [] },
+ { "Name": "node21" },
+ { "Name": "node22", "ReportingPerson": ["node114"] },
+ { "Name": "node23", "ReportingPerson": ["node22"] },
+ { "Name": "node24", "ReportingPerson": ["node22"] },
+ { "Name": "node25", "ReportingPerson": ["node22"] },
+ { "Name": "node26", "ReportingPerson": [] },
+ { "Name": "node28", "ReportingPerson": [] },
+ { "Name": "node31" },
+ { "Name": "node114", "ReportingPerson": ["node11", "node21", "node31"] }
+];
+
+let items = new DataManager(data, new Query().take(7));
+
+export default function App() {
+
+ return (
+
+ {
+ node.width = 40; node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ connector.cornerRadius = 7;
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render(
);
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs4/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs4/app/index.tsx
new file mode 100644
index 000000000..216896dff
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs4/app/index.tsx
@@ -0,0 +1,78 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, NodeModel, ConnectorModel, DataBinding, ComplexHierarchicalTree,
+ LineDistribution, ChildArrangement } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+
+//Initializes data source
+let data: object[] = [
+ { "Name": "node11" },
+ { "Name": "node12", "ReportingPerson": ["node114"] },
+ { "Name": "node13", "ReportingPerson": ["node12"] },
+ { "Name": "node14", "ReportingPerson": ["node12"] },
+ { "Name": "node15", "ReportingPerson": ["node12"] },
+ { "Name": "node116", "ReportingPerson": ["node22", "node12"] },
+ { "Name": "node16", "ReportingPerson": [] },
+ { "Name": "node18", "ReportingPerson": [] },
+ { "Name": "node21" },
+ { "Name": "node22", "ReportingPerson": ["node114"] },
+ { "Name": "node23", "ReportingPerson": ["node22"] },
+ { "Name": "node24", "ReportingPerson": ["node22"] },
+ { "Name": "node25", "ReportingPerson": ["node22"] },
+ { "Name": "node26", "ReportingPerson": [] },
+ { "Name": "node28", "ReportingPerson": [] },
+ { "Name": "node31" },
+ { "Name": "node114", "ReportingPerson": ["node11", "node21", "node31"] }
+];
+
+let items: DataManager = new DataManager(data as JSON[], new Query().take(7));
+
+export default function App() {
+
+ return (
+
+ {
+ node.width = 40; node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel) => {
+ connector.type = 'Orthogonal';
+ connector.cornerRadius = 7;
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render(
);
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs4/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs4/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs4/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/group/es5groupadd-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs4/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/group/es5groupadd-cs1/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs4/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs5/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs5/app/index.jsx
new file mode 100644
index 000000000..3491af471
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs5/app/index.jsx
@@ -0,0 +1,74 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, DataBinding, ComplexHierarchicalTree, LineDistribution } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+
+//Initializes data source
+let data = [
+ { Name: 'node11' },
+ { Name: 'node12', ReportingPerson: ['node114'] },
+ { Name: 'node13', ReportingPerson: ['node12'] },
+ { Name: 'node14', ReportingPerson: ['node12'] },
+ { Name: 'node15', ReportingPerson: ['node12'] },
+ { Name: 'node16', ReportingPerson: ['node12'] },
+ { Name: 'node116', ReportingPerson: ['node22', 'node12', 'node114'] },
+ { Name: 'node21' },
+ { Name: 'node22', ReportingPerson: ['node114'] },
+ { Name: 'node222', ReportingPerson: ['node114'] },
+ { Name: 'node2222', ReportingPerson: ['node114'] },
+ { Name: 'node23', ReportingPerson: ['node22'] },
+ { Name: 'node31' },
+ { Name: 'node114', ReportingPerson: ['node11', 'node21', 'node31'] },
+ ];
+
+let items = new DataManager(data, new Query().take(7));
+
+export default function App() {
+
+ return (
+
+ {
+ node.width = 40; node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ connector.cornerRadius = 7;
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render(
);
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs5/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs5/app/index.tsx
new file mode 100644
index 000000000..55ee67793
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs5/app/index.tsx
@@ -0,0 +1,74 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, NodeModel, ConnectorModel, DataBinding, ComplexHierarchicalTree, LineDistribution } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+
+//Initializes data source
+let data: object[] = [
+ { Name: 'node11' },
+ { Name: 'node12', ReportingPerson: ['node114'] },
+ { Name: 'node13', ReportingPerson: ['node12'] },
+ { Name: 'node14', ReportingPerson: ['node12'] },
+ { Name: 'node15', ReportingPerson: ['node12'] },
+ { Name: 'node16', ReportingPerson: ['node12'] },
+ { Name: 'node116', ReportingPerson: ['node22', 'node12', 'node114'] },
+ { Name: 'node21' },
+ { Name: 'node22', ReportingPerson: ['node114'] },
+ { Name: 'node222', ReportingPerson: ['node114'] },
+ { Name: 'node2222', ReportingPerson: ['node114'] },
+ { Name: 'node23', ReportingPerson: ['node22'] },
+ { Name: 'node31' },
+ { Name: 'node114', ReportingPerson: ['node11', 'node21', 'node31'] },
+];
+
+let items: DataManager = new DataManager(data as JSON[], new Query().take(7));
+
+export default function App() {
+
+ return (
+
+ {
+ node.width = 40; node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel) => {
+ connector.type = 'Orthogonal';
+ connector.cornerRadius = 7;
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render(
);
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs5/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs5/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs5/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/group/es5groupaddatruntime-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs5/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/group/es5groupaddatruntime-cs1/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/complexhiertree-cs5/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/es5Assistant-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/es5Assistant-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/AutomaticLayout/es5Assistant-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/es5Assistant-cs1/index.html
@@ -2,7 +2,7 @@
-
Syncfusion React Chart-DataLabel
+
Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/es5GetLayoutInfo-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/es5GetLayoutInfo-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/AutomaticLayout/es5GetLayoutInfo-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/es5GetLayoutInfo-cs1/index.html
@@ -2,7 +2,7 @@
-
Syncfusion React Chart-DataLabel
+
Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/es5LayoutMargin-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/es5LayoutMargin-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/AutomaticLayout/es5LayoutMargin-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/es5LayoutMargin-cs1/index.html
@@ -2,7 +2,7 @@
-
Syncfusion React Chart-DataLabel
+
Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/es5LayoutOrientation-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/es5LayoutOrientation-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/AutomaticLayout/es5LayoutOrientation-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/es5LayoutOrientation-cs1/index.html
@@ -2,7 +2,7 @@
-
Syncfusion React Chart-DataLabel
+
Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/es5LineDistribution-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/es5LineDistribution-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/AutomaticLayout/es5LineDistribution-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/es5LineDistribution-cs1/index.html
@@ -2,7 +2,7 @@
-
Syncfusion React Chart-DataLabel
+
Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/es5Node-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/es5Node-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/AutomaticLayout/es5Node-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/es5Node-cs1/index.html
@@ -2,7 +2,7 @@
-
Syncfusion React Chart-DataLabel
+
Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/es5Node-cs2/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/es5Node-cs2/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/AutomaticLayout/es5Node-cs2/index.html
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/es5Node-cs2/index.html
@@ -2,7 +2,7 @@
-
Syncfusion React Chart-DataLabel
+
Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/es5Node-cs3/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/es5Node-cs3/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/AutomaticLayout/es5Node-cs3/index.html
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/es5Node-cs3/index.html
@@ -2,7 +2,7 @@
-
Syncfusion React Chart-DataLabel
+
Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/es5Node-cs4/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/es5Node-cs4/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/AutomaticLayout/es5Node-cs4/index.html
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/es5Node-cs4/index.html
@@ -2,7 +2,7 @@
-
Syncfusion React Chart-DataLabel
+
Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/es5Node-cs5/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/es5Node-cs5/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/AutomaticLayout/es5Node-cs5/index.html
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/es5Node-cs5/index.html
@@ -2,7 +2,7 @@
-
Syncfusion React Chart-DataLabel
+
Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/es5OrganizationalChart-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/es5OrganizationalChart-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/AutomaticLayout/es5OrganizationalChart-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/es5OrganizationalChart-cs1/index.html
@@ -2,7 +2,7 @@
-
Syncfusion React Chart-DataLabel
+
Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/es5RadialTreeLayout-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/es5RadialTreeLayout-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/AutomaticLayout/es5RadialTreeLayout-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/es5RadialTreeLayout-cs1/index.html
@@ -2,7 +2,7 @@
-
Syncfusion React Chart-DataLabel
+
Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/es5SymmetricLayout-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/es5SymmetricLayout-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/AutomaticLayout/es5SymmetricLayout-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/es5SymmetricLayout-cs1/index.html
@@ -2,7 +2,7 @@
-
Syncfusion React Chart-DataLabel
+
Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/esNodeTemplate-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/esNodeTemplate-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/AutomaticLayout/esNodeTemplate-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/esNodeTemplate-cs1/index.html
@@ -2,7 +2,7 @@
-
Syncfusion React Chart-DataLabel
+
Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs1/app/index.jsx
new file mode 100644
index 000000000..592859ee1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs1/app/index.jsx
@@ -0,0 +1,118 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, DataBinding, FlowchartLayout } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+
+//Initializes data source
+let data = [
+ {
+ "id": "1",
+ "name": "Start",
+ "shape": "Terminator",
+ "color": "#6CA0DC"
+ },
+ {
+ "id": "2",
+ "name": "Input",
+ "parentId": ["1"],
+ "shape": "Parallelogram",
+ "color": "#6CA0DC"
+ },
+ {
+ "id": "3",
+ "name": "Decision?",
+ "parentId": ["2"],
+ "shape": "Decision",
+ "color": "#6CA0DC"
+ },
+ {
+ "id": "4",
+ "label": ["No"],
+ "name": "Process1",
+ "parentId": ["3"],
+ "shape": "Process",
+ "color": "#6CA0DC"
+ },
+ {
+ "id": "5",
+ "label": ["Yes"],
+ "name": "Process2",
+ "parentId": ["3"],
+ "shape": "Process",
+ "color": "#6CA0DC"
+ },
+ {
+ "id": "6",
+ "name": "Output",
+ "parentId": ["5"],
+ "shape": "Parallelogram",
+ "color": "#6CA0DC"
+ },
+ {
+ "id": "7",
+ "name": "Output",
+ "parentId": ["4"],
+ "shape": "Parallelogram",
+ "color": "#6CA0DC"
+ },
+ {
+ "id": "8",
+ "name": "End",
+ "parentId": ["6", "7"],
+ "shape": "Terminator",
+ "color": "#6CA0DC"
+ }
+];
+
+let items = new DataManager(data, new Query().take(7));
+
+export default function App() {
+
+ return (
+
+ {
+ node.width = 120; node.height = 50;
+ if (node.shape.shape === 'Decision') {
+ node.height = 80;
+ }
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render(
);
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs1/app/index.tsx
new file mode 100644
index 000000000..04a3c09c8
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs1/app/index.tsx
@@ -0,0 +1,118 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, NodeModel, ConnectorModel, DataBinding, FlowchartLayout } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+
+//Initializes data source
+let data: object[] = [
+ {
+ "id": "1",
+ "name": "Start",
+ "shape": "Terminator",
+ "color": "#6CA0DC"
+ },
+ {
+ "id": "2",
+ "name": "Input",
+ "parentId": ["1"],
+ "shape": "Parallelogram",
+ "color": "#6CA0DC"
+ },
+ {
+ "id": "3",
+ "name": "Decision?",
+ "parentId": ["2"],
+ "shape": "Decision",
+ "color": "#6CA0DC"
+ },
+ {
+ "id": "4",
+ "label": ["No"],
+ "name": "Process1",
+ "parentId": ["3"],
+ "shape": "Process",
+ "color": "#6CA0DC"
+ },
+ {
+ "id": "5",
+ "label": ["Yes"],
+ "name": "Process2",
+ "parentId": ["3"],
+ "shape": "Process",
+ "color": "#6CA0DC"
+ },
+ {
+ "id": "6",
+ "name": "Output",
+ "parentId": ["5"],
+ "shape": "Parallelogram",
+ "color": "#6CA0DC"
+ },
+ {
+ "id": "7",
+ "name": "Output",
+ "parentId": ["4"],
+ "shape": "Parallelogram",
+ "color": "#6CA0DC"
+ },
+ {
+ "id": "8",
+ "name": "End",
+ "parentId": ["6", "7"],
+ "shape": "Terminator",
+ "color": "#6CA0DC"
+ }
+];
+
+let items: DataManager = new DataManager(data as JSON[], new Query().take(7));
+
+export default function App() {
+
+ return (
+
+ {
+ node.width = 120; node.height = 50;
+ if ((node.shape as any).shape === 'Decision') {
+ node.height = 80;
+ }
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render(
);
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs1/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs1/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/group/es5groupchild-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs1/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/group/es5groupchild-cs1/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs1/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs2/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs2/app/index.jsx
new file mode 100644
index 000000000..c73fbd538
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs2/app/index.jsx
@@ -0,0 +1,73 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, DataBinding, FlowchartLayout } from "@syncfusion/ej2-react-diagrams";
+
+
+ //Initialize nodes for diagram
+ let nodes = [
+ { id: '1', shape: { type: 'Flow', shape: 'Terminator' }, annotations: [{ content: 'Start' }], style: { fill: '#6CA0DC' } },
+ { id: '2', shape: { type: 'Flow', shape: 'Data' }, annotations: [{ content: 'Input' }], style: { fill: '#6CA0DC' } },
+ { id: '3', shape: { type: 'Flow', shape: 'Decision' }, annotations: [{ content: 'Decision?' }], style: { fill: '#6CA0DC' } },
+ { id: '4', shape: { type: 'Flow', shape: 'Process' }, annotations: [{ content: 'Process1' }], style: { fill: '#6CA0DC' } },
+ { id: '5', shape: { type: 'Flow', shape: 'Process' }, annotations: [{ content: 'Process2' }], style: { fill: '#6CA0DC' } },
+ { id: '6', shape: { type: 'Flow', shape: 'Data' }, annotations: [{ content: 'Output' }], style: { fill: '#6CA0DC' } },
+ { id: '7', shape: { type: 'Flow', shape: 'Data' }, annotations: [{ content: 'Output' }], style: { fill: '#6CA0DC' } },
+ { id: '8', shape: { type: 'Flow', shape: 'Terminator' }, annotations: [{ content: 'End' }], style: { fill: '#6CA0DC' } }
+ ];
+
+ //Initialize connectors for diagram
+ let connectors = [
+ { id: 'connector1', sourceID: '1', targetID: '2' },
+ { id: 'connector2', sourceID: '2', targetID: '3' },
+ { id: 'connector3', sourceID: '3', targetID: '4', annotations: [{ content: 'No' }] },
+ { id: 'connector4', sourceID: '3', targetID: '5', annotations: [{ content: 'Yes' }] },
+ { id: 'connector5', sourceID: '5', targetID: '6' },
+ { id: 'connector6', sourceID: '4', targetID: '7' },
+ { id: 'connector7', sourceID: '6', targetID: '8' },
+ { id: 'connector8', sourceID: '7', targetID: '8' }
+ ];
+
+export default function App() {
+
+ return (
+
+ {
+ node.width = 120; node.height = 50;
+ if (node.shape.shape === 'Decision') {
+ node.height = 80;
+ }
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs2/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs2/app/index.tsx
new file mode 100644
index 000000000..d9f4db5e7
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs2/app/index.tsx
@@ -0,0 +1,73 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, NodeModel, ConnectorModel, DataBinding, FlowchartLayout } from "@syncfusion/ej2-react-diagrams";
+
+
+ //Initialize nodes for diagram
+ let nodes: NodeModel[] = [
+ { id: '1', shape: { type: 'Flow', shape: 'Terminator' }, annotations: [{ content: 'Start' }], style: { fill: '#6CA0DC' } },
+ { id: '2', shape: { type: 'Flow', shape: 'Data' }, annotations: [{ content: 'Input' }], style: { fill: '#6CA0DC' } },
+ { id: '3', shape: { type: 'Flow', shape: 'Decision' }, annotations: [{ content: 'Decision?' }], style: { fill: '#6CA0DC' } },
+ { id: '4', shape: { type: 'Flow', shape: 'Process' }, annotations: [{ content: 'Process1' }], style: { fill: '#6CA0DC' } },
+ { id: '5', shape: { type: 'Flow', shape: 'Process' }, annotations: [{ content: 'Process2' }], style: { fill: '#6CA0DC' } },
+ { id: '6', shape: { type: 'Flow', shape: 'Data' }, annotations: [{ content: 'Output' }], style: { fill: '#6CA0DC' } },
+ { id: '7', shape: { type: 'Flow', shape: 'Data' }, annotations: [{ content: 'Output' }], style: { fill: '#6CA0DC' } },
+ { id: '8', shape: { type: 'Flow', shape: 'Terminator' }, annotations: [{ content: 'End' }], style: { fill: '#6CA0DC' } }
+ ];
+
+ //Initialize connectors for diagram
+ let connectors: ConnectorModel[] = [
+ { id: 'connector1', sourceID: '1', targetID: '2' },
+ { id: 'connector2', sourceID: '2', targetID: '3' },
+ { id: 'connector3', sourceID: '3', targetID: '4', annotations: [{ content: 'No' }] },
+ { id: 'connector4', sourceID: '3', targetID: '5', annotations: [{ content: 'Yes' }] },
+ { id: 'connector5', sourceID: '5', targetID: '6' },
+ { id: 'connector6', sourceID: '4', targetID: '7' },
+ { id: 'connector7', sourceID: '6', targetID: '8' },
+ { id: 'connector8', sourceID: '7', targetID: '8' }
+ ];
+
+export default function App() {
+
+ return (
+
+ {
+ node.width = 120; node.height = 50;
+ if ((node.shape as any).shape === 'Decision') {
+ node.height = 80;
+ }
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs2/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs2/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs2/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/group/es5ungroup-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs2/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/group/es5ungroup-cs1/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs2/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs3/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs3/app/index.jsx
new file mode 100644
index 000000000..3b1aae73d
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs3/app/index.jsx
@@ -0,0 +1,84 @@
+{% raw %}
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, DataBinding, FlowchartLayout } from "@syncfusion/ej2-react-diagrams";
+
+
+//Initialize nodes for diagram
+let nodes = [
+ { id: '1', shape: { type: 'Flow', shape: 'Terminator' }, annotations: [{ content: 'Start' }], style: { fill: '#6CA0DC' } },
+ { id: '2', shape: { type: 'Flow', shape: 'Data' }, annotations: [{ content: 'Input' }], style: { fill: '#6CA0DC' } },
+ { id: '3', shape: { type: 'Flow', shape: 'Decision' }, annotations: [{ content: 'Decision?' }], style: { fill: '#6CA0DC' } },
+ { id: '4', shape: { type: 'Flow', shape: 'Process' }, annotations: [{ content: 'Process1' }], style: { fill: '#6CA0DC' } },
+ { id: '5', shape: { type: 'Flow', shape: 'Process' }, annotations: [{ content: 'Process2' }], style: { fill: '#6CA0DC' } },
+ { id: '6', shape: { type: 'Flow', shape: 'Data' }, annotations: [{ content: 'Output' }], style: { fill: '#6CA0DC' } },
+ { id: '7', shape: { type: 'Flow', shape: 'Data' }, annotations: [{ content: 'Output' }], style: { fill: '#6CA0DC' } },
+ { id: '8', shape: { type: 'Flow', shape: 'Terminator' }, annotations: [{ content: 'End' }], style: { fill: '#6CA0DC' } }
+];
+
+//Initialize connectors for diagram
+let connectors = [
+ { id: 'connector1', sourceID: '1', targetID: '2' },
+ { id: 'connector2', sourceID: '2', targetID: '3' },
+ { id: 'connector3', sourceID: '3', targetID: '4', annotations: [{ content: 'No' }] },
+ { id: 'connector4', sourceID: '3', targetID: '5', annotations: [{ content: 'Yes' }] },
+ { id: 'connector5', sourceID: '5', targetID: '6' },
+ { id: 'connector6', sourceID: '4', targetID: '7' },
+ { id: 'connector7', sourceID: '6', targetID: '8' },
+ { id: 'connector8', sourceID: '7', targetID: '8' }
+];
+
+export default function App() {
+
+ return (
+
+ {
+ node.width = 120; node.height = 50;
+ if (node.shape.shape === 'Decision') {
+ node.height = 80;
+ }
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render(
);
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs3/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs3/app/index.tsx
new file mode 100644
index 000000000..28d7744a0
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs3/app/index.tsx
@@ -0,0 +1,84 @@
+{% raw %}
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, NodeModel, ConnectorModel, DataBinding, FlowchartLayout } from "@syncfusion/ej2-react-diagrams";
+
+
+//Initialize nodes for diagram
+let nodes: NodeModel[] = [
+ { id: '1', shape: { type: 'Flow', shape: 'Terminator' }, annotations: [{ content: 'Start' }], style: { fill: '#6CA0DC' } },
+ { id: '2', shape: { type: 'Flow', shape: 'Data' }, annotations: [{ content: 'Input' }], style: { fill: '#6CA0DC' } },
+ { id: '3', shape: { type: 'Flow', shape: 'Decision' }, annotations: [{ content: 'Decision?' }], style: { fill: '#6CA0DC' } },
+ { id: '4', shape: { type: 'Flow', shape: 'Process' }, annotations: [{ content: 'Process1' }], style: { fill: '#6CA0DC' } },
+ { id: '5', shape: { type: 'Flow', shape: 'Process' }, annotations: [{ content: 'Process2' }], style: { fill: '#6CA0DC' } },
+ { id: '6', shape: { type: 'Flow', shape: 'Data' }, annotations: [{ content: 'Output' }], style: { fill: '#6CA0DC' } },
+ { id: '7', shape: { type: 'Flow', shape: 'Data' }, annotations: [{ content: 'Output' }], style: { fill: '#6CA0DC' } },
+ { id: '8', shape: { type: 'Flow', shape: 'Terminator' }, annotations: [{ content: 'End' }], style: { fill: '#6CA0DC' } }
+];
+
+//Initialize connectors for diagram
+let connectors: ConnectorModel[] = [
+ { id: 'connector1', sourceID: '1', targetID: '2' },
+ { id: 'connector2', sourceID: '2', targetID: '3' },
+ { id: 'connector3', sourceID: '3', targetID: '4', annotations: [{ content: 'No' }] },
+ { id: 'connector4', sourceID: '3', targetID: '5', annotations: [{ content: 'Yes' }] },
+ { id: 'connector5', sourceID: '5', targetID: '6' },
+ { id: 'connector6', sourceID: '4', targetID: '7' },
+ { id: 'connector7', sourceID: '6', targetID: '8' },
+ { id: 'connector8', sourceID: '7', targetID: '8' }
+];
+
+export default function App() {
+
+ return (
+
+ {
+ node.width = 120; node.height = 50;
+ if ((node.shape as any).shape === 'Decision') {
+ node.height = 80;
+ }
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render(
);
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs3/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs3/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs3/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/interaction/es5resizeThumb-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs3/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/interaction/es5resizeThumb-cs1/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs3/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs4/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs4/app/index.jsx
new file mode 100644
index 000000000..b0e074a45
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs4/app/index.jsx
@@ -0,0 +1,77 @@
+{% raw %}
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, DataBinding, FlowchartLayout } from "@syncfusion/ej2-react-diagrams";
+
+
+//Initialize nodes for diagram
+let nodes = [
+ { id: '1', shape: { type: 'Flow', shape: 'Terminator' }, annotations: [{ content: 'Start' }], style: { fill: '#6CA0DC' } },
+ { id: '2', shape: { type: 'Flow', shape: 'Decision' }, annotations: [{ content: 'Decision?' }], style: { fill: '#6CA0DC' } },
+ { id: '3', shape: { type: 'Flow', shape: 'Process' }, annotations: [{ content: 'Process1' }], style: { fill: '#6CA0DC' } },
+ { id: '4', shape: { type: 'Flow', shape: 'Process' }, annotations: [{ content: 'Process2' }], style: { fill: '#6CA0DC' } },
+ { id: '5', shape: { type: 'Flow', shape: 'Terminator' }, annotations: [{ content: 'End' }], style: { fill: '#6CA0DC' } }
+ ];
+
+//Initialize connectors for diagram
+let connectors = [
+ { id: 'connector1', sourceID: '1', targetID: '2' },
+ { id: 'connector2', sourceID: '2', targetID: '3', annotations: [{ content: 'Reject' }] },
+ { id: 'connector3', sourceID: '2', targetID: '4', annotations: [{ content: 'Accept' }] },
+ { id: 'connector4', sourceID: '4', targetID: '5', },
+ ];
+
+export default function App() {
+
+ return (
+
+ {
+ node.width = 120; node.height = 50;
+ if (node.shape.shape === 'Decision') {
+ node.height = 80;
+ }
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render(
);
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs4/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs4/app/index.tsx
new file mode 100644
index 000000000..3aaa545fb
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs4/app/index.tsx
@@ -0,0 +1,77 @@
+{% raw %}
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, NodeModel, ConnectorModel, DataBinding, FlowchartLayout } from "@syncfusion/ej2-react-diagrams";
+
+
+//Initialize nodes for diagram
+let nodes: NodeModel[] = [
+ { id: '1', shape: { type: 'Flow', shape: 'Terminator' }, annotations: [{ content: 'Start' }], style: { fill: '#6CA0DC' } },
+ { id: '2', shape: { type: 'Flow', shape: 'Decision' }, annotations: [{ content: 'Decision?' }], style: { fill: '#6CA0DC' } },
+ { id: '3', shape: { type: 'Flow', shape: 'Process' }, annotations: [{ content: 'Process1' }], style: { fill: '#6CA0DC' } },
+ { id: '4', shape: { type: 'Flow', shape: 'Process' }, annotations: [{ content: 'Process2' }], style: { fill: '#6CA0DC' } },
+ { id: '5', shape: { type: 'Flow', shape: 'Terminator' }, annotations: [{ content: 'End' }], style: { fill: '#6CA0DC' } }
+];
+
+//Initialize connectors for diagram
+let connectors: ConnectorModel[] = [
+ { id: 'connector1', sourceID: '1', targetID: '2' },
+ { id: 'connector2', sourceID: '2', targetID: '3', annotations: [{ content: 'Reject' }] },
+ { id: 'connector3', sourceID: '2', targetID: '4', annotations: [{ content: 'Accept' }] },
+ { id: 'connector4', sourceID: '4', targetID: '5', },
+];
+
+export default function App() {
+
+ return (
+
+ {
+ node.width = 120; node.height = 50;
+ if ((node.shape as any).shape === 'Decision') {
+ node.height = 80;
+ }
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render(
);
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs4/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs4/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs4/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/nodes/es5Appear-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs4/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/nodes/es5Appear-cs1/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/flowchart-cs4/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/hierarchicallayout-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/hierarchicallayout-cs1/app/index.jsx
new file mode 100644
index 000000000..4caf9963c
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/hierarchicallayout-cs1/app/index.jsx
@@ -0,0 +1,104 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, DataBinding, HierarchicalTree } from "@syncfusion/ej2-react-diagrams";
+
+//Initialize nodes for diagram
+let nodes = [
+ {
+ id: 'Steve-Ceo',
+ },
+ {
+ id: 'Kevin-Manager',
+ },
+ {
+ id: 'Peter-Manager',
+ },
+ {
+ id: 'John-Manager',
+ },
+ {
+ id: 'Mary-CSE',
+ },
+ {
+ id: 'Jim-CSE',
+ },
+ {
+ id: 'Martin-CSE',
+ },
+];
+
+//Initialize connectors for diagram
+let connectors = [
+ {
+ id: 'Steve-Ceo_Kevin-Manager',
+ sourceID: 'Steve-Ceo',
+ targetID: 'Kevin-Manager',
+ },
+ {
+ id: 'Steve-Ceo_Peter-Manager',
+ sourceID: 'Steve-Ceo',
+ targetID: 'Peter-Manager',
+ },
+ {
+ id: 'Peter-Manager_John-Manager',
+ sourceID: 'Peter-Manager',
+ targetID: 'John-Manager',
+ },
+ {
+ id: 'Peter-Manager_Mary-CSE',
+ sourceID: 'Peter-Manager',
+ targetID: 'Mary-CSE',
+ },
+ {
+ id: 'Kevin-Manager_Jim-CSE',
+ sourceID: 'Kevin-Manager',
+ targetID: 'Jim-CSE',
+ },
+ {
+ id: 'Kevin-Manager_Martin-CSE',
+ sourceID: 'Kevin-Manager',
+ targetID: 'Martin-CSE',
+ },
+];
+
+export default function App() {
+
+ return (
+
+ {
+ node.annotations = [{ content: node.id }];
+ node.width = 100; node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/hierarchicallayout-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/hierarchicallayout-cs1/app/index.tsx
new file mode 100644
index 000000000..40ac26b54
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/hierarchicallayout-cs1/app/index.tsx
@@ -0,0 +1,106 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, ConnectorModel, DataBinding,
+ NodeModel, HierarchicalTree } from "@syncfusion/ej2-react-diagrams";
+
+//Initialize nodes for diagram
+let nodes: NodeModel[] = [
+ {
+ id: 'Steve-Ceo',
+ },
+ {
+ id: 'Kevin-Manager',
+ },
+ {
+ id: 'Peter-Manager',
+ },
+ {
+ id: 'John-Manager',
+ },
+ {
+ id: 'Mary-CSE',
+ },
+ {
+ id: 'Jim-CSE',
+ },
+ {
+ id: 'Martin-CSE',
+ },
+];
+
+//Initialize connectors for diagram
+let connectors: ConnectorModel[] = [
+ {
+ id: 'Steve-Ceo_Kevin-Manager',
+ sourceID: 'Steve-Ceo',
+ targetID: 'Kevin-Manager',
+ },
+ {
+ id: 'Steve-Ceo_Peter-Manager',
+ sourceID: 'Steve-Ceo',
+ targetID: 'Peter-Manager',
+ },
+ {
+ id: 'Peter-Manager_John-Manager',
+ sourceID: 'Peter-Manager',
+ targetID: 'John-Manager',
+ },
+ {
+ id: 'Peter-Manager_Mary-CSE',
+ sourceID: 'Peter-Manager',
+ targetID: 'Mary-CSE',
+ },
+ {
+ id: 'Kevin-Manager_Jim-CSE',
+ sourceID: 'Kevin-Manager',
+ targetID: 'Jim-CSE',
+ },
+ {
+ id: 'Kevin-Manager_Martin-CSE',
+ sourceID: 'Kevin-Manager',
+ targetID: 'Martin-CSE',
+ },
+];
+
+export default function App() {
+
+ return (
+
+ {
+ node.annotations = [{ content: node.id }];
+ node.width = 100; node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/hierarchicallayout-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/hierarchicallayout-cs1/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/hierarchicallayout-cs1/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/nodes/es5Gradient-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/hierarchicallayout-cs1/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/nodes/es5Gradient-cs1/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/hierarchicallayout-cs1/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/hierarchicallayout-cs2/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/hierarchicallayout-cs2/app/index.jsx
new file mode 100644
index 000000000..e16009c39
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/hierarchicallayout-cs2/app/index.jsx
@@ -0,0 +1,65 @@
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, DataBinding, HierarchicalTree } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+//Initializes data source
+let data = [
+ { Name: "Steve-Ceo" },
+ { Name: "Kevin-Manager", ReportingPerson: "Steve-Ceo" },
+ { Name: "Peter-Manager", ReportingPerson: "Steve-Ceo" },
+ { Name: "John- Manager", ReportingPerson: "Peter-Manager" },
+ { Name: "Mary-CSE ", ReportingPerson: "Peter-Manager" },
+ { Name: "Jim-CSE ", ReportingPerson: "Kevin-Manager" },
+ { Name: "Martin-CSE", ReportingPerson: "Kevin-Manager" }
+];
+
+let items = new DataManager(data, new Query().take(7));
+
+export default function App() {
+
+ return (
+
+ {
+ node.annotations = [{ content: node.data.Name }];
+ node.width = 100; node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/hierarchicallayout-cs2/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/hierarchicallayout-cs2/app/index.tsx
new file mode 100644
index 000000000..2ccc38d4a
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/hierarchicallayout-cs2/app/index.tsx
@@ -0,0 +1,65 @@
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, ConnectorModel, DataBinding, NodeModel, HierarchicalTree } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+//Initializes data source
+let data: object[] = [
+ { Name: "Steve-Ceo" },
+ { Name: "Kevin-Manager", ReportingPerson: "Steve-Ceo" },
+ { Name: "Peter-Manager", ReportingPerson: "Steve-Ceo" },
+ { Name: "John- Manager", ReportingPerson: "Peter-Manager" },
+ { Name: "Mary-CSE ", ReportingPerson: "Peter-Manager" },
+ { Name: "Jim-CSE ", ReportingPerson: "Kevin-Manager" },
+ { Name: "Martin-CSE", ReportingPerson: "Kevin-Manager" }
+];
+
+let items: DataManager = new DataManager(data as JSON[], new Query().take(7));
+
+export default function App() {
+
+ return (
+
+ {
+ node.annotations = [{ content: (node.data as { Name: 'string' }).Name }];
+ node.width = 100; node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/hierarchicallayout-cs2/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/hierarchicallayout-cs2/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/hierarchicallayout-cs2/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/nodes/es5Gradient-cs2/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/hierarchicallayout-cs2/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/nodes/es5Gradient-cs2/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/hierarchicallayout-cs2/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-alignment-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-alignment-cs1/app/index.jsx
new file mode 100644
index 000000000..d8c74b0f3
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-alignment-cs1/app/index.jsx
@@ -0,0 +1,101 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, HierarchicalTree, DataBinding } from '@syncfusion/ej2-react-diagrams';
+import { DataManager, Query } from '@syncfusion/ej2-data';
+
+//Initializes data source
+let data = [
+ { Name: 'Steve-Ceo' },
+ { Name: 'Kevin-Manager', ReportingPerson: 'Steve-Ceo' },
+ { Name: 'Peter-Manager', ReportingPerson: 'Kevin-Manager' },
+ { Name: 'John- Manager', ReportingPerson: 'Peter-Manager' },
+ { Name: 'Mary-CSE ', ReportingPerson: 'Peter-Manager' },
+];
+let items = new DataManager(data, new Query().take(7));
+
+export default function App() {
+ let diagramInstance;
+ let horizontalInstance;
+ let verticalInstance;
+
+ // Function to handle Horizontal Alignment
+ function horizontalAlign() {
+ diagramInstance.layout.horizontalAlignment = horizontalInstance.value;
+ diagramInstance.dataBind();
+ }
+
+ // Function to handle Vertical Alignment
+ function verticalAlign() {
+ diagramInstance.layout.verticalAlignment = verticalInstance.value;
+ diagramInstance.dataBind();
+ }
+
+ return (
+
+ Horizontal :
+ (horizontalInstance = horizontal)}
+ >
+ Left
+ Center
+ Right
+
+ Vertical :
+
+ (verticalInstance = vertical)}
+ >
+ Top
+ Center
+ Bottom
+
+
+ (diagramInstance = diagram)}
+
+ //Uses layout to auto-arrange nodes on the diagram page
+ layout={{
+ //Sets layout type
+ type: 'HierarchicalTree',
+ //set layout alignment
+ horizontalAlignment: 'Left',
+ verticalAlignment: 'Top',
+ }}
+
+ //Configures data source for diagram
+ dataSourceSettings={{
+ id: 'Name',
+ parentId: 'ReportingPerson',
+ dataManager: items,
+ }}
+
+ //Sets the default properties for nodes
+ getNodeDefaults={(node) => {
+ node.annotations = [{ content: node.data.Name }];
+ node.width = 100;
+ node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-alignment-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-alignment-cs1/app/index.tsx
new file mode 100644
index 000000000..73a61d123
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-alignment-cs1/app/index.tsx
@@ -0,0 +1,102 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, HierarchicalTree, DataBinding, ConnectorModel,
+ NodeModel, HorizontalAlignment, VerticalAlignment } from '@syncfusion/ej2-react-diagrams';
+import { DataManager, Query } from '@syncfusion/ej2-data';
+
+//Initializes data source
+let data: object[] = [
+ { Name: 'Steve-Ceo' },
+ { Name: 'Kevin-Manager', ReportingPerson: 'Steve-Ceo' },
+ { Name: 'Peter-Manager', ReportingPerson: 'Kevin-Manager' },
+ { Name: 'John- Manager', ReportingPerson: 'Peter-Manager' },
+ { Name: 'Mary-CSE ', ReportingPerson: 'Peter-Manager' },
+];
+let items: DataManager = new DataManager(data as JSON[], new Query().take(7));
+
+export default function App() {
+ let diagramInstance: DiagramComponent;
+ let horizontalInstance: HTMLSelectElement;
+ let verticalInstance: HTMLSelectElement;
+
+ // Function to handle Horizontal Alignment
+ function horizontalAlign() {
+ diagramInstance.layout.horizontalAlignment = horizontalInstance.value as HorizontalAlignment;
+ diagramInstance.dataBind();
+ }
+
+ // Function to handle Vertical Alignment
+ function verticalAlign() {
+ diagramInstance.layout.verticalAlignment = verticalInstance.value as VerticalAlignment;
+ diagramInstance.dataBind();
+ }
+
+ return (
+
+ Horizontal :
+ (horizontalInstance = horizontal)}
+ >
+ Left
+ Center
+ Right
+
+ Vertical :
+
+ (verticalInstance = vertical)}
+ >
+ Top
+ Center
+ Bottom
+
+
+ (diagramInstance = diagram)}
+
+ //Uses layout to auto-arrange nodes on the diagram page
+ layout={{
+ //Sets layout type
+ type: 'HierarchicalTree',
+ //set layout alignment
+ horizontalAlignment: 'Left',
+ verticalAlignment: 'Top',
+ }}
+
+ //Configures data source for diagram
+ dataSourceSettings={{
+ id: 'Name',
+ parentId: 'ReportingPerson',
+ dataManager: items,
+ }}
+
+ //Sets the default properties for nodes
+ getNodeDefaults={(node: NodeModel): NodeModel => {
+ node.annotations = [{ content: (node.data as { Name: 'string' }).Name }];
+ node.width = 100;
+ node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel): ConnectorModel => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram') as HTMLElement);
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-alignment-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-alignment-cs1/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-alignment-cs1/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/nodes/es5Node-cs7/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-alignment-cs1/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/nodes/es5Node-cs7/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/layout-alignment-cs1/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-animation-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-animation-cs1/app/index.jsx
new file mode 100644
index 000000000..6aeacfce5
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-animation-cs1/app/index.jsx
@@ -0,0 +1,72 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, HierarchicalTree, DataBinding, LayoutAnimation } from '@syncfusion/ej2-react-diagrams';
+import { DataManager, Query } from '@syncfusion/ej2-data';
+
+//Initializes data source
+let data = [
+ { Name: 'Steve-Ceo' },
+ { Name: 'Kevin-Manager', ReportingPerson: 'Steve-Ceo' },
+ { Name: 'Robert-Manager', ReportingPerson: 'Steve-Ceo' },
+ { Name: 'Peter-Manager', ReportingPerson: 'Kevin-Manager' },
+ { Name: 'Hary-Manager', ReportingPerson: 'Robert-Manager' },
+ { Name: 'John- Manager', ReportingPerson: 'Hary-Manager' },
+ { Name: 'Mary-CSE ', ReportingPerson: 'Hary-Manager' },
+ { Name: 'John- Manager', ReportingPerson: 'Peter-Manager' },
+ { Name: 'Mary-CSE ', ReportingPerson: 'Peter-Manager' }
+];
+
+let items = new DataManager(data, new Query().take(7));
+
+export default function App() {
+
+ return (
+
+ {
+ node.width = 100;
+ node.height = 40;
+ node.annotations = [{ content: node.data.Name }];
+ node.expandIcon = { shape: "Minus" };
+ node.collapseIcon = { shape: "Plus" };
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-animation-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-animation-cs1/app/index.tsx
new file mode 100644
index 000000000..b18cb0afa
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-animation-cs1/app/index.tsx
@@ -0,0 +1,73 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, HierarchicalTree, DataBinding,
+ ConnectorModel, NodeModel, LayoutAnimation } from '@syncfusion/ej2-react-diagrams';
+import { DataManager, Query } from '@syncfusion/ej2-data';
+
+//Initializes data source
+let data: object[] = [
+ { Name: 'Steve-Ceo' },
+ { Name: 'Kevin-Manager', ReportingPerson: 'Steve-Ceo' },
+ { Name: 'Robert-Manager', ReportingPerson: 'Steve-Ceo' },
+ { Name: 'Peter-Manager', ReportingPerson: 'Kevin-Manager' },
+ { Name: 'Hary-Manager', ReportingPerson: 'Robert-Manager' },
+ { Name: 'John- Manager', ReportingPerson: 'Hary-Manager' },
+ { Name: 'Mary-CSE ', ReportingPerson: 'Hary-Manager' },
+ { Name: 'John- Manager', ReportingPerson: 'Peter-Manager' },
+ { Name: 'Mary-CSE ', ReportingPerson: 'Peter-Manager' }
+];
+
+let items: DataManager = new DataManager(data as JSON[], new Query().take(7));
+
+export default function App() {
+
+ return (
+
+ {
+ node.width = 100;
+ node.height = 40;
+ node.annotations = [{ content: (node.data as { Name: 'string' }).Name }];
+ node.expandIcon = { shape: "Minus" };
+ node.collapseIcon = { shape: "Plus" };
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel): ConnectorModel => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram') as HTMLElement);
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-animation-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-animation-cs1/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-animation-cs1/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/nodes/es5Node-cs8/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-animation-cs1/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/nodes/es5Node-cs8/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/layout-animation-cs1/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-bounds-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-bounds-cs1/app/index.jsx
new file mode 100644
index 000000000..6f8ceb74b
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-bounds-cs1/app/index.jsx
@@ -0,0 +1,76 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, HierarchicalTree, DataBinding, Rect, } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+//Initializes data source
+let data = [
+ {
+ Name: "Steve-Ceo",
+ },
+ {
+ Name: "Kevin-Manager",
+ ReportingPerson: "Steve-Ceo",
+ },
+ {
+ Name: "Peter-Manager",
+ ReportingPerson: "Kevin-Manager",
+ },
+ {
+ Name: "John- Manager",
+ ReportingPerson: "Peter-Manager",
+ },
+ {
+ Name: "Mary-CSE ",
+ ReportingPerson: "Peter-Manager",
+ },
+];
+let items = new DataManager(data, new Query().take(7));
+
+export default function App() {
+ return (
+
{
+ node.annotations = [{ content: node.data.Name }];
+ node.width = 100; node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = "Orthogonal";
+ return connector;
+ }}>
+
+ {/* Inject necessary services for the diagram */}
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render(
);
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-bounds-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-bounds-cs1/app/index.tsx
new file mode 100644
index 000000000..319dcb024
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-bounds-cs1/app/index.tsx
@@ -0,0 +1,77 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, HierarchicalTree, DataBinding, Rect,
+ NodeModel, ConnectorModel, } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+//Initialize data source
+let data: object[] = [
+ {
+ Name: "Steve-Ceo",
+ },
+ {
+ Name: "Kevin-Manager",
+ ReportingPerson: "Steve-Ceo",
+ },
+ {
+ Name: "Peter-Manager",
+ ReportingPerson: "Kevin-Manager",
+ },
+ {
+ Name: "John- Manager",
+ ReportingPerson: "Peter-Manager",
+ },
+ {
+ Name: "Mary-CSE ",
+ ReportingPerson: "Peter-Manager",
+ },
+];
+let items: DataManager = new DataManager(data as JSON[], new Query().take(7));
+
+export default function App() {
+
+ return (
+
{
+ node.annotations = [{ content: (node.data as { Name: 'string' }).Name }];
+ node.width = 100; node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel): ConnectorModel => {
+ connector.type = "Orthogonal";
+ return connector;
+ }}>
+
+ {/* Inject necessary services for the diagram */}
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render(
);
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-bounds-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-bounds-cs1/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-bounds-cs1/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/nodes/es5position-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-bounds-cs1/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/nodes/es5position-cs1/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/layout-bounds-cs1/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-exclude-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-exclude-cs1/app/index.jsx
new file mode 100644
index 000000000..92889f91b
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-exclude-cs1/app/index.jsx
@@ -0,0 +1,73 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, HierarchicalTree, DataBinding } from '@syncfusion/ej2-react-diagrams';
+import { DataManager, Query } from '@syncfusion/ej2-data';
+
+//Initializes data source
+let data = [
+ { Name: 'Steve-Ceo' },
+ { Name: 'Kevin-Manager', ReportingPerson: 'Steve-Ceo' },
+ { Name: 'Robert', ReportingPerson: 'Steve-Ceo' },
+ { Name: 'Peter-Manager', ReportingPerson: 'Steve-Ceo' },
+ { Name: 'John- Manager', ReportingPerson: 'Peter-Manager' },
+ { Name: 'Mary-CSE ', ReportingPerson: 'Peter-Manager' },
+ { Name: 'Jim-CSE ', ReportingPerson: 'Kevin-Manager' },
+ { Name: 'Martin-CSE', ReportingPerson: 'Kevin-Manager' }
+];
+let items = new DataManager(data, new Query().take(7));
+
+export default function App() {
+
+ return (
+
+ {
+ node.annotations = [{ content: node.data.Name }];
+ node.width = 100;
+ node.height = 40;
+ if ((node.data).Name === 'Robert') {
+ //Excludes node from layout
+ node.excludeFromLayout = true;
+ node.offsetX = 350;
+ node.offsetY = 75;
+ }
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-exclude-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-exclude-cs1/app/index.tsx
new file mode 100644
index 000000000..b43dba5c2
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-exclude-cs1/app/index.tsx
@@ -0,0 +1,74 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, HierarchicalTree, DataBinding,
+ ConnectorModel, NodeModel } from '@syncfusion/ej2-react-diagrams';
+import { DataManager, Query } from '@syncfusion/ej2-data';
+
+//Initializes data source
+let data: object[] = [
+ { Name: 'Steve-Ceo' },
+ { Name: 'Kevin-Manager', ReportingPerson: 'Steve-Ceo' },
+ { Name: 'Robert', ReportingPerson: 'Steve-Ceo' },
+ { Name: 'Peter-Manager', ReportingPerson: 'Steve-Ceo' },
+ { Name: 'John- Manager', ReportingPerson: 'Peter-Manager' },
+ { Name: 'Mary-CSE ', ReportingPerson: 'Peter-Manager' },
+ { Name: 'Jim-CSE ', ReportingPerson: 'Kevin-Manager' },
+ { Name: 'Martin-CSE', ReportingPerson: 'Kevin-Manager' }
+];
+let items: DataManager = new DataManager(data as JSON[], new Query().take(7));
+
+export default function App() {
+
+ return (
+
+ {
+ node.annotations = [{ content: (node.data as { Name: 'string' }).Name }];
+ node.width = 100;
+ node.height = 40;
+ if ((node.data as any).Name === 'Robert') {
+ //Excludes node from layout
+ node.excludeFromLayout = true;
+ node.offsetX = 350;
+ node.offsetY = 75;
+ }
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel): ConnectorModel => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram') as HTMLElement);
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-exclude-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-exclude-cs1/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-exclude-cs1/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/nodes/es5position-cs2/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-exclude-cs1/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/nodes/es5position-cs2/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/layout-exclude-cs1/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-expandandcollapse-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-expandandcollapse-cs1/app/index.jsx
new file mode 100644
index 000000000..8dcdebc30
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-expandandcollapse-cs1/app/index.jsx
@@ -0,0 +1,121 @@
+{% raw %}
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, HierarchicalTree, DataBinding, SelectorConstraints } from '@syncfusion/ej2-react-diagrams';
+import { DataManager, Query } from '@syncfusion/ej2-data';
+
+//Initializes data source
+let data = [
+ {
+ 'Id': 'parent1',
+ 'Name': 'Maria ',
+ 'Designation': 'Managing Director',
+ 'RatingColor': '#C34444'
+ },
+ {
+ 'Id': 'parent',
+ 'Name': ' sam',
+ 'Designation': 'Managing Director',
+ 'ReportingPerson': 'parent1',
+ 'RatingColor': '#C34444'
+ },
+ {
+ 'Id': 'parent3',
+ 'Name': ' sam geo',
+ 'Designation': 'Managing Director',
+ 'ReportingPerson': 'parent1',
+ 'RatingColor': '#C34444'
+ },
+ {
+ 'Id': '80',
+ 'Name': ' david',
+ 'Designation': 'Managing Director',
+ 'ReportingPerson': 'parent3',
+ 'RatingColor': '#C34444'
+ },
+ {
+ 'Id': '82',
+ 'Name': ' pirlo',
+ 'Designation': 'Managing Director',
+ 'ReportingPerson': 'parent',
+ 'RatingColor': '#C34444'
+ }
+];
+
+let items = new DataManager(data, new Query().take(7));
+
+export default function App() {
+ let diagramInstance;
+
+ return (
+
+ {
+ if (!tree.hasSubTree) {
+ tree.orientation = 'vertical';
+ tree.type = 'alternate';
+ }
+ }
+ }}
+
+ //Configures data source for diagram
+ dataSourceSettings={{
+ id: 'Id',
+ parentId: 'ReportingPerson',
+ dataManager: items,
+ }}
+
+ //Sets the default properties for nodes
+ getNodeDefaults={(node) => {
+ node.width = 50; node.height = 50;
+ node.expandIcon = {
+ height: 15,
+ width: 15,
+ shape: "Plus",
+ fill: 'lightgray',
+ offset: { x: .5, y: .85 }
+ }
+ node.collapseIcon = {
+ height: 15,
+ width: 15,
+ shape: "Minus",
+ offset: { x: .5, y: .85 },
+ }
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ connector.targetDecorator.shape = 'None';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render(
);
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-expandandcollapse-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-expandandcollapse-cs1/app/index.tsx
new file mode 100644
index 000000000..88fca6c7d
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-expandandcollapse-cs1/app/index.tsx
@@ -0,0 +1,121 @@
+{% raw %}
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, HierarchicalTree, DataBinding, ConnectorModel,
+ NodeModel, SelectorConstraints, DecoratorModel, TreeInfo } from '@syncfusion/ej2-react-diagrams';
+import { DataManager, Query } from '@syncfusion/ej2-data';
+
+//Initializes data source
+let data: object[] = [
+ {
+ 'Id': 'parent1',
+ 'Name': 'Maria ',
+ 'Designation': 'Managing Director',
+ 'RatingColor': '#C34444'
+ },
+ {
+ 'Id': 'parent',
+ 'Name': ' sam',
+ 'Designation': 'Managing Director',
+ 'ReportingPerson': 'parent1',
+ 'RatingColor': '#C34444'
+ },
+ {
+ 'Id': 'parent3',
+ 'Name': ' sam geo',
+ 'Designation': 'Managing Director',
+ 'ReportingPerson': 'parent1',
+ 'RatingColor': '#C34444'
+ },
+ {
+ 'Id': '80',
+ 'Name': ' david',
+ 'Designation': 'Managing Director',
+ 'ReportingPerson': 'parent3',
+ 'RatingColor': '#C34444'
+ },
+ {
+ 'Id': '82',
+ 'Name': ' pirlo',
+ 'Designation': 'Managing Director',
+ 'ReportingPerson': 'parent',
+ 'RatingColor': '#C34444'
+ }
+];
+
+let items: DataManager = new DataManager(data as JSON[], new Query().take(7));
+
+export default function App() {
+
+ return (
+
+ {
+ if (!tree.hasSubTree) {
+ tree.orientation = 'vertical';
+ tree.type = 'alternate';
+ }
+ }
+ }}
+
+ //Configures data source for diagram
+ dataSourceSettings={{
+ id: 'Id',
+ parentId: 'ReportingPerson',
+ dataManager: items,
+ }}
+
+ //Sets the default properties for nodes
+ getNodeDefaults={(node: NodeModel): NodeModel => {
+ node.width = 50; node.height = 50;
+ node.expandIcon = {
+ height: 15,
+ width: 15,
+ shape: "Plus",
+ fill: 'lightgray',
+ offset: { x: .5, y: .85 }
+ }
+ node.collapseIcon = {
+ height: 15,
+ width: 15,
+ shape: "Minus",
+ offset: { x: .5, y: .85 },
+ }
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel): ConnectorModel => {
+ connector.type = 'Orthogonal';
+ (connector.targetDecorator as DecoratorModel).shape = 'None';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram') as HTMLElement);
+root.render(
);
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-expandandcollapse-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-expandandcollapse-cs1/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-expandandcollapse-cs1/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/nodes/es5run-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-expandandcollapse-cs1/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/nodes/es5run-cs1/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/layout-expandandcollapse-cs1/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-fixed-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-fixed-cs1/app/index.jsx
new file mode 100644
index 000000000..483e39eb2
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-fixed-cs1/app/index.jsx
@@ -0,0 +1,68 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, FlowchartLayout, DataBinding } from '@syncfusion/ej2-react-diagrams';
+import { DataManager, Query } from '@syncfusion/ej2-data';
+
+//Initializes data source
+let data = [
+ { Name: "Steve-Ceo" },
+ { Name: "Kevin-Manager", ReportingPerson: "Steve-Ceo" },
+ { Name: "Peter-Manager", ReportingPerson: "Steve-Ceo" },
+ { Name: "John-Manager", ReportingPerson: "Peter-Manager" },
+ { Name: "Mary-CSE", ReportingPerson: "Peter-Manager" },
+ { Name: "Jim-CSE", ReportingPerson: "Kevin-Manager" },
+ { Name: "Martin-CSE ", ReportingPerson: "Kevin-Manager" },
+];
+
+let items = new DataManager(data, new Query().take(7));
+
+export default function App() {
+ return (
+
+ {
+ node.width = 100;
+ node.height = 40;
+ node.annotations = [{ content: node.data.Name }];
+
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-fixed-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-fixed-cs1/app/index.tsx
new file mode 100644
index 000000000..b5fd02d94
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-fixed-cs1/app/index.tsx
@@ -0,0 +1,69 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, FlowchartLayout, DataBinding, ConnectorModel, NodeModel } from '@syncfusion/ej2-react-diagrams';
+import { DataManager, Query } from '@syncfusion/ej2-data';
+
+//Initializes data source
+let data: object[] = [
+ { Name: "Steve-Ceo" },
+ { Name: "Kevin-Manager", ReportingPerson: "Steve-Ceo" },
+ { Name: "Peter-Manager", ReportingPerson: "Steve-Ceo" },
+ { Name: "John-Manager", ReportingPerson: "Peter-Manager" },
+ { Name: "Mary-CSE", ReportingPerson: "Peter-Manager" },
+ { Name: "Jim-CSE", ReportingPerson: "Kevin-Manager" },
+ { Name: "Martin-CSE ", ReportingPerson: "Kevin-Manager" },
+];
+
+let items: DataManager = new DataManager(data as JSON[], new Query().take(7));
+
+export default function App() {
+
+ return (
+
+ {
+ node.width = 100;
+ node.height = 40;
+ node.annotations = [{ content: (node.data as { Name: 'string' }).Name }];
+
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel): ConnectorModel => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram') as HTMLElement);
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-fixed-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-fixed-cs1/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-fixed-cs1/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/nodes/es5shadow-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-fixed-cs1/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/nodes/es5shadow-cs1/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/layout-fixed-cs1/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-margin-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-margin-cs1/app/index.jsx
new file mode 100644
index 000000000..d5403e021
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-margin-cs1/app/index.jsx
@@ -0,0 +1,69 @@
+{% raw %}
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, HierarchicalTree, DataBinding } from '@syncfusion/ej2-react-diagrams';
+import { DataManager, Query } from '@syncfusion/ej2-data';
+
+//Initializes data source
+let data = [
+ { Name: 'Steve-Ceo' },
+ { Name: 'Kevin-Manager', ReportingPerson: 'Steve-Ceo' },
+ { Name: 'Peter-Manager', ReportingPerson: 'Kevin-Manager' },
+ { Name: 'John- Manager', ReportingPerson: 'Peter-Manager' },
+ { Name: 'Mary-CSE ', ReportingPerson: 'Peter-Manager' },
+];
+let items = new DataManager(data, new Query().take(7));
+
+export default function App() {
+
+ return (
+
+ {
+ node.annotations = [{ content: node.data.Name }];
+ node.width = 100;
+ node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render(
);
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-margin-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-margin-cs1/app/index.tsx
new file mode 100644
index 000000000..06365bdaa
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-margin-cs1/app/index.tsx
@@ -0,0 +1,70 @@
+{% raw %}
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, HierarchicalTree, DataBinding,
+ ConnectorModel, NodeModel } from '@syncfusion/ej2-react-diagrams';
+import { DataManager, Query } from '@syncfusion/ej2-data';
+
+//Initializes data source
+let data: object[] = [
+ { Name: 'Steve-Ceo' },
+ { Name: 'Kevin-Manager', ReportingPerson: 'Steve-Ceo' },
+ { Name: 'Peter-Manager', ReportingPerson: 'Kevin-Manager' },
+ { Name: 'John- Manager', ReportingPerson: 'Peter-Manager' },
+ { Name: 'Mary-CSE ', ReportingPerson: 'Peter-Manager' },
+];
+let items: DataManager = new DataManager(data as JSON[], new Query().take(7));
+
+export default function App() {
+
+ return (
+
+ {
+ node.annotations = [{ content: (node.data as { Name: 'string' }).Name }];
+ node.width = 100;
+ node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel): ConnectorModel => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram') as HTMLElement);
+root.render(
);
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-margin-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-margin-cs1/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-margin-cs1/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/nodes/es5shadow2-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-margin-cs1/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/nodes/es5shadow2-cs1/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/layout-margin-cs1/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-orientation-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-orientation-cs1/app/index.jsx
new file mode 100644
index 000000000..bf6fe8dc7
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-orientation-cs1/app/index.jsx
@@ -0,0 +1,66 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, HierarchicalTree, DataBinding } from '@syncfusion/ej2-react-diagrams';
+import { DataManager, Query } from '@syncfusion/ej2-data';
+
+//Initializes data source
+let data = [
+ { Name: 'Steve-Ceo' },
+ { Name: 'Kevin-Manager', ReportingPerson: 'Steve-Ceo' },
+ { Name: 'Peter-Manager', ReportingPerson: 'Kevin-Manager' },
+ { Name: 'John- Manager', ReportingPerson: 'Peter-Manager' },
+ { Name: 'Mary-CSE ', ReportingPerson: 'Peter-Manager' },
+];
+let items = new DataManager(data, new Query().take(7));
+
+export default function App() {
+
+ return (
+
+ {
+ node.annotations = [{ content: node.data.Name }];
+ node.width = 100;
+ node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-orientation-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-orientation-cs1/app/index.tsx
new file mode 100644
index 000000000..c3ae30f8d
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-orientation-cs1/app/index.tsx
@@ -0,0 +1,67 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, HierarchicalTree, DataBinding,
+ ConnectorModel, NodeModel } from '@syncfusion/ej2-react-diagrams';
+import { DataManager, Query } from '@syncfusion/ej2-data';
+
+//Initializes data source
+let data: object[] = [
+ { Name: 'Steve-Ceo' },
+ { Name: 'Kevin-Manager', ReportingPerson: 'Steve-Ceo' },
+ { Name: 'Peter-Manager', ReportingPerson: 'Kevin-Manager' },
+ { Name: 'John- Manager', ReportingPerson: 'Peter-Manager' },
+ { Name: 'Mary-CSE ', ReportingPerson: 'Peter-Manager' },
+];
+let items: DataManager = new DataManager(data as JSON[], new Query().take(7));
+
+export default function App() {
+
+ return (
+
+ {
+ node.annotations = [{ content: (node.data as { Name: 'string' }).Name }];
+ node.width = 100;
+ node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel): ConnectorModel => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram') as HTMLElement);
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-orientation-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-orientation-cs1/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-orientation-cs1/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/symbol-palette/es5defaultsettings-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-orientation-cs1/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/symbol-palette/es5defaultsettings-cs1/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/layout-orientation-cs1/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-parentChildren-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-parentChildren-cs1/app/index.jsx
new file mode 100644
index 000000000..9a4e300c4
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-parentChildren-cs1/app/index.jsx
@@ -0,0 +1,125 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, HierarchicalTree, DataBinding, NodeConstraints,
+ randomId, SymbolPaletteComponent } from '@syncfusion/ej2-react-diagrams';
+import { DataManager, Query } from '@syncfusion/ej2-data';
+
+//Initializes data source
+let data = [
+ { Name: 'Steve-Ceo' },
+ { Name: 'Kevin-Manager', ReportingPerson: 'Steve-Ceo' },
+ { Name: 'Peter-Manager', ReportingPerson: 'Steve-Ceo' },
+ { Name: 'John-Manager', ReportingPerson: 'Peter-Manager' },
+ { Name: 'Mary-CSE ', ReportingPerson: 'Peter-Manager' },
+ { Name: 'Jim-CSE ', ReportingPerson: 'Kevin-Manager' },
+ { Name: 'Martin-CSE', ReportingPerson: 'Kevin-Manager' }
+];
+
+let items = new DataManager(data, new Query().take(7));
+
+//Initialize shapes for symbol palette
+let palettes = [
+ {
+ title: 'Basic shapes',
+ id: 'basicShapes',
+ symbols: [
+ {
+ id: 'Node',
+ width: 100,
+ height: 50,
+ data: { Name: 'New Node' },
+ },
+ ],
+ },
+];
+
+export default function App() {
+ let diagramInstance;
+
+ // Handle drop event that create a connection between the source and target item
+ function drop(args) {
+ setTimeout(() => {
+ //Argument element is used to get the dropped node.
+ let node = args.element;
+ let bottomNode = args.target;
+ //Gets the connector that connected to dropped node
+ let edges = diagramInstance.getEdges(node);
+ if (edges && edges.length > 0) {
+ let connector = diagramInstance.getObject(edges[0]);
+ //Argument target is used to get the hovered node
+ connector.sourceID = args.target.id;
+ diagramInstance.dataBind();
+ } else {
+ let newCon = {
+ id: 'newcon' + randomId(),
+ sourceID: args.target.id,
+ targetID: args.element.id,
+ };
+ if (newCon.sourceID === undefined || newCon.sourceID === 'container') {
+ newCon.sourceID = diagramInstance.nodes[0].id;
+ }
+ diagramInstance.dataBind();
+ diagramInstance.add(newCon);
+ }
+ diagramInstance.doLayout();
+ }, 100);
+ }
+
+ return (
+
+
+
+
+
(diagramInstance = diagram)}
+ // Event Triggers when a symbol is dragged and dropped from symbol palette
+ drop={drop}
+ //Uses layout to auto-arrange nodes on the diagram page
+ layout={{
+ //Sets layout type
+ type: 'HierarchicalTree',
+ }}
+
+ //Configures data source for diagram
+ dataSourceSettings={{
+ id: 'Name',
+ parentId: 'ReportingPerson',
+ dataManager: items,
+ }}
+
+ //Sets the default properties for nodes
+ getNodeDefaults={(node) => {
+ node.width = 100;
+ node.height = 40;
+ node.constraints = NodeConstraints.Default | NodeConstraints.AllowDrop;
+
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-parentChildren-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-parentChildren-cs1/app/index.tsx
new file mode 100644
index 000000000..388a5c6bb
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-parentChildren-cs1/app/index.tsx
@@ -0,0 +1,125 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, HierarchicalTree, DataBinding, ConnectorModel, NodeModel,
+ PaletteModel, NodeConstraints, IDropEventArgs, randomId, SymbolPaletteComponent } from '@syncfusion/ej2-react-diagrams';
+import { DataManager, Query } from '@syncfusion/ej2-data';
+
+//Initializes data source
+let data: object[] = [
+ { Name: 'Steve-Ceo' },
+ { Name: 'Kevin-Manager', ReportingPerson: 'Steve-Ceo' },
+ { Name: 'Peter-Manager', ReportingPerson: 'Steve-Ceo' },
+ { Name: 'John-Manager', ReportingPerson: 'Peter-Manager' },
+ { Name: 'Mary-CSE ', ReportingPerson: 'Peter-Manager' },
+ { Name: 'Jim-CSE ', ReportingPerson: 'Kevin-Manager' },
+ { Name: 'Martin-CSE', ReportingPerson: 'Kevin-Manager' }
+];
+
+let items: DataManager = new DataManager(data as JSON[], new Query().take(7));
+
+//Initialize shapes for symbol palette
+let palettes: PaletteModel[] = [
+ {
+ title: 'Basic shapes',
+ id: 'basicShapes',
+ symbols: [
+ {
+ id: 'Node',
+ width: 100,
+ height: 50,
+ data: { Name: 'New Node' },
+ },
+ ],
+ },
+];
+
+export default function App() {
+ let diagramInstance: DiagramComponent;
+
+ // Handle drop event that create a connection between the source and target item
+ function drop(args: IDropEventArgs) {
+ setTimeout(() => {
+ //Argument element is used to get the dropped node.
+ let node: NodeModel = args.element as NodeModel;
+ let bottomNode: NodeModel = args.target as NodeModel;
+ //Gets the connector that connected to dropped node
+ let edges: string[] = diagramInstance.getEdges(node);
+ if (edges && edges.length > 0) {
+ let connector: ConnectorModel = diagramInstance.getObject(edges[0]);
+ //Argument target is used to get the hovered node
+ connector.sourceID = (args.target as NodeModel).id;
+ diagramInstance.dataBind();
+ } else {
+ let newCon: ConnectorModel = {
+ id: 'newcon' + randomId(),
+ sourceID: (args.target as NodeModel).id,
+ targetID: (args.element as NodeModel).id,
+ };
+ if (newCon.sourceID === undefined || newCon.sourceID === 'container') {
+ newCon.sourceID = diagramInstance.nodes[0].id;
+ }
+ diagramInstance.dataBind();
+ diagramInstance.add(newCon);
+ }
+ diagramInstance.doLayout();
+ }, 100);
+ }
+
+ return (
+
+
+
+
+
(diagramInstance = diagram)}
+ // Event Triggers when a symbol is dragged and dropped from symbol palette
+ drop={drop}
+ //Uses layout to auto-arrange nodes on the diagram page
+ layout={{
+ //Sets layout type
+ type: 'HierarchicalTree',
+ }}
+
+ //Configures data source for diagram
+ dataSourceSettings={{
+ id: 'Name',
+ parentId: 'ReportingPerson',
+ dataManager: items,
+ }}
+
+ //Sets the default properties for nodes
+ getNodeDefaults={(node: NodeModel): NodeModel => {
+ node.width = 100;
+ node.height = 40;
+ node.constraints = NodeConstraints.Default | NodeConstraints.AllowDrop;
+
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel): ConnectorModel => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram') as HTMLElement);
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-parentChildren-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-parentChildren-cs1/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-parentChildren-cs1/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/symbol-palette/es5description-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-parentChildren-cs1/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/symbol-palette/es5description-cs1/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/layout-parentChildren-cs1/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-setNodeTemplete-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-setNodeTemplete-cs1/app/index.jsx
new file mode 100644
index 000000000..bbee17461
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-setNodeTemplete-cs1/app/index.jsx
@@ -0,0 +1,106 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, HierarchicalTree, DataBinding, ImageElement,
+ StackPanel, TextElement } from '@syncfusion/ej2-react-diagrams';
+import { DataManager, Query } from '@syncfusion/ej2-data';
+
+//Initializes data source
+let data = [
+ { Name: "Steve-Ceo" },
+ { Name: "Kevin-Manager", ReportingPerson: "Steve-Ceo", color: 'darkcyan' },
+ { Name: "Peter-Manager", ReportingPerson: "Steve-Ceo", color: 'white' },
+ { Name: "John-Manager", ReportingPerson: "Peter-Manager", color: 'darkcyan' },
+ { Name: "Mary-CSE", ReportingPerson: "Peter-Manager", color: 'white' },
+ { Name: "Jim-CSE", ReportingPerson: "Kevin-Manager", color: 'darkcyan' },
+ { Name: "Martin-CSE ", ReportingPerson: "Kevin-Manager", color: 'white' },
+];
+
+let items = new DataManager(data, new Query().take(7));
+
+export default function App() {
+
+ //Function to add the Template of the Node.
+ function setNodeTemplate(node) {
+
+ // Create an outer StackPanel as container to contain image and text elements
+ let container = new StackPanel();
+ container.width = 200;
+ container.height = 60;
+ container.style.fill = 'skyblue';
+ container.horizontalAlignment = 'Left';
+ container.orientation = 'Horizontal';
+ container.id = node.data.Name + '_StackContainter';
+
+ // Create an inner image element to displaying image
+ let innerContent = new ImageElement();
+ innerContent.id = node.data.Name + '_innerContent';
+ innerContent.width = 40;
+ innerContent.height = 40;
+ innerContent.margin.left = 20;
+ innerContent.style.fill = 'lightgrey';
+
+ // Create a inner text element for displaying employee details
+ let text = new TextElement();
+ text.content = 'Name: ' + node.data.Name;
+ text.margin = { left: 10, top: 5 };
+ text.id = node.data.Name + '_textContent';
+ text.style.fill = 'green';
+ text.style.color = 'white';
+ if (node.data.Name === 'Steve-Ceo') {
+ text.style.fill = 'black';
+ text.style.color = 'white';
+ }
+
+ // Add inner image and text element to the outer StackPanel
+ container.children = [innerContent, text];
+ return container;
+ }
+
+ return (
+
+ {
+ node.width = 200;
+ node.height = 60;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ connector.targetDecorator.shape = 'None';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-setNodeTemplete-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-setNodeTemplete-cs1/app/index.tsx
new file mode 100644
index 000000000..1096a9764
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-setNodeTemplete-cs1/app/index.tsx
@@ -0,0 +1,106 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, HierarchicalTree, DataBinding, ConnectorModel, Container,
+ NodeModel, DecoratorModel, ImageElement, StackPanel, TextElement } from '@syncfusion/ej2-react-diagrams';
+import { DataManager, Query } from '@syncfusion/ej2-data';
+
+//Initializes data source
+let data: object[] = [
+ { Name: "Steve-Ceo" },
+ { Name: "Kevin-Manager", ReportingPerson: "Steve-Ceo", color: 'darkcyan' },
+ { Name: "Peter-Manager", ReportingPerson: "Steve-Ceo", color: 'white' },
+ { Name: "John-Manager", ReportingPerson: "Peter-Manager", color: 'darkcyan' },
+ { Name: "Mary-CSE", ReportingPerson: "Peter-Manager", color: 'white' },
+ { Name: "Jim-CSE", ReportingPerson: "Kevin-Manager", color: 'darkcyan' },
+ { Name: "Martin-CSE ", ReportingPerson: "Kevin-Manager", color: 'white' },
+];
+
+let items: DataManager = new DataManager(data as JSON[], new Query().take(7));
+
+export default function App() {
+
+ //Function to add the Template of the Node.
+ function setNodeTemplate(node: NodeModel): Container {
+
+ // Create an outer StackPanel as container to contain image and text elements
+ let container = new StackPanel();
+ container.width = 200;
+ container.height = 60;
+ container.style.fill = 'skyblue';
+ container.horizontalAlignment = 'Left';
+ container.orientation = 'Horizontal';
+ container.id = (node.data as any).Name + '_StackContainter';
+
+ // Create an inner image element to displaying image
+ let innerContent = new ImageElement();
+ innerContent.id = (node.data as any).Name + '_innerContent';
+ innerContent.width = 40;
+ innerContent.height = 40;
+ innerContent.margin.left = 20;
+ innerContent.style.fill = 'lightgrey';
+
+ // Create a inner text element for displaying employee details
+ let text = new TextElement();
+ text.content = 'Name: ' + (node.data as any).Name;
+ text.margin = { left: 10, top: 5 };
+ text.id = (node.data as any).Name + '_textContent';
+ text.style.fill = 'green';
+ text.style.color = 'white';
+ if ((node.data as any).Name === 'Steve-Ceo') {
+ text.style.fill = 'black';
+ text.style.color = 'white';
+ }
+
+ // Add inner image and text element to the outer StackPanel
+ container.children = [innerContent, text];
+ return container;
+ }
+
+ return (
+
+ {
+ node.width = 200;
+ node.height = 60;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel): ConnectorModel => {
+ connector.type = 'Orthogonal';
+ (connector.targetDecorator as DecoratorModel).shape = 'None';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram') as HTMLElement);
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-setNodeTemplete-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-setNodeTemplete-cs1/index.html
new file mode 100644
index 000000000..92a551fd7
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-setNodeTemplete-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/symbol-palette/es5description-cs2/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-setNodeTemplete-cs1/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/symbol-palette/es5description-cs2/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/layout-setNodeTemplete-cs1/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-spacing-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-spacing-cs1/app/index.jsx
new file mode 100644
index 000000000..fc6fcfb83
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-spacing-cs1/app/index.jsx
@@ -0,0 +1,105 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, HierarchicalTree, DataBinding } from '@syncfusion/ej2-react-diagrams';
+import { DataManager, Query } from '@syncfusion/ej2-data';
+
+
+//Initializes data source
+let data = [
+ { Name: 'Steve-Ceo' },
+ { Name: 'Kevin-Manager', ReportingPerson: 'Steve-Ceo' },
+ { Name: 'Peter-Manager', ReportingPerson: 'Kevin-Manager' },
+ { Name: 'John- Manager', ReportingPerson: 'Peter-Manager' },
+ { Name: 'Mary-CSE ', ReportingPerson: 'Peter-Manager' },
+];
+let items = new DataManager(data, new Query().take(7));
+
+export default function App() {
+ let diagramInstance;
+ let horizontalInstance;
+ let verticalInstance;
+
+ // Function to handle Horizontal Spacing
+ function horizontalSpacing() {
+ let value = Number(horizontalInstance.value);
+ if (value < 20) {
+ value = 20;
+ }
+ if (value > 100) {
+ value = 100;
+ }
+ diagramInstance.layout.horizontalSpacing = value;
+ diagramInstance.dataBind();
+ }
+
+ // Function to handle Vertical Spacing
+ function verticalSpacing() {
+ let value = Number(verticalInstance.value);
+ if (value < 20) {
+ value = 20;
+ }
+ if (value > 100) {
+ value = 100;
+ }
+ diagramInstance.layout.verticalSpacing = value;
+ diagramInstance.dataBind();
+ }
+
+ return (
+
+ Horizontal :
+ (horizontalInstance = horizontal)} />
+ Vertical :
+ (verticalInstance = vertical)} />
+
+ (diagramInstance = diagram)}
+
+ //Uses layout to auto-arrange nodes on the diagram page
+ layout={{
+ //Sets layout type
+ type: 'HierarchicalTree',
+ //set layout spacing
+ horizontalSpacing: 30,
+ verticalSpacing: 30,
+ }}
+
+ //Configures data source for diagram
+ dataSourceSettings={{
+ id: 'Name',
+ parentId: 'ReportingPerson',
+ dataManager: items,
+ }}
+
+ //Sets the default properties for nodes
+ getNodeDefaults={(node) => {
+ node.annotations = [{ content: node.data.Name }];
+ node.width = 100;
+ node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-spacing-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-spacing-cs1/app/index.tsx
new file mode 100644
index 000000000..fb7c66675
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-spacing-cs1/app/index.tsx
@@ -0,0 +1,104 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, HierarchicalTree, DataBinding, ConnectorModel, NodeModel } from '@syncfusion/ej2-react-diagrams';
+import { DataManager, Query } from '@syncfusion/ej2-data';
+
+//Initializes data source
+let data: object[] = [
+ { Name: 'Steve-Ceo' },
+ { Name: 'Kevin-Manager', ReportingPerson: 'Steve-Ceo' },
+ { Name: 'Peter-Manager', ReportingPerson: 'Kevin-Manager' },
+ { Name: 'John- Manager', ReportingPerson: 'Peter-Manager' },
+ { Name: 'Mary-CSE ', ReportingPerson: 'Peter-Manager' },
+];
+let items: DataManager = new DataManager(data as JSON[], new Query().take(7));
+
+export default function App() {
+ let diagramInstance: DiagramComponent;
+ let horizontalInstance: HTMLSelectElement;
+ let verticalInstance: HTMLSelectElement;
+
+ // Function to handle Horizontal Spacing
+ function horizontalSpacing() {
+ let value = Number(horizontalInstance.value);
+ if (value < 20) {
+ value = 20;
+ }
+ if (value > 100) {
+ value = 100;
+ }
+ diagramInstance.layout.horizontalSpacing = value;
+ diagramInstance.dataBind();
+ }
+
+ // Function to handle Vertical Spacing
+ function verticalSpacing() {
+ let value = Number(verticalInstance.value);
+ if (value < 20) {
+ value = 20;
+ }
+ if (value > 100) {
+ value = 100;
+ }
+ diagramInstance.layout.verticalSpacing = value;
+ diagramInstance.dataBind();
+ }
+
+ return (
+
+ Horizontal :
+ (horizontalInstance = horizontal)} />
+ Vertical :
+ (verticalInstance = vertical)} />
+
+ (diagramInstance = diagram)}
+
+ //Uses layout to auto-arrange nodes on the diagram page
+ layout={{
+ //Sets layout type
+ type: 'HierarchicalTree',
+ //set layout spacing
+ horizontalSpacing: 30,
+ verticalSpacing: 30,
+ }}
+
+ //Configures data source for diagram
+ dataSourceSettings={{
+ id: 'Name',
+ parentId: 'ReportingPerson',
+ dataManager: items,
+ }}
+
+ //Sets the default properties for nodes
+ getNodeDefaults={(node: NodeModel): NodeModel => {
+ node.annotations = [{ content: (node.data as { Name: 'string' }).Name }];
+ node.width = 100;
+ node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel): ConnectorModel => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram') as HTMLElement);
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layout-spacing-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-spacing-cs1/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-spacing-cs1/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/symbol-palette/es5fit-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/layout-spacing-cs1/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/symbol-palette/es5fit-cs1/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/layout-spacing-cs1/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layoutEvent-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layoutEvent-cs1/app/index.jsx
new file mode 100644
index 000000000..d35010188
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layoutEvent-cs1/app/index.jsx
@@ -0,0 +1,81 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, HierarchicalTree } from '@syncfusion/ej2-react-diagrams';
+
+
+//Initialize nodes
+let nodes = [
+ {
+ id: 'Start',
+ width: 140,
+ height: 50,
+ offsetX: 300,
+ offsetY: 50,
+ annotations: [{ content: 'Node1' }],
+ style: { fill: '#6BA5D7', strokeColor: 'white' },
+ expandIcon: {
+ shape: 'ArrowDown',
+ width: 20,
+ height: 15,
+ },
+ collapseIcon: {
+ shape: 'ArrowUp',
+ width: 20,
+ height: 15,
+ },
+ },
+ {
+ id: 'Init',
+ width: 140,
+ height: 50,
+ offsetX: 300,
+ offsetY: 140,
+ style: { fill: '#6BA5D7', strokeColor: 'white' },
+ annotations: [{ content: 'Node2' }],
+ },
+];
+
+//Initializes connectors
+let connectors = [{
+ id: 'connector1',
+ sourceID: 'Start',
+ targetID: 'Init',
+ type: 'Orthogonal',
+}];
+
+export default function App() {
+
+ // Function expand/collapse state changes
+ function expandStateChange(args) {
+ //We can get the expanded or collapsed state in args
+ console.log('Expanded ' + args.state);
+ }
+ return (
+
+
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layoutEvent-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layoutEvent-cs1/app/index.tsx
new file mode 100644
index 000000000..53196b661
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layoutEvent-cs1/app/index.tsx
@@ -0,0 +1,81 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, HierarchicalTree, ConnectorModel, NodeModel, IExpandStateChangeEventArgs } from '@syncfusion/ej2-react-diagrams';
+
+
+//Initialize nodes
+let nodes: NodeModel[] = [
+ {
+ id: 'Start',
+ width: 140,
+ height: 50,
+ offsetX: 300,
+ offsetY: 50,
+ annotations: [{ content: 'Node1' }],
+ style: { fill: '#6BA5D7', strokeColor: 'white' },
+ expandIcon: {
+ shape: 'ArrowDown',
+ width: 20,
+ height: 15,
+ },
+ collapseIcon: {
+ shape: 'ArrowUp',
+ width: 20,
+ height: 15,
+ },
+ },
+ {
+ id: 'Init',
+ width: 140,
+ height: 50,
+ offsetX: 300,
+ offsetY: 140,
+ style: { fill: '#6BA5D7', strokeColor: 'white' },
+ annotations: [{ content: 'Node2' }],
+ },
+];
+
+//Initializes connectors
+let connectors: ConnectorModel[] = [{
+ id: 'connector1',
+ sourceID: 'Start',
+ targetID: 'Init',
+ type: 'Orthogonal',
+}];
+
+export default function App() {
+
+ // Function expand/collapse state changes
+ function expandStateChange(args: IExpandStateChangeEventArgs) {
+ //We can get the expanded or collapsed state in args
+ console.log('Expanded ' + args.state);
+ }
+ return (
+
+
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram') as HTMLElement);
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layoutEvent-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/layoutEvent-cs1/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layoutEvent-cs1/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/symbol-palette/es5palettes-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/layoutEvent-cs1/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/symbol-palette/es5palettes-cs1/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/layoutEvent-cs1/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layoutEvent-cs2/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layoutEvent-cs2/app/index.jsx
new file mode 100644
index 000000000..c18acb177
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layoutEvent-cs2/app/index.jsx
@@ -0,0 +1,119 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, HierarchicalTree, LayoutAnimation } from '@syncfusion/ej2-react-diagrams';
+
+
+//Initialize nodes
+let nodes = [
+ {
+ id: 'Start',
+ width: 140,
+ height: 50,
+ offsetX: 300,
+ offsetY: 50,
+ annotations: [{ content: 'Node1' }],
+ style: { fill: '#6BA5D7', strokeColor: 'white' },
+ expandIcon: {
+ shape: 'ArrowDown',
+ width: 20,
+ height: 15,
+ },
+ collapseIcon: {
+ shape: 'ArrowUp',
+ width: 20,
+ height: 15,
+ },
+ },
+ {
+ id: 'Init',
+ width: 140,
+ height: 50,
+ offsetX: 300,
+ offsetY: 140,
+ style: { fill: '#6BA5D7', strokeColor: 'white' },
+ annotations: [{ content: 'Node2' }],
+ },
+ {
+ id: 'Init2',
+ width: 140,
+ height: 50,
+ offsetX: 100,
+ offsetY: 140,
+ style: { fill: '#6BA5D7', strokeColor: 'white' },
+ annotations: [{ content: 'Node3' }],
+ },
+ {
+ id: 'Init3',
+ width: 140,
+ height: 50,
+ offsetX: 150,
+ offsetY: 140,
+ style: { fill: '#6BA5D7', strokeColor: 'white' },
+ annotations: [{ content: 'Node4' }],
+ }
+];
+
+//Initializes connectors
+let connectors = [
+ {
+ id: 'connector1',
+ sourceID: 'Start',
+ targetID: 'Init',
+ type: 'Orthogonal',
+ },
+ {
+ id: 'connector2',
+ sourceID: 'Start',
+ targetID: 'Init2',
+ type: 'Orthogonal',
+ },
+ {
+ id: 'connector3',
+ sourceID: 'Init2',
+ targetID: 'Init3',
+ type: 'Orthogonal',
+ }
+];
+
+export default function App() {
+ let diagramInstance;
+
+ // Function to handle animation state changes
+ function animationComplete() {
+ console.log('Animation complete');
+ diagramInstance.nodes[0].style.fill =
+ diagramInstance.nodes[0].style.fill === '#6BA5D7' ? 'red' : '#6BA5D7';
+ diagramInstance.dataBind();
+
+ //customize
+ }
+ return (
+
+ (diagramInstance = diagram)}
+ // Event Triggers when animation complete
+ animationComplete={animationComplete}
+ //Uses layout to auto-arrange nodes on the diagram page
+ layout={{
+ //Sets layout type
+ type: 'HierarchicalTree',
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layoutEvent-cs2/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/layoutEvent-cs2/app/index.tsx
new file mode 100644
index 000000000..0d0e5b5a8
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layoutEvent-cs2/app/index.tsx
@@ -0,0 +1,119 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, HierarchicalTree, LayoutAnimation, ConnectorModel, NodeModel, ShapeStyleModel } from '@syncfusion/ej2-react-diagrams';
+
+
+//Initialize nodes
+let nodes: NodeModel[] = [
+ {
+ id: 'Start',
+ width: 140,
+ height: 50,
+ offsetX: 300,
+ offsetY: 50,
+ annotations: [{ content: 'Node1' }],
+ style: { fill: '#6BA5D7', strokeColor: 'white' },
+ expandIcon: {
+ shape: 'ArrowDown',
+ width: 20,
+ height: 15,
+ },
+ collapseIcon: {
+ shape: 'ArrowUp',
+ width: 20,
+ height: 15,
+ },
+ },
+ {
+ id: 'Init',
+ width: 140,
+ height: 50,
+ offsetX: 300,
+ offsetY: 140,
+ style: { fill: '#6BA5D7', strokeColor: 'white' },
+ annotations: [{ content: 'Node2' }],
+ },
+ {
+ id: 'Init2',
+ width: 140,
+ height: 50,
+ offsetX: 100,
+ offsetY: 140,
+ style: { fill: '#6BA5D7', strokeColor: 'white' },
+ annotations: [{ content: 'Node3' }],
+ },
+ {
+ id: 'Init3',
+ width: 140,
+ height: 50,
+ offsetX: 150,
+ offsetY: 140,
+ style: { fill: '#6BA5D7', strokeColor: 'white' },
+ annotations: [{ content: 'Node4' }],
+ }
+];
+
+//Initializes connectors
+let connectors: ConnectorModel[] = [
+ {
+ id: 'connector1',
+ sourceID: 'Start',
+ targetID: 'Init',
+ type: 'Orthogonal',
+ },
+ {
+ id: 'connector2',
+ sourceID: 'Start',
+ targetID: 'Init2',
+ type: 'Orthogonal',
+ },
+ {
+ id: 'connector3',
+ sourceID: 'Init2',
+ targetID: 'Init3',
+ type: 'Orthogonal',
+ }
+];
+
+export default function App() {
+ let diagramInstance: DiagramComponent;
+
+ // Function to handle animation state changes
+ function animationComplete() {
+ console.log('Animation complete');
+ (diagramInstance.nodes[0].style as ShapeStyleModel).fill =
+ (diagramInstance.nodes[0].style as ShapeStyleModel).fill === '#6BA5D7' ? 'red' : '#6BA5D7';
+ diagramInstance.dataBind();
+
+ //customize
+ }
+ return (
+
+ (diagramInstance = diagram)}
+ // Event Triggers when the animation complete
+ animationComplete={animationComplete}
+ //Uses layout to auto-arrange nodes on the diagram page
+ layout={{
+ //Sets layout type
+ type: 'HierarchicalTree',
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram') as HTMLElement);
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/layoutEvent-cs2/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/layoutEvent-cs2/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/layoutEvent-cs2/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/symbol-palette/es5preview-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/layoutEvent-cs2/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/symbol-palette/es5preview-cs1/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/layoutEvent-cs2/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/mindMap-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/mindMap-cs1/app/index.jsx
new file mode 100644
index 000000000..fd79a8891
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/mindMap-cs1/app/index.jsx
@@ -0,0 +1,65 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, DataBinding, MindMap } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+//Initializes data source
+let data = [
+ { id: 1, Label: "StackPanel" },
+ { id: 2, Label: "Label", parentId: 1 },
+ { id: 3, Label: "ListBox", parentId: 1 },
+ { id: 4, Label: "StackPanel", parentId: 2 },
+ { id: 5, Label: "Border", parentId: 2 },
+ { id: 6, Label: "Border", parentId: 4 },
+ { id: 7, Label: "Button", parentId: 4 },
+ { id: 8, Label: "ContentPresenter", parentId: 5 },
+ { id: 9, Label: "Text Block", parentId: 5 },
+];
+let items = new DataManager(data, new Query().take(7));
+
+export default function App() {
+ return (
+
{
+ node.annotations = [{ content: node.data.Label }];
+ node.width = 100; node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = "Orthogonal";
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/mindMap-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/mindMap-cs1/app/index.tsx
new file mode 100644
index 000000000..37af93767
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/mindMap-cs1/app/index.tsx
@@ -0,0 +1,65 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, ConnectorModel, DataBinding, NodeModel, MindMap } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+//Initializes data source
+let data: object[] = [
+ { id: 1, Label: "StackPanel" },
+ { id: 2, Label: "Label", parentId: 1 },
+ { id: 3, Label: "ListBox", parentId: 1 },
+ { id: 4, Label: "StackPanel", parentId: 2 },
+ { id: 5, Label: "Border", parentId: 2 },
+ { id: 6, Label: "Border", parentId: 4 },
+ { id: 7, Label: "Button", parentId: 4 },
+ { id: 8, Label: "ContentPresenter", parentId: 5 },
+ { id: 9, Label: "Text Block", parentId: 5 },
+];
+let items: DataManager = new DataManager(data as JSON[], new Query().take(7));
+
+export default function App() {
+ return (
+
{
+ node.annotations = [{ content: (node.data as { Label: 'string' }).Label }];
+ node.width = 100; node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel) => {
+ connector.type = "Orthogonal";
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/mindMap-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/mindMap-cs1/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/mindMap-cs1/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/symbol-palette/es5preview-cs2/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/mindMap-cs1/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/symbol-palette/es5preview-cs2/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/mindMap-cs1/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/mindMap-cs2/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/mindMap-cs2/app/index.jsx
new file mode 100644
index 000000000..9ce61e746
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/mindMap-cs2/app/index.jsx
@@ -0,0 +1,74 @@
+{% raw %}
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, DataBinding, MindMap } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+//Initializes data source
+let data = [
+ { id: 1, Label: "StackPanel" },
+ { id: 2, Label: "Label", parentId: 1 },
+ { id: 3, Label: "ListBox", parentId: 1 },
+ { id: 4, Label: "StackPanel", parentId: 2 },
+ { id: 5, Label: "Border", parentId: 2 },
+ { id: 6, Label: "Border", parentId: 4 },
+ { id: 7, Label: "Button", parentId: 4 },
+ { id: 8, Label: "ContentPresenter", parentId: 5 },
+ { id: 9, Label: "Text Block", parentId: 5 },
+];
+let items = new DataManager(data, new Query().take(7));
+
+export default function App() {
+ return (
+
{
+ if (node.data.id === 1) {
+ return 'Root';
+ }
+ return 'Right';
+ }
+ }}
+
+ //Configures data source for diagram
+ dataSourceSettings={{
+ id: "id",
+ parentId: "parentId",
+ dataManager: items,
+ root: String(1),
+ }}
+
+ //Sets the default properties for nodes
+ getNodeDefaults={(node) => {
+ node.annotations = [{ content: node.data.Label }];
+ node.width = 100; node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = "Orthogonal";
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render(
);
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/mindMap-cs2/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/mindMap-cs2/app/index.tsx
new file mode 100644
index 000000000..a1fa4ebeb
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/mindMap-cs2/app/index.tsx
@@ -0,0 +1,74 @@
+{% raw %}
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, ConnectorModel, DataBinding, NodeModel, MindMap } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+//Initializes data source
+let data: object[] = [
+ { id: 1, Label: "StackPanel" },
+ { id: 2, Label: "Label", parentId: 1 },
+ { id: 3, Label: "ListBox", parentId: 1 },
+ { id: 4, Label: "StackPanel", parentId: 2 },
+ { id: 5, Label: "Border", parentId: 2 },
+ { id: 6, Label: "Border", parentId: 4 },
+ { id: 7, Label: "Button", parentId: 4 },
+ { id: 8, Label: "ContentPresenter", parentId: 5 },
+ { id: 9, Label: "Text Block", parentId: 5 },
+];
+let items: DataManager = new DataManager(data as JSON[], new Query().take(7));
+
+export default function App() {
+ return (
+
{
+ if ((node.data as any).id === 1) {
+ return 'Root';
+ }
+ return 'Right';
+ }
+ }}
+
+ //Configures data source for diagram
+ dataSourceSettings={{
+ id: "id",
+ parentId: "parentId",
+ dataManager: items,
+ root: String(1),
+ }}
+
+ //Sets the default properties for nodes
+ getNodeDefaults={(node: NodeModel) => {
+ node.annotations = [{ content: (node.data as { Label: 'string' }).Label }];
+ node.width = 100; node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel) => {
+ connector.type = "Orthogonal";
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render(
);
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/mindMap-cs2/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/mindMap-cs2/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/mindMap-cs2/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/symbol-palette/es5preview-cs3/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/mindMap-cs2/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/symbol-palette/es5preview-cs3/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/mindMap-cs2/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/node.style-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/node.style-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/AutomaticLayout/node.style-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/node.style-cs1/index.html
@@ -2,7 +2,7 @@
-
Syncfusion React Chart-DataLabel
+
Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs1/app/index.jsx
new file mode 100644
index 000000000..c327b8918
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs1/app/index.jsx
@@ -0,0 +1,157 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, DataBinding, HierarchicalTree } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+
+//Initializes data source
+let data = [
+ {
+ Id: 'parent',
+ Role: 'Project Management',
+ },
+ {
+ Id: 1,
+ Role: 'R&D Team',
+ Team: 'parent',
+ },
+ {
+ Id: 3,
+ Role: 'Philosophy',
+ Team: '1',
+ },
+ {
+ Id: 4,
+ Role: 'Organization',
+ Team: '1',
+ },
+ {
+ Id: 5,
+ Role: 'Technology',
+ Team: '1',
+ },
+ {
+ Id: 7,
+ Role: 'Funding',
+ Team: '1',
+ },
+ {
+ Id: 8,
+ Role: 'Resource Allocation',
+ Team: '1',
+ },
+ {
+ Id: 9,
+ Role: 'Targeting',
+ Team: '1',
+ },
+ {
+ Id: 11,
+ Role: 'Evaluation',
+ Team: '1',
+ },
+ {
+ Id: 156,
+ Role: 'HR Team',
+ Team: 'parent',
+ },
+ {
+ Id: 13,
+ Role: 'Recruitment',
+ Team: '156',
+ },
+ {
+ Id: 112,
+ Role: 'Employee Relation',
+ Team: '156',
+ },
+ {
+ Id: 17,
+ Role: 'Production & Sales Team',
+ Team: 'parent',
+ },
+ {
+ Id: 119,
+ Role: 'Design',
+ Team: '17',
+ },
+ {
+ Id: 19,
+ Role: 'Operation',
+ Team: '17',
+ },
+ {
+ Id: 20,
+ Role: 'Support',
+ Team: '17',
+ },
+ {
+ Id: 21,
+ Role: 'Quality Assurance',
+ Team: '17',
+ },
+ {
+ Id: 23,
+ Role: 'Customer Interaction',
+ Team: '17',
+ },
+ {
+ Id: 24,
+ Role: 'Support and Maintenance',
+ Team: '17',
+ },
+ {
+ Id: 25,
+ Role: 'Task Coordination',
+ Team: '17',
+ }
+];
+
+let items = new DataManager(data, new Query().take(7));
+
+export default function App() {
+ return (
+
{
+ node.annotations = [{ content: node.data.Role }];
+ node.width = 75;
+ node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs1/app/index.tsx
new file mode 100644
index 000000000..2db76ac77
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs1/app/index.tsx
@@ -0,0 +1,157 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, ConnectorModel, DataBinding, NodeModel, HierarchicalTree } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+
+//Initializes data source
+let data: object[] = [
+ {
+ Id: 'parent',
+ Role: 'Project Management',
+ },
+ {
+ Id: 1,
+ Role: 'R&D Team',
+ Team: 'parent',
+ },
+ {
+ Id: 3,
+ Role: 'Philosophy',
+ Team: '1',
+ },
+ {
+ Id: 4,
+ Role: 'Organization',
+ Team: '1',
+ },
+ {
+ Id: 5,
+ Role: 'Technology',
+ Team: '1',
+ },
+ {
+ Id: 7,
+ Role: 'Funding',
+ Team: '1',
+ },
+ {
+ Id: 8,
+ Role: 'Resource Allocation',
+ Team: '1',
+ },
+ {
+ Id: 9,
+ Role: 'Targeting',
+ Team: '1',
+ },
+ {
+ Id: 11,
+ Role: 'Evaluation',
+ Team: '1',
+ },
+ {
+ Id: 156,
+ Role: 'HR Team',
+ Team: 'parent',
+ },
+ {
+ Id: 13,
+ Role: 'Recruitment',
+ Team: '156',
+ },
+ {
+ Id: 112,
+ Role: 'Employee Relation',
+ Team: '156',
+ },
+ {
+ Id: 17,
+ Role: 'Production & Sales Team',
+ Team: 'parent',
+ },
+ {
+ Id: 119,
+ Role: 'Design',
+ Team: '17',
+ },
+ {
+ Id: 19,
+ Role: 'Operation',
+ Team: '17',
+ },
+ {
+ Id: 20,
+ Role: 'Support',
+ Team: '17',
+ },
+ {
+ Id: 21,
+ Role: 'Quality Assurance',
+ Team: '17',
+ },
+ {
+ Id: 23,
+ Role: 'Customer Interaction',
+ Team: '17',
+ },
+ {
+ Id: 24,
+ Role: 'Support and Maintenance',
+ Team: '17',
+ },
+ {
+ Id: 25,
+ Role: 'Task Coordination',
+ Team: '17',
+ }
+];
+
+let items: DataManager = new DataManager(data as JSON[], new Query().take(7));
+
+export default function App() {
+ return (
+
{
+ node.annotations = [{ content: (node.data as { Role: 'string' }).Role }];
+ node.width = 75;
+ node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs1/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs1/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/symbol-palette/es5size-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs1/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/symbol-palette/es5size-cs1/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs1/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs2/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs2/app/index.jsx
new file mode 100644
index 000000000..4efd7a570
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs2/app/index.jsx
@@ -0,0 +1,168 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, DataBinding, HierarchicalTree } from "@syncfusion/ej2-react-diagrams";
+
+//Initialize nodes for diagram
+let nodes = [
+ { id: 'Project Management' },
+ { id: 'R&D Team' },
+ { id: 'Philosophy' },
+ { id: 'Organization' },
+ { id: 'Technology' },
+ { id: 'Funding' },
+ { id: 'Resource Allocation' },
+ { id: 'Targeting' },
+ { id: 'Evaluation' },
+ { id: 'HR Team' },
+ { id: 'Recruitment' },
+ { id: 'Employee Relation' },
+ { id: 'Production & Sales Team' },
+ { id: 'Design' },
+ { id: 'Operation' },
+ { id: 'Support' },
+ { id: 'Quality Assurance' },
+ { id: 'Customer Interaction' },
+ { id: 'Support and Maintenance' },
+ { id: 'Task Coordination' },
+];
+
+//Initialize connectors for diagram
+let connectors = [
+ {
+ id: 'Project Management-R&D Team',
+ sourceID: 'Project Management',
+ targetID: 'R&D Team',
+ },
+ {
+ id: 'R&D Team-Philosophy',
+ sourceID: 'R&D Team',
+ targetID: 'Philosophy'
+ },
+ {
+ id: 'R&D Team-Organization',
+ sourceID: 'R&D Team',
+ targetID: 'Organization',
+ },
+ {
+ id: 'R&D Team-Technology',
+ sourceID: 'R&D Team',
+ targetID: 'Technology'
+ },
+ {
+ id: 'R&D Team-Funding',
+ sourceID: 'R&D Team',
+ targetID: 'Funding'
+ },
+ {
+ id: 'R&D Team-Resource Allocation',
+ sourceID: 'R&D Team',
+ targetID: 'Resource Allocation',
+ },
+ {
+ id: 'R&D Team-Targeting',
+ sourceID: 'R&D Team',
+ targetID: 'Targeting'
+ },
+ {
+ id: 'R&D Team-Evaluation',
+ sourceID: 'R&D Team',
+ targetID: 'Evaluation'
+ },
+ {
+ id: 'Project Management-HR Team',
+ sourceID: 'Project Management',
+ targetID: 'HR Team',
+ },
+ {
+ id: 'HR Team-Recruitment',
+ sourceID: 'HR Team',
+ targetID: 'Recruitment'
+ },
+ {
+ id: 'HR Team-Employee Relation',
+ sourceID: 'HR Team',
+ targetID: 'Employee Relation',
+ },
+ {
+ id: 'Project Management-Production & Sales Team',
+ sourceID: 'Project Management',
+ targetID: 'Production & Sales Team',
+ },
+ {
+ id: 'Production & Sales Team-Design',
+ sourceID: 'Production & Sales Team',
+ targetID: 'Design',
+ },
+ {
+ id: 'Production & Sales Team-Operation',
+ sourceID: 'Production & Sales Team',
+ targetID: 'Operation',
+ },
+ {
+ id: 'Production & Sales Team-Support',
+ sourceID: 'Production & Sales Team',
+ targetID: 'Support',
+ },
+ {
+ id: 'Production & Sales Team-Quality Assurance',
+ sourceID: 'Production & Sales Team',
+ targetID: 'Quality Assurance',
+ },
+ {
+ id: 'Production & Sales Team-Customer Interaction',
+ sourceID: 'Production & Sales Team',
+ targetID: 'Customer Interaction',
+ },
+ {
+ id: 'Production & Sales Team-Support and Maintenance',
+ sourceID: 'Production & Sales Team',
+ targetID: 'Support and Maintenance',
+ },
+ {
+ id: 'Production & Sales Team-Task Coordination',
+ sourceID: 'Production & Sales Team',
+ targetID: 'Task Coordination',
+ },
+];
+
+export default function App() {
+ return (
+
{
+ node.annotations = [{ content: node.id }];
+ node.width = 75;
+ node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs2/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs2/app/index.tsx
new file mode 100644
index 000000000..2babe6e61
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs2/app/index.tsx
@@ -0,0 +1,169 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, ConnectorModel, DataBinding, NodeModel, HierarchicalTree } from "@syncfusion/ej2-react-diagrams";
+
+
+//Initialize nodes for diagram
+let nodes: NodeModel[] = [
+ { id: 'Project Management' },
+ { id: 'R&D Team' },
+ { id: 'Philosophy' },
+ { id: 'Organization' },
+ { id: 'Technology' },
+ { id: 'Funding' },
+ { id: 'Resource Allocation' },
+ { id: 'Targeting' },
+ { id: 'Evaluation' },
+ { id: 'HR Team' },
+ { id: 'Recruitment' },
+ { id: 'Employee Relation' },
+ { id: 'Production & Sales Team' },
+ { id: 'Design' },
+ { id: 'Operation' },
+ { id: 'Support' },
+ { id: 'Quality Assurance' },
+ { id: 'Customer Interaction' },
+ { id: 'Support and Maintenance' },
+ { id: 'Task Coordination' },
+];
+
+//Initialize connectors for diagram
+let connectors: ConnectorModel[] = [
+ {
+ id: 'Project Management-R&D Team',
+ sourceID: 'Project Management',
+ targetID: 'R&D Team',
+ },
+ {
+ id: 'R&D Team-Philosophy',
+ sourceID: 'R&D Team',
+ targetID: 'Philosophy'
+ },
+ {
+ id: 'R&D Team-Organization',
+ sourceID: 'R&D Team',
+ targetID: 'Organization',
+ },
+ {
+ id: 'R&D Team-Technology',
+ sourceID: 'R&D Team',
+ targetID: 'Technology'
+ },
+ {
+ id: 'R&D Team-Funding',
+ sourceID: 'R&D Team',
+ targetID: 'Funding'
+ },
+ {
+ id: 'R&D Team-Resource Allocation',
+ sourceID: 'R&D Team',
+ targetID: 'Resource Allocation',
+ },
+ {
+ id: 'R&D Team-Targeting',
+ sourceID: 'R&D Team',
+ targetID: 'Targeting'
+ },
+ {
+ id: 'R&D Team-Evaluation',
+ sourceID: 'R&D Team',
+ targetID: 'Evaluation'
+ },
+ {
+ id: 'Project Management-HR Team',
+ sourceID: 'Project Management',
+ targetID: 'HR Team',
+ },
+ {
+ id: 'HR Team-Recruitment',
+ sourceID: 'HR Team',
+ targetID: 'Recruitment'
+ },
+ {
+ id: 'HR Team-Employee Relation',
+ sourceID: 'HR Team',
+ targetID: 'Employee Relation',
+ },
+ {
+ id: 'Project Management-Production & Sales Team',
+ sourceID: 'Project Management',
+ targetID: 'Production & Sales Team',
+ },
+ {
+ id: 'Production & Sales Team-Design',
+ sourceID: 'Production & Sales Team',
+ targetID: 'Design',
+ },
+ {
+ id: 'Production & Sales Team-Operation',
+ sourceID: 'Production & Sales Team',
+ targetID: 'Operation',
+ },
+ {
+ id: 'Production & Sales Team-Support',
+ sourceID: 'Production & Sales Team',
+ targetID: 'Support',
+ },
+ {
+ id: 'Production & Sales Team-Quality Assurance',
+ sourceID: 'Production & Sales Team',
+ targetID: 'Quality Assurance',
+ },
+ {
+ id: 'Production & Sales Team-Customer Interaction',
+ sourceID: 'Production & Sales Team',
+ targetID: 'Customer Interaction',
+ },
+ {
+ id: 'Production & Sales Team-Support and Maintenance',
+ sourceID: 'Production & Sales Team',
+ targetID: 'Support and Maintenance',
+ },
+ {
+ id: 'Production & Sales Team-Task Coordination',
+ sourceID: 'Production & Sales Team',
+ targetID: 'Task Coordination',
+ },
+];
+
+export default function App() {
+ return (
+
{
+ node.annotations = [{ content: node.id }];
+ node.width = 75;
+ node.height = 40;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel) => {
+ connector.type = 'Orthogonal';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs2/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs2/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs2/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/umldiagramshapes/es5Attribute-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs2/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/umldiagramshapes/es5Attribute-cs1/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs2/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs3/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs3/app/index.jsx
new file mode 100644
index 000000000..0b2debaab
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs3/app/index.jsx
@@ -0,0 +1,100 @@
+{% raw %}
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, DataBinding, HierarchicalTree } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+//Initializes data source
+let data = [
+ { Id: 1, Role: 'General Manager' },
+ { Id: 2, Role: 'Assistant Manager', Team: 1 },
+ { Id: 3, Role: 'Human Resource Manager', Team: 1 },
+ { Id: 4, Role: 'Design Manager', Team: 1 },
+ { Id: 5, Role: 'Operation Manager', Team: 1 },
+ { Id: 6, Role: 'Marketing Manager', Team: 1 },
+];
+let items = new DataManager(data, new Query().take(7));
+
+export default function App() {
+ let diagramInstance;
+ let alignmentInstance;
+
+ function onAlignmentChange() {
+ const args = alignmentInstance.value;
+ diagramInstance.layout.getLayoutInfo = (node, options) => {
+ if (!options.hasSubTree) {
+ options.type = args;
+ options.orientation = 'Horizontal';
+ }
+ };
+ };
+
+ return (
+
+ Alignment:
+ (alignmentInstance = alignment)}
+ >
+ Center
+ Right
+ Left
+ Balanced
+
+
+ (diagramInstance = diagram)}
+ snapSettings={{ constraints: 0 }}
+
+ //Uses layout to auto-arrange nodes on the diagram page
+ layout={{
+ //Sets layout type
+ type: 'OrganizationalChart',
+ // define the getLayoutInfo
+ getLayoutInfo: (node, options) => {
+ if (!options.hasSubTree) {
+ options.type = 'Center';
+ options.orientation = 'Horizontal';
+ }
+ }
+ }}
+
+ //Configures data source for diagram
+ dataSourceSettings={{
+ id: 'Id',
+ parentId: 'Team',
+ dataSource: items
+ }}
+
+ //Sets the default properties for nodes
+ getNodeDefaults={(node) => {
+ node.annotations = [{ content: node.data.Role }];
+ node.width = 150;
+ node.height = 50;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ (connector.targetDecorator).shape = 'None';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render(
);
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs3/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs3/app/index.tsx
new file mode 100644
index 000000000..3211270d1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs3/app/index.tsx
@@ -0,0 +1,100 @@
+{% raw %}
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, ConnectorModel, DataBinding, NodeModel, HierarchicalTree, SubTreeAlignments, TreeInfo, DecoratorModel } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+//Initializes data source
+let data: object[] = [
+ { Id: 1, Role: 'General Manager' },
+ { Id: 2, Role: 'Assistant Manager', Team: 1 },
+ { Id: 3, Role: 'Human Resource Manager', Team: 1 },
+ { Id: 4, Role: 'Design Manager', Team: 1 },
+ { Id: 5, Role: 'Operation Manager', Team: 1 },
+ { Id: 6, Role: 'Marketing Manager', Team: 1 },
+];
+let items: DataManager = new DataManager(data as JSON[], new Query().take(7));
+
+export default function App() {
+ let diagramInstance: DiagramComponent;
+ let alignmentInstance: HTMLSelectElement;
+
+ function onAlignmentChange() {
+ const args = alignmentInstance.value;
+ diagramInstance.layout.getLayoutInfo = (node: Node, options: TreeInfo) => {
+ if (!options.hasSubTree) {
+ options.type = (args as SubTreeAlignments);
+ options.orientation = 'Horizontal';
+ }
+ };
+ };
+
+ return (
+
+ Alignment:
+ (alignmentInstance = alignment)}
+ >
+ Center
+ Right
+ Left
+ Balanced
+
+
+ (diagramInstance = diagram)}
+ snapSettings={{ constraints: 0 }}
+
+ //Uses layout to auto-arrange nodes on the diagram page
+ layout={{
+ //Sets layout type
+ type: 'OrganizationalChart',
+ // define the getLayoutInfo
+ getLayoutInfo: (node: Node, options: TreeInfo) => {
+ if (!options.hasSubTree) {
+ options.type = 'Center';
+ options.orientation = 'Horizontal';
+ }
+ }
+ }}
+
+ //Configures data source for diagram
+ dataSourceSettings={{
+ id: 'Id',
+ parentId: 'Team',
+ dataSource: items
+ }}
+
+ //Sets the default properties for nodes
+ getNodeDefaults={(node: NodeModel) => {
+ node.annotations = [{ content: (node.data as { Role: 'string' }).Role }];
+ node.width = 150;
+ node.height = 50;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel) => {
+ connector.type = 'Orthogonal';
+ (connector.targetDecorator as DecoratorModel).shape = 'None';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render(
);
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs3/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs3/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs3/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/umldiagramshapes/es5Member-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs3/systemjs.config.js
similarity index 100%
rename from ej2-react/code-snippet/diagram/umldiagramshapes/es5Member-cs1/systemjs.config.js
rename to ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs3/systemjs.config.js
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs4/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs4/app/index.jsx
new file mode 100644
index 000000000..d485f6a21
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs4/app/index.jsx
@@ -0,0 +1,99 @@
+{% raw %}
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, DataBinding, HierarchicalTree } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+//Initializes data source
+let data = [
+ { Id: 1, Role: 'General Manager' },
+ { Id: 2, Role: 'Assistant Manager', Team: 1 },
+ { Id: 3, Role: 'Human Resource Manager', Team: 1 },
+ { Id: 4, Role: 'Design Manager', Team: 1 },
+ { Id: 5, Role: 'Operation Manager', Team: 1 },
+ { Id: 6, Role: 'Marketing Manager', Team: 1 },
+];
+let items = new DataManager(data, new Query().take(7));
+
+export default function App() {
+ let diagramInstance;
+ let alignmentInstance;
+
+ function onAlignmentChange() {
+ const args = alignmentInstance.value;
+ diagramInstance.layout.getLayoutInfo = (node, options) => {
+ if (!options.hasSubTree) {
+ options.type = args;
+ options.orientation = 'Vertical';
+ }
+ };
+ };
+
+ return (
+
+ Alignment:
+ (alignmentInstance = alignment)}
+ >
+ Left
+ Right
+ Alternate
+
+
+ (diagramInstance = diagram)}
+ snapSettings={{ constraints: 0 }}
+
+ //Uses layout to auto-arrange nodes on the diagram page
+ layout={{
+ //Sets layout type
+ type: 'OrganizationalChart',
+ // define the getLayoutInfo
+ getLayoutInfo: (node, options) => {
+ if (!options.hasSubTree) {
+ options.type = 'Left';
+ options.orientation = 'Vertical';
+ }
+ }
+ }}
+
+ //Configures data source for diagram
+ dataSourceSettings={{
+ id: 'Id',
+ parentId: 'Team',
+ dataSource: items
+ }}
+
+ //Sets the default properties for nodes
+ getNodeDefaults={(node) => {
+ node.annotations = [{ content: node.data.Role }];
+ node.width = 150;
+ node.height = 50;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ (connector.targetDecorator).shape = 'None';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render(
);
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs4/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs4/app/index.tsx
new file mode 100644
index 000000000..8cd18eb60
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs4/app/index.tsx
@@ -0,0 +1,99 @@
+{% raw %}
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, ConnectorModel, DataBinding, NodeModel, HierarchicalTree, SubTreeAlignments, TreeInfo, DecoratorModel } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+//Initializes data source
+let data: object[] = [
+ { Id: 1, Role: 'General Manager' },
+ { Id: 2, Role: 'Assistant Manager', Team: 1 },
+ { Id: 3, Role: 'Human Resource Manager', Team: 1 },
+ { Id: 4, Role: 'Design Manager', Team: 1 },
+ { Id: 5, Role: 'Operation Manager', Team: 1 },
+ { Id: 6, Role: 'Marketing Manager', Team: 1 },
+];
+let items: DataManager = new DataManager(data as JSON[], new Query().take(7));
+
+export default function App() {
+ let diagramInstance: DiagramComponent;
+ let alignmentInstance: HTMLSelectElement;
+
+ function onAlignmentChange() {
+ const args = alignmentInstance.value;
+ diagramInstance.layout.getLayoutInfo = (node: Node, options: TreeInfo) => {
+ if (!options.hasSubTree) {
+ options.type = (args as SubTreeAlignments);
+ options.orientation = 'Vertical';
+ }
+ };
+ };
+
+ return (
+
+ Alignment:
+ (alignmentInstance = alignment)}
+ >
+ Left
+ Right
+ Alternate
+
+
+ (diagramInstance = diagram)}
+ snapSettings={{ constraints: 0 }}
+
+ //Uses layout to auto-arrange nodes on the diagram page
+ layout={{
+ //Sets layout type
+ type: 'OrganizationalChart',
+ // define the getLayoutInfo
+ getLayoutInfo: (node: Node, options: TreeInfo) => {
+ if (!options.hasSubTree) {
+ options.type = 'Left';
+ options.orientation = 'Vertical';
+ }
+ }
+ }}
+
+ //Configures data source for diagram
+ dataSourceSettings={{
+ id: 'Id',
+ parentId: 'Team',
+ dataSource: items
+ }}
+
+ //Sets the default properties for nodes
+ getNodeDefaults={(node: NodeModel) => {
+ node.annotations = [{ content: (node.data as { Role: 'string' }).Role }];
+ node.width = 150;
+ node.height = 50;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel) => {
+ connector.type = 'Orthogonal';
+ (connector.targetDecorator as DecoratorModel).shape = 'None';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render(
);
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs4/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs4/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs4/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs4/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs4/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs4/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs5/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs5/app/index.jsx
new file mode 100644
index 000000000..b729f9abd
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs5/app/index.jsx
@@ -0,0 +1,81 @@
+{% raw %}
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, DataBinding, HierarchicalTree } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+//Initializes data source
+let data = [
+ { Id: 1, Role: 'General Manager' },
+ { Id: 2, Role: 'Assistant Manager', Team: 1 },
+ { Id: 3, Role: 'Human Resource Manager', Team: 1 },
+ { Id: 4, Role: 'Design Manager', Team: 1 },
+ { Id: 5, Role: 'Operation Manager', Team: 1 },
+ { Id: 6, Role: 'Marketing Manager', Team: 1 },
+];
+let items = new DataManager(data, new Query().take(7));
+
+export default function App() {
+
+ return (
+
+ {
+ if (node.data['Role'] === 'General Manager') {
+ options.assistants.push(options.children[0]);
+ options.children.splice(0, 1);
+ }
+ if (!options.hasSubTree) {
+ options.type = 'Center';
+ options.orientation = 'Horizontal';
+ }
+ }
+ }}
+
+ //Configures data source for diagram
+ dataSourceSettings={{
+ id: 'Id',
+ parentId: 'Team',
+ dataSource: items
+ }}
+
+ //Sets the default properties for nodes
+ getNodeDefaults={(node) => {
+ node.annotations = [{ content: node.data.Role }];
+ node.width = 150;
+ node.height = 50;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.type = 'Orthogonal';
+ connector.targetDecorator.shape = 'None';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render(
);
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs5/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs5/app/index.tsx
new file mode 100644
index 000000000..08ee553e4
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs5/app/index.tsx
@@ -0,0 +1,81 @@
+{% raw %}
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, ConnectorModel, DataBinding, NodeModel, HierarchicalTree, TreeInfo, DecoratorModel } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+//Initializes data source
+let data: object[] = [
+ { Id: 1, Role: 'General Manager' },
+ { Id: 2, Role: 'Assistant Manager', Team: 1 },
+ { Id: 3, Role: 'Human Resource Manager', Team: 1 },
+ { Id: 4, Role: 'Design Manager', Team: 1 },
+ { Id: 5, Role: 'Operation Manager', Team: 1 },
+ { Id: 6, Role: 'Marketing Manager', Team: 1 },
+];
+let items: DataManager = new DataManager(data as JSON[], new Query().take(7));
+
+export default function App() {
+
+ return (
+
+ {
+ if (node.data['Role'] === 'General Manager') {
+ (options.assistants as string[]).push((options.children as string[])[0]);
+ (options.children as string[]).splice(0, 1);
+ }
+ if (!options.hasSubTree) {
+ options.type = 'Center';
+ options.orientation = 'Horizontal';
+ }
+ }
+ }}
+
+ //Configures data source for diagram
+ dataSourceSettings={{
+ id: 'Id',
+ parentId: 'Team',
+ dataSource: items
+ }}
+
+ //Sets the default properties for nodes
+ getNodeDefaults={(node: NodeModel) => {
+ node.annotations = [{ content: (node.data as { Role: 'string' }).Role }];
+ node.width = 150;
+ node.height = 50;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel) => {
+ connector.type = 'Orthogonal';
+ (connector.targetDecorator as DecoratorModel).shape = 'None';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render(
);
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs5/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs5/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs5/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs5/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs5/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/organizationalchart-cs5/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/radiallayout-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/radiallayout-cs1/app/index.jsx
new file mode 100644
index 000000000..414b0319c
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/radiallayout-cs1/app/index.jsx
@@ -0,0 +1,170 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, DataBinding, RadialTree } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+//Initializes data source
+let data = [
+ {
+ Id: 'parent',
+ Name: 'Maria Anders',
+ Designation: 'Managing Director'
+ },
+ {
+ Id: '1',
+ Name: 'Ana Trujillo',
+ Designation: 'Project Manager',
+ ReportingPerson: 'parent',
+ },
+ {
+ Id: '2',
+ Name: 'Lino Rodri',
+ Designation: 'Project Manager',
+ ReportingPerson: 'parent',
+ },
+ {
+ Id: '3',
+ Name: 'Philip Cramer',
+ Designation: 'Project Manager',
+ ReportingPerson: 'parent',
+ },
+ {
+ Id: '4',
+ Name: 'Pedro Afonso',
+ Designation: 'Project Manager',
+ ReportingPerson: 'parent',
+ },
+ {
+ Id: '15',
+ Name: 'Paul Henriot',
+ Designation: 'Project Manager',
+ ReportingPerson: 'parent',
+ },
+ {
+ Id: '18',
+ Name: 'Laura Callahan',
+ Designation: 'Project Manager',
+ ReportingPerson: 'parent',
+ },
+ {
+ Id: '5',
+ Name: 'Anto Moreno',
+ Designation: 'Project Lead',
+ ReportingPerson: '1',
+ },
+ {
+ Id: '6',
+ Name: 'Elizabeth Roel',
+ Designation: 'Project Lead',
+ ReportingPerson: '1',
+ },
+ {
+ Id: '7',
+ Name: 'Aria Cruz',
+ Designation: 'Project Lead',
+ ReportingPerson: '18',
+ },
+ {
+ Id: '8',
+ Name: 'Eduardo Roel',
+ Designation: 'Project Lead',
+ ReportingPerson: '18',
+ },
+ {
+ Id: '9',
+ Name: 'Howard Snyd',
+ Designation: 'Project Lead',
+ ReportingPerson: '2',
+ },
+ {
+ Id: '10',
+ Name: 'Daniel Tonini',
+ Designation: 'Project Lead',
+ ReportingPerson: '2',
+ },
+ {
+ Id: '11',
+ Name: 'Nardo Batista',
+ Designation: 'Project Lead',
+ ReportingPerson: '3',
+ },
+ {
+ Id: '12',
+ Name: 'Michael Holz',
+ Designation: 'Project Lead',
+ ReportingPerson: '3',
+ },
+ {
+ Id: '13',
+ Name: 'Kloss Perrier',
+ Designation: 'Project Lead',
+ ReportingPerson: '4',
+ },
+ {
+ Id: '14',
+ Name: 'Liz Nixon',
+ Designation: 'Project Lead',
+ ReportingPerson: '4',
+ },
+ {
+ Id: '16',
+ Name: 'Paula Parente',
+ Designation: 'Project Lead',
+ ReportingPerson: '15',
+ },
+ {
+ Id: '17',
+ Name: 'Matti Kenna',
+ Designation: 'Project Lead',
+ ReportingPerson: '15',
+ }
+];
+let items = new DataManager(data, new Query().take(7));
+
+export default function App() {
+ return (
+
{
+ node.height = 20;
+ node.width = 20;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.targetDecorator.shape = 'None';
+ connector.type = 'Straight';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/radiallayout-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/radiallayout-cs1/app/index.tsx
new file mode 100644
index 000000000..5ab1859cd
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/radiallayout-cs1/app/index.tsx
@@ -0,0 +1,170 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, ConnectorModel, DataBinding, NodeModel, RadialTree, DecoratorModel } from "@syncfusion/ej2-react-diagrams";
+import { DataManager, Query } from "@syncfusion/ej2-data";
+
+//Initializes data source
+let data: object[] = [
+ {
+ Id: 'parent',
+ Name: 'Maria Anders',
+ Designation: 'Managing Director'
+ },
+ {
+ Id: '1',
+ Name: 'Ana Trujillo',
+ Designation: 'Project Manager',
+ ReportingPerson: 'parent',
+ },
+ {
+ Id: '2',
+ Name: 'Lino Rodri',
+ Designation: 'Project Manager',
+ ReportingPerson: 'parent',
+ },
+ {
+ Id: '3',
+ Name: 'Philip Cramer',
+ Designation: 'Project Manager',
+ ReportingPerson: 'parent',
+ },
+ {
+ Id: '4',
+ Name: 'Pedro Afonso',
+ Designation: 'Project Manager',
+ ReportingPerson: 'parent',
+ },
+ {
+ Id: '15',
+ Name: 'Paul Henriot',
+ Designation: 'Project Manager',
+ ReportingPerson: 'parent',
+ },
+ {
+ Id: '18',
+ Name: 'Laura Callahan',
+ Designation: 'Project Manager',
+ ReportingPerson: 'parent',
+ },
+ {
+ Id: '5',
+ Name: 'Anto Moreno',
+ Designation: 'Project Lead',
+ ReportingPerson: '1',
+ },
+ {
+ Id: '6',
+ Name: 'Elizabeth Roel',
+ Designation: 'Project Lead',
+ ReportingPerson: '1',
+ },
+ {
+ Id: '7',
+ Name: 'Aria Cruz',
+ Designation: 'Project Lead',
+ ReportingPerson: '18',
+ },
+ {
+ Id: '8',
+ Name: 'Eduardo Roel',
+ Designation: 'Project Lead',
+ ReportingPerson: '18',
+ },
+ {
+ Id: '9',
+ Name: 'Howard Snyd',
+ Designation: 'Project Lead',
+ ReportingPerson: '2',
+ },
+ {
+ Id: '10',
+ Name: 'Daniel Tonini',
+ Designation: 'Project Lead',
+ ReportingPerson: '2',
+ },
+ {
+ Id: '11',
+ Name: 'Nardo Batista',
+ Designation: 'Project Lead',
+ ReportingPerson: '3',
+ },
+ {
+ Id: '12',
+ Name: 'Michael Holz',
+ Designation: 'Project Lead',
+ ReportingPerson: '3',
+ },
+ {
+ Id: '13',
+ Name: 'Kloss Perrier',
+ Designation: 'Project Lead',
+ ReportingPerson: '4',
+ },
+ {
+ Id: '14',
+ Name: 'Liz Nixon',
+ Designation: 'Project Lead',
+ ReportingPerson: '4',
+ },
+ {
+ Id: '16',
+ Name: 'Paula Parente',
+ Designation: 'Project Lead',
+ ReportingPerson: '15',
+ },
+ {
+ Id: '17',
+ Name: 'Matti Kenna',
+ Designation: 'Project Lead',
+ ReportingPerson: '15',
+ }
+];
+let items: DataManager = new DataManager(data as JSON[], new Query().take(7));
+
+export default function App() {
+ return (
+
{
+ node.height = 20;
+ node.width = 20;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel) => {
+ (connector.targetDecorator as DecoratorModel).shape = 'None';
+ connector.type = 'Straight';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/radiallayout-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/radiallayout-cs1/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/radiallayout-cs1/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/radiallayout-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/radiallayout-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/radiallayout-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/radiallayout-cs2/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/radiallayout-cs2/app/index.jsx
new file mode 100644
index 000000000..dd2543ffc
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/radiallayout-cs2/app/index.jsx
@@ -0,0 +1,164 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, DataBinding, RadialTree } from "@syncfusion/ej2-react-diagrams";
+
+
+//Initializes Nodes for diagram
+let nodes = [
+ { id: 'Maria Anders' },
+ { id: 'Ana Trujillo' },
+ { id: 'Lino Rodri' },
+ { id: 'Philip Cramer' },
+ { id: 'Pedro Afonso' },
+ { id: 'Paul Henriot' },
+ { id: 'Laura Callahan' },
+ { id: 'Anto Moreno' },
+ { id: 'Elizabeth Roel' },
+ { id: 'Aria Cruz' },
+ { id: 'Eduardo Roel' },
+ { id: 'Howard Snyd' },
+ { id: 'Daniel Tonini' },
+ { id: 'Nardo Batista' },
+ { id: 'Michael Holz' },
+ { id: 'Kloss Perrier' },
+ { id: 'Liz Nixon' },
+ { id: 'Paula Parente' },
+ { id: 'Matti Kenna' },
+];
+
+//Initializes Connectors for diagram
+let connectors = [
+ {
+ id: 'Maria Anders-Ana Trujillo',
+ sourceID: 'Maria Anders',
+ targetID: 'Ana Trujillo',
+ },
+ {
+ id: 'Maria Anders-Lino Rodri',
+ sourceID: 'Maria Anders',
+ targetID: 'Lino Rodri',
+ },
+ {
+ id: 'Maria Anders-Philip Cramer',
+ sourceID: 'Maria Anders',
+ targetID: 'Philip Cramer',
+ },
+ {
+ id: 'Maria Anders-Pedro Afonso',
+ sourceID: 'Maria Anders',
+ targetID: 'Pedro Afonso',
+ },
+ {
+ id: 'Maria Anders-Paul Henriot',
+ sourceID: 'Maria Anders',
+ targetID: 'Paul Henriot',
+ },
+ {
+ id: 'Maria Anders-Laura Callahan',
+ sourceID: 'Maria Anders',
+ targetID: 'Laura Callahan',
+ },
+ {
+ id: 'Ana Trujillo-Anto Moreno',
+ sourceID: 'Ana Trujillo',
+ targetID: 'Anto Moreno',
+ },
+ {
+ id: 'Ana Trujillo-Elizabeth Roel',
+ sourceID: 'Ana Trujillo',
+ targetID: 'Elizabeth Roel',
+ },
+ {
+ id: 'Laura Callahan-Aria Cruz',
+ sourceID: 'Laura Callahan',
+ targetID: 'Aria Cruz',
+ },
+ {
+ id: 'Laura Callahan-Eduardo Roel',
+ sourceID: 'Laura Callahan',
+ targetID: 'Eduardo Roel',
+ },
+ {
+ id: 'Lino Rodri-Howard Snyd',
+ sourceID: 'Lino Rodri',
+ targetID: 'Howard Snyd',
+ },
+ {
+ id: 'Lino Rodri-Daniel Tonini',
+ sourceID: 'Lino Rodri',
+ targetID: 'Daniel Tonini',
+ },
+ {
+ id: 'Philip Cramer-Nardo Batista',
+ sourceID: 'Philip Cramer',
+ targetID: 'Nardo Batista',
+ },
+ {
+ id: 'Philip Cramer-Michael Holz',
+ sourceID: 'Philip Cramer',
+ targetID: 'Michael Holz',
+ },
+ {
+ id: 'Pedro Afonso-Kloss Perrier',
+ sourceID: 'Pedro Afonso',
+ targetID: 'Kloss Perrier',
+ },
+ {
+ id: 'Pedro Afonso-Liz Nixon',
+ sourceID: 'Pedro Afonso',
+ targetID: 'Liz Nixon',
+ },
+ {
+ id: 'Paul Henriot-Paula Parente',
+ sourceID: 'Paul Henriot',
+ targetID: 'Paula Parente',
+ },
+ {
+ id: 'Paul Henriot-Matti Kenna',
+ sourceID: 'Paul Henriot',
+ targetID: 'Matti Kenna',
+ }
+];
+
+export default function App() {
+ return (
+
{
+ node.height = 20;
+ node.width = 20;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector) => {
+ connector.targetDecorator.shape = 'None';
+ connector.type = 'Straight';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/radiallayout-cs2/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/radiallayout-cs2/app/index.tsx
new file mode 100644
index 000000000..68144fe89
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/radiallayout-cs2/app/index.tsx
@@ -0,0 +1,164 @@
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, ConnectorModel, DataBinding, NodeModel, RadialTree, DecoratorModel } from "@syncfusion/ej2-react-diagrams";
+
+
+//Initializes Nodes for diagram
+let nodes: NodeModel[] = [
+ { id: 'Maria Anders' },
+ { id: 'Ana Trujillo' },
+ { id: 'Lino Rodri' },
+ { id: 'Philip Cramer' },
+ { id: 'Pedro Afonso' },
+ { id: 'Paul Henriot' },
+ { id: 'Laura Callahan' },
+ { id: 'Anto Moreno' },
+ { id: 'Elizabeth Roel' },
+ { id: 'Aria Cruz' },
+ { id: 'Eduardo Roel' },
+ { id: 'Howard Snyd' },
+ { id: 'Daniel Tonini' },
+ { id: 'Nardo Batista' },
+ { id: 'Michael Holz' },
+ { id: 'Kloss Perrier' },
+ { id: 'Liz Nixon' },
+ { id: 'Paula Parente' },
+ { id: 'Matti Kenna' },
+];
+
+//Initializes Connectors for diagram
+let connectors: ConnectorModel[] = [
+ {
+ id: 'Maria Anders-Ana Trujillo',
+ sourceID: 'Maria Anders',
+ targetID: 'Ana Trujillo',
+ },
+ {
+ id: 'Maria Anders-Lino Rodri',
+ sourceID: 'Maria Anders',
+ targetID: 'Lino Rodri',
+ },
+ {
+ id: 'Maria Anders-Philip Cramer',
+ sourceID: 'Maria Anders',
+ targetID: 'Philip Cramer',
+ },
+ {
+ id: 'Maria Anders-Pedro Afonso',
+ sourceID: 'Maria Anders',
+ targetID: 'Pedro Afonso',
+ },
+ {
+ id: 'Maria Anders-Paul Henriot',
+ sourceID: 'Maria Anders',
+ targetID: 'Paul Henriot',
+ },
+ {
+ id: 'Maria Anders-Laura Callahan',
+ sourceID: 'Maria Anders',
+ targetID: 'Laura Callahan',
+ },
+ {
+ id: 'Ana Trujillo-Anto Moreno',
+ sourceID: 'Ana Trujillo',
+ targetID: 'Anto Moreno',
+ },
+ {
+ id: 'Ana Trujillo-Elizabeth Roel',
+ sourceID: 'Ana Trujillo',
+ targetID: 'Elizabeth Roel',
+ },
+ {
+ id: 'Laura Callahan-Aria Cruz',
+ sourceID: 'Laura Callahan',
+ targetID: 'Aria Cruz',
+ },
+ {
+ id: 'Laura Callahan-Eduardo Roel',
+ sourceID: 'Laura Callahan',
+ targetID: 'Eduardo Roel',
+ },
+ {
+ id: 'Lino Rodri-Howard Snyd',
+ sourceID: 'Lino Rodri',
+ targetID: 'Howard Snyd',
+ },
+ {
+ id: 'Lino Rodri-Daniel Tonini',
+ sourceID: 'Lino Rodri',
+ targetID: 'Daniel Tonini',
+ },
+ {
+ id: 'Philip Cramer-Nardo Batista',
+ sourceID: 'Philip Cramer',
+ targetID: 'Nardo Batista',
+ },
+ {
+ id: 'Philip Cramer-Michael Holz',
+ sourceID: 'Philip Cramer',
+ targetID: 'Michael Holz',
+ },
+ {
+ id: 'Pedro Afonso-Kloss Perrier',
+ sourceID: 'Pedro Afonso',
+ targetID: 'Kloss Perrier',
+ },
+ {
+ id: 'Pedro Afonso-Liz Nixon',
+ sourceID: 'Pedro Afonso',
+ targetID: 'Liz Nixon',
+ },
+ {
+ id: 'Paul Henriot-Paula Parente',
+ sourceID: 'Paul Henriot',
+ targetID: 'Paula Parente',
+ },
+ {
+ id: 'Paul Henriot-Matti Kenna',
+ sourceID: 'Paul Henriot',
+ targetID: 'Matti Kenna',
+ }
+];
+
+export default function App() {
+ return (
+
{
+ node.height = 20;
+ node.width = 20;
+ return node;
+ }}
+
+ //Sets the default properties for connectors
+ getConnectorDefaults={(connector: ConnectorModel) => {
+ (connector.targetDecorator as DecoratorModel).shape = 'None';
+ connector.type = 'Straight';
+ return connector;
+ }}
+ >
+
+ {/* Inject necessary services for the diagram */}
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render(
);
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/radiallayout-cs2/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/radiallayout-cs2/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/radiallayout-cs2/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/radiallayout-cs2/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/radiallayout-cs2/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/radiallayout-cs2/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/symmetric-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/AutomaticLayout/symmetric-cs1/app/index.jsx
new file mode 100644
index 000000000..76da73340
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/symmetric-cs1/app/index.jsx
@@ -0,0 +1,97 @@
+{% raw %}
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, SymmetricLayout } from '@syncfusion/ej2-react-diagrams';
+
+
+//Initialize nodes
+let nodes = [];
+
+//Initializes connectors
+let connectors = [];
+
+// creating the connection between the layout nodes and connectors.
+function connectNodes(parentNode, childNode) {
+ const connector = {
+ id: parentNode.id + childNode.id,
+ sourceID: parentNode.id,
+ targetID: childNode.id,
+ targetDecorator: { shape: 'None' },
+ };
+ return connector;
+}
+
+// creating the layout nodes as rectangle in shape.
+function getRectangle(name) {
+ const shape = { type: 'Basic', shape: 'Ellipse' };
+ const node = {
+ id: name,
+ height: 25,
+ width: 25,
+ style: { fill: '#ff6329' },
+ shape: shape,
+ };
+ return node;
+}
+
+// creating the symmetrical layout child elements hierarchy.
+function populateNodes() {
+ const parentRect = getRectangle('p');
+ nodes.push(parentRect);
+ for (let i = 0; i < 2; i++) {
+ const childRect_i = getRectangle('c' + i);
+ nodes.push(childRect_i);
+ for (let j = 0; j < 2; j++) {
+ const childRect_j = getRectangle('c' + i + j);
+ nodes.push(childRect_j);
+ for (let k = 0; k < 6; k++) {
+ const childRect_k = getRectangle('c' + i + j + k);
+ nodes.push(childRect_k);
+ connectors.push(connectNodes(childRect_j, childRect_k));
+ }
+ connectors.push(connectNodes(childRect_i, childRect_j));
+ }
+ connectors.push(connectNodes(parentRect, childRect_i));
+ }
+ return nodes;
+}
+
+//sets the layout child elements
+populateNodes();
+
+export default function App() {
+
+ return (
+
+
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render(
);
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/symmetric-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/AutomaticLayout/symmetric-cs1/app/index.tsx
new file mode 100644
index 000000000..f22e5a7c8
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/symmetric-cs1/app/index.tsx
@@ -0,0 +1,100 @@
+{% raw %}
+
+import * as React from 'react';
+import * as ReactDOM from 'react-dom/client';
+import { DiagramComponent, Inject, SymmetricLayout, ConnectorModel, NodeModel, BasicShapeModel } from '@syncfusion/ej2-react-diagrams';
+
+
+//Initialize nodes
+let nodes: NodeModel[] = [];
+
+//Initializes connectors
+let connectors: ConnectorModel[] = [];
+
+// creating the connection between the layout nodes and connectors.
+function connectNodes(parentNode: NodeModel | any, childNode: NodeModel): ConnectorModel {
+ const connector: ConnectorModel = {
+ id: parentNode.id + childNode.id,
+ sourceID: parentNode.id,
+ targetID: childNode.id,
+ targetDecorator: { shape: 'None' },
+ };
+ return connector;
+}
+
+// creating the layout nodes as rectangle in shape.
+function getRectangle(name: string): NodeModel {
+ const shape: BasicShapeModel = {
+ type: 'Basic',
+ shape: 'Ellipse',
+ };
+ const node: NodeModel = {
+ id: name,
+ height: 25,
+ width: 25,
+ style: { fill: '#ff6329' },
+ shape: shape,
+ };
+ return node;
+}
+
+// creating the symmetrical layout child elements hierarchy.
+function populateNodes() {
+ const parentRect: NodeModel = getRectangle('p');
+ nodes.push(parentRect);
+ for (let i = 0; i < 2; i++) {
+ const childRect_i: NodeModel = getRectangle('c' + i);
+ nodes.push(childRect_i);
+ for (let j = 0; j < 2; j++) {
+ const childRect_j: NodeModel = getRectangle('c' + i + j);
+ nodes.push(childRect_j);
+ for (let k = 0; k < 6; k++) {
+ const childRect_k: NodeModel = getRectangle('c' + i + j + k);
+ nodes.push(childRect_k);
+ connectors.push(connectNodes(childRect_j, childRect_k));
+ }
+ connectors.push(connectNodes(childRect_i, childRect_j));
+ }
+ connectors.push(connectNodes(parentRect, childRect_i));
+ }
+ return nodes;
+}
+
+//sets the layout child elements
+populateNodes();
+
+export default function App() {
+
+ return (
+
+
+
+ {/* Inject necessary services for the diagram */}
+
+
+
+
+ );
+}
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById('diagram') as HTMLElement);
+root.render(
);
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/symmetric-cs1/index.html b/ej2-react/code-snippet/diagram/AutomaticLayout/symmetric-cs1/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/symmetric-cs1/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/AutomaticLayout/symmetric-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/AutomaticLayout/symmetric-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/AutomaticLayout/symmetric-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/Tools/polygon-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/Tools/polygon-cs1/app/index.jsx
index 4d2dbf2d1..69da67473 100644
--- a/ej2-react/code-snippet/diagram/Tools/polygon-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/Tools/polygon-cs1/app/index.jsx
@@ -1,15 +1,17 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
//Sets scroll status
let diagramInstance;
function App() {
- return (
(diagramInstance = diagram)} width={700} height={700} scrollSettings={{
- horizontalOffset: 100,
- verticalOffset: 50,
+ return ( (diagramInstance = diagram)} width={700} height={700} rulerSettings={{ showRulers: true }} scrollSettings={{
+ scrollLimit: 'Infinity',
+ }}
+ created={() => {
+ diagramInstance.scrollSettings.horizontalOffset = 100;
+ diagramInstance.scrollSettings.verticalOffset = 100;
+ diagramInstance.dataBind();
}}/>);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-{% endraw %}
\ No newline at end of file
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/polygon-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/Tools/polygon-cs1/app/index.tsx
index a281b33e0..30e1a2d2d 100644
--- a/ej2-react/code-snippet/diagram/Tools/polygon-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/Tools/polygon-cs1/app/index.tsx
@@ -1,13 +1,6 @@
-{% raw %}
-
-
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
- BasicShapeModel,
- NodeModel,
- DiagramTools,
DiagramComponent
} from "@syncfusion/ej2-react-diagrams";
//Sets scroll status
@@ -19,16 +12,17 @@ function App() {
ref={(diagram) => (diagramInstance = diagram)}
width={700}
height={700}
+ rulerSettings={{ showRulers: true }}
scrollSettings={{
- horizontalOffset: 100,
- verticalOffset: 50,
+ scrollLimit: 'Infinity',
+ }}
+ created={() => {
+ diagramInstance.scrollSettings.horizontalOffset = 100;
+ diagramInstance.scrollSettings.verticalOffset = 100;
+ diagramInstance.dataBind();
}}
/>
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-
-
-
-{% endraw %}
\ No newline at end of file
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/polygon-cs1/index.html b/ej2-react/code-snippet/diagram/Tools/polygon-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/Tools/polygon-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/Tools/polygon-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/Tools/polygon-cs2/app/index.jsx b/ej2-react/code-snippet/diagram/Tools/polygon-cs2/app/index.jsx
index b3fdfe6b1..663de6283 100644
--- a/ej2-react/code-snippet/diagram/Tools/polygon-cs2/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/Tools/polygon-cs2/app/index.jsx
@@ -2,12 +2,21 @@ import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
let diagramInstance;
+let node = [{
+ offsetX: 300,
+ offsetY: 300
+}]
function App() {
- return ( (diagramInstance = diagram)} width={700} height={700}/>);
+ const updateOffset = () => {
+ diagramInstance.scrollSettings.horizontalOffset = 200;
+ diagramInstance.scrollSettings.verticalOffset = 100;
+ diagramInstance.dataBind();
+ };
+ return (
+
+ Update Scroller Offset
+ (diagramInstance = diagram)} width={700} height={700} nodes={node} rulerSettings={{ showRulers: true }} scrollSettings={{ scrollLimit: 'Infinity' }}/>
+
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-//Updates scroll settings
-diagramInstance.scrollSettings.horizontalOffset = 200;
-diagramInstance.scrollSettings.verticalOffset = 30;
-diagramInstance.dataBind();
diff --git a/ej2-react/code-snippet/diagram/Tools/polygon-cs2/app/index.tsx b/ej2-react/code-snippet/diagram/Tools/polygon-cs2/app/index.tsx
index c0aa9f0f6..bf7cbfc7c 100644
--- a/ej2-react/code-snippet/diagram/Tools/polygon-cs2/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/Tools/polygon-cs2/app/index.tsx
@@ -3,30 +3,37 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
- BasicShapeModel,
NodeModel,
- DiagramTools,
DiagramComponent
} from "@syncfusion/ej2-react-diagrams";
let diagramInstance: DiagramComponent;
+let node: NodeModel[] = [{
+ offsetX: 300,
+ offsetY: 300,
+}];
function App() {
+ const updateOffset = () => {
+ diagramInstance.scrollSettings.horizontalOffset = 200;
+ diagramInstance.scrollSettings.verticalOffset = 100;
+ diagramInstance.dataBind();
+ };
return (
- (diagramInstance = diagram)}
- width={700}
- height={700}
- />
+
+ Update Scroller Offset
+ (diagramInstance = diagram)}
+ width={700}
+ height={700}
+ nodes={node}
+ rulerSettings={{ showRulers: true }}
+ scrollSettings={{ scrollLimit: 'Infinity' }}
+ />
+
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-//Updates scroll settings
-diagramInstance.scrollSettings.horizontalOffset = 200;
-diagramInstance.scrollSettings.verticalOffset = 30;
-diagramInstance.dataBind();
-
diff --git a/ej2-react/code-snippet/diagram/Tools/polygon-cs2/index.html b/ej2-react/code-snippet/diagram/Tools/polygon-cs2/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/Tools/polygon-cs2/index.html
+++ b/ej2-react/code-snippet/diagram/Tools/polygon-cs2/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/Tools/polygon-cs3/app/index.jsx b/ej2-react/code-snippet/diagram/Tools/polygon-cs3/app/index.jsx
index e14283677..1d7be575e 100644
--- a/ej2-react/code-snippet/diagram/Tools/polygon-cs3/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/Tools/polygon-cs3/app/index.jsx
@@ -1,4 +1,3 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
@@ -39,5 +38,4 @@ function App() {
}}/>);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-{% endraw %}
\ No newline at end of file
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/polygon-cs3/index.html b/ej2-react/code-snippet/diagram/Tools/polygon-cs3/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/Tools/polygon-cs3/index.html
+++ b/ej2-react/code-snippet/diagram/Tools/polygon-cs3/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/Tools/tools-cs1/app/index.jsx
new file mode 100644
index 000000000..e3cf5d9c2
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs1/app/index.jsx
@@ -0,0 +1,30 @@
+import * as React from 'react';
+import * as ReactDOM from 'react-dom';
+import { DiagramTools, DiagramComponent } from '@syncfusion/ej2-react-diagrams';
+let diagramInstance;
+function App() {
+ return (
+ (diagramInstance = diagram)}
+ width={700}
+ height={700}
+ created={() => {
+ //JSON to create a rectangle
+ let drawingshape = {
+ type: 'Basic',
+ shape: 'Rectangle',
+ };
+ let node = {
+ shape: drawingshape,
+ };
+ diagramInstance.drawingObject = node;
+ //To draw an object once, activate draw once
+ diagramInstance.tool = DiagramTools.ContinuousDraw;
+ diagramInstance.dataBind();
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/Tools/tools-cs1/app/index.tsx
new file mode 100644
index 000000000..56c40d6d5
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs1/app/index.tsx
@@ -0,0 +1,35 @@
+import * as React from 'react';
+import * as ReactDOM from 'react-dom';
+import {
+ BasicShapeModel,
+ NodeModel,
+ DiagramTools,
+ DiagramComponent,
+} from '@syncfusion/ej2-react-diagrams';
+let diagramInstance: DiagramComponent;
+function App() {
+ return (
+ (diagramInstance = diagram)}
+ width={700}
+ height={700}
+ created={() => {
+ //JSON to create a rectangle
+ let drawingshape: BasicShapeModel = {
+ type: 'Basic',
+ shape: 'Rectangle',
+ };
+ let node: NodeModel = {
+ shape: drawingshape,
+ };
+ diagramInstance.drawingObject = node;
+ //To draw an object once, activate draw once
+ diagramInstance.tool = DiagramTools.ContinuousDraw;
+ diagramInstance.dataBind();
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs1/index.html b/ej2-react/code-snippet/diagram/Tools/tools-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/Tools/tools-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs2/app/index.jsx b/ej2-react/code-snippet/diagram/Tools/tools-cs2/app/index.jsx
new file mode 100644
index 000000000..4fc01f062
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs2/app/index.jsx
@@ -0,0 +1,38 @@
+import * as React from 'react';
+import * as ReactDOM from 'react-dom';
+import {
+ DiagramTools,
+ DiagramComponent,
+} from '@syncfusion/ej2-react-diagrams';
+let diagramInstance;
+function App() {
+ return (
+ (diagramInstance = diagram)}
+ width={700}
+ height={700}
+ created={() => {
+ let node = {
+ id: "Path",
+ style: {
+ fill: "#fbe172"
+ },
+ annotations: [{
+ content: "Path"
+ }],
+ shape: {
+ type: 'Path',
+ data: 'M13.560 67.524 L 21.941 41.731 L 0.000 25.790 L 27.120 25.790 L 35.501 0.000 L 43.882 25.790 L 71.000 25.790 L 49.061 41.731 L 57.441 67.524 L 35.501 51.583 z'
+ }
+ };
+ diagramInstance.drawingObject = node;
+ //To draw an object once, activate draw once
+ diagramInstance.tool = DiagramTools.ContinuousDraw;
+ diagramInstance.dataBind();
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs2/app/index.tsx b/ej2-react/code-snippet/diagram/Tools/tools-cs2/app/index.tsx
new file mode 100644
index 000000000..cddd8b033
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs2/app/index.tsx
@@ -0,0 +1,39 @@
+import * as React from 'react';
+import * as ReactDOM from 'react-dom';
+import {
+ NodeModel,
+ DiagramTools,
+ DiagramComponent,
+} from '@syncfusion/ej2-react-diagrams';
+let diagramInstance: DiagramComponent;
+function App() {
+ return (
+ (diagramInstance = diagram)}
+ width={700}
+ height={700}
+ created={() => {
+ let node: NodeModel = {
+ id: "Path",
+ style: {
+ fill: "#fbe172"
+ },
+ annotations: [{
+ content: "Path"
+ }],
+ shape: {
+ type: 'Path',
+ data: 'M13.560 67.524 L 21.941 41.731 L 0.000 25.790 L 27.120 25.790 L 35.501 0.000 L 43.882 25.790 L 71.000 25.790 L 49.061 41.731 L 57.441 67.524 L 35.501 51.583 z'
+ }
+ };
+ diagramInstance.drawingObject = node;
+ //To draw an object once, activate draw once
+ diagramInstance.tool = DiagramTools.ContinuousDraw;
+ diagramInstance.dataBind();
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs2/index.html b/ej2-react/code-snippet/diagram/Tools/tools-cs2/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs2/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs2/systemjs.config.js b/ej2-react/code-snippet/diagram/Tools/tools-cs2/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs2/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs3/app/index.jsx b/ej2-react/code-snippet/diagram/Tools/tools-cs3/app/index.jsx
new file mode 100644
index 000000000..243c7f833
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs3/app/index.jsx
@@ -0,0 +1,41 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ DiagramTools,
+ DiagramComponent
+} from "@syncfusion/ej2-react-diagrams";
+let diagramInstance;
+function App() {
+ return (
+ (diagramInstance = diagram)}
+ width={700}
+ height={700}
+ created={() => {
+ //JSON to create a text
+ let node = {
+ shape: {
+ type: 'Text',
+ }
+ };
+ diagramInstance.drawingObject = node;
+ //To draw an object once, activate draw once
+ diagramInstance.tool = DiagramTools.DrawOnce;
+ diagramInstance.dataBind();
+ }}
+ //customize the appearance of the shape
+ getNodeDefaults={(obj, diagramInstance) => {
+ obj.borderWidth = 1;
+ obj.style = {
+ fill: '#6BA5D7',
+ strokeWidth: 2,
+ strokeColor: '#6BA5D7',
+ };
+ return obj;
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs3/app/index.tsx b/ej2-react/code-snippet/diagram/Tools/tools-cs3/app/index.tsx
new file mode 100644
index 000000000..c29a12b8d
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs3/app/index.tsx
@@ -0,0 +1,43 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ TextModel,
+ NodeModel,
+ DiagramTools,
+ DiagramComponent
+} from "@syncfusion/ej2-react-diagrams";
+let diagramInstance: DiagramComponent;
+function App() {
+ return (
+ (diagramInstance = diagram)}
+ width={700}
+ height={700}
+ created={() => {
+ //JSON to create a text
+ let node: NodeModel = {
+ shape: {
+ type: 'Text',
+ } as TextModel
+ };
+ diagramInstance.drawingObject = node;
+ //To draw an object once, activate draw once
+ diagramInstance.tool = DiagramTools.DrawOnce;
+ diagramInstance.dataBind();
+ }}
+ //customize the appearance of the shape
+ getNodeDefaults={(obj, diagramInstance) => {
+ obj.borderWidth = 1;
+ obj.style = {
+ fill: '#6BA5D7',
+ strokeWidth: 2,
+ strokeColor: '#6BA5D7',
+ };
+ return obj;
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs3/index.html b/ej2-react/code-snippet/diagram/Tools/tools-cs3/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs3/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs3/systemjs.config.js b/ej2-react/code-snippet/diagram/Tools/tools-cs3/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs3/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs4/app/index.jsx b/ej2-react/code-snippet/diagram/Tools/tools-cs4/app/index.jsx
new file mode 100644
index 000000000..1388651d9
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs4/app/index.jsx
@@ -0,0 +1,35 @@
+import * as React from 'react';
+import * as ReactDOM from 'react-dom';
+import {
+ DiagramTools,
+ DiagramComponent,
+} from '@syncfusion/ej2-react-diagrams';
+let diagramInstance;
+function App() {
+ return (
+ (diagramInstance = diagram)}
+ width={700}
+ height={700}
+ created={() => {
+ //JSON to create a Connector
+ let connectors = {
+ id: 'connector1',
+ type: 'Straight',
+ segments: [
+ {
+ type: 'polyline',
+ },
+ ],
+ };
+ diagramInstance.drawingObject = connectors;
+ //To draw an object once, activate draw once
+ diagramInstance.tool = DiagramTools.ContinuousDraw;
+ diagramInstance.dataBind();
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs4/app/index.tsx b/ej2-react/code-snippet/diagram/Tools/tools-cs4/app/index.tsx
new file mode 100644
index 000000000..81d7c2915
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs4/app/index.tsx
@@ -0,0 +1,36 @@
+import * as React from 'react';
+import * as ReactDOM from 'react-dom';
+import {
+ ConnectorModel,
+ DiagramTools,
+ DiagramComponent,
+} from '@syncfusion/ej2-react-diagrams';
+let diagramInstance;
+function App() {
+ return (
+ (diagramInstance = diagram)}
+ width={700}
+ height={700}
+ created={() => {
+ //JSON to create a Connector
+ let connectors: ConnectorModel = {
+ id: 'connector1',
+ type: 'Straight',
+ segments: [
+ {
+ type: 'polyline',
+ },
+ ],
+ };
+ diagramInstance.drawingObject = connectors;
+ //To draw an object once, activate draw once
+ diagramInstance.tool = DiagramTools.ContinuousDraw;
+ diagramInstance.dataBind();
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs4/index.html b/ej2-react/code-snippet/diagram/Tools/tools-cs4/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs4/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs4/systemjs.config.js b/ej2-react/code-snippet/diagram/Tools/tools-cs4/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs4/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs5/app/index.jsx b/ej2-react/code-snippet/diagram/Tools/tools-cs5/app/index.jsx
new file mode 100644
index 000000000..6af346e1c
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs5/app/index.jsx
@@ -0,0 +1,33 @@
+import * as React from 'react';
+import * as ReactDOM from 'react-dom';
+import {
+ DiagramTools,
+ DiagramComponent,
+} from '@syncfusion/ej2-react-diagrams';
+let diagramInstance;
+function App() {
+ return (
+ (diagramInstance = diagram)}
+ width={700}
+ height={700}
+ created={() => {
+ let drawingshape = {
+ type: 'Basic',
+ shape: 'Polygon',
+ };
+ //JSON to create a polygon
+ let node = {
+ shape: drawingshape,
+ };
+ diagramInstance.drawingObject = node;
+ //To draw an object once, activate draw once
+ diagramInstance.tool = DiagramTools.DrawOnce;
+ diagramInstance.dataBind();
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs5/app/index.tsx b/ej2-react/code-snippet/diagram/Tools/tools-cs5/app/index.tsx
new file mode 100644
index 000000000..f88367fae
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs5/app/index.tsx
@@ -0,0 +1,34 @@
+import * as React from 'react';
+import * as ReactDOM from 'react-dom';
+import {
+ BasicShapeModel,
+ DiagramTools,
+ DiagramComponent,
+} from '@syncfusion/ej2-react-diagrams';
+let diagramInstance;
+function App() {
+ return (
+ (diagramInstance = diagram)}
+ width={700}
+ height={700}
+ created={() => {
+ let drawingshape: BasicShapeModel = {
+ type: 'Basic',
+ shape: 'Polygon',
+ };
+ //JSON to create a polygon
+ let node = {
+ shape: drawingshape,
+ };
+ diagramInstance.drawingObject = node;
+ //To draw an object once, activate draw once
+ diagramInstance.tool = DiagramTools.DrawOnce;
+ diagramInstance.dataBind();
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs5/index.html b/ej2-react/code-snippet/diagram/Tools/tools-cs5/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs5/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs5/systemjs.config.js b/ej2-react/code-snippet/diagram/Tools/tools-cs5/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs5/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs6/app/index.jsx b/ej2-react/code-snippet/diagram/Tools/tools-cs6/app/index.jsx
new file mode 100644
index 000000000..b3e112068
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs6/app/index.jsx
@@ -0,0 +1,39 @@
+import * as React from 'react';
+import * as ReactDOM from 'react-dom';
+import {
+ DiagramTools,
+ DiagramComponent,
+} from '@syncfusion/ej2-react-diagrams';
+let diagramInstance;
+function App() {
+ return (
+ (diagramInstance = diagram)}
+ width={700}
+ height={700}
+ created={() => {
+ let connector = {
+ id: 'connector1',
+ type: 'Polyline',
+ };
+ diagramInstance.drawingObject = connector;
+ //To draw an object once, activate draw once
+ diagramInstance.tool = DiagramTools.DrawOnce;
+ diagramInstance.dataBind();
+ }}
+ //customize the appearance of the shape
+ getNodeDefaults={(obj, diagramInstance) => {
+ obj.borderWidth = 1;
+ obj.style = {
+ fill: '#6BA5D7',
+ strokeWidth: 2,
+ strokeColor: '#6BA5D7',
+ };
+ return obj;
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs6/app/index.tsx b/ej2-react/code-snippet/diagram/Tools/tools-cs6/app/index.tsx
new file mode 100644
index 000000000..a44459adf
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs6/app/index.tsx
@@ -0,0 +1,42 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ ConnectorModel,
+ DiagramTools,
+ DiagramComponent
+} from "@syncfusion/ej2-react-diagrams";
+let diagramInstance: DiagramComponent;
+function App() {
+ return (
+ (diagramInstance = diagram)}
+ width={700}
+ height={700}
+ created = {
+ () => {
+ let connector: ConnectorModel = {
+ id: 'connector1',
+ type: 'Polyline'
+ };
+ diagramInstance.drawingObject = connector;
+ //To draw an object once, activate draw once
+ diagramInstance.tool = DiagramTools.DrawOnce;
+ diagramInstance.dataBind();
+ }
+ }
+ //customize the appearance of the shape
+ getNodeDefaults={(obj, diagramInstance) => {
+ obj.borderWidth = 1;
+ obj.style = {
+ fill: '#6BA5D7',
+ strokeWidth: 2,
+ strokeColor: '#6BA5D7',
+ };
+ return obj;
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs6/index.html b/ej2-react/code-snippet/diagram/Tools/tools-cs6/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs6/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs6/systemjs.config.js b/ej2-react/code-snippet/diagram/Tools/tools-cs6/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs6/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs7/app/index.jsx b/ej2-react/code-snippet/diagram/Tools/tools-cs7/app/index.jsx
new file mode 100644
index 000000000..88aa3e856
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs7/app/index.jsx
@@ -0,0 +1,27 @@
+import * as React from 'react';
+import * as ReactDOM from 'react-dom';
+import { DiagramTools, DiagramComponent } from '@syncfusion/ej2-react-diagrams';
+let diagramInstance;
+function App() {
+ return (
+ (diagramInstance = diagram)}
+ width={700}
+ height={700}
+ created={() => {
+ //JSON to create a Connector
+ let connectors = {
+ id: 'connector1',
+ type: 'Freehand',
+ };
+ diagramInstance.drawingObject = connectors;
+ //To draw an object once, activate draw once
+ diagramInstance.tool = DiagramTools.DrawOnce;
+ diagramInstance.dataBind();
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs7/app/index.tsx b/ej2-react/code-snippet/diagram/Tools/tools-cs7/app/index.tsx
new file mode 100644
index 000000000..615c6f21d
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs7/app/index.tsx
@@ -0,0 +1,31 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ ConnectorModel,
+ DiagramTools,
+ DiagramComponent
+} from "@syncfusion/ej2-react-diagrams";
+let diagramInstance: DiagramComponent;
+function App() {
+ return (
+ (diagramInstance = diagram)}
+ width={700}
+ height={700}
+ created={() => {
+ //JSON to create a Connector
+ let connectors: ConnectorModel = {
+ id: 'connector1',
+ type: 'Freehand',
+ };
+ diagramInstance.drawingObject = connectors;
+ //To draw an object once, activate draw once
+ diagramInstance.tool = DiagramTools.DrawOnce;
+ diagramInstance.dataBind();
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs7/index.html b/ej2-react/code-snippet/diagram/Tools/tools-cs7/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs7/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs7/systemjs.config.js b/ej2-react/code-snippet/diagram/Tools/tools-cs7/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs7/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs8/app/index.jsx b/ej2-react/code-snippet/diagram/Tools/tools-cs8/app/index.jsx
new file mode 100644
index 000000000..1c0d9c748
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs8/app/index.jsx
@@ -0,0 +1,76 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ DiagramTools,
+} from "@syncfusion/ej2-react-diagrams";
+let diagramInstance;
+let nodes = [{
+ id: 'Start',
+ width: 140,
+ height: 50,
+ offsetX: 300,
+ offsetY: 50,
+ annotations: [{
+ id: 'label1',
+ content: 'Start'
+ }],
+ shape: {
+ type: 'Flow',
+ shape: 'Terminator'
+ }
+ },
+ {
+ id: 'Init',
+ width: 140,
+ height: 50,
+ offsetX: 300,
+ offsetY: 140,
+ annotations: [{
+ id: 'label2',
+ content: 'End'
+ }],
+ shape: {
+ type: 'Flow',
+ shape: 'Process'
+ },
+ annotations: [{
+ content: 'var i = 0;'
+ }]
+ }
+];
+let connectors = [{
+ // Name of the connector
+ id: "connector1",
+ style: {
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ strokeWidth: 2
+ },
+ targetDecorator: {
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: '#6BA5D7'
+ }
+ },
+ // ID of the source and target nodes
+ sourceID: "Start",
+ targetID: "Init",
+ connectorSpacing: 7,
+ type: 'Orthogonal'
+}];
+function App() {
+ return (
+ (diagramInstance = diagram)}
+ width={700}
+ height={700}
+ nodes={nodes}
+ connectors={connectors}
+ tool={DiagramTools.DrawOnce | DiagramTools.ZoomPan}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs8/app/index.tsx b/ej2-react/code-snippet/diagram/Tools/tools-cs8/app/index.tsx
new file mode 100644
index 000000000..51ed45557
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs8/app/index.tsx
@@ -0,0 +1,78 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ DiagramTools,
+ ConnectorModel,
+ NodeModel,
+} from "@syncfusion/ej2-react-diagrams";
+let diagramInstance: DiagramComponent;
+let nodes: NodeModel[] = [{
+ id: 'Start',
+ width: 140,
+ height: 50,
+ offsetX: 300,
+ offsetY: 50,
+ annotations: [{
+ id: 'label1',
+ content: 'Start'
+ }],
+ shape: {
+ type: 'Flow',
+ shape: 'Terminator'
+ }
+ },
+ {
+ id: 'Init',
+ width: 140,
+ height: 50,
+ offsetX: 300,
+ offsetY: 140,
+ annotations: [{
+ id: 'label2',
+ content: 'End'
+ }],
+ shape: {
+ type: 'Flow',
+ shape: 'Process'
+ },
+ annotations: [{
+ content: 'var i = 0;'
+ }]
+ }
+];
+let connectors: ConnectorModel[] = [{
+ // Name of the connector
+ id: "connector1",
+ style: {
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ strokeWidth: 2
+ },
+ targetDecorator: {
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: '#6BA5D7'
+ }
+ },
+ // ID of the source and target nodes
+ sourceID: "Start",
+ targetID: "Init",
+ connectorSpacing: 7,
+ type: 'Orthogonal'
+}];
+function App() {
+ return (
+ (diagramInstance = diagram)}
+ width={700}
+ height={700}
+ nodes={nodes}
+ connectors={connectors}
+ tool={DiagramTools.DrawOnce | DiagramTools.ZoomPan}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs8/index.html b/ej2-react/code-snippet/diagram/Tools/tools-cs8/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs8/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs8/systemjs.config.js b/ej2-react/code-snippet/diagram/Tools/tools-cs8/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs8/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs9/app/index.jsx b/ej2-react/code-snippet/diagram/Tools/tools-cs9/app/index.jsx
new file mode 100644
index 000000000..1c0d9c748
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs9/app/index.jsx
@@ -0,0 +1,76 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ DiagramTools,
+} from "@syncfusion/ej2-react-diagrams";
+let diagramInstance;
+let nodes = [{
+ id: 'Start',
+ width: 140,
+ height: 50,
+ offsetX: 300,
+ offsetY: 50,
+ annotations: [{
+ id: 'label1',
+ content: 'Start'
+ }],
+ shape: {
+ type: 'Flow',
+ shape: 'Terminator'
+ }
+ },
+ {
+ id: 'Init',
+ width: 140,
+ height: 50,
+ offsetX: 300,
+ offsetY: 140,
+ annotations: [{
+ id: 'label2',
+ content: 'End'
+ }],
+ shape: {
+ type: 'Flow',
+ shape: 'Process'
+ },
+ annotations: [{
+ content: 'var i = 0;'
+ }]
+ }
+];
+let connectors = [{
+ // Name of the connector
+ id: "connector1",
+ style: {
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ strokeWidth: 2
+ },
+ targetDecorator: {
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: '#6BA5D7'
+ }
+ },
+ // ID of the source and target nodes
+ sourceID: "Start",
+ targetID: "Init",
+ connectorSpacing: 7,
+ type: 'Orthogonal'
+}];
+function App() {
+ return (
+ (diagramInstance = diagram)}
+ width={700}
+ height={700}
+ nodes={nodes}
+ connectors={connectors}
+ tool={DiagramTools.DrawOnce | DiagramTools.ZoomPan}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs9/app/index.tsx b/ej2-react/code-snippet/diagram/Tools/tools-cs9/app/index.tsx
new file mode 100644
index 000000000..887a3d758
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs9/app/index.tsx
@@ -0,0 +1,41 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ NodeModel,
+ DiagramTools,
+ DiagramComponent,
+ BasicShapeModel,
+ IElementDrawEventArgs
+} from "@syncfusion/ej2-react-diagrams";
+let diagramInstance: DiagramComponent;
+function App() {
+ return (
+ (diagramInstance = diagram)}
+ width={700}
+ height={700}
+ created={() => {
+ //JSON to create a rectangle
+ let drawingshape: BasicShapeModel = {
+ type: 'Basic',
+ shape: 'Rectangle',
+ };
+ let node: NodeModel = {
+ shape: drawingshape,
+ };
+ diagramInstance.drawingObject = node;
+ //To draw an object once, activate draw once
+ diagramInstance.tool = DiagramTools.DrawOnce;
+ diagramInstance.dataBind();
+ }}
+ elementDraw={(args: IElementDrawEventArgs) => {
+ if(args.state === 'Completed'){
+ alert('Element Draw Rectangle');
+ }
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs9/index.html b/ej2-react/code-snippet/diagram/Tools/tools-cs9/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs9/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/tools-cs9/systemjs.config.js b/ej2-react/code-snippet/diagram/Tools/tools-cs9/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/tools-cs9/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/Tools/zoomOptions-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/Tools/zoomOptions-cs1/app/index.jsx
new file mode 100644
index 000000000..b547c7a51
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/zoomOptions-cs1/app/index.jsx
@@ -0,0 +1,36 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+let diagramInstance;
+let node = [{
+ offsetX: 300,
+ offsetY: 300
+}]
+function App() {
+ const zoomIn = () => {
+ let zoomOptions = {
+ type: 'ZoomIn',
+ zoomFactor: 0.2,
+ focusPoint: { x: 0.5, y: 0.5 },
+ };
+ diagramInstance.zoomTo(zoomOptions);
+ diagramInstance.dataBind();
+ };
+ const zoomOut = () => {
+ let zoomOptions = {
+ type: 'ZoomOut',
+ zoomFactor: 0.2,
+ focusPoint: { x: 0.5, y: 0.5 },
+ };
+ diagramInstance.zoomTo(zoomOptions);
+ diagramInstance.dataBind();
+ };
+ return (
+
+ Zoom In
+ Zoom Out
+ (diagramInstance = diagram)} width={700} height={700} nodes={node} rulerSettings={{ showRulers: true }} scrollSettings={{ scrollLimit: 'Infinity' }}/>
+
);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/Tools/zoomOptions-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/Tools/zoomOptions-cs1/app/index.tsx
new file mode 100644
index 000000000..b1b8f22af
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/zoomOptions-cs1/app/index.tsx
@@ -0,0 +1,54 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ NodeModel,
+ DiagramComponent,
+ ZoomOptions
+} from "@syncfusion/ej2-react-diagrams";
+let diagramInstance: DiagramComponent;
+let node: NodeModel[] = [{
+ offsetX: 300,
+ offsetY: 300,
+}];
+function App() {
+ const zoomIn = () => {
+ let zoomOptions: ZoomOptions = {
+ type: 'ZoomIn',
+ zoomFactor: 0.2,
+ focusPoint: { x: 0.5, y: 0.5 },
+ };
+ diagramInstance.zoomTo(zoomOptions);
+ diagramInstance.dataBind();
+ };
+const zoomOut = () => {
+ let zoomOptions: ZoomOptions = {
+ type: 'ZoomOut',
+ zoomFactor: 0.2,
+ focusPoint: { x: 0.5, y: 0.5 },
+ };
+ diagramInstance.zoomTo(zoomOptions);
+ diagramInstance.dataBind();
+ };
+ return (
+
+ Zoom In
+ Zoom Out
+ (diagramInstance = diagram)}
+ width={700}
+ height={700}
+ nodes={node}
+ rulerSettings={{ showRulers: true }}
+ scrollSettings={{ scrollLimit: 'Infinity' }}
+ />
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
+
diff --git a/ej2-react/code-snippet/diagram/Tools/zoomOptions-cs1/index.html b/ej2-react/code-snippet/diagram/Tools/zoomOptions-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/zoomOptions-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/Tools/zoomOptions-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/Tools/zoomOptions-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/Tools/zoomOptions-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Alignment-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Alignment-cs1/app/index.jsx
index cf397165c..3b1af7a3d 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Alignment-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Alignment-cs1/app/index.jsx
@@ -9,10 +9,6 @@ let node = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the annotation for the node
annotations: [{
content: 'Annotation',
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Alignment-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Alignment-cs1/app/index.tsx
index 9b8511a3f..3ba05c4cb 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Alignment-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Alignment-cs1/app/index.tsx
@@ -3,10 +3,8 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
- NodeModel,
- ShapeAnnotationModel
+ NodeModel
} from "@syncfusion/ej2-react-diagrams";
// A node is created and stored in nodes array.
let node: NodeModel[] = [{
@@ -16,10 +14,6 @@ let node: NodeModel[] = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the annotation for the node
annotations: [{
content: 'Annotation',
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Alignment-cs1/index.html b/ej2-react/code-snippet/diagram/annotations/es5Alignment-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Alignment-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/annotations/es5Alignment-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Alignment-cs2/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Alignment-cs2/app/index.jsx
new file mode 100644
index 000000000..86522dd88
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Alignment-cs2/app/index.jsx
@@ -0,0 +1,33 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+let diagramInstance;
+// A node is created and stored in nodes array.
+let node = [{
+ // Position of the node
+ offsetX: 250,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the node
+ annotations: [{
+ content: 'Annotation',
+ }]
+ }];
+// initialize Diagram component
+function App() {
+ const updateAlignment = () => {
+ //Method to update alignment at run time
+ diagramInstance.nodes[0].annotations[0].horizontalAlignment = 'Right';
+ diagramInstance.nodes[0].annotations[0].verticalAlignment = 'Bottom';
+ };
+ return (
+
+ Update Alignment
+ (diagramInstance = diagram)} width={'100%'} height={'600px'} nodes={node}/>
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Alignment-cs2/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Alignment-cs2/app/index.tsx
new file mode 100644
index 000000000..e15d26551
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Alignment-cs2/app/index.tsx
@@ -0,0 +1,41 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ NodeModel
+} from "@syncfusion/ej2-react-diagrams";
+let diagramInstance: DiagramComponent;
+// A node is created and stored in nodes array.
+let node: NodeModel[] = [{
+ // Position of the node
+ offsetX: 250,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the node
+ annotations: [{
+ content: 'Annotation',
+ }]
+}];
+// initialize Diagram component
+function App() {
+ const updateAlignment = () => {
+ //Method to update alignment at run time
+ diagramInstance.nodes[0].annotations[0].horizontalAlignment = 'Right';
+ diagramInstance.nodes[0].annotations[0].verticalAlignment = 'Bottom';
+ };
+ return (
+
+ Update Alignment
+ (diagramInstance = diagram)} width={'100%'} height={'600px'} nodes={node}/>
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Alignment-cs2/index.html b/ej2-react/code-snippet/diagram/annotations/es5Alignment-cs2/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Alignment-cs2/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Alignment-cs2/systemjs.config.js b/ej2-react/code-snippet/diagram/annotations/es5Alignment-cs2/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Alignment-cs2/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Annotation-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Annotation-cs1/app/index.jsx
index ddd19625f..95911707a 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Annotation-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Annotation-cs1/app/index.jsx
@@ -1,7 +1,6 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
-let diagramInstance;
// A node is created and stored in nodes array.
let node = [{
// Position of the node
@@ -10,10 +9,6 @@ let node = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the Annotation for the Node
annotations: [{
// Sets the text to be displayed
@@ -30,9 +25,6 @@ let connector = [{
y: 300
},
type: 'Orthogonal',
- style: {
- strokeColor: '#6BA5D7'
- },
// Sets the Annotation for the Connector
annotations: [{
// Sets the text to be displayed
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Annotation-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Annotation-cs1/app/index.tsx
index 8669317bb..c125688fa 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Annotation-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Annotation-cs1/app/index.tsx
@@ -3,11 +3,9 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
NodeModel, ConnectorModel
} from "@syncfusion/ej2-react-diagrams";
-let diagramInstance: DiagramComponent;
// A node is created and stored in nodes array.
let node: NodeModel[] = [{
// Position of the node
@@ -16,10 +14,6 @@ let node: NodeModel[] = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the Annotation for the Node
annotations: [{
// Sets the text to be displayed
@@ -36,9 +30,6 @@ let connector: ConnectorModel[] = [{
y: 300
},
type: 'Orthogonal',
- style: {
- strokeColor: '#6BA5D7'
- },
// Sets the Annotation for the Connector
annotations: [{
// Sets the text to be displayed
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Annotation-cs1/index.html b/ej2-react/code-snippet/diagram/annotations/es5Annotation-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Annotation-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/annotations/es5Annotation-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/annotations/es5AnnotationFunctionaltemplate-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5AnnotationFunctionaltemplate-cs1/app/index.jsx
new file mode 100644
index 000000000..dd5e1849b
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5AnnotationFunctionaltemplate-cs1/app/index.jsx
@@ -0,0 +1,47 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+// A node is created and stored in nodes array.
+let node = [{
+ id: 'node1',
+ // Position of the node
+ offsetX: 100,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the Node
+ annotations: [{
+ id: 'Node', width: 100, height: 50
+ }]
+}];
+let connector = [{
+ id: 'connector1',
+ sourcePoint: {
+ x: 300,
+ y: 100
+ },
+ targetPoint: {
+ x: 400,
+ y: 300
+ },
+ type: 'Orthogonal',
+ // Sets the Annotation for the Connector
+ annotations: [{
+ // Set an template for annotation
+ id: 'Connector', height: 50, width: 100,
+ }]
+}];
+function diagramTemplate(props) {
+ return (
+
+
);
+}
+// initialize Diagram component
+function App() {
+ return (
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/annotations/es5AnnotationFunctionaltemplate-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5AnnotationFunctionaltemplate-cs1/app/index.tsx
new file mode 100644
index 000000000..70a7a7430
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5AnnotationFunctionaltemplate-cs1/app/index.tsx
@@ -0,0 +1,56 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ NodeModel,
+ ConnectorModel
+} from "@syncfusion/ej2-react-diagrams";
+// A node is created and stored in nodes array.
+let node: NodeModel[] = [{
+ id: 'node1',
+ // Position of the node
+ offsetX: 100,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the Node
+ annotations: [{
+ id: 'Node', width: 100, height: 50
+ }]
+}];
+let connector: ConnectorModel[] = [{
+ id: 'connector1',
+ sourcePoint: {
+ x: 300,
+ y: 100
+ },
+ targetPoint: {
+ x: 400,
+ y: 300
+ },
+ type: 'Orthogonal',
+ // Sets the Annotation for the Connector
+ annotations: [{
+ // Set an template for annotation
+ id: 'Connector', height: 50, width: 100,
+ }]
+}];
+function diagramTemplate(props: any) {
+ return (
+
+
);
+}
+// initialize Diagram component
+function App() {
+ return (
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5AnnotationFunctionaltemplate-cs1/index.html b/ej2-react/code-snippet/diagram/annotations/es5AnnotationFunctionaltemplate-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5AnnotationFunctionaltemplate-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/annotations/es5AnnotationFunctionaltemplate-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/annotations/es5AnnotationFunctionaltemplate-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5AnnotationFunctionaltemplate-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Annotationtemplate-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Annotationtemplate-cs1/app/index.jsx
new file mode 100644
index 000000000..bda04abf2
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Annotationtemplate-cs1/app/index.jsx
@@ -0,0 +1,48 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+// A node is created and stored in nodes array.
+let node = [{
+ id: 'node1',
+ // Position of the node
+ offsetX: 100,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the Node
+ annotations: [{
+ id: 'Node', width: 100, height: 50
+ }]
+ }];
+let connector = [{
+ id: 'connector1',
+ sourcePoint: {
+ x: 300,
+ y: 100
+ },
+ targetPoint: {
+ x: 400,
+ y: 300
+ },
+ type: 'Orthogonal',
+ // Sets the Annotation for the Connector
+ annotations: [{
+ // Set an template for annotation
+ id: 'Connector', height: 50, width: 100,
+ }]
+ }];
+// initialize Diagram component
+function App() {
+ return (
+
+
+
+
);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Annotationtemplate-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Annotationtemplate-cs1/app/index.tsx
new file mode 100644
index 000000000..bd726e80a
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Annotationtemplate-cs1/app/index.tsx
@@ -0,0 +1,58 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ NodeModel,
+ ConnectorModel
+} from "@syncfusion/ej2-react-diagrams";
+// A node is created and stored in nodes array.
+let node: NodeModel[] = [{
+ id: 'node1',
+ // Position of the node
+ offsetX: 100,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the Node
+ annotations: [{
+ id: 'Node', width: 100, height: 50
+ }]
+}];
+let connector: ConnectorModel[] = [{
+ id: 'connector1',
+ sourcePoint: {
+ x: 300,
+ y: 100
+ },
+ targetPoint: {
+ x: 400,
+ y: 300
+ },
+ type: 'Orthogonal',
+ // Sets the Annotation for the Connector
+ annotations: [{
+ // Set an template for annotation
+ id: 'Connector', height: 50, width: 100,
+ }]
+}];
+// initialize Diagram component
+function App() {
+ return (
+
+
+
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Annotationtemplate-cs1/index.html b/ej2-react/code-snippet/diagram/annotations/es5Annotationtemplate-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Annotationtemplate-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Annotationtemplate-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/annotations/es5Annotationtemplate-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Annotationtemplate-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Appear-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Appear-cs1/app/index.jsx
index c54cc692c..bae2b8a3d 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Appear-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Appear-cs1/app/index.jsx
@@ -5,27 +5,39 @@ import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
let node = [{
id: 'node1',
// Position of the node
- offsetX: 100,
- offsetY: 100,
+ offsetX: 250,
+ offsetY: 250,
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the annotation for the node
annotations: [{
- content: 'Annotation Text',
- // Sets the style for the text to be displayed
- style: {
- color: 'black',
- bold: true,
- italic: true,
- fontSize: 12,
- fontFamily: 'TimesNewRoman'
- }
- }]
+ content: 'Annotation visibility true',
+ style: {
+ color: 'blue',
+ bold: true,
+ italic: true,
+ fontSize: 15,
+ fontFamily: 'TimesNewRoman',
+ fill: 'orange',
+ opacity: 0.6,
+ },
+ visibility: true,
+ },
+ {
+ content: 'Annotation visibility false',
+ offset: { x: 0.5, y: 1 },
+ style: {
+ color: 'blue',
+ bold: true,
+ italic: true,
+ fontSize: 15,
+ fontFamily: 'TimesNewRoman',
+ fill: 'orange',
+ opacity: 0.6,
+ },
+ visibility: false,
+ }]
}];
// initialize Diagram component
function App() {
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Appear-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Appear-cs1/app/index.tsx
index afae4247c..e6683a34b 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Appear-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Appear-cs1/app/index.tsx
@@ -3,34 +3,45 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
NodeModel
} from "@syncfusion/ej2-react-diagrams";
// A node is created and stored in nodes array.
let node: NodeModel[] = [{
- id: 'node1',
- // Position of the node
- offsetX: 100,
- offsetY: 100,
- // Size of the node
- width: 100,
- height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
+ id: 'node1',
+ // Position of the node
+ offsetX: 250,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the node
+ annotations: [{
+ content: 'Annotation visibility true',
+ style: {
+ color: 'blue',
+ bold: true,
+ italic: true,
+ fontSize: 15,
+ fontFamily: 'TimesNewRoman',
+ fill: 'orange',
+ opacity: 0.6,
+ },
+ visibility: true,
},
- // Sets the annotation for the node
- annotations: [{
- content: 'Annotation Text',
- // Sets the style for the text to be displayed
- style: {
- color: 'black',
- bold: true,
- italic: true,
- fontSize: 12,
- fontFamily: 'TimesNewRoman'
- }
+ {
+ content: 'Annotation visibility false',
+ offset: { x: 0.5, y: 1 },
+ style: {
+ color: 'blue',
+ bold: true,
+ italic: true,
+ fontSize: 15,
+ fontFamily: 'TimesNewRoman',
+ fill: 'orange',
+ opacity: 0.6,
+ },
+ visibility: false,
}]
}];
// initialize Diagram component
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Appear-cs1/index.html b/ej2-react/code-snippet/diagram/annotations/es5Appear-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Appear-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/annotations/es5Appear-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Displacement-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Displacement-cs1/app/index.jsx
new file mode 100644
index 000000000..4916dbb92
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Displacement-cs1/app/index.jsx
@@ -0,0 +1,16 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+// A node is created and stored in nodes array.
+let connector = [{
+ sourcePoint: { x: 200, y: 100 },
+ targetPoint: { x: 500, y: 100 },
+ //Path annotation offset
+ annotations: [{ content: 'annotation', alignment: 'After', displacement: { x: 50, y: 50 }, }],
+ }];
+// initialize Diagram component
+function App() {
+ return ();
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Displacement-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Displacement-cs1/app/index.tsx
new file mode 100644
index 000000000..0d7911633
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Displacement-cs1/app/index.tsx
@@ -0,0 +1,31 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ ConnectorModel
+} from "@syncfusion/ej2-react-diagrams";
+// A node is created and stored in nodes array.
+let connector: ConnectorModel[] = [{
+ sourcePoint: { x: 200, y: 100 },
+ targetPoint: { x: 500, y: 100 },
+ //Path annotation offset
+ annotations: [{ content: 'annotation', alignment: 'After', displacement: { x: 50, y: 50 }, }],
+}];
+// initialize Diagram component
+function App() {
+ return (
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Displacement-cs1/index.html b/ej2-react/code-snippet/diagram/annotations/es5Displacement-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Displacement-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Displacement-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/annotations/es5Displacement-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Displacement-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Event-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Event-cs1/app/index.jsx
new file mode 100644
index 000000000..26baaf19d
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Event-cs1/app/index.jsx
@@ -0,0 +1,35 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+let diagramInstance;
+// A node is created and stored in nodes array.
+let node = [{
+ // Position of the node
+ offsetX: 250,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the node
+ annotations: [{
+ content: 'Annotation',
+ }]
+}];
+let color = 'pink';
+// initialize Diagram component
+function App() {
+ const keydown=() => {
+ if (color === 'pink') {
+ color = 'yellow';
+ diagramInstance.nodes[0].style.fill = 'red';
+ diagramInstance.dataBind();
+ } else {
+ color = 'pink';
+ diagramInstance.nodes[0].style.fill = 'pink';
+ diagramInstance.dataBind();
+ }
+ }
+ return ( (diagramInstance = diagram)} width={'100%'} height={'600px'} nodes={node} keyDown={keydown}/>);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Event-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Event-cs1/app/index.tsx
new file mode 100644
index 000000000..d26193eac
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Event-cs1/app/index.tsx
@@ -0,0 +1,43 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ NodeModel
+} from "@syncfusion/ej2-react-diagrams";
+let diagramInstance: DiagramComponent;
+// A node is created and stored in nodes array.
+let node: NodeModel[] = [{
+ // Position of the node
+ offsetX: 250,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the node
+ annotations: [{
+ content: 'Annotation',
+ }]
+}];
+let color = 'pink';
+// initialize Diagram component
+function App() {
+ const keydown=() => {
+ if (color === 'pink') {
+ color = 'yellow';
+ diagramInstance.nodes[0].style.fill = 'red';
+ diagramInstance.dataBind();
+ } else {
+ color = 'pink';
+ diagramInstance.nodes[0].style.fill = 'pink';
+ diagramInstance.dataBind();
+ }
+ }
+ return ( (diagramInstance = diagram)} width={'100%'} height={'600px'} nodes={node} keyDown={keydown}/>);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Event-cs1/index.html b/ej2-react/code-snippet/diagram/annotations/es5Event-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Event-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Event-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/annotations/es5Event-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Event-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Event-cs2/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Event-cs2/app/index.jsx
new file mode 100644
index 000000000..c79a09302
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Event-cs2/app/index.jsx
@@ -0,0 +1,35 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+let diagramInstance;
+// A node is created and stored in nodes array.
+let node = [{
+ // Position of the node
+ offsetX: 250,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the node
+ annotations: [{
+ content: 'Annotation',
+ }]
+}];
+let color = 'pink';
+// initialize Diagram component
+function App() {
+ const keyup=() => {
+ if (color === 'pink') {
+ color = 'yellow';
+ diagramInstance.nodes[0].style.fill = 'red';
+ diagramInstance.dataBind();
+ } else {
+ color = 'pink';
+ diagramInstance.nodes[0].style.fill = 'pink';
+ diagramInstance.dataBind();
+ }
+ }
+ return ( (diagramInstance = diagram)} width={'100%'} height={'600px'} nodes={node} keyUp={keyup}/>);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Event-cs2/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Event-cs2/app/index.tsx
new file mode 100644
index 000000000..85ba43359
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Event-cs2/app/index.tsx
@@ -0,0 +1,43 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ NodeModel
+} from "@syncfusion/ej2-react-diagrams";
+let diagramInstance: DiagramComponent;
+// A node is created and stored in nodes array.
+let node: NodeModel[] = [{
+ // Position of the node
+ offsetX: 250,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the node
+ annotations: [{
+ content: 'Annotation',
+ }]
+}];
+let color = 'pink';
+// initialize Diagram component
+function App() {
+ const keyup=() => {
+ if (color === 'pink') {
+ color = 'yellow';
+ diagramInstance.nodes[0].style.fill = 'red';
+ diagramInstance.dataBind();
+ } else {
+ color = 'pink';
+ diagramInstance.nodes[0].style.fill = 'pink';
+ diagramInstance.dataBind();
+ }
+ }
+ return ( (diagramInstance = diagram)} width={'100%'} height={'600px'} nodes={node} keyUp={keyup}/>);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Event-cs2/index.html b/ej2-react/code-snippet/diagram/annotations/es5Event-cs2/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Event-cs2/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Event-cs2/systemjs.config.js b/ej2-react/code-snippet/diagram/annotations/es5Event-cs2/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Event-cs2/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Event-cs3/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Event-cs3/app/index.jsx
new file mode 100644
index 000000000..36e3ec37a
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Event-cs3/app/index.jsx
@@ -0,0 +1,25 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+// A node is created and stored in nodes array.
+let node = [{
+ // Position of the node
+ offsetX: 250,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the node
+ annotations: [{
+ content: 'Annotation',
+ }]
+}];
+// initialize Diagram component
+function App() {
+ const doubleClick=() => {
+ // Handle double-click event for custom logic
+ }
+ return ();
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Event-cs3/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Event-cs3/app/index.tsx
new file mode 100644
index 000000000..e8acb4695
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Event-cs3/app/index.tsx
@@ -0,0 +1,33 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ NodeModel
+} from "@syncfusion/ej2-react-diagrams";
+// A node is created and stored in nodes array.
+let node: NodeModel[] = [{
+ // Position of the node
+ offsetX: 250,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the node
+ annotations: [{
+ content: 'Annotation',
+ }]
+}];
+// initialize Diagram component
+function App() {
+ const doubleClick=() => {
+ // Handle double-click event for custom logic
+ }
+ return ();
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Event-cs3/index.html b/ej2-react/code-snippet/diagram/annotations/es5Event-cs3/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Event-cs3/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Event-cs3/systemjs.config.js b/ej2-react/code-snippet/diagram/annotations/es5Event-cs3/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Event-cs3/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Event-cs4/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Event-cs4/app/index.jsx
new file mode 100644
index 000000000..4e79e3034
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Event-cs4/app/index.jsx
@@ -0,0 +1,25 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+// A node is created and stored in nodes array.
+let node = [{
+ // Position of the node
+ offsetX: 250,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the node
+ annotations: [{
+ content: 'Annotation',
+ }]
+}];
+// initialize Diagram component
+function App() {
+ const textEdit=() => {
+ // Handle text-edit event for custom logic
+ }
+ return ();
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Event-cs4/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Event-cs4/app/index.tsx
new file mode 100644
index 000000000..4ade3e85d
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Event-cs4/app/index.tsx
@@ -0,0 +1,33 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ NodeModel
+} from "@syncfusion/ej2-react-diagrams";
+// A node is created and stored in nodes array.
+let node: NodeModel[] = [{
+ // Position of the node
+ offsetX: 250,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the node
+ annotations: [{
+ content: 'Annotation',
+ }]
+}];
+// initialize Diagram component
+function App() {
+ const textEdit=() => {
+ // Handle text-edit event for custom logic
+ }
+ return ();
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Event-cs4/index.html b/ej2-react/code-snippet/diagram/annotations/es5Event-cs4/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Event-cs4/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Event-cs4/systemjs.config.js b/ej2-react/code-snippet/diagram/annotations/es5Event-cs4/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Event-cs4/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Functionaltemplate-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Functionaltemplate-cs1/app/index.jsx
new file mode 100644
index 000000000..2b46fb895
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Functionaltemplate-cs1/app/index.jsx
@@ -0,0 +1,49 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+// A node is created and stored in nodes array.
+let node = [{
+ id: 'node1',
+ // Position of the node
+ offsetX: 100,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the Node
+ annotations: [{
+ id: 'Node', width: 100, height: 50
+ }]
+ }];
+let connector = [{
+ id: 'connector1',
+ sourcePoint: {
+ x: 300,
+ y: 100
+ },
+ targetPoint: {
+ x: 400,
+ y: 300
+ },
+ type: 'Orthogonal',
+ // Sets the Annotation for the Connector
+ annotations: [{
+ // Set an template for annotation
+ id: 'Connector', height: 50, width: 100,
+ }]
+ }];
+
+// initialize Diagram component
+function App() {
+ return (
+
+
+
+
);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Functionaltemplate-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Functionaltemplate-cs1/app/index.tsx
new file mode 100644
index 000000000..bd726e80a
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Functionaltemplate-cs1/app/index.tsx
@@ -0,0 +1,58 @@
+
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ NodeModel,
+ ConnectorModel
+} from "@syncfusion/ej2-react-diagrams";
+// A node is created and stored in nodes array.
+let node: NodeModel[] = [{
+ id: 'node1',
+ // Position of the node
+ offsetX: 100,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the Node
+ annotations: [{
+ id: 'Node', width: 100, height: 50
+ }]
+}];
+let connector: ConnectorModel[] = [{
+ id: 'connector1',
+ sourcePoint: {
+ x: 300,
+ y: 100
+ },
+ targetPoint: {
+ x: 400,
+ y: 300
+ },
+ type: 'Orthogonal',
+ // Sets the Annotation for the Connector
+ annotations: [{
+ // Set an template for annotation
+ id: 'Connector', height: 50, width: 100,
+ }]
+}];
+// initialize Diagram component
+function App() {
+ return (
+
+
+
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Functionaltemplate-cs1/index.html b/ej2-react/code-snippet/diagram/annotations/es5Functionaltemplate-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Functionaltemplate-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Functionaltemplate-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/annotations/es5Functionaltemplate-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Functionaltemplate-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Interaction-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Interaction-cs1/app/index.jsx
index 4de33fd97..ab4011347 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Interaction-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Interaction-cs1/app/index.jsx
@@ -10,10 +10,6 @@ let node = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the annotation for the node
annotations: [{
content: 'Annotation Text',
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Interaction-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Interaction-cs1/app/index.tsx
index 2a63bdb5e..c1685c5a5 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Interaction-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Interaction-cs1/app/index.tsx
@@ -3,7 +3,6 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
NodeModel,
AnnotationConstraints
@@ -17,10 +16,6 @@ let node: NodeModel[] = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the annotation for the node
annotations: [{
content: 'Annotation Text',
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Interaction-cs1/index.html b/ej2-react/code-snippet/diagram/annotations/es5Interaction-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Interaction-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/annotations/es5Interaction-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Interaction-cs2/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Interaction-cs2/app/index.jsx
index b5cfe1dc5..8cd20f7b1 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Interaction-cs2/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Interaction-cs2/app/index.jsx
@@ -3,13 +3,13 @@ import * as ReactDOM from "react-dom";
import { DiagramComponent, AnnotationConstraints } from "@syncfusion/ej2-react-diagrams";
// A node is created and stored in nodes array.
let connector = [{
- id: 'connector2',
+ id: 'connector',
type: 'Orthogonal',
- sourcePoint: { x: 300, y: 300 },
- targetPoint: { x: 400, y: 400 },
+ sourcePoint: { x: 200, y: 200 },
+ targetPoint: { x: 300, y: 300 },
annotations: [
{
- content: 'connector1', offset: 0.5,
+ content: 'connector',
//Enables drag constraints for a connector.
constraints: AnnotationConstraints.Interaction | AnnotationConstraints.Drag,
//Set drag limit for a connector annotation.
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Interaction-cs2/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Interaction-cs2/app/index.tsx
index 62a642155..2cfa21c9f 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Interaction-cs2/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Interaction-cs2/app/index.tsx
@@ -3,20 +3,19 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
ConnectorModel,
AnnotationConstraints
} from "@syncfusion/ej2-react-diagrams";
// A node is created and stored in nodes array.
let connector: ConnectorModel[] = [{
- id: 'connector2',
+ id: 'connector',
type: 'Orthogonal',
- sourcePoint: { x: 300, y: 300 },
- targetPoint: { x: 400, y: 400 },
+ sourcePoint: { x: 200, y: 200 },
+ targetPoint: { x: 300, y: 300 },
annotations: [
{
- content: 'connector1', offset:0.5,
+ content: 'connector',
//Enables drag constraints for a connector.
constraints:AnnotationConstraints.Interaction | AnnotationConstraints.Drag,
//Set drag limit for a connector annotation.
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Interaction-cs2/index.html b/ej2-react/code-snippet/diagram/annotations/es5Interaction-cs2/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Interaction-cs2/index.html
+++ b/ej2-react/code-snippet/diagram/annotations/es5Interaction-cs2/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Link-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Link-cs1/app/index.jsx
index 6da10e9b5..3a0b4d28d 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Link-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Link-cs1/app/index.jsx
@@ -3,29 +3,44 @@ import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
// A node is created and stored in nodes array.
let node = [{
- id: 'node1',
- // Position of the node
- offsetX: 100,
- offsetY: 100,
- // Size of the node
- width: 100,
- height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
- // Sets the annotation for the Node
- annotations: [{
- hyperlink: {
- link: 'https://hr.syncfusion.com/home',
- //Set the link to open in the current tab
- hyperlinkOpenState: 'CurrentTab'
- }
- }]
+ id: 'node1',
+ // Position of the node
+ offsetX: 100,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the Node
+ annotations: [{
+ hyperlink: {
+ link: 'https://google.com',
+ //Set the link to open in the current tab
+ hyperlinkOpenState: 'NewWindow'
+ }
+ }]
}];
+ let connector = [
+ {
+ sourcePoint: { x: 300, y: 200 },
+ targetPoint: { x: 500, y: 300 },
+ type: 'Orthogonal',
+ //Path annotation offset
+ annotations: [
+ {
+ hyperlink: {
+ link: 'https://google.com',
+ hyperlinkOpenState: 'NewWindow',
+ content: 'Google',
+ color: 'orange',
+ textDecoration: 'Overline',
+ },
+ },
+ ],
+ },
+ ];
// initialize Diagram component
function App() {
- return ();
+ return ();
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Link-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Link-cs1/app/index.tsx
index 61772deb5..44cf98723 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Link-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Link-cs1/app/index.tsx
@@ -3,9 +3,9 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
- NodeModel
+ NodeModel,
+ ConnectorModel
} from "@syncfusion/ej2-react-diagrams";
// A node is created and stored in nodes array.
let node: NodeModel[] = [{
@@ -16,19 +16,34 @@ let node: NodeModel[] = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the annotation for the Node
annotations: [{
hyperlink: {
- link: 'https://hr.syncfusion.com/home',
+ link: 'https://google.com',
//Set the link to open in the current tab
- hyperlinkOpenState:'CurrentTab'
+ hyperlinkOpenState:'NewWindow'
}
}]
}];
+let connector: ConnectorModel[] = [
+ {
+ sourcePoint: { x: 300, y: 200 },
+ targetPoint: { x: 500, y: 300 },
+ type: 'Orthogonal',
+ //Path annotation offset
+ annotations: [
+ {
+ hyperlink: {
+ link: 'https://google.com',
+ hyperlinkOpenState: 'NewWindow',
+ content: 'Google',
+ color: 'orange',
+ textDecoration: 'Overline',
+ },
+ },
+ ],
+ },
+];
// initialize Diagram component
function App() {
return (
@@ -37,6 +52,7 @@ function App() {
width={'100%'}
height={'600px'}
nodes={node}
+ connectors={connector}
/>
);
}
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Link-cs1/index.html b/ej2-react/code-snippet/diagram/annotations/es5Link-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Link-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/annotations/es5Link-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Margin-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Margin-cs1/app/index.jsx
index 134a78912..2bfd394f6 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Margin-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Margin-cs1/app/index.jsx
@@ -10,10 +10,6 @@ let node = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the annotation for the connector
annotations: [{
content: 'Task1',
@@ -28,10 +24,25 @@ let node = [{
y: 1
}
}]
- }];
+}];
+let connector = [
+ {
+ sourcePoint: { x: 200, y: 100 },
+ targetPoint: { x: 500, y: 300 },
+ type: 'Orthogonal',
+ //Path annotation offset
+ annotations: [
+ {
+ content: 'annotation',
+ offset: 0.2,
+ margin: { left: 40 },
+ },
+ ],
+ },
+ ];
// initialize Diagram component
function App() {
- return ();
+ return ();
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Margin-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Margin-cs1/app/index.tsx
index 87f6b0a69..344bec890 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Margin-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Margin-cs1/app/index.tsx
@@ -3,38 +3,48 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
NodeModel
} from "@syncfusion/ej2-react-diagrams";
// A node is created and stored in nodes array.
let node: NodeModel[] = [{
- id: 'node1',
- // Position of the node
- offsetX: 100,
- offsetY: 100,
- // Size of the node
- width: 100,
- height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
- // Sets the annotation for the connector
- annotations: [{
- content: 'Task1',
- // Sets the margin for the content
- margin: {
- top: 10
- },
- horizontalAlignment: 'Center',
- verticalAlignment: 'Top',
- offset: {
- x: 0.5,
- y: 1
- }
- }]
+ id: 'node1',
+ // Position of the node
+ offsetX: 100,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the connector
+ annotations: [{
+ content: 'Task1',
+ // Sets the margin for the content
+ margin: {
+ top: 10
+ },
+ horizontalAlignment: 'Center',
+ verticalAlignment: 'Top',
+ offset: {
+ x: 0.5,
+ y: 1
+ }
+ }]
}];
+let connector: ConnectorModel[] = [
+ {
+ sourcePoint: { x: 200, y: 100 },
+ targetPoint: { x: 500, y: 300 },
+ type: 'Orthogonal',
+ //Path annotation offset
+ annotations: [
+ {
+ content: 'annotation',
+ offset: 0.2,
+ margin: { left: 40 },
+ },
+ ],
+ },
+];
// initialize Diagram component
function App() {
return (
@@ -43,6 +53,7 @@ function App() {
width={'100%'}
height={'600px'}
nodes={node}
+ connectors={connector}
/>
);
}
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Margin-cs1/index.html b/ej2-react/code-snippet/diagram/annotations/es5Margin-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Margin-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/annotations/es5Margin-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Multiple-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Multiple-cs1/app/index.jsx
index 018418f30..e3a06bfc3 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Multiple-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Multiple-cs1/app/index.jsx
@@ -10,10 +10,6 @@ let node = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the multiple annotation for the node
annotations: [{
content: 'Left',
@@ -38,9 +34,29 @@ let node = [{
}
]
}];
+ let connector = [{
+ id: 'connector',
+ sourcePoint: { x: 200, y: 200 },
+ targetPoint: { x: 300, y: 300 },
+ // Sets the multiple annotation for the node
+ annotations: [
+ {
+ content: 'connector Top',
+ offset: 0.2,
+ },
+ {
+ content: 'connector Center',
+ offset: 0.5,
+ },
+ {
+ content: 'connector Bottom',
+ offset: 0.8,
+ },
+ ],
+ }];
// initialize Diagram component
function App() {
- return ();
+ return ();
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Multiple-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Multiple-cs1/app/index.tsx
index 883a3e549..5fd48e73e 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Multiple-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Multiple-cs1/app/index.tsx
@@ -3,10 +3,10 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
NodeModel,
- AnnotationConstraints
+ AnnotationConstraints,
+ ConnectorModel
} from "@syncfusion/ej2-react-diagrams";
// A node is created and stored in nodes array.
let node: NodeModel[] = [{
@@ -17,10 +17,6 @@ let node: NodeModel[] = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the multiple annotation for the node
annotations: [{
content: 'Left',
@@ -45,6 +41,26 @@ let node: NodeModel[] = [{
}
]
}];
+let connector: ConnectorModel[] = [{
+ id: 'connector',
+ sourcePoint: { x: 200, y: 200 },
+ targetPoint: { x: 300, y: 300 },
+ // Sets the multiple annotation for the node
+ annotations: [
+ {
+ content: 'connector Top',
+ offset: 0.2,
+ },
+ {
+ content: 'connector Center',
+ offset: 0.5,
+ },
+ {
+ content: 'connector Bottom',
+ offset: 0.8,
+ },
+ ],
+}];
// initialize Diagram component
function App() {
return (
@@ -53,6 +69,7 @@ function App() {
width={'100%'}
height={'600px'}
nodes={node}
+ connectors={connector}
/>
);
}
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Multiple-cs1/index.html b/ej2-react/code-snippet/diagram/annotations/es5Multiple-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Multiple-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/annotations/es5Multiple-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Opacity-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Opacity-cs1/app/index.jsx
index e133888c8..cc38ce698 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Opacity-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Opacity-cs1/app/index.jsx
@@ -1,34 +1,33 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+let diagramInstance;
// A node is created and stored in nodes array.
let node = [{
- id: 'node1',
- // Position of the node
- offsetX: 100,
- offsetY: 100,
- // Size of the node
- width: 100,
- height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
- // Sets the annotation for the node
- annotations: [{
- content: 'Annotation Text',
- style: {
- color: 'black',
- fill: 'white',
- opacity: 0.7,
- strokeColor: 'black',
- strokeWidth: 2
- }
- }]
- }];
+ id: 'node1',
+ // Position of the node
+ offsetX: 100,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the node
+ annotations: [{
+ content: 'Annotation Text',
+ }]
+}];
// initialize Diagram component
function App() {
- return ();
+ const editAnnotation = () => {
+ //Method to edit the annotation programmatically
+ diagramInstance.startTextEdit(diagramInstance.nodes[0]);
+ };
+ return (
+
+ Edit Annotation
+ (diagramInstance = diagram)} width={'100%'} height={'600px'} nodes={node}/>
+
+ );
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Opacity-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Opacity-cs1/app/index.tsx
index fe1e19390..12643df22 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Opacity-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Opacity-cs1/app/index.tsx
@@ -3,45 +3,36 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
NodeModel
} from "@syncfusion/ej2-react-diagrams";
+let diagramInstance: DiagramComponent;
// A node is created and stored in nodes array.
let node: NodeModel[] = [{
- id: 'node1',
- // Position of the node
- offsetX: 100,
- offsetY: 100,
- // Size of the node
- width: 100,
- height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
- // Sets the annotation for the node
- annotations: [{
- content: 'Annotation Text',
- style: {
- color: 'black',
- fill: 'white',
- opacity: 0.7,
- strokeColor: 'black',
- strokeWidth: 2
- }
- }]
+ id: 'node1',
+ // Position of the node
+ offsetX: 100,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the node
+ annotations: [{
+ content: 'Annotation Text',
+ }]
}];
// initialize Diagram component
function App() {
+ const editAnnotation = () => {
+ //Method to edit the annotation programmatically
+ diagramInstance.startTextEdit(diagramInstance.nodes[0]);
+ };
return (
-
- );
+
+ Edit Annotation
+ (diagramInstance = diagram)} width={'100%'} height={'600px'} nodes={node}/>
+
+);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Opacity-cs1/index.html b/ej2-react/code-snippet/diagram/annotations/es5Opacity-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Opacity-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/annotations/es5Opacity-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Overflow-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Overflow-cs1/app/index.jsx
index df90b1f8a..adbf2c1a3 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Overflow-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Overflow-cs1/app/index.jsx
@@ -3,26 +3,178 @@ import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
// A node is created and stored in nodes array.
let node = [{
- id: 'node1',
- // Position of the node
- offsetX: 100,
- offsetY: 100,
- // Size of the node
- width: 100,
- height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
- // Sets the annotation for the node
- annotations: [{
- content: 'Annotation Text',
- // Sets the style for the text to be displayed
- style: {
- textOverflow: 'Ellipsis'
- }
- }]
- }];
+ // Position of the node
+ offsetX: 100,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ annotations: [
+ {
+ content: 'Clip Wrap',
+ offset: { x: 0.5, y: 1.4 },
+ },
+ {
+ content:
+ 'Long Annotation Text, Long annotation text long annotation text long annotation text long annotation text long annotation text long annotation text',
+ style: { textOverflow: 'Clip', textWrapping: 'Wrap' },
+ },
+ ],
+ },
+ {
+ // Position of the node
+ offsetX: 300,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ annotations: [
+ {
+ content: 'Clip NoWrap',
+ offset: { x: 0.5, y: 1.4 },
+ },
+ {
+ content:
+ 'Long Annotation Text, Long annotation text long annotation text long annotation text long annotation text',
+ style: { textOverflow: 'Clip', textWrapping: 'NoWrap' },
+ },
+ ],
+ },
+ {
+ // Position of the node
+ offsetX: 500,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ annotations: [
+ {
+ content: 'Clip WrapWithOverflow',
+ offset: { x: 0.5, y: 1.4 },
+ },
+ {
+ content:
+ 'Long Annotation Text, Long annotation text long annotation text long annotation text long annotation text',
+ style: { textOverflow: 'Clip', textWrapping: 'WrapWithOverflow' },
+ },
+ ],
+ },
+
+ {
+ // Position of the node
+ offsetX: 100,
+ offsetY: 300,
+ // Size of the node
+ width: 100,
+ height: 100,
+ annotations: [
+ {
+ content: 'Ellipsis Wrap',
+ offset: { x: 0.5, y: 1.4 },
+ },
+ {
+ content:
+ 'Long Annotation Text, Long annotation text long annotation text long annotation text long annotation text long annotation text long annotation text',
+ style: { textOverflow: 'Ellipsis', textWrapping: 'Wrap' },
+ },
+ ],
+ },
+ {
+ // Position of the node
+ offsetX: 300,
+ offsetY: 300,
+ // Size of the node
+ width: 100,
+ height: 100,
+ annotations: [
+ {
+ content: 'Ellipsis NoWrap',
+ offset: { x: 0.5, y: 1.4 },
+ },
+ {
+ content:
+ 'Long Annotation Text, Long annotation text long annotation text long annotation text long annotation text',
+ style: { textOverflow: 'Ellipsis', textWrapping: 'NoWrap' },
+ },
+ ],
+ },
+ {
+ // Position of the node
+ offsetX: 500,
+ offsetY: 300,
+ // Size of the node
+ width: 100,
+ height: 100,
+ annotations: [
+ {
+ content: 'Ellipsis WrapWithOverflow',
+ offset: { x: 0.5, y: 1.4 },
+ },
+ {
+ content:
+ 'Long Annotation Text, Long annotation text long annotation text long annotation text long annotation text',
+ style: { textOverflow: 'Ellipsis', textWrapping: 'WrapWithOverflow' },
+ },
+ ],
+ },
+
+ {
+ // Position of the node
+ offsetX: 100,
+ offsetY: 700,
+ // Size of the node
+ width: 100,
+ height: 100,
+ annotations: [
+ {
+ content: 'Wrap Wrap',
+ offset: { x: 0.5, y: 1.4 },
+ },
+ {
+ content:
+ 'Long Annotation Text, Long annotation text long annotation text long annotation text long annotation text long annotation text long annotation text',
+ style: { textOverflow: 'Wrap', textWrapping: 'Wrap' },
+ },
+ ],
+ },
+ {
+ // Position of the node
+ offsetX: 300,
+ offsetY: 500,
+ // Size of the node
+ width: 100,
+ height: 100,
+ annotations: [
+ {
+ content: 'Wrap NoWrap',
+ offset: { x: 0.5, y: 1.4 },
+ },
+ {
+ content:
+ 'Long Annotation Text, Long annotation text long annotation text long annotation text long annotation text',
+ style: { textOverflow: 'Wrap', textWrapping: 'NoWrap' },
+ },
+ ],
+ },
+ {
+ // Position of the node
+ offsetX: 500,
+ offsetY: 700,
+ // Size of the node
+ width: 100,
+ height: 100,
+ annotations: [
+ {
+ content: 'Wrap WrapWithOverflow',
+ offset: { x: 0.5, y: 1.4 },
+ },
+ {
+ content:
+ 'Long Annotation Text, Long annotation text long annotation text long annotation text long annotation text',
+ style: { textOverflow: 'Wrap', textWrapping: 'WrapWithOverflow' },
+ },
+ ],
+ },];
// initialize Diagram component
function App() {
return ();
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Overflow-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Overflow-cs1/app/index.tsx
index c2fa06f84..248a32cbb 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Overflow-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Overflow-cs1/app/index.tsx
@@ -3,31 +3,182 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
NodeModel
} from "@syncfusion/ej2-react-diagrams";
// A node is created and stored in nodes array.
let node: NodeModel[] = [{
- id: 'node1',
- // Position of the node
- offsetX: 100,
- offsetY: 100,
- // Size of the node
- width: 100,
- height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
- // Sets the annotation for the node
- annotations: [{
- content: 'Annotation Text',
- // Sets the style for the text to be displayed
- style: {
- textOverflow: 'Ellipsis'
- }
- }]
+ // Position of the node
+ offsetX: 100,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ annotations: [
+ {
+ content: 'Clip Wrap',
+ offset: { x: 0.5, y: 1.4 },
+ },
+ {
+ content:
+ 'Long Annotation Text, Long annotation text long annotation text long annotation text long annotation text long annotation text long annotation text',
+ style: { textOverflow: 'Clip', textWrapping: 'Wrap' },
+ },
+ ],
+},
+{
+ // Position of the node
+ offsetX: 300,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ annotations: [
+ {
+ content: 'Clip NoWrap',
+ offset: { x: 0.5, y: 1.4 },
+ },
+ {
+ content:
+ 'Long Annotation Text, Long annotation text long annotation text long annotation text long annotation text',
+ style: { textOverflow: 'Clip', textWrapping: 'NoWrap' },
+ },
+ ],
+},
+{
+ // Position of the node
+ offsetX: 500,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ annotations: [
+ {
+ content: 'Clip WrapWithOverflow',
+ offset: { x: 0.5, y: 1.4 },
+ },
+ {
+ content:
+ 'Long Annotation Text, Long annotation text long annotation text long annotation text long annotation text',
+ style: { textOverflow: 'Clip', textWrapping: 'WrapWithOverflow' },
+ },
+ ],
+},
+
+{
+ // Position of the node
+ offsetX: 100,
+ offsetY: 300,
+ // Size of the node
+ width: 100,
+ height: 100,
+ annotations: [
+ {
+ content: 'Ellipsis Wrap',
+ offset: { x: 0.5, y: 1.4 },
+ },
+ {
+ content:
+ 'Long Annotation Text, Long annotation text long annotation text long annotation text long annotation text long annotation text long annotation text',
+ style: { textOverflow: 'Ellipsis', textWrapping: 'Wrap' },
+ },
+ ],
+},
+{
+ // Position of the node
+ offsetX: 300,
+ offsetY: 300,
+ // Size of the node
+ width: 100,
+ height: 100,
+ annotations: [
+ {
+ content: 'Ellipsis NoWrap',
+ offset: { x: 0.5, y: 1.4 },
+ },
+ {
+ content:
+ 'Long Annotation Text, Long annotation text long annotation text long annotation text long annotation text',
+ style: { textOverflow: 'Ellipsis', textWrapping: 'NoWrap' },
+ },
+ ],
+},
+{
+ // Position of the node
+ offsetX: 500,
+ offsetY: 300,
+ // Size of the node
+ width: 100,
+ height: 100,
+ annotations: [
+ {
+ content: 'Ellipsis WrapWithOverflow',
+ offset: { x: 0.5, y: 1.4 },
+ },
+ {
+ content:
+ 'Long Annotation Text, Long annotation text long annotation text long annotation text long annotation text',
+ style: { textOverflow: 'Ellipsis', textWrapping: 'WrapWithOverflow' },
+ },
+ ],
+},
+
+{
+ // Position of the node
+ offsetX: 100,
+ offsetY: 700,
+ // Size of the node
+ width: 100,
+ height: 100,
+ annotations: [
+ {
+ content: 'Wrap Wrap',
+ offset: { x: 0.5, y: 1.4 },
+ },
+ {
+ content:
+ 'Long Annotation Text, Long annotation text long annotation text long annotation text long annotation text long annotation text long annotation text',
+ style: { textOverflow: 'Wrap', textWrapping: 'Wrap' },
+ },
+ ],
+},
+{
+ // Position of the node
+ offsetX: 300,
+ offsetY: 500,
+ // Size of the node
+ width: 100,
+ height: 100,
+ annotations: [
+ {
+ content: 'Wrap NoWrap',
+ offset: { x: 0.5, y: 1.4 },
+ },
+ {
+ content:
+ 'Long Annotation Text, Long annotation text long annotation text long annotation text long annotation text',
+ style: { textOverflow: 'Wrap', textWrapping: 'NoWrap' },
+ },
+ ],
+},
+{
+ // Position of the node
+ offsetX: 500,
+ offsetY: 700,
+ // Size of the node
+ width: 100,
+ height: 100,
+ annotations: [
+ {
+ content: 'Wrap WrapWithOverflow',
+ offset: { x: 0.5, y: 1.4 },
+ },
+ {
+ content:
+ 'Long Annotation Text, Long annotation text long annotation text long annotation text long annotation text',
+ style: { textOverflow: 'Wrap', textWrapping: 'WrapWithOverflow' },
+ },
+ ],
}];
// initialize Diagram component
function App() {
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Overflow-cs1/index.html b/ej2-react/code-snippet/diagram/annotations/es5Overflow-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Overflow-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/annotations/es5Overflow-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Read-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Read-cs1/app/index.jsx
index b03baefb6..43fcee025 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Read-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Read-cs1/app/index.jsx
@@ -10,10 +10,6 @@ let node = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the annotation for the node
annotations: [{
content: 'Annotation Text',
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Read-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Read-cs1/app/index.tsx
index a4f0741ac..1ce6c8bb1 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Read-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Read-cs1/app/index.tsx
@@ -3,7 +3,6 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
NodeModel,
AnnotationConstraints
@@ -17,10 +16,6 @@ let node: NodeModel[] = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the annotation for the node
annotations: [{
content: 'Annotation Text',
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Read-cs1/index.html b/ej2-react/code-snippet/diagram/annotations/es5Read-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Read-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/annotations/es5Read-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/annotations/es5RotateAngle-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5RotateAngle-cs1/app/index.jsx
new file mode 100644
index 000000000..751cdefa6
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5RotateAngle-cs1/app/index.jsx
@@ -0,0 +1,24 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+// A node is created and stored in nodes array.
+let node = [{
+ // Position of the node
+ offsetX: 250,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the node
+ annotations: [{
+ content: 'Annotation',
+ // Sets the horizontal alignment as left
+ rotateAngle: 45,
+ }]
+ }];
+// initialize Diagram component
+function App() {
+ return ();
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/annotations/es5RotateAngle-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5RotateAngle-cs1/app/index.tsx
new file mode 100644
index 000000000..769097014
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5RotateAngle-cs1/app/index.tsx
@@ -0,0 +1,34 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ NodeModel
+} from "@syncfusion/ej2-react-diagrams";
+// A node is created and stored in nodes array.
+let node: NodeModel[] = [{
+ // Position of the node
+ offsetX: 250,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the node
+ annotations: [{
+ content: 'Annotation',
+ // Sets the horizontal alignment as left
+ rotateAngle: 45,
+ }]
+}];
+// initialize Diagram component
+function App() {
+ return (
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/annotations/es5RotateAngle-cs1/index.html b/ej2-react/code-snippet/diagram/annotations/es5RotateAngle-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5RotateAngle-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/annotations/es5RotateAngle-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/annotations/es5RotateAngle-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5RotateAngle-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Rotation-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Rotation-cs1/app/index.jsx
index b48543d0c..d706c925e 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Rotation-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Rotation-cs1/app/index.jsx
@@ -1,7 +1,6 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
-let diagramInstance;
// A node is created and stored in nodes array.
let node = [{
// Position of the node
@@ -10,10 +9,6 @@ let node = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the Annotation for the Node
annotations: [{
content: 'Annotation',
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Rotation-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Rotation-cs1/app/index.tsx
index cb9e9cd97..c9a4eda74 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Rotation-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Rotation-cs1/app/index.tsx
@@ -3,11 +3,9 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
NodeModel, ConnectorModel
} from "@syncfusion/ej2-react-diagrams";
-let diagramInstance: DiagramComponent;
// A node is created and stored in nodes array.
let node: NodeModel[] = [{
// Position of the node
@@ -16,10 +14,6 @@ let node: NodeModel[] = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the Annotation for the Node
annotations: [{
content: 'Annotation',
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Rotation-cs1/index.html b/ej2-react/code-snippet/diagram/annotations/es5Rotation-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Rotation-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/annotations/es5Rotation-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Run-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Run-cs1/app/index.jsx
index 836bb123c..22ac5bda6 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Run-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Run-cs1/app/index.jsx
@@ -1,33 +1,33 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+let diagramInstance;
// A node is created and stored in nodes array.
let node = [{
- // Position of the node
- offsetX: 250,
- offsetY: 250,
- // Size of the node
- width: 100,
- height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
- }];
-let diagramInstance;
+ // Position of the node
+ offsetX: 250,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+}];
let annotation = [{
- id: 'label1',
- content: 'Annotation'
- }];
+ id: 'label1',
+ content: 'Annotation'
+}];
// initialize Diagram component
function App() {
- return ( (diagramInstance = diagram)} width={'100%'} height={'600px'} nodes={node} created={() => {
- //Method to add labels at run time
- diagramInstance.addLabels(diagramInstance.nodes[0], annotation);
- diagramInstance.dataBind();
- }}/>);
+ const addAnnotation = () => {
+ //Method to add labels at run time
+ diagramInstance.addLabels(diagramInstance.nodes[0], annotation);
+ diagramInstance.dataBind();
+ };
+ return (
+
+ Add Annotation
+ (diagramInstance = diagram)} width={'100%'} height={'600px'} nodes={node}/>
+
+ );
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-{% endraw %}
\ No newline at end of file
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Run-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Run-cs1/app/index.tsx
index 5c45d1906..42d4f47b5 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Run-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Run-cs1/app/index.tsx
@@ -3,11 +3,11 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
NodeModel,
DiagramComponent,
ShapeAnnotationModel
} from "@syncfusion/ej2-react-diagrams";
+let diagramInstance: DiagramComponent;
// A node is created and stored in nodes array.
let node: NodeModel[] = [{
// Position of the node
@@ -16,34 +16,24 @@ let node: NodeModel[] = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
}];
-let diagramInstance: DiagramComponent;
let annotation: ShapeAnnotationModel[] = [{
id: 'label1',
content: 'Annotation'
}];
// initialize Diagram component
function App() {
- return (
- (diagramInstance = diagram)}
- width={'100%'}
- height={'600px'}
- nodes={node}
- created = {
- () => {
- //Method to add labels at run time
- diagramInstance.addLabels(diagramInstance.nodes[0], annotation);
- diagramInstance.dataBind();
- }
- }
- />
- );
+ const addAnnotation = () => {
+ //Method to add labels at run time
+ diagramInstance.addLabels(diagramInstance.nodes[0], annotation);
+ diagramInstance.dataBind();
+ };
+ return (
+
+ Add Annotation
+ (diagramInstance = diagram)} width={'100%'} height={'600px'} nodes={node}/>
+
+ );
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Run-cs1/index.html b/ej2-react/code-snippet/diagram/annotations/es5Run-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Run-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/annotations/es5Run-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Segment-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Segment-cs1/app/index.jsx
index f48a9efb6..7f4349583 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Segment-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Segment-cs1/app/index.jsx
@@ -10,10 +10,6 @@ let node = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the annotation for the node
annotations: [{
content: 'Task1'
@@ -26,10 +22,6 @@ let node = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the annotation for the node
annotations: [{
content: 'Task2'
@@ -39,19 +31,18 @@ let connector = [{
sourceID: 'node1',
targetID: 'node2',
type: 'Orthogonal',
- style: {
- strokeColor: '#6BA5D7',
- strokeWidth: 2
- },
+ targetDecorator: { shape: 'None' },
// Sets the annotation for the connector
annotations: [{
content: '0',
// Sets the offset for the content
- offset: 0
+ offset: 0,
+ alignment: 'Before',
}, {
content: '1',
// Sets the offset for the content
- offset: 1
+ offset: 1,
+ alignment: 'After',
}]
}];
// initialize Diagram component
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Segment-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Segment-cs1/app/index.tsx
index 6851adf57..88cc33fe2 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Segment-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Segment-cs1/app/index.tsx
@@ -3,7 +3,6 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
NodeModel, ConnectorModel
} from "@syncfusion/ej2-react-diagrams";
@@ -16,10 +15,6 @@ let node: NodeModel[] = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the annotation for the node
annotations: [{
content: 'Task1'
@@ -32,10 +27,6 @@ let node: NodeModel[] = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the annotation for the node
annotations: [{
content: 'Task2'
@@ -45,19 +36,18 @@ let connector: ConnectorModel[] = [{
sourceID: 'node1',
targetID: 'node2',
type: 'Orthogonal',
- style: {
- strokeColor: '#6BA5D7',
- strokeWidth: 2
- },
+ targetDecorator: { shape: 'None' },
// Sets the annotation for the connector
annotations: [{
content: '0',
// Sets the offset for the content
- offset: 0
+ offset: 0,
+ alignment: 'Before',
}, {
content: '1',
// Sets the offset for the content
- offset: 1
+ offset: 1,
+ alignment: 'After',
}]
}];
// initialize Diagram component
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Segment-cs1/index.html b/ej2-react/code-snippet/diagram/annotations/es5Segment-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Segment-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/annotations/es5Segment-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/annotations/es5SegmentAngle-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5SegmentAngle-cs1/app/index.jsx
new file mode 100644
index 000000000..6c2116372
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5SegmentAngle-cs1/app/index.jsx
@@ -0,0 +1,17 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+// A node is created and stored in nodes array.
+let connector = [{
+ sourcePoint: { x: 200, y: 100 },
+ targetPoint: { x: 500, y: 250 },
+ type: 'Orthogonal',
+ //Path annotation offset
+ annotations: [{ content: 'annotation', segmentAngle: true, offset: 0.2 }],
+ }];
+// initialize Diagram component
+function App() {
+ return ();
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/annotations/es5SegmentAngle-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5SegmentAngle-cs1/app/index.tsx
new file mode 100644
index 000000000..70e0aa526
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5SegmentAngle-cs1/app/index.tsx
@@ -0,0 +1,32 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ ConnectorModel
+} from "@syncfusion/ej2-react-diagrams";
+// A node is created and stored in nodes array.
+let connector: ConnectorModel[] = [{
+ sourcePoint: { x: 200, y: 100 },
+ targetPoint: { x: 500, y: 250 },
+ type: 'Orthogonal',
+ //Path annotation offset
+ annotations: [{ content: 'annotation', segmentAngle: true, offset: 0.2 }],
+}];
+// initialize Diagram component
+function App() {
+ return (
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5SegmentAngle-cs1/index.html b/ej2-react/code-snippet/diagram/annotations/es5SegmentAngle-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5SegmentAngle-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/annotations/es5SegmentAngle-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/annotations/es5SegmentAngle-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5SegmentAngle-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5TextAlign-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5TextAlign-cs1/app/index.jsx
index 2ad70bfb1..80cee5bcf 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5TextAlign-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5TextAlign-cs1/app/index.jsx
@@ -3,29 +3,142 @@ import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
// A node is created and stored in nodes array.
let node = [{
- id: 'node1',
- // Position of the node
- offsetX: 100,
- offsetY: 100,
- // Size of the node
- width: 100,
- height: 100,
+ id: 'node1',
+ // Position of the node
+ offsetX: 100,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the NOde
+ annotations: [
+ {
+ content: 'Text align is set as Right',
+ // Sets the textAlign as left for the content
style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
- // Sets the annotation for the NOde
- annotations: [{
- content: 'Text align is set as Left',
- // Sets the textAlign as left for the content
- style: {
- textAlign: 'Left'
- }
- }]
- }];
+ textAlign: 'Right',
+ },
+ },
+ ],
+ },
+ {
+ id: 'node2',
+ // Position of the node
+ offsetX: 300,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the NOde
+ annotations: [
+ {
+ content: 'Text align is set as Center',
+ // Sets the textAlign as left for the content
+ style: {
+ textAlign: 'Center',
+ },
+ },
+ ],
+ },
+ {
+ id: 'node3',
+ // Position of the node
+ offsetX: 500,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the NOde
+ annotations: [
+ {
+ content: 'Text align is set as Left',
+ // Sets the textAlign as left for the content
+ style: {
+ textAlign: 'Left',
+ },
+ },
+ ],
+ },
+ {
+ id: 'node4',
+ // Position of the node
+ offsetX: 700,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the NOde
+ annotations: [
+ {
+ content: 'Text align is set as Justify',
+ // Sets the textAlign as left for the content
+ style: {
+ textAlign: 'Justify',
+ },
+ },
+ ],
+ },];
+ let connectors = [
+ {
+ sourcePoint: { x: 100, y: 200 },
+ targetPoint: { x: 300, y: 300 },
+ type: 'Orthogonal',
+ //Path annotation offset
+ annotations: [
+ {
+ content: 'long annotation content for connector anntoation',
+ width: 100,
+ offset: 0.2,
+ style: { textAlign: 'Right' },
+ },
+ ],
+ },
+ {
+ sourcePoint: { x: 300, y: 200 },
+ targetPoint: { x: 500, y: 300 },
+ type: 'Orthogonal',
+ //Path annotation offset
+ annotations: [
+ {
+ content: 'long annotation content for connector anntoation',
+ width: 100,
+ offset: 0.2,
+ style: { textAlign: 'Center' },
+ },
+ ],
+ },
+ {
+ sourcePoint: { x: 500, y: 200 },
+ targetPoint: { x: 700, y: 300 },
+ type: 'Orthogonal',
+ //Path annotation offset
+ annotations: [
+ {
+ content: 'long annotation content for connector anntoation',
+ width: 100,
+ offset: 0.2,
+ style: { textAlign: 'Left' },
+ },
+ ],
+ },
+ {
+ sourcePoint: { x: 700, y: 200 },
+ targetPoint: { x: 900, y: 300 },
+ type: 'Orthogonal',
+ //Path annotation offset
+ annotations: [
+ {
+ content: 'long annotation content for connector anntoation',
+ width: 100,
+ offset: 0.2,
+ style: { textAlign: 'Justify' },
+ },
+ ],
+ },
+ ];
// initialize Diagram component
function App() {
- return ();
+ return ();
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
diff --git a/ej2-react/code-snippet/diagram/annotations/es5TextAlign-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5TextAlign-cs1/app/index.tsx
index 7ec33d12b..08938866e 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5TextAlign-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5TextAlign-cs1/app/index.tsx
@@ -3,32 +3,145 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
- NodeModel
+ NodeModel,
+ ConnectorModel
} from "@syncfusion/ej2-react-diagrams";
// A node is created and stored in nodes array.
let node: NodeModel[] = [{
- id: 'node1',
- // Position of the node
- offsetX: 100,
- offsetY: 100,
- // Size of the node
- width: 100,
- height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
+ id: 'node1',
+ // Position of the node
+ offsetX: 100,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the NOde
+ annotations: [
+ {
+ content: 'Text align is set as Right',
+ // Sets the textAlign as left for the content
+ style: {
+ textAlign: 'Right',
+ },
},
- // Sets the annotation for the NOde
- annotations: [{
- content: 'Text align is set as Left',
- // Sets the textAlign as left for the content
- style: {
- textAlign: 'Left'
- }
- }]
-}];
+ ],
+},
+{
+ id: 'node2',
+ // Position of the node
+ offsetX: 300,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the NOde
+ annotations: [
+ {
+ content: 'Text align is set as Center',
+ // Sets the textAlign as left for the content
+ style: {
+ textAlign: 'Center',
+ },
+ },
+ ],
+},
+{
+ id: 'node3',
+ // Position of the node
+ offsetX: 500,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the NOde
+ annotations: [
+ {
+ content: 'Text align is set as Left',
+ // Sets the textAlign as left for the content
+ style: {
+ textAlign: 'Left',
+ },
+ },
+ ],
+},
+{
+ id: 'node4',
+ // Position of the node
+ offsetX: 700,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the NOde
+ annotations: [
+ {
+ content: 'Text align is set as Justify',
+ // Sets the textAlign as left for the content
+ style: {
+ textAlign: 'Justify',
+ },
+ },
+ ],
+},];
+let connectors: ConnectorModel[] = [
+ {
+ sourcePoint: { x: 100, y: 200 },
+ targetPoint: { x: 300, y: 300 },
+ type: 'Orthogonal',
+ //Path annotation offset
+ annotations: [
+ {
+ content: 'long annotation content for connector anntoation',
+ width: 100,
+ offset: 0.2,
+ style: { textAlign: 'Right' },
+ },
+ ],
+ },
+ {
+ sourcePoint: { x: 300, y: 200 },
+ targetPoint: { x: 500, y: 300 },
+ type: 'Orthogonal',
+ //Path annotation offset
+ annotations: [
+ {
+ content: 'long annotation content for connector anntoation',
+ width: 100,
+ offset: 0.2,
+ style: { textAlign: 'Center' },
+ },
+ ],
+ },
+ {
+ sourcePoint: { x: 500, y: 200 },
+ targetPoint: { x: 700, y: 300 },
+ type: 'Orthogonal',
+ //Path annotation offset
+ annotations: [
+ {
+ content: 'long annotation content for connector anntoation',
+ width: 100,
+ offset: 0.2,
+ style: { textAlign: 'Left' },
+ },
+ ],
+ },
+ {
+ sourcePoint: { x: 700, y: 200 },
+ targetPoint: { x: 900, y: 300 },
+ type: 'Orthogonal',
+ //Path annotation offset
+ annotations: [
+ {
+ content: 'long annotation content for connector anntoation',
+ width: 100,
+ offset: 0.2,
+ style: { textAlign: 'Justify' },
+ },
+ ],
+ },
+];
// initialize Diagram component
function App() {
return (
@@ -37,6 +150,7 @@ function App() {
width={'100%'}
height={'600px'}
nodes={node}
+ connectors={connectors}
/>
);
}
diff --git a/ej2-react/code-snippet/diagram/annotations/es5TextAlign-cs1/index.html b/ej2-react/code-snippet/diagram/annotations/es5TextAlign-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5TextAlign-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/annotations/es5TextAlign-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Update-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Update-cs1/app/index.jsx
index c5bf522ba..b11cf1a1e 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Update-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Update-cs1/app/index.jsx
@@ -1,4 +1,3 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
@@ -11,10 +10,6 @@ let node = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the annotation for the node
annotations: [{
content: 'Annotation'
@@ -22,11 +17,16 @@ let node = [{
}];
// initialize Diagram component
function App() {
- return ( (diagramInstance = diagram)} width={'100%'} height={'600px'} nodes={node} created={() => {
- //Method to remove labels at run time
- diagramInstance.removeLabels(diagramInstance.nodes[0], diagramInstance.nodes[0].annotations[0]);
- }}/>);
+ const removeAnnotation = () => {
+ //Method to remove labels at run time
+ diagramInstance.removeLabels(diagramInstance.nodes[0], diagramInstance.nodes[0].annotations);
+ };
+ return (
+
+ remove Annotation
+ (diagramInstance = diagram)} width={'100%'} height={'600px'} nodes={node}/>
+
+ );
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-{% endraw %}
\ No newline at end of file
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Update-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Update-cs1/app/index.tsx
index 2fadcb116..b7f2c591c 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Update-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Update-cs1/app/index.tsx
@@ -3,10 +3,8 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
- NodeModel,
- ShapeAnnotationModel
+ NodeModel
} from "@syncfusion/ej2-react-diagrams";
let diagramInstance: DiagramComponent;
// A node is created and stored in nodes array.
@@ -17,10 +15,6 @@ let node: NodeModel[] = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the annotation for the node
annotations: [{
content: 'Annotation'
@@ -28,21 +22,16 @@ let node: NodeModel[] = [{
}];
// initialize Diagram component
function App() {
- return (
- (diagramInstance = diagram)}
- width={'100%'}
- height={'600px'}
- nodes={node}
- created = {
- () => {
- //Method to remove labels at run time
- diagramInstance.removeLabels(diagramInstance.nodes[0], diagramInstance.nodes[0].annotations[0]);
- }
- }
- />
- );
+ const removeAnnotation = () => {
+ //Method to remove labels at run time
+ diagramInstance.removeLabels(diagramInstance.nodes[0], diagramInstance.nodes[0].annotations);
+ };
+ return (
+
+ remove Annotation
+ (diagramInstance = diagram)} width={'100%'} height={'600px'} nodes={node}/>
+
+ );
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Update-cs1/index.html b/ej2-react/code-snippet/diagram/annotations/es5Update-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Update-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/annotations/es5Update-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Update-cs2/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Update-cs2/app/index.jsx
index 57ff5e65d..8973f5287 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Update-cs2/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Update-cs2/app/index.jsx
@@ -1,4 +1,3 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
@@ -11,10 +10,6 @@ let node = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the annotation for the node
annotations: [{
content: 'Annotation'
@@ -22,12 +17,17 @@ let node = [{
}];
// initialize Diagram component
function App() {
- return ( (diagramInstance = diagram)} width={'100%'} height={'600px'} nodes={node} created={() => {
- diagramInstance.nodes[0].annotations[0].content = 'Updated Annotation';
- //Method to update the annotation at run time
- diagramInstance.dataBind();
- }}/>);
+ const updateAnnotation = () => {
+ //Method to update the annotation at run time
+ diagramInstance.nodes[0].annotations[0].content = 'Updated Annotation';
+ diagramInstance.dataBind();
+ };
+ return (
+
+ Update Annotation
+ (diagramInstance = diagram)} width={'100%'} height={'600px'} nodes={node}/>
+
+ );
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-{% endraw %}
\ No newline at end of file
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Update-cs2/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Update-cs2/app/index.tsx
index 81c6a8c7a..7acd04b00 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Update-cs2/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Update-cs2/app/index.tsx
@@ -3,10 +3,8 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
NodeModel,
- ShapeAnnotationModel
} from "@syncfusion/ej2-react-diagrams";
let diagramInstance: DiagramComponent;
// A node is created and stored in nodes array.
@@ -17,10 +15,6 @@ let node: NodeModel[] = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the annotation for the node
annotations: [{
content: 'Annotation'
@@ -28,22 +22,17 @@ let node: NodeModel[] = [{
}];
// initialize Diagram component
function App() {
- return (
- (diagramInstance = diagram)}
- width={'100%'}
- height={'600px'}
- nodes={node}
- created = {
- () => {
- diagramInstance.nodes[0].annotations[0].content = 'Updated Annotation';
- //Method to update the annotation at run time
- diagramInstance.dataBind();
- }
- }
- />
- );
+ const updateAnnotation = () => {
+ //Method to update the annotation at run time
+ diagramInstance.nodes[0].annotations[0].content = 'Updated Annotation';
+ diagramInstance.dataBind();
+ };
+ return (
+
+ Update Annotation
+ (diagramInstance = diagram)} width={'100%'} height={'600px'} nodes={node}/>
+
+ );
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Update-cs2/index.html b/ej2-react/code-snippet/diagram/annotations/es5Update-cs2/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Update-cs2/index.html
+++ b/ej2-react/code-snippet/diagram/annotations/es5Update-cs2/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Update-cs3/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Update-cs3/app/index.jsx
index 9b29c46db..880d7936d 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Update-cs3/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Update-cs3/app/index.jsx
@@ -9,19 +9,17 @@ let node = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the annotation for the node
annotations: [{
// Sets the content for the annotation
- content: 'Annotation',
+ content: 'Annotation long annotation content',
//Sets the offset for the content
offset: {
x: 0,
y: 1
- }
+ },
+ height: 100,
+ width: 100
}]
}];
// initialize Diagram component
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Update-cs3/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Update-cs3/app/index.tsx
index d143c24f6..c0f2fb76e 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Update-cs3/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Update-cs3/app/index.tsx
@@ -3,10 +3,8 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
- NodeModel,
- ShapeAnnotationModel
+ NodeModel
} from "@syncfusion/ej2-react-diagrams";
// A node is created and stored in nodes array.
let node: NodeModel[] = [{
@@ -16,19 +14,17 @@ let node: NodeModel[] = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the annotation for the node
annotations: [{
// Sets the content for the annotation
- content: 'Annotation',
+ content: 'Annotation long annotation content',
//Sets the offset for the content
offset: {
x: 0,
y: 1
- }
+ },
+ height: 100,
+ width: 100
}]
}];
// initialize Diagram component
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Update-cs3/index.html b/ej2-react/code-snippet/diagram/annotations/es5Update-cs3/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Update-cs3/index.html
+++ b/ej2-react/code-snippet/diagram/annotations/es5Update-cs3/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Update-cs4/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Update-cs4/app/index.jsx
new file mode 100644
index 000000000..04683e7d4
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Update-cs4/app/index.jsx
@@ -0,0 +1,34 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+// A node is created and stored in nodes array.
+let diagramInstance;
+let node = [{
+ // Position of the node
+ offsetX: 250,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the node
+ annotations: [{
+ // Sets the content for the annotation
+ content: 'Annotation',
+ }]
+ }];
+// initialize Diagram component
+function App() {
+ const updateOffset = () => {
+ //Method to update the annotation at run time
+ diagramInstance.nodes[0].annotations[0].offset = {x:0, y:0.5};
+ diagramInstance.dataBind();
+ };
+ return (
+
+ Update Offset
+ (diagramInstance = diagram)} width={'100%'} height={'600px'} nodes={node}/>
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Update-cs4/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Update-cs4/app/index.tsx
new file mode 100644
index 000000000..b12dda56e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Update-cs4/app/index.tsx
@@ -0,0 +1,40 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ NodeModel
+} from "@syncfusion/ej2-react-diagrams";
+let diagramInstance: DiagramComponent;
+// A node is created and stored in nodes array.
+let node: NodeModel[] = [{
+ // Position of the node
+ offsetX: 250,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ // Sets the annotation for the node
+ annotations: [{
+ // Sets the content for the annotation
+ content: 'Annotation',
+ }]
+}];
+// initialize Diagram component
+function App() {
+ const updateOffset = () => {
+ //Method to update the annotation at run time
+ diagramInstance.nodes[0].annotations[0].offset = {x:0, y:0.5};
+ diagramInstance.dataBind();
+ };
+ return (
+
+ Update Offset
+ (diagramInstance = diagram)} width={'100%'} height={'600px'} nodes={node}/>
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Update-cs4/index.html b/ej2-react/code-snippet/diagram/annotations/es5Update-cs4/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Update-cs4/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Update-cs4/systemjs.config.js b/ej2-react/code-snippet/diagram/annotations/es5Update-cs4/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Update-cs4/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Update-cs5/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Update-cs5/app/index.jsx
new file mode 100644
index 000000000..46303a4a5
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Update-cs5/app/index.jsx
@@ -0,0 +1,17 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+// A node is created and stored in nodes array.
+let connector = [{
+ sourcePoint: { x: 200, y: 100 },
+ targetPoint: { x: 300, y: 200 },
+ type: 'Straight',
+ //Path annotation offset
+ annotations: [{ content: 'annotation', offset: 0.2 }],
+ }];
+// initialize Diagram component
+function App() {
+ return ();
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Update-cs5/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Update-cs5/app/index.tsx
new file mode 100644
index 000000000..c592739fb
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Update-cs5/app/index.tsx
@@ -0,0 +1,32 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ ConnectorModel
+} from "@syncfusion/ej2-react-diagrams";
+// A node is created and stored in nodes array.
+let connector: ConnectorModel[] = [{
+ sourcePoint: { x: 200, y: 100 },
+ targetPoint: { x: 300, y: 200 },
+ type: 'Straight',
+ //Path annotation offset
+ annotations: [{ content: 'annotation', offset: 0.2 }],
+}];
+// initialize Diagram component
+function App() {
+ return (
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Update-cs5/index.html b/ej2-react/code-snippet/diagram/annotations/es5Update-cs5/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Update-cs5/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Update-cs5/systemjs.config.js b/ej2-react/code-snippet/diagram/annotations/es5Update-cs5/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/annotations/es5Update-cs5/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Wrap-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5Wrap-cs1/app/index.jsx
index 4798d42e4..0702c302b 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Wrap-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Wrap-cs1/app/index.jsx
@@ -3,26 +3,62 @@ import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
// A node is created and stored in nodes array.
let node = [{
- id: 'node1',
- // Position of the node
- offsetX: 100,
- offsetY: 100,
- // Size of the node
- width: 100,
- height: 100,
+ id: 'node1',
+ // Position of the node
+ offsetX: 100,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets the annotation for the node
+ annotations: [
+ {
+ content: 'Annotation Text WrapWithOverflow',
+ // Sets the style for the text wrapping
style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
+ textWrapping: 'WrapWithOverflow',
},
- //Sets the annotation for the node
- annotations: [{
- content: 'Annotation Text Wrapping',
- // Sets the style for the text wrapping
- style: {
- textWrapping: 'Wrap'
- }
- }]
- }];
+ },
+ ],
+ },
+ {
+ id: 'node2',
+ // Position of the node
+ offsetX: 300,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets the annotation for the node
+ annotations: [
+ {
+ content: 'Annotation Text Wrap',
+ // Sets the style for the text wrapping
+ style: {
+ textWrapping: 'Wrap',
+ },
+ },
+ ],
+ },
+ {
+ id: 'node3',
+ // Position of the node
+ offsetX: 500,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets the annotation for the node
+ annotations: [
+ {
+ content: 'Annotation Text NoWrap',
+ // Sets the style for the text wrapping
+ style: {
+ textWrapping: 'NoWrap',
+ },
+ },
+ ],
+ },];
// initialize Diagram component
function App() {
return ();
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Wrap-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5Wrap-cs1/app/index.tsx
index b226bd418..b58941eac 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Wrap-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5Wrap-cs1/app/index.tsx
@@ -3,32 +3,67 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
NodeModel
} from "@syncfusion/ej2-react-diagrams";
// A node is created and stored in nodes array.
let node: NodeModel[] = [{
- id: 'node1',
- // Position of the node
- offsetX: 100,
- offsetY: 100,
- // Size of the node
- width: 100,
- height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
+ id: 'node1',
+ // Position of the node
+ offsetX: 100,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets the annotation for the node
+ annotations: [
+ {
+ content: 'Annotation Text WrapWithOverflow',
+ // Sets the style for the text wrapping
+ style: {
+ textWrapping: 'WrapWithOverflow',
+ },
},
- //Sets the annotation for the node
- annotations: [{
- content: 'Annotation Text Wrapping',
- // Sets the style for the text wrapping
- style: {
- textWrapping: 'Wrap'
- }
- }]
-}];
+ ],
+},
+{
+ id: 'node2',
+ // Position of the node
+ offsetX: 300,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets the annotation for the node
+ annotations: [
+ {
+ content: 'Annotation Text Wrap',
+ // Sets the style for the text wrapping
+ style: {
+ textWrapping: 'Wrap',
+ },
+ },
+ ],
+},
+{
+ id: 'node3',
+ // Position of the node
+ offsetX: 500,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets the annotation for the node
+ annotations: [
+ {
+ content: 'Annotation Text NoWrap',
+ // Sets the style for the text wrapping
+ style: {
+ textWrapping: 'NoWrap',
+ },
+ },
+ ],
+},];
// initialize Diagram component
function App() {
return (
diff --git a/ej2-react/code-snippet/diagram/annotations/es5Wrap-cs1/index.html b/ej2-react/code-snippet/diagram/annotations/es5Wrap-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5Wrap-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/annotations/es5Wrap-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/annotations/es5labeltemplate-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/annotations/es5labeltemplate-cs1/app/index.jsx
index 5271c241c..2c55fa6f2 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5labeltemplate-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5labeltemplate-cs1/app/index.jsx
@@ -10,10 +10,6 @@ let node = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the annotation for the Node
annotations: [{
// Set an template for annotation
@@ -36,7 +32,7 @@ let connector = [{
// Sets the Annotation for the Connector
annotations: [{
// Set an template for annotation
- height: 60, width: 100, offset: 0.5,
+ height: 60, width: 100,
template: '
'
}]
}];
diff --git a/ej2-react/code-snippet/diagram/annotations/es5labeltemplate-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/annotations/es5labeltemplate-cs1/app/index.tsx
index 16a8b654f..7d3d2c2bd 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5labeltemplate-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/annotations/es5labeltemplate-cs1/app/index.tsx
@@ -4,7 +4,6 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
NodeModel,
ConnectorModel
@@ -18,10 +17,6 @@ let node: NodeModel[] = [{
// Size of the node
width: 100,
height: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white'
- },
// Sets the annotation for the Node
annotations: [{
// Set an template for annotation
@@ -44,7 +39,7 @@ let connector: ConnectorModel[] = [{
// Sets the Annotation for the Connector
annotations: [{
// Set an template for annotation
- height: 60, width: 100, offset: 0.5,
+ height: 60, width: 100,
template: '
'
}]
}];
diff --git a/ej2-react/code-snippet/diagram/annotations/es5labeltemplate-cs1/index.html b/ej2-react/code-snippet/diagram/annotations/es5labeltemplate-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/annotations/es5labeltemplate-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/annotations/es5labeltemplate-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Activity-cs1/index.html b/ej2-react/code-snippet/diagram/bpmnShapes/es5Activity-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5Activity-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Activity-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Adhoc-cs1/index.html b/ej2-react/code-snippet/diagram/bpmnShapes/es5Adhoc-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5Adhoc-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Adhoc-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Association-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/bpmnShapes/es5Association-cs1/app/index.jsx
index 4777e3fae..97064b685 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5Association-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Association-cs1/app/index.jsx
@@ -1,16 +1,16 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent, Inject, BpmnDiagrams } from "@syncfusion/ej2-react-diagrams";
-// A node is created and stored in nodes array.
+
let connector = [{
// Position of the node
sourcePoint: {
x: 100,
- y: 200
+ y: 100
},
targetPoint: {
x: 300,
- y: 200
+ y: 100
},
//Sets type of the connector as Orthogonal
type: 'Orthogonal',
@@ -20,6 +20,44 @@ let connector = [{
flow: 'Association',
association: 'BiDirectional'
},
+ },
+ {
+ // Position of the node
+ sourcePoint: {
+ x: 100,
+ y: 200
+ },
+ targetPoint: {
+ x: 300,
+ y: 200
+ },
+ //Sets type of the connector as Orthogonal
+ type: 'Orthogonal',
+ //Sets type as Bpmn, flow as Association and association as Directional
+ shape: {
+ type: 'Bpmn',
+ flow: 'Association',
+ association: 'Directional'
+ },
+ },
+ {
+ // Position of the node
+ sourcePoint: {
+ x: 100,
+ y: 300
+ },
+ targetPoint: {
+ x: 300,
+ y: 300
+ },
+ //Sets type of the connector as Orthogonal
+ type: 'Orthogonal',
+ //Sets type as Bpmn, flow as Association and association as Default
+ shape: {
+ type: 'Bpmn',
+ flow: 'Association',
+ association: 'Default'
+ },
}];
// initialize Diagram component
function App() {
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Association-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/bpmnShapes/es5Association-cs1/app/index.tsx
index 5f09ec1aa..fd366cf70 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5Association-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Association-cs1/app/index.tsx
@@ -2,22 +2,29 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
-import {
- Diagram,
- DiagramComponent,
- Inject,
- NodeModel,
- ConnectorModel,
- BpmnShape,
- BpmnSubProcessModel,
- BpmnShapeModel,
- BpmnDiagrams,
- BpmnActivityModel,
- BpmnFlowModel,
- BpmnGatewayModel
+import {DiagramComponent,Inject,ConnectorModel,BpmnDiagrams,
} from "@syncfusion/ej2-react-diagrams";
-// A node is created and stored in nodes array.
-let connector: ConnectorModel[] = [{
+
+let connector:ConnectorModel[] = [{
+ // Position of the node
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 300,
+ y: 100
+ },
+ //Sets type of the connector as Orthogonal
+ type: 'Orthogonal',
+ //Sets type as Bpmn,flow as Association and association as BiDirectional
+ shape: {
+ type: 'Bpmn',
+ flow: 'Association',
+ association: 'BiDirectional'
+ },
+},
+{
// Position of the node
sourcePoint: {
x: 100,
@@ -29,11 +36,30 @@ let connector: ConnectorModel[] = [{
},
//Sets type of the connector as Orthogonal
type: 'Orthogonal',
- //Sets type as Bpmn, shape as Association and association as BiDirectional
+ //Sets type as Bpmn flow as Association and association as Directional
shape: {
type: 'Bpmn',
flow: 'Association',
- association: 'BiDirectional'
+ association: 'Directional'
+ },
+},
+{
+ // Position of the node
+ sourcePoint: {
+ x: 100,
+ y: 300
+ },
+ targetPoint: {
+ x: 300,
+ y: 300
+ },
+ //Sets type of the connector as Orthogonal
+ type: 'Orthogonal',
+ //Sets type as Bpmn shape, flow as Association and association as Default
+ shape: {
+ type: 'Bpmn',
+ flow: 'Association',
+ association: 'Default'
},
}];
// initialize Diagram component
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Association-cs1/index.html b/ej2-react/code-snippet/diagram/bpmnShapes/es5Association-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5Association-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Association-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Boundary-cs1/index.html b/ej2-react/code-snippet/diagram/bpmnShapes/es5Boundary-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5Boundary-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Boundary-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Call-cs1/index.html b/ej2-react/code-snippet/diagram/bpmnShapes/es5Call-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5Call-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Call-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Compensation-cs1/index.html b/ej2-react/code-snippet/diagram/bpmnShapes/es5Compensation-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5Compensation-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Compensation-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Data-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/bpmnShapes/es5Data-cs1/app/index.jsx
index 2f5d37077..1c0a3afca 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5Data-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Data-cs1/app/index.jsx
@@ -19,7 +19,43 @@ let node = [{
type: 'Input'
}
}
- }];
+ },
+ {
+ // Position of the node
+ offsetX: 450,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets type as Bpmn and shape as DataObject
+ shape: {
+ type: 'Bpmn',
+ shape: 'DataObject',
+ //Sets collection as true and type as Input
+ dataObject: {
+ collection: false,
+ type: 'Output'
+ }
+ }
+ },
+ {
+ // Position of the node
+ offsetX: 650,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets type as Bpmn and shape as DataObject
+ shape: {
+ type: 'Bpmn',
+ shape: 'DataObject',
+ //Sets collection as true and type as Input
+ dataObject: {
+ collection: false,
+ type: 'None'
+ }
+ }
+ },];
// initialize diagram component
function App() {
return (
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Datasource-cs1/index.html b/ej2-react/code-snippet/diagram/bpmnShapes/es5Datasource-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5Datasource-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Datasource-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Event-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/bpmnShapes/es5Event-cs1/app/index.jsx
index c0771c219..8de837f88 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5Event-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Event-cs1/app/index.jsx
@@ -2,24 +2,116 @@ import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent, Inject, BpmnDiagrams } from "@syncfusion/ej2-react-diagrams";
// A node is created and stored in nodes array.
-let node = [{
+let node = [
+ {
// Position of the node
- offsetX: 250,
- offsetY: 250,
+ offsetX: 150,
+ offsetY: 150,
// Size of the node
width: 100,
height: 100,
//Sets type as Bpmn and shape as event
shape: {
- type: 'Bpmn',
- shape: 'Event',
- // Sets event as End and trigger as None
- event: {
- event: 'End',
- trigger: 'None'
- }
+ type: 'Bpmn',
+ shape: 'Event',
+ // Sets event as Start and trigger as None
+ event: {
+ event: 'Start',
+ trigger: 'None',
+ },
},
- }];
+ },
+ {
+ // Position of the node
+ offsetX: 350,
+ offsetY: 150,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets type as Bpmn and shape as event
+ shape: {
+ type: 'Bpmn',
+ shape: 'Event',
+ // Sets event as Intermediate and trigger as None
+ event: {
+ event: 'Intermediate',
+ trigger: 'None',
+ },
+ },
+ },
+ {
+ // Position of the node
+ offsetX: 550,
+ offsetY: 150,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets type as Bpmn and shape as event
+ shape: {
+ type: 'Bpmn',
+ shape: 'Event',
+ // Sets event as End and trigger as None
+ event: {
+ event: 'End',
+ trigger: 'None',
+ },
+ },
+ },
+ {
+ // Position of the node
+ offsetX: 150,
+ offsetY: 350,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets type as Bpmn and shape as event
+ shape: {
+ type: 'Bpmn',
+ shape: 'Event',
+ // Sets event as NonInterruptingStart and trigger as Timer
+ event: {
+ event: 'NonInterruptingStart',
+ trigger: 'Timer',
+ },
+ },
+ },
+ {
+ // Position of the node
+ offsetX: 350,
+ offsetY: 350,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets type as Bpmn and shape as event
+ shape: {
+ type: 'Bpmn',
+ shape: 'Event',
+ // Sets event as NonInterruptingIntermediate and trigger as Escalation
+ event: {
+ event: 'NonInterruptingIntermediate',
+ trigger: 'Escalation',
+ },
+ },
+ },
+ {
+ // Position of the node
+ offsetX: 550,
+ offsetY: 350,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets type as Bpmn and shape as event
+ shape: {
+ type: 'Bpmn',
+ shape: 'Event',
+ // Sets event as ThrowingIntermediate and trigger as Compensation
+ event: {
+ event: 'ThrowingIntermediate',
+ trigger: 'Compensation',
+ },
+ },
+ },
+ ];
// initialize Diagram component
function App() {
return (
-
-
- );
+ return (
+
+
+
+ );
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-
-
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Event-cs1/index.html b/ej2-react/code-snippet/diagram/bpmnShapes/es5Event-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5Event-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Event-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5EventSub-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/bpmnShapes/es5EventSub-cs1/app/index.jsx
index 331a5f859..40e70f3e3 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5EventSub-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5EventSub-cs1/app/index.jsx
@@ -18,12 +18,13 @@ let node = [{
activity: 'SubProcess',
//Sets the collapsed as true and type as Event
subProcess: {
- collapsed: true,
+ collapsed: false,
type: 'Event',
//Sets event as Start and trigger as Message
events: [{
event: 'Start',
- trigger: 'Message'
+ trigger: 'Message',
+ offset: { x: 0.5, y: 0 },
}]
}
},
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5EventSub-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/bpmnShapes/es5EventSub-cs1/app/index.tsx
index 9d13fdf42..9ee7670f2 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5EventSub-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5EventSub-cs1/app/index.tsx
@@ -2,18 +2,7 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
-import {
- Diagram,
- DiagramComponent,
- Inject,
- NodeModel,
- BpmnShape,
- BpmnSubProcessModel,
- BpmnDiagrams,
- BpmnActivityModel,
- BpmnFlowModel,
- BpmnGatewayModel
-} from "@syncfusion/ej2-react-diagrams";
+import {DiagramComponent,Inject,NodeModel,BpmnDiagrams,} from "@syncfusion/ej2-react-diagrams";
// A node is created and stored in nodes array.
let node: NodeModel[] = [{
// Position of the node
@@ -31,12 +20,13 @@ let node: NodeModel[] = [{
activity: 'SubProcess',
//Sets the collapsed as true and type as Event
subProcess: {
- collapsed: true,
+ collapsed: false,
type: 'Event',
//Sets event as Start and trigger as Message
events: [{
event: 'Start',
- trigger: 'Message'
+ trigger: 'Message',
+ offset: { x: 0.5, y: 0 },
}]
}
},
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5EventSub-cs1/index.html b/ej2-react/code-snippet/diagram/bpmnShapes/es5EventSub-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5EventSub-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5EventSub-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Gateway-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/bpmnShapes/es5Gateway-cs1/app/index.jsx
index 4807e7bc3..272544608 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5Gateway-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Gateway-cs1/app/index.jsx
@@ -2,23 +2,144 @@ import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent, Inject, BpmnDiagrams } from "@syncfusion/ej2-react-diagrams";
// A node is created and stored in nodes array.
-let node = [{
- // Position of the node
- offsetX: 250,
- offsetY: 250,
- // Size of the node
- width: 100,
- height: 100,
- //Sets type as Bpmn and shape as Gateway
- shape: {
- type: 'Bpmn',
- shape: 'Gateway',
- //Sets type of the gateway as None
- gateway: {
- type: 'None',
- }
- },
- }];
+let node = [
+ {
+ // Position of the node
+ offsetX: 150,
+ offsetY: 150,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets type as Bpmn and shape as Gateway
+ shape: {
+ type: 'Bpmn',
+ shape: 'Gateway',
+ //Sets type of the gateway as None
+ gateway: {
+ type: 'None',
+ },
+ },
+ },
+ {
+ // Position of the node
+ offsetX: 350,
+ offsetY: 150,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets type as Bpmn and shape as event
+ shape: {
+ type: 'Bpmn',
+ shape: 'Gateway',
+ //Sets type of the gateway as Inclusive
+ gateway: {
+ type: 'Inclusive',
+ },
+ },
+ },
+ {
+ // Position of the node
+ offsetX: 550,
+ offsetY: 150,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets type as Bpmn and shape as event
+ shape: {
+ type: 'Bpmn',
+ shape: 'Gateway',
+ //Sets type of the gateway as Exclusive
+ gateway: {
+ type: 'Exclusive',
+ },
+ },
+ },
+ {
+ // Position of the node
+ offsetX: 150,
+ offsetY: 350,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets type as Bpmn and shape as event
+ shape: {
+ type: 'Bpmn',
+ shape: 'Gateway',
+ //Sets type of the gateway as Parallel
+ gateway: {
+ type: 'Parallel',
+ },
+ },
+ },
+ {
+ // Position of the node
+ offsetX: 350,
+ offsetY: 350,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets type as Bpmn and shape as event
+ shape: {
+ type: 'Bpmn',
+ shape: 'Gateway',
+ //Sets type of the gateway as ParallelEventBased
+ gateway: {
+ type: 'ParallelEventBased',
+ },
+ },
+ },
+ {
+ // Position of the node
+ offsetX: 550,
+ offsetY: 350,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets type as Bpmn and shape as event
+ shape: {
+ type: 'Bpmn',
+ shape: 'Gateway',
+ //Sets type of the gateway as EventBased
+ gateway: {
+ type: 'EventBased',
+ },
+ },
+ },
+ {
+ // Position of the node
+ offsetX: 150,
+ offsetY: 550,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets type as Bpmn and shape as event
+ shape: {
+ type: 'Bpmn',
+ shape: 'Gateway',
+ //Sets type of the gateway as ExclusiveEventBased
+ gateway: {
+ type: 'ExclusiveEventBased',
+ },
+ },
+ },
+ {
+ // Position of the node
+ offsetX: 350,
+ offsetY: 550,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets type as Bpmn and shape as event
+ shape: {
+ type: 'Bpmn',
+ shape: 'Gateway',
+ //Sets type of the gateway as Complex
+ gateway: {
+ type: 'Complex',
+ },
+ },
+ },
+ ];
// initialize Diagram component
function App() {
return (
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Group-cs1/index.html b/ej2-react/code-snippet/diagram/bpmnShapes/es5Group-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5Group-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Group-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Loop-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/bpmnShapes/es5Loop-cs1/app/index.jsx
index 21e3c27cd..6cda641f6 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5Loop-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Loop-cs1/app/index.jsx
@@ -2,49 +2,103 @@ import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent, Inject, BpmnDiagrams } from "@syncfusion/ej2-react-diagrams";
// A node is created and stored in nodes array.
-let node = [{
- // Position of the node
- offsetX: 100,
- offsetY: 100,
- // Size of the node
- width: 100,
- height: 100,
- //Sets type as Bpmn and shape as Activity
- shape: {
- type: 'Bpmn',
- shape: 'Activity',
- //Sets activity as Task
- activity: {
- activity: 'Task',
- //Sets loop of the task as Standard
- task: {
- loop: 'Standard'
- }
- },
+let node = [
+ {
+ // Position of the node
+ offsetX: 100,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ annotations: [{ content: 'Standard', offset: { x: 0.5, y: 1.2 } }],
+ //Sets type as Bpmn and shape as Activity
+ shape: {
+ type: 'Bpmn',
+ shape: 'Activity',
+ //Sets activity as Task
+ activity: {
+ activity: 'Task',
+ //Sets loop of the task as Standard
+ task: {
+ loop: 'Standard',
+ },
+ },
+ },
+ },
+ {
+ // Position of the node
+ offsetX: 300,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ annotations: [{ content: 'None', offset: { x: 0.5, y: 1.2 } }],
+ //Sets type as Bpmn and shape as activity
+ shape: {
+ type: 'Bpmn',
+ shape: 'Activity',
+ //Sets Activity as SubProcess
+ activity: {
+ activity: 'SubProcess',
+ //Sets collapsed as true and loop as None
+ subProcess: {
+ collapsed: true,
+ loop: 'None',
+ },
},
+ },
},
{
- // Position of the node
- offsetX: 300,
- offsetY: 100,
- // Size of the node
- width: 100,
- height: 100,
- //Sets type as Bpmn and shape as activity
- shape: {
- type: 'Bpmn',
- shape: 'Activity',
- //Sets Activity as SubProcess
- activity: {
- activity: 'SubProcess',
- //Sets collapsed as true and loop as Standard
- subProcess: {
- collapsed: true,
- loop: 'Standard'
- },
- },
+ // Position of the node
+ offsetX: 500,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ annotations: [
+ { content: 'ParallelMultiInstance', offset: { x: 0.5, y: 1.2 } },
+ ],
+ //Sets type as Bpmn and shape as activity
+ shape: {
+ type: 'Bpmn',
+ shape: 'Activity',
+ //Sets Activity as SubProcess
+ activity: {
+ activity: 'SubProcess',
+ //Sets collapsed as true and loop as ParallelMultiInstance
+ subProcess: {
+ collapsed: true,
+ loop: 'ParallelMultiInstance',
+ },
},
- }];
+ },
+ },
+ {
+ // Position of the node
+ offsetX: 700,
+ offsetY: 100,
+ // Size of the node
+ width: 100,
+ height: 100,
+ annotations: [
+ { content: 'SequenceMultiInstance', offset: { x: 0.5, y: 1.2 } },
+ ],
+ //Sets type as Bpmn and shape as activity
+ shape: {
+ type: 'Bpmn',
+ shape: 'Activity',
+ //Sets Activity as SubProcess
+ activity: {
+ activity: 'SubProcess',
+ //Sets collapsed as true and loop as SequenceMultiInstance
+ subProcess: {
+ collapsed: true,
+ loop: 'SequenceMultiInstance',
+ },
+ },
+ },
+ },
+ ];
// initialize diagram component
function App() {
return (
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Message-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/bpmnShapes/es5Message-cs1/app/index.jsx
index 48541c251..ba576e464 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5Message-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Message-cs1/app/index.jsx
@@ -1,9 +1,28 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent, Inject, BpmnDiagrams } from "@syncfusion/ej2-react-diagrams";
-// A node is created and stored in nodes array.
-let connector = [{
- // Position of the node
+
+let connector = [
+ {
+
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 300,
+ y: 100
+ },
+ type: 'Orthogonal',
+ //Sets type as Bpmn, flow as Message, and message as Default
+ shape: {
+ type: 'Bpmn',
+ flow: 'Message',
+ message: 'Default'
+ },
+ },
+ {
+
sourcePoint: {
x: 100,
y: 200
@@ -13,6 +32,24 @@ let connector = [{
y: 200
},
type: 'Orthogonal',
+ //Sets type as Bpmn, flow as Message, and message as NonInitiatingMessage
+ shape: {
+ type: 'Bpmn',
+ flow: 'Message',
+ message: 'NonInitiatingMessage'
+ },
+ },
+ {
+ // Position of the node
+ sourcePoint: {
+ x: 100,
+ y: 300
+ },
+ targetPoint: {
+ x: 300,
+ y: 300
+ },
+ type: 'Orthogonal',
//Sets type as Bpmn, flow as Message and message as InitiatingMessage
shape: {
type: 'Bpmn',
@@ -22,10 +59,10 @@ let connector = [{
}];
// initialize diagram component
function App() {
- return (
-
+ return (
+
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Message-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/bpmnShapes/es5Message-cs1/app/index.tsx
index 91b973bc9..6018dc7b1 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5Message-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Message-cs1/app/index.tsx
@@ -2,39 +2,63 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
-import {
- Diagram,
- DiagramComponent,
- Inject,
- NodeModel,
- ConnectorModel,
- BpmnShape,
- BpmnSubProcessModel,
- BpmnShapeModel,
- BpmnDiagrams,
- BpmnActivityModel,
- BpmnFlowModel,
- BpmnGatewayModel
-} from "@syncfusion/ej2-react-diagrams";
-// A node is created and stored in nodes array.
-let connector: ConnectorModel[] = [{
+import { DiagramComponent, Inject, ConnectorModel, BpmnDiagrams, } from "@syncfusion/ej2-react-diagrams";
+
+let connector: ConnectorModel[] = [
+ {
+
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 300,
+ y: 100
+ },
+ type: 'Orthogonal',
+ //Sets type as Bpmn, flow as Message, and message as Default
+ shape: {
+ type: 'Bpmn',
+ flow: 'Message',
+ message: 'Default'
+ },
+ },
+ {
+
+ sourcePoint: {
+ x: 100,
+ y: 200
+ },
+ targetPoint: {
+ x: 300,
+ y: 200
+ },
+ type: 'Orthogonal',
+ //Sets type as Bpmn, flow as Message, and message as NonInitiatingMessage
+ shape: {
+ type: 'Bpmn',
+ flow: 'Message',
+ message: 'NonInitiatingMessage'
+ },
+ },
+ {
// Position of the node
sourcePoint: {
- x: 100,
- y: 200
+ x: 100,
+ y: 300
},
targetPoint: {
- x: 300,
- y: 200
+ x: 300,
+ y: 300
},
type: 'Orthogonal',
//Sets type as Bpmn, flow as Message and message as InitiatingMessage
shape: {
- type: 'Bpmn',
- flow: 'Message',
- message: 'InitiatingMessage'
+ type: 'Bpmn',
+ flow: 'Message',
+ message: 'InitiatingMessage'
},
-}];
+ }];
// initialize diagram component
function App() {
return (
@@ -52,5 +76,3 @@ function App() {
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-
-
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Message-cs1/index.html b/ej2-react/code-snippet/diagram/bpmnShapes/es5Message-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5Message-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Message-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Sequence-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/bpmnShapes/es5Sequence-cs1/app/index.jsx
index 929bbff9a..b0788fa9f 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5Sequence-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Sequence-cs1/app/index.jsx
@@ -1,31 +1,67 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent, Inject, BpmnDiagrams } from "@syncfusion/ej2-react-diagrams";
-// A node is created and stored in nodes array.
+
let connector = [{
- // Position of the node
- sourcePoint: {
- x: 100,
- y: 200
- },
- targetPoint: {
- x: 300,
- y: 200
- },
- type: 'Orthogonal',
- //Sets type as Bpmn, flow as Sequence and sequence as Conditional
- shape: {
- type: 'Bpmn',
- flow: 'Sequence',
- sequence: 'Conditional'
- },
- }];
+ // Position of the node
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 300,
+ y: 100
+ },
+ type: 'Orthogonal',
+ //Sets type as Bpmn, flow as Sequence, and sequence as Default
+ shape: {
+ type: 'Bpmn',
+ flow: 'Sequence',
+ sequence: 'Default'
+ },
+},
+{
+ // Position of the node
+ sourcePoint: {
+ x: 100,
+ y: 200
+ },
+ targetPoint: {
+ x: 300,
+ y: 200
+ },
+ type: 'Orthogonal',
+ //Sets type as Bpmn, flow as Sequence, and sequence as Normal
+ shape: {
+ type: 'Bpmn',
+ flow: 'Sequence',
+ sequence: 'Normal'
+ },
+},
+{
+ // Position of the node
+ sourcePoint: {
+ x: 100,
+ y: 300
+ },
+ targetPoint: {
+ x: 300,
+ y: 300
+ },
+ type: 'Orthogonal',
+ //Sets type as Bpmn, flow as Sequence and sequence as Conditional
+ shape: {
+ type: 'Bpmn',
+ flow: 'Sequence',
+ sequence: 'Conditional'
+ },
+}];
// initialize diagram component
function App() {
- return (
-
+ return (
+
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Sequence-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/bpmnShapes/es5Sequence-cs1/app/index.tsx
index 43d158212..bd1445c62 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5Sequence-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Sequence-cs1/app/index.tsx
@@ -2,22 +2,29 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
-import {
- Diagram,
- DiagramComponent,
- Inject,
- NodeModel,
- ConnectorModel,
- BpmnShape,
- BpmnSubProcessModel,
- BpmnShapeModel,
- BpmnDiagrams,
- BpmnActivityModel,
- BpmnFlowModel,
- BpmnGatewayModel
+import {DiagramComponent,Inject,ConnectorModel,BpmnDiagrams,
} from "@syncfusion/ej2-react-diagrams";
-// A node is created and stored in nodes array.
-let connector: ConnectorModel[] = [{
+
+let connector:ConnectorModel[] = [
+ {
+ // Position of the node
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 300,
+ y: 100
+ },
+ type: 'Orthogonal',
+ //Sets type as Bpmn, flow as Sequence, and sequence as Default
+ shape: {
+ type: 'Bpmn',
+ flow: 'Sequence',
+ sequence: 'Default'
+ },
+},
+{
// Position of the node
sourcePoint: {
x: 100,
@@ -28,13 +35,31 @@ let connector: ConnectorModel[] = [{
y: 200
},
type: 'Orthogonal',
- //Sets type as Bpmn, flow as Sequence and sequence as Conditional
+ //Sets type as Bpmn, flow as Sequence, and sequence as Normal
shape: {
type: 'Bpmn',
flow: 'Sequence',
- sequence: 'Conditional'
+ sequence: 'Normal'
},
-}];
+},
+ {
+ // Position of the node
+ sourcePoint: {
+ x: 100,
+ y: 300
+ },
+ targetPoint: {
+ x: 300,
+ y: 300
+ },
+ type: 'Orthogonal',
+ //Sets type as Bpmn, flow as Sequence and sequence as Conditional
+ shape: {
+ type: 'Bpmn',
+ flow: 'Sequence',
+ sequence: 'Conditional'
+ },
+ }];
// initialize diagram component
function App() {
return (
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Sequence-cs1/index.html b/ej2-react/code-snippet/diagram/bpmnShapes/es5Sequence-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5Sequence-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Sequence-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Subprocess-cs1/index.html b/ej2-react/code-snippet/diagram/bpmnShapes/es5Subprocess-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5Subprocess-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Subprocess-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Task-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/bpmnShapes/es5Task-cs1/app/index.jsx
index 4b919c5bc..9aa2c882a 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5Task-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Task-cs1/app/index.jsx
@@ -2,27 +2,197 @@ import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent, Inject, BpmnDiagrams } from "@syncfusion/ej2-react-diagrams";
// A node is created and stored in nodes array.
-let node = [{
- // Position of the node
- offsetX: 250,
- offsetY: 250,
- // Size of the node
- width: 100,
- height: 100,
- //Sets type as Bpmn and shape as Activity
- shape: {
- type: 'Bpmn',
- shape: 'Activity',
- //Sets activity as Task
- activity: {
- activity: 'Task',
- //Sets the type of the task as Send
- task: {
- type: 'Send'
- }
- },
- },
- }];
+let node = [
+ {
+ // Position of the node
+ offsetX: 150,
+ offsetY: 150,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets type as Bpmn and shape as activity
+ shape: {
+ type: 'Bpmn',
+ shape: 'Activity',
+ //Sets activity as Task
+ activity: {
+ activity: 'Task',
+ //Sets the type of the task as Send
+ task: {
+ type: 'Send',
+ },
+ },
+ },
+ },
+ {
+ // Position of the node
+ offsetX: 350,
+ offsetY: 150,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets type as Bpmn and shape as activity
+ shape: {
+ type: 'Bpmn',
+ shape: 'Activity',
+ //Sets activity as Task
+ activity: {
+ activity: 'Task',
+ //Sets the type of the task as Service
+ task: {
+ type: 'Service',
+ },
+ },
+ },
+ },
+ {
+ // Position of the node
+ offsetX: 550,
+ offsetY: 150,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets type as Bpmn and shape as activity
+ shape: {
+ type: 'Bpmn',
+ shape: 'Activity',
+ //Sets activity as Task
+ activity: {
+ activity: 'Task',
+ //Sets the type of the task as BusinessRule
+ task: {
+ type: 'BusinessRule',
+ },
+ },
+ },
+ },
+ {
+ // Position of the node
+ offsetX: 750,
+ offsetY: 150,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets type as Bpmn and shape as activity
+ shape: {
+ type: 'Bpmn',
+ shape: 'Activity',
+ //Sets activity as Task
+ activity: {
+ activity: 'Task',
+ //Sets the type of the task as Receive
+ task: {
+ type: 'Receive',
+ },
+ },
+ },
+ },
+ {
+ // Position of the node
+ offsetX: 150,
+ offsetY: 350,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets type as Bpmn and shape as activity
+ shape: {
+ type: 'Bpmn',
+ shape: 'Activity',
+ //Sets activity as Task
+ activity: {
+ activity: 'Task',
+ //Sets the type of the task as InstantiatingReceive
+ task: {
+ type: 'InstantiatingReceive',
+ },
+ },
+ },
+ },
+ {
+ // Position of the node
+ offsetX: 350,
+ offsetY: 350,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets type as Bpmn and shape as activity
+ shape: {
+ type: 'Bpmn',
+ shape: 'Activity',
+ //Sets activity as Task
+ activity: {
+ activity: 'Task',
+ //Sets the type of the task as Manual
+ task: {
+ type: 'Manual',
+ },
+ },
+ },
+ },
+ {
+ // Position of the node
+ offsetX: 550,
+ offsetY: 350,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets type as Bpmn and shape as activity
+ shape: {
+ type: 'Bpmn',
+ shape: 'Activity',
+ //Sets activity as Task
+ activity: {
+ activity: 'Task',
+ //Sets the type of the task as Script
+ task: {
+ type: 'Script',
+ },
+ },
+ },
+ },
+ {
+ // Position of the node
+ offsetX: 750,
+ offsetY: 350,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets type as Bpmn and shape as activity
+ shape: {
+ type: 'Bpmn',
+ shape: 'Activity',
+ //Sets activity as Task
+ activity: {
+ activity: 'Task',
+ //Sets the type of the task as User
+ task: {
+ type: 'User',
+ },
+ },
+ },
+ },
+ {
+ // Position of the node
+ offsetX: 450,
+ offsetY: 550,
+ // Size of the node
+ width: 100,
+ height: 100,
+ //Sets type as Bpmn and shape as activity
+ shape: {
+ type: 'Bpmn',
+ shape: 'Activity',
+ //Sets activity as Task
+ activity: {
+ activity: 'Task',
+ //Sets the type of the task as None
+ task: {
+ type: 'None',
+ },
+ },
+ },
+ },
+ ];
// initialize Diagram component
function App() {
return (
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Text-cs1/index.html b/ej2-react/code-snippet/diagram/bpmnShapes/es5Text-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5Text-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Text-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Text1-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/bpmnShapes/es5Text1-cs1/app/index.jsx
new file mode 100644
index 000000000..594d70b58
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Text1-cs1/app/index.jsx
@@ -0,0 +1,102 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { SymbolPaletteComponent,Diagram,BpmnDiagrams, DiagramComponent} from "@syncfusion/ej2-react-diagrams";
+
+Diagram.Inject(BpmnDiagrams);
+SymbolPaletteComponent.Inject(BpmnDiagrams);
+//Initialize the basicshapes for the symbol palette
+export function getBPMNShapes() {
+ let bpmnShapes = [
+ {
+ id: 'Start',
+ width: 35,
+ height: 35,
+ shape: {
+ type: 'Bpmn',
+ shape: 'Event',
+ event: { event: 'Start' },
+ },
+ },
+ {
+ id: 'Gateway',
+ width: 35,
+ height: 35,
+ offsetX: 100,
+ offsetY: 100,
+ shape: {
+ type: 'Bpmn',
+ shape: 'Gateway',
+ gateway: { type: 'Exclusive' }
+ },
+ },
+ {
+ id: 'DataObject',
+ width: 35,
+ height: 35,
+ offsetX: 500,
+ offsetY: 100,
+ shape: {
+ type: 'Bpmn',
+ shape: 'DataObject',
+ dataObject: { collection: false, type: 'None' },
+ },
+ },
+ {
+ id: 'textAnnotation',
+ width: 35,
+ height: 35,
+ shape: {
+ type: 'Bpmn',
+ shape: 'TextAnnotation',
+ },
+ annotations: [{ content: 'textAnnotation' }],
+ },
+ ];
+ return bpmnShapes;
+}
+//Initializes the symbol palette
+function App() {
+ return (
+
+
+ {
+ symbol.width = 100;
+ symbol.height = 100;
+ }}
+ //Sets the margin of the dragging helper relative to the mouse cursor
+ symbolMargin={{
+ left: 12,
+ right: 12,
+ top: 12,
+ bottom: 12,
+ }}
+ getSymbolInfo={(symbol) => {
+ //Defines the symbol description
+ return { fit: true, description: { text: symbol.id } };
+ }}
+ />
+
+
+
+
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Text1-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/bpmnShapes/es5Text1-cs1/app/index.tsx
new file mode 100644
index 000000000..ecc20e515
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Text1-cs1/app/index.tsx
@@ -0,0 +1,102 @@
+import * as React from "react";
+import * as ReactDOM from 'react-dom';
+import { SymbolPaletteComponent,Diagram,BpmnDiagrams, DiagramComponent} from "@syncfusion/ej2-react-diagrams";
+
+Diagram.Inject(BpmnDiagrams);
+SymbolPaletteComponent.Inject(BpmnDiagrams);
+//Initialize the basicshapes for the symbol palette
+export function getBPMNShapes() {
+ let bpmnShapes = [
+ {
+ id: 'Start',
+ width: 35,
+ height: 35,
+ shape: {
+ type: 'Bpmn',
+ shape: 'Event',
+ event: { event: 'Start' },
+ },
+ },
+ {
+ id: 'Gateway',
+ width: 35,
+ height: 35,
+ offsetX: 100,
+ offsetY: 100,
+ shape: {
+ type: 'Bpmn',
+ shape: 'Gateway',
+ gateway: { type: 'Exclusive' }
+ },
+ },
+ {
+ id: 'DataObject',
+ width: 35,
+ height: 35,
+ offsetX: 500,
+ offsetY: 100,
+ shape: {
+ type: 'Bpmn',
+ shape: 'DataObject',
+ dataObject: { collection: false, type: 'None' },
+ },
+ },
+ {
+ id: 'textAnnotation',
+ width: 35,
+ height: 35,
+ shape: {
+ type: 'Bpmn',
+ shape: 'TextAnnotation',
+ },
+ annotations: [{ content: 'textAnnotation' }],
+ },
+ ];
+ return bpmnShapes;
+}
+//Initializes the symbol palette
+function App() {
+ return (
+
+
+ {
+ symbol.width = 100;
+ symbol.height = 100;
+ }}
+ //Sets the margin of the dragging helper relative to the mouse cursor
+ symbolMargin={{
+ left: 12,
+ right: 12,
+ top: 12,
+ bottom: 12,
+ }}
+ getSymbolInfo={(symbol) => {
+ //Defines the symbol description
+ return { fit: true, description: { text: symbol.id } };
+ }}
+ />
+
+
+
+
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Text1-cs1/index.html b/ej2-react/code-snippet/diagram/bpmnShapes/es5Text1-cs1/index.html
new file mode 100644
index 000000000..694fda845
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Text1-cs1/index.html
@@ -0,0 +1,45 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Text1-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/bpmnShapes/es5Text1-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Text1-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Text2-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/bpmnShapes/es5Text2-cs1/app/index.jsx
new file mode 100644
index 000000000..9248ac82d
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Text2-cs1/app/index.jsx
@@ -0,0 +1,89 @@
+import * as React from "react";
+import * as ReactDOM from 'react-dom';
+import { DiagramComponent, Inject, BpmnDiagrams, randomId } from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
+
+let diagramInstance;
+let nodes = [
+ {
+ id: 'event',
+ offsetX: 200,
+ offsetY: 200,
+ width: 70,
+ height: 70,
+ shape: { type: 'Bpmn', shape: 'Event' },
+ },
+]
+const addTextAnnotation = function () {
+ let event = diagramInstance.nodes[0];
+ let textAnnotation = {
+ name: 'newAnnotation' + randomId(),
+ angle: 0,
+ length: 100,
+ width: 100,
+ height: 40,
+ text: 'New Annotation',
+ };
+ /**
+ * parameter 1 - TextAnnotation to be added
+ * parameter 2 - The parent node where the text annotation will be added as a child.
+ */
+ diagramInstance.addTextAnnotation(textAnnotation, event);
+}
+
+const addTextAnnotationNode = function () {
+ let textAnnotation = {
+ id: 'textAnnotation' + randomId(),
+ offsetX: 300,
+ offsetY: 100,
+ width: 100,
+ height: 40,
+ annotations: [{ content: 'Text Annotation' }],
+ shape: {
+ type: 'Bpmn',
+ shape: 'TextAnnotation',
+ textAnnotation: {
+ //Parent node of text annotation
+ textAnnotationTarget: 'event',
+ textAnnotationDirection: 'Auto',
+ },
+ },
+ };
+ /**
+ * parameter 1 - TextAnnotation to be added to the event node
+ */
+ diagramInstance.add(textAnnotation);
+}
+
+const addTextAnnotationAlone = function () {
+ let textAnnotation = {
+ id: 'textAnnotationAlone' + randomId(),
+ offsetX: 300,
+ offsetY: 300,
+ width: 100,
+ height: 70,
+ annotations: [{ content: 'Text Annotation' }],
+ shape: {
+ type: 'Bpmn',
+ shape: 'TextAnnotation',
+ },
+ };
+ /**
+ * parameter 1 - TextAnnotation to be added to diagram without parent
+ */
+ diagramInstance.add(textAnnotation);
+}
+// initialize diagram component
+function App() {
+ return (
+
+
+ (diagramInstance = diagram)}
+ // Add node
+ nodes={nodes}
+ >
+
+
);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Text2-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/bpmnShapes/es5Text2-cs1/app/index.tsx
new file mode 100644
index 000000000..eb40ba543
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Text2-cs1/app/index.tsx
@@ -0,0 +1,91 @@
+
+
+import * as React from "react";
+import * as ReactDOM from 'react-dom';
+import { DiagramComponent, NodeModel, Node, Inject, BpmnDiagrams, randomId } from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
+
+let diagramInstance:DiagramComponent;
+let nodes: NodeModel[] = [
+ {
+ id: 'event',
+ offsetX: 200,
+ offsetY: 200,
+ width: 70,
+ height: 70,
+ shape: { type: 'Bpmn', shape: 'Event' },
+ },
+]
+const addTextAnnotation = function () {
+ let event = diagramInstance.nodes[0];
+ let textAnnotation = {
+ name: 'newAnnotation' + randomId(),
+ angle: 0,
+ length: 100,
+ width: 100,
+ height: 40,
+ text: 'New Annotation',
+ };
+ /**
+ * parameter 1 - TextAnnotation to be added
+ * parameter 2 - The parent node where the text annotation will be added as a child.
+ */
+ diagramInstance.addTextAnnotation(textAnnotation, event);
+}
+
+const addTextAnnotationNode = function () {
+ let textAnnotation = {
+ id: 'textAnnotation' + randomId(),
+ offsetX: 300,
+ offsetY: 100,
+ width: 100,
+ height: 40,
+ annotations: [{ content: 'Text Annotation' }],
+ shape: {
+ type: 'Bpmn',
+ shape: 'TextAnnotation',
+ textAnnotation: {
+ //Parent node of text annotation
+ textAnnotationTarget: 'event',
+ textAnnotationDirection: 'Auto',
+ },
+ },
+ };
+ /**
+ * parameter 1 - TextAnnotation to be added to the event node
+ */
+ diagramInstance.add(textAnnotation as Node);
+}
+
+const addTextAnnotationAlone = function () {
+ let textAnnotation = {
+ id: 'textAnnotationAlone' + randomId(),
+ offsetX: 300,
+ offsetY: 300,
+ width: 100,
+ height: 70,
+ annotations: [{ content: 'Text Annotation' }],
+ shape: {
+ type: 'Bpmn',
+ shape: 'TextAnnotation',
+ },
+ };
+ /**
+ * parameter 1 - TextAnnotation to be added to diagram without parent
+ */
+ diagramInstance.add(textAnnotation as Node);
+}
+// initialize diagram component
+function App() {
+ return (
+
+
+ (diagramInstance = diagram)}
+ // Add node
+ nodes={nodes}
+ >
+
+
);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Text2-cs1/index.html b/ej2-react/code-snippet/diagram/bpmnShapes/es5Text2-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Text2-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5Text2-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/bpmnShapes/es5Text2-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5Text2-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5TransitionSub-cs1/index.html b/ej2-react/code-snippet/diagram/bpmnShapes/es5TransitionSub-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5TransitionSub-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5TransitionSub-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5bpmn-cs1/index.html b/ej2-react/code-snippet/diagram/bpmnShapes/es5bpmn-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/bpmnShapes/es5bpmn-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5bpmn-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs1/app/index.jsx
new file mode 100644
index 000000000..22b3d540c
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs1/app/index.jsx
@@ -0,0 +1,33 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent,NodeConstraints, Inject, BpmnDiagrams } from "@syncfusion/ej2-react-diagrams";
+// A node is created and stored in nodes array.
+let nodes= [
+ {
+ id: 'subProcess',
+ width: 520,
+ height: 250,
+ offsetX: 355,
+ offsetY: 230,
+ constraints: NodeConstraints.Default | NodeConstraints.AllowDrop,
+ shape: {
+ shape: 'Activity',
+ type: 'Bpmn',
+ activity: {
+ activity: 'SubProcess',
+ subProcess: {
+ collapsed: false,
+ },
+ },
+ },
+ },]
+// initialize diagram component
+function App() {
+ return (
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs1/app/index.tsx
new file mode 100644
index 000000000..4e45c5778
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs1/app/index.tsx
@@ -0,0 +1,34 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent,NodeModel,NodeConstraints, Inject, BpmnDiagrams } from "@syncfusion/ej2-react-diagrams";
+// A node is created and stored in nodes array.
+let nodes:NodeModel[]= [
+ {
+ id: 'subProcess',
+ width: 520,
+ height: 250,
+ offsetX: 355,
+ offsetY: 230,
+ constraints: NodeConstraints.Default | NodeConstraints.AllowDrop,
+ shape: {
+ shape: 'Activity',
+ type: 'Bpmn',
+ activity: {
+ activity: 'SubProcess',
+ subProcess: {
+ collapsed: false,
+ },
+ },
+ },
+ },]
+// initialize diagram component
+function App() {
+ return (
+
+ );
+}
+
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs1/index.html b/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs2/app/index.jsx b/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs2/app/index.jsx
new file mode 100644
index 000000000..b4c9bc14c
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs2/app/index.jsx
@@ -0,0 +1,41 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent,NodeConstraints, Inject, BpmnDiagrams } from "@syncfusion/ej2-react-diagrams";
+// A node is created and stored in nodes array.
+let nodes = [
+ {
+ id: 'start',
+ height: 50,
+ width: 50,
+ margin: { left: 50, top: 50 },
+ shape: { type: 'Bpmn', shape: 'Event' },
+ },
+ {
+ id: 'subProcess',
+ width: 520,
+ height: 250,
+ offsetX: 355,
+ offsetY: 230,
+ constraints: NodeConstraints.Default | NodeConstraints.AllowDrop,
+ shape: {
+ shape: 'Activity',
+ type: 'Bpmn',
+ activity: {
+ activity: 'SubProcess',
+ subProcess: {
+ collapsed: false,
+ processes: ['start'],
+ },
+ },
+ },
+ },]
+// initialize diagram component
+function App() {
+ return (
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs2/app/index.tsx b/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs2/app/index.tsx
new file mode 100644
index 000000000..62c86489a
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs2/app/index.tsx
@@ -0,0 +1,41 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent,NodeConstraints,NodeModel,Inject, BpmnDiagrams } from "@syncfusion/ej2-react-diagrams";
+// A node is created and stored in nodes array.
+let nodes:NodeModel[] = [
+ {
+ id: 'start',
+ height: 50,
+ width: 50,
+ margin: { left: 50, top: 50 },
+ shape: { type: 'Bpmn', shape: 'Event' },
+ },
+ {
+ id: 'subProcess',
+ width: 520,
+ height: 250,
+ offsetX: 355,
+ offsetY: 230,
+ constraints: NodeConstraints.Default | NodeConstraints.AllowDrop,
+ shape: {
+ shape: 'Activity',
+ type: 'Bpmn',
+ activity: {
+ activity: 'SubProcess',
+ subProcess: {
+ collapsed: false,
+ processes: ['start'],
+ },
+ },
+ },
+ },]
+// initialize diagram component
+function App() {
+ return (
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs2/index.html b/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs2/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs2/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs2/systemjs.config.js b/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs2/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs2/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs3/app/index.jsx b/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs3/app/index.jsx
new file mode 100644
index 000000000..eec790941
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs3/app/index.jsx
@@ -0,0 +1,73 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent, NodeConstraints, Inject, BpmnDiagrams } from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
+let diagramInstance;
+// A node is created and stored in nodes array.
+let nodes = [
+ {
+ id: 'start',
+ height: 50,
+ width: 50,
+ margin: { left: 50, top: 50 },
+ shape: { type: 'Bpmn', shape: 'Event' },
+ },
+ {
+ id: 'event2',
+ height: 50,
+ width: 50,
+ margin: { left: 150, top: 50 },
+ shape: { type: 'Bpmn', shape: 'Event', event: { type: '' } },
+ },
+ {
+ id: 'subProcess',
+ width: 520,
+ height: 250,
+ offsetX: 355,
+ offsetY: 230,
+ constraints: NodeConstraints.Default | NodeConstraints.AllowDrop,
+ shape: {
+ shape: 'Activity',
+ type: 'Bpmn',
+ activity: {
+ activity: 'SubProcess',
+ subProcess: {
+ collapsed: false,
+ processes: ['start'],
+ },
+ },
+ },
+ },
+]
+
+const addProcess = function () {
+ let event = diagramInstance.nameTable['event2'];
+ /**
+ * parameter 1 - A process to be added
+ * parameter 2 - A string representing the parent ID where the process will be added.
+ */
+ diagramInstance.addProcess(event, 'subProcess');
+}
+
+const removeProcess = function () {
+ /**
+ * parameter 1 - The ID of the process to be removed.
+ */
+ diagramInstance.removeProcess('event2');
+}
+
+// initialize diagram component
+function App() {
+ return (
+
+
+ (diagramInstance = diagram)}
+ // Add node
+ nodes={nodes}>
+
+
+
);
+}
+
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs3/app/index.tsx b/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs3/app/index.tsx
new file mode 100644
index 000000000..1586a6974
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs3/app/index.tsx
@@ -0,0 +1,72 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent,NodeModel,NodeConstraints, Inject, BpmnDiagrams } from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
+let diagramInstance:DiagramComponent;
+// A node is created and stored in nodes array.
+let nodes:NodeModel[] = [
+ {
+ id: 'start',
+ height: 50,
+ width: 50,
+ margin: { left: 50, top: 50 },
+ shape: { type: 'Bpmn', shape: 'Event' },
+ },
+ {
+ id: 'event2',
+ height: 50,
+ width: 50,
+ margin: { left: 150, top: 50 },
+ shape: { type: 'Bpmn', shape: 'Event', event: { type: '' } },
+ },
+ {
+ id: 'subProcess',
+ width: 520,
+ height: 250,
+ offsetX: 355,
+ offsetY: 230,
+ constraints: NodeConstraints.Default | NodeConstraints.AllowDrop,
+ shape: {
+ shape: 'Activity',
+ type: 'Bpmn',
+ activity: {
+ activity: 'SubProcess',
+ subProcess: {
+ collapsed: false,
+ processes: ['start'],
+ },
+ },
+ },
+ },
+]
+
+const addProcess=function() {
+ let event = diagramInstance.nameTable['event2'];
+ /**
+ * parameter 1 - A process to be added
+ * parameter 2 - A string representing the parent ID where the process will be added.
+ */
+ diagramInstance.addProcess(event, 'subProcess');
+}
+
+const removeProcess=function() {
+ /**
+ * parameter 1 - The ID of the process to be removed.
+ */
+ diagramInstance.removeProcess('event2');
+}
+
+// initialize diagram component
+function App() {
+ return (
+
+
+ (diagramInstance = diagram)}
+ // Add node
+ nodes={nodes}>
+
+
+
);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs3/index.html b/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs3/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs3/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs3/systemjs.config.js b/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs3/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/bpmnShapes/es5expand-cs3/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/commands/alignMode-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/commands/alignMode-cs1/app/index.jsx
new file mode 100644
index 000000000..034b47202
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/alignMode-cs1/app/index.jsx
@@ -0,0 +1,56 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {DiagramComponent} from "@syncfusion/ej2-react-diagrams";
+let diagramInstance;
+//Initializes the node
+let node = [{
+ id: 'node1',
+ width: 90,
+ height: 60,
+ offsetX: 100,
+ offsetY: 100,
+}, {
+ id: 'node2',
+ width: 100,
+ height: 60,
+ offsetX: 100,
+ offsetY: 170,
+}, {
+ id: 'node3',
+ width: 140,
+ height: 60,
+ offsetX: 100,
+ offsetY: 240,
+}];
+//Initializes the Diagram Component
+function App() {
+ return (
+ (diagramInstance = diagram)}
+ width={'650px'}
+ height={'350px'}
+ nodes={node}
+ created={() => {
+ let selArray = [];
+ selArray.push(
+ diagramInstance.nodes[0],
+ diagramInstance.nodes[1],
+ diagramInstance.nodes[2]
+ );
+ //Selects the nodes
+ diagramInstance.select(selArray);
+ //Sets direction as left
+ diagramInstance.align(
+ 'Left',
+ diagramInstance.selectedItems.nodes,
+ 'Selector'
+ );
+ diagramInstance.dataBind();
+ }}
+ />
+ );
+}
+
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/alignMode-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/commands/alignMode-cs1/app/index.tsx
new file mode 100644
index 000000000..f0a37fce8
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/alignMode-cs1/app/index.tsx
@@ -0,0 +1,57 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {DiagramComponent,NodeModel} from "@syncfusion/ej2-react-diagrams";
+
+let diagramInstance: DiagramComponent;
+//Initializes the node
+let node: NodeModel[] = [{
+ id: 'node1',
+ width: 90,
+ height: 60,
+ offsetX: 100,
+ offsetY: 100,
+}, {
+ id: 'node2',
+ width: 100,
+ height: 60,
+ offsetX: 100,
+ offsetY: 170,
+}, {
+ id: 'node3',
+ width: 140,
+ height: 60,
+ offsetX: 100,
+ offsetY: 240,
+}];
+//Initializes the Diagram Component
+function App() {
+ return (
+ (diagramInstance = diagram)}
+ width={'650px'}
+ height={'350px'}
+ nodes={node}
+ created={() => {
+ let selArray:any = [];
+ selArray.push(
+ diagramInstance.nodes[0],
+ diagramInstance.nodes[1],
+ diagramInstance.nodes[2]
+ );
+ //Selects the nodes
+ diagramInstance.select(selArray);
+ //Sets direction as left
+ diagramInstance.align(
+ 'Left',
+ diagramInstance.selectedItems.nodes,
+ 'Selector'
+ );
+ diagramInstance.dataBind();
+ }}
+ />
+ );
+}
+
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/alignMode-cs1/index.html b/ej2-react/code-snippet/diagram/commands/alignMode-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/alignMode-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/alignMode-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/commands/alignMode-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/alignMode-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/commands/bringIntoView-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/commands/bringIntoView-cs1/app/index.jsx
new file mode 100644
index 000000000..29b30b7fc
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/bringIntoView-cs1/app/index.jsx
@@ -0,0 +1,45 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent,Rect,DiagramTools } from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
+let diagramInstance;
+//Initializes the nodes
+let node = [
+ {
+ id: 'node1',
+ offsetX: 1000,
+ offsetY: 100,
+ width: 70,
+ height: 40,
+ },
+];
+
+const bringIntoView = function(){
+ let nodeBounds = diagramInstance.nodes[0].wrapper.bounds;
+ debugger;
+ let bounds = new Rect(
+ nodeBounds.x,
+ nodeBounds.y,
+ nodeBounds.width,
+ nodeBounds.height
+ );
+ /**
+ * parameter - bounds of region to bring into view
+ */
+ diagramInstance.bringIntoView(bounds);
+}
+
+//Initializes the Diagram component
+function App() {
+ return (
+
+ (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={node}
+ tool={ DiagramTools.ZoomPan}
+ scrollSettings={{
+ //Sets the scroll limit
+ scrollLimit: 'Infinity',
+ }}
+ />
);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/commands/bringIntoView-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/commands/bringIntoView-cs1/app/index.tsx
new file mode 100644
index 000000000..3d27bb558
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/bringIntoView-cs1/app/index.tsx
@@ -0,0 +1,45 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent,Rect,DiagramTools,NodeModel} from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
+let diagramInstance:DiagramComponent;
+//Initializes the nodes
+let node:NodeModel[] = [
+ {
+ id: 'node1',
+ offsetX: 1000,
+ offsetY: 100,
+ width: 70,
+ height: 40,
+ },
+];
+
+const bringIntoView = function(){
+ let nodeBounds = diagramInstance.nodes[0].wrapper.bounds;
+ debugger;
+ let bounds = new Rect(
+ nodeBounds.x,
+ nodeBounds.y,
+ nodeBounds.width,
+ nodeBounds.height
+ );
+ /**
+ * parameter - bounds of region to bring into view
+ */
+ diagramInstance.bringIntoView(bounds);
+}
+
+//Initializes the Diagram component
+function App() {
+ return (
+
+ (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={node}
+ tool={ DiagramTools.ZoomPan}
+ scrollSettings={{
+ //Sets the scroll limit
+ scrollLimit: 'Infinity',
+ }}
+ />
);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/commands/bringIntoView-cs1/index.html b/ej2-react/code-snippet/diagram/commands/bringIntoView-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/bringIntoView-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/bringIntoView-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/commands/bringIntoView-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/bringIntoView-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/commands/bringToCenter-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/commands/bringToCenter-cs1/app/index.jsx
new file mode 100644
index 000000000..853c0ccf1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/bringToCenter-cs1/app/index.jsx
@@ -0,0 +1,42 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent,Rect,DiagramTools } from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
+let diagramInstance;
+//Initializes the nodes
+let node = [
+ {
+ id: 'node1',
+ offsetX: 1000,
+ offsetY: 100,
+ width: 70,
+ height: 40,
+ },
+];
+
+const bringToCenter = function(){
+ let nodeBounds = diagramInstance.nodes[0].wrapper.bounds;
+ debugger;
+ let bounds = new Rect(
+ nodeBounds.x,
+ nodeBounds.y,
+ nodeBounds.width,
+ nodeBounds.height
+ );
+ diagramInstance.bringToCenter(bounds);
+}
+
+//Initializes the Diagram component
+function App() {
+ return (
+
+ (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={node}
+ tool={ DiagramTools.ZoomPan}
+ scrollSettings={{
+ //Sets the scroll limit
+ scrollLimit: 'Infinity',
+ }}
+ />
);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/commands/bringToCenter-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/commands/bringToCenter-cs1/app/index.tsx
new file mode 100644
index 000000000..08e8a9c92
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/bringToCenter-cs1/app/index.tsx
@@ -0,0 +1,42 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent,Rect,DiagramTools,NodeModel } from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
+let diagramInstance:DiagramComponent;
+//Initializes the nodes
+let node:NodeModel[] = [
+ {
+ id: 'node1',
+ offsetX: 1000,
+ offsetY: 100,
+ width: 70,
+ height: 40,
+ },
+];
+
+const bringToCenter = function(){
+ let nodeBounds = diagramInstance.nodes[0].wrapper.bounds;
+ debugger;
+ let bounds = new Rect(
+ nodeBounds.x,
+ nodeBounds.y,
+ nodeBounds.width,
+ nodeBounds.height
+ );
+ diagramInstance.bringToCenter(bounds);
+}
+
+//Initializes the Diagram component
+function App() {
+ return (
+
+ (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={node}
+ tool={ DiagramTools.ZoomPan}
+ scrollSettings={{
+ //Sets the scroll limit
+ scrollLimit: 'Infinity',
+ }}
+ />
);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/commands/bringToCenter-cs1/index.html b/ej2-react/code-snippet/diagram/commands/bringToCenter-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/bringToCenter-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/bringToCenter-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/commands/bringToCenter-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/bringToCenter-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/commands/customCommand-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/commands/customCommand-cs1/app/index.jsx
new file mode 100644
index 000000000..89f2d7c0c
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/customCommand-cs1/app/index.jsx
@@ -0,0 +1,71 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent, Keys, KeyModifiers } from "@syncfusion/ej2-react-diagrams";
+let diagramInstance;
+// Initializes the nodes
+let node = [
+ {
+ id: 'node1',
+ offsetX: 100,
+ offsetY: 100,
+ width: 70,
+ height: 40,
+ style: { fill: '#64abbb' },
+ },
+];
+
+// Initializes the Diagram component
+function App() {
+ return (
+
+ (diagramInstance = diagram)}
+ width={'650px'}
+ height={'350px'}
+ nodes={node}
+ commandManager={{
+ commands: [
+ {
+ name: 'clone',
+ canExecute: function () {
+ return diagramInstance.selectedItems.nodes.length > 0;
+ },
+ execute: function () {
+ diagramInstance.copy();
+ diagramInstance.paste();
+ },
+ gesture: {
+ // Press G to clone node
+ key: Keys.G,
+ keyModifiers: null,
+ },
+ },
+ {
+ name: 'color',
+ canExecute: function () {
+ return diagramInstance.selectedItems.nodes.length > 0;
+ },
+ execute: function () {
+ const node = diagramInstance.selectedItems.nodes[0];
+ node.style.fill = node.style.fill === '#64abbb' ? 'yellow' : '#64abbb';
+ diagramInstance.dataBind();
+ },
+ gesture: {
+ // Press Shift+G or Alt+G to change node color
+ key: Keys.G,
+ keyModifiers: KeyModifiers.Shift | KeyModifiers.Alt,
+ },
+ },
+ ],
+ }}
+ />
+ );
+}
+
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/customCommand-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/commands/customCommand-cs1/app/index.tsx
new file mode 100644
index 000000000..f495a7c66
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/customCommand-cs1/app/index.tsx
@@ -0,0 +1,71 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent, Keys, KeyModifiers,NodeModel } from "@syncfusion/ej2-react-diagrams";
+let diagramInstance:DiagramComponent;
+// Initializes the nodes
+let node:NodeModel[] = [
+ {
+ id: 'node1',
+ offsetX: 100,
+ offsetY: 100,
+ width: 70,
+ height: 40,
+ style: { fill: '#64abbb' },
+ },
+];
+
+// Initializes the Diagram component
+function App() {
+ return (
+
+ (diagramInstance = diagram)}
+ width={'650px'}
+ height={'350px'}
+ nodes={node}
+ commandManager={{
+ commands: [
+ {
+ name: 'clone',
+ canExecute: function () {
+ return diagramInstance.selectedItems.nodes.length > 0;
+ },
+ execute: function () {
+ diagramInstance.copy();
+ diagramInstance.paste();
+ },
+ gesture: {
+ // Press G to clone node
+ key: Keys.G,
+ keyModifiers: null,
+ },
+ },
+ {
+ name: 'color',
+ canExecute: function () {
+ return diagramInstance.selectedItems.nodes.length > 0;
+ },
+ execute: function () {
+ const node = diagramInstance.selectedItems.nodes[0];
+ node.style.fill = node.style.fill === '#64abbb' ? 'yellow' : '#64abbb';
+ diagramInstance.dataBind();
+ },
+ gesture: {
+ // Press Shift+G or Alt+G to change node color
+ key: Keys.G,
+ keyModifiers: KeyModifiers.Shift | KeyModifiers.Alt,
+ },
+ },
+ ],
+ }}
+ />
+ );
+}
+
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/customCommand-cs1/index.html b/ej2-react/code-snippet/diagram/commands/customCommand-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/customCommand-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/customCommand-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/commands/customCommand-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/customCommand-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/commands/distribute-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/commands/distribute-cs1/app/index.jsx
new file mode 100644
index 000000000..c1a696631
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/distribute-cs1/app/index.jsx
@@ -0,0 +1,48 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {DiagramComponent,} from "@syncfusion/ej2-react-diagrams";
+let diagramInstance;
+//Initializes the node
+let node = [{
+ id: 'node1',
+ width: 100,
+ height: 60,
+ offsetX: 140,
+ offsetY: 100,
+
+}, {
+ id: 'node2',
+ width: 100,
+ height: 60,
+ offsetX: 200,
+ offsetY: 170,
+
+}, {
+ id: 'node3',
+ width: 100,
+ height: 60,
+ offsetX: 400,
+ offsetY: 240,
+}];
+//Initializes the Diagram Component
+function App() {
+ return (
+ (diagramInstance = diagram)}
+ width={'650px'}
+ height={'350px'}
+ nodes={node}
+ created={() => {
+ let selArray = []; selArray.push(diagramInstance.nodes[0], diagramInstance.nodes[1], diagramInstance.nodes[2]);
+ //Selects the nodes
+ diagramInstance.select(selArray);
+ //Distributes space between the nodes
+ diagramInstance.distribute('RightToLeft', diagramInstance.selectedItems.nodes);
+ }}
+ />
+ );
+}
+
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/distribute-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/commands/distribute-cs1/app/index.tsx
new file mode 100644
index 000000000..2f3116000
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/distribute-cs1/app/index.tsx
@@ -0,0 +1,50 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent, NodeModel } from "@syncfusion/ej2-react-diagrams";
+let diagramInstance: DiagramComponent;
+//Initializes the node
+let node: NodeModel[] = [
+ {
+ id: 'node1',
+ width: 100,
+ height: 60,
+ offsetX: 140,
+ offsetY: 100,
+},
+{
+ id: 'node2',
+ width: 100,
+ height: 60,
+ offsetX: 200,
+ offsetY: 170,
+},
+{
+ id: 'node3',
+ width: 100,
+ height: 60,
+ offsetX: 400,
+ offsetY: 240,
+}
+];
+//Initializes the Diagram Component
+function App() {
+ return (
+ (diagramInstance = diagram)}
+ width={'650px'}
+ height={'350px'}
+ nodes={node}
+ created={() => {
+ let selArray: NodeModel[] = []; selArray.push(diagramInstance.nodes[0], diagramInstance.nodes[1], diagramInstance.nodes[2]);
+ //Selects the nodes
+ diagramInstance.select(selArray);
+ //Distributes space between the nodes
+ diagramInstance.distribute('RightToLeft', diagramInstance.selectedItems.nodes);
+ }}
+ />
+ );
+}
+
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/distribute-cs1/index.html b/ej2-react/code-snippet/diagram/commands/distribute-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/distribute-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/distribute-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/commands/distribute-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/distribute-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/commands/es5bringfront-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/commands/es5bringfront-cs1/app/index.jsx
index 2f234ad99..95688e5e4 100644
--- a/ej2-react/code-snippet/diagram/commands/es5bringfront-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/commands/es5bringfront-cs1/app/index.jsx
@@ -1,54 +1,42 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
let diagramInstance;
//Initializes the nodes
-let node = [{
+let node = [
+ {
id: 'node1',
width: 90,
- height: 60,
- offsetX: 100,
+ height: 70,
+ offsetX: 120,
offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- }, {
+ },
+ {
id: 'node2',
width: 90,
- height: 60,
- offsetX: 240,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- }, {
+ height: 70,
+ offsetX: 150,
+ offsetY: 120,
+ },
+ {
id: 'node3',
width: 90,
- height: 60,
- offsetX: 160,
- offsetY: 90,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- }];
-let selArray = [];
+ height: 70,
+ offsetX: 170,
+ offsetY: 150,
+ },
+];
+
+const bringToFront = function(){
+ diagramInstance.bringToFront();
+
+}
//Initializes the Diagram component
function App() {
- return ( (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={node} created={() => {
- selArray.push(diagramInstance.nodes[2]);
- //Selects the nodes
- diagramInstance.select(selArray);
- //Brings to front
- diagramInstance.bringToFront();
- }}/>);
+ return (
+
+ (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={node} />
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/es5bringfront-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/commands/es5bringfront-cs1/app/index.tsx
index 92f104f8f..0d998c39a 100644
--- a/ej2-react/code-snippet/diagram/commands/es5bringfront-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/commands/es5bringfront-cs1/app/index.tsx
@@ -1,73 +1,42 @@
-{% raw %}
-
-
import * as React from "react";
import * as ReactDOM from "react-dom";
-import {
- Diagram,
- DiagramComponent,
- ConnectorModel,
- NodeModel
-} from "@syncfusion/ej2-react-diagrams";
-let diagramInstance: DiagramComponent;
+import { DiagramComponent,NodeModel } from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
+let diagramInstance:DiagramComponent;
//Initializes the nodes
-let node: NodeModel[] = [{
- id: 'node1',
- width: 90,
- height: 60,
- offsetX: 100,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
-}, {
- id: 'node2',
- width: 90,
- height: 60,
- offsetX: 240,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
-}, {
- id: 'node3',
- width: 90,
- height: 60,
- offsetX: 160,
- offsetY: 90,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
-}];
-let selArray: (NodeModel)[] = [];
+let node:NodeModel[] = [
+ {
+ id: 'node1',
+ width: 90,
+ height: 70,
+ offsetX: 120,
+ offsetY: 100,
+ },
+ {
+ id: 'node2',
+ width: 90,
+ height: 70,
+ offsetX: 150,
+ offsetY: 120,
+ },
+ {
+ id: 'node3',
+ width: 90,
+ height: 70,
+ offsetX: 170,
+ offsetY: 150,
+ },
+];
+
+const bringToFront = function(){
+ diagramInstance.bringToFront();
+
+}
//Initializes the Diagram component
function App() {
- return (
- (diagramInstance = diagram)}
- width={'650px'}
- height={'350px'}
- nodes={node}
- created={() => {
- selArray.push(diagramInstance.nodes[2]);
- //Selects the nodes
- diagramInstance.select(selArray);
- //Brings to front
- diagramInstance.bringToFront();
- }}
- />
- );
+ return (
+
+ (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={node} />
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-
-
-
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/es5bringfront-cs1/index.html b/ej2-react/code-snippet/diagram/commands/es5bringfront-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/commands/es5bringfront-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/commands/es5bringfront-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/commands/es5clipboard-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/commands/es5clipboard-cs1/app/index.jsx
index 99488f597..ed172380a 100644
--- a/ej2-react/code-snippet/diagram/commands/es5clipboard-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/commands/es5clipboard-cs1/app/index.jsx
@@ -1,63 +1,72 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
let diagramInstance;
-//Initializes the connector
-let connector = [{
- id: 'connector1',
- sourceID: 'node1',
- targetID: 'node2',
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2,
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- }
- }];
+
//Initializes the nodes
let node = [{
- id: 'node1',
- width: 90,
- height: 60,
- offsetX: 100,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
+ id: 'node1',
+ width: 100,
+ height: 80,
+ offsetX: 140,
+ offsetY: 100,
+ annotations: [{ content: 'Node1' }],
+ },
+ {
+ id: 'node2',
+ width: 100,
+ height: 60,
+ offsetX: 140,
+ offsetY: 200,
+ annotations: [{ content: 'Node2' }],
+ },
+ {
+ id: 'node3',
+ width: 200,
+ height: 30,
+ offsetX: 140,
+ offsetY: 300,
+ annotations: [{ content: 'Node3' }],
+ },];
+const cut = function(){
+ diagramInstance.cut();
+}
+
+const copy = function(){
+ diagramInstance.copy();
+}
+
+const paste = function(){
+ diagramInstance.paste();
+}
+
+const pasteDefinedObject = function(){
+ let nodes = [
+ {
+ id: 'n1',
+ offsetX: 400,
+ offsetY: 100,
+ width: 100,
},
- }, {
- id: 'node2',
- width: 90,
- height: 60,
- offsetX: 240,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
+ {
+ id: 'n2',
+ offsetX: 400,
+ offsetY: 200,
+ width: 100,
},
- }];
+ ];
+ diagramInstance.paste(nodes);
+}
+
//Initializes the Diagram component
function App() {
- return ( (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={node} connectors={connector} created={() => {
- diagramInstance.select([
- diagramInstance.nodes[0],
- diagramInstance.nodes[1],
- diagramInstance.connectors[0],
- ]);
- //copies the selected nodes
- diagramInstance.copy();
- //pastes the copied objects
- diagramInstance.paste(diagramInstance.copy());
- }}/>);
+ return (
+
+
+
+
+ (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={node}/>
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-{% endraw %}
\ No newline at end of file
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/es5clipboard-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/commands/es5clipboard-cs1/app/index.tsx
index 3f3529dc0..171e33b1c 100644
--- a/ej2-react/code-snippet/diagram/commands/es5clipboard-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/commands/es5clipboard-cs1/app/index.tsx
@@ -1,83 +1,72 @@
-{% raw %}
-
-
import * as React from "react";
import * as ReactDOM from "react-dom";
-import {
- Diagram,
- DiagramComponent,
- ConnectorModel,
- NodeModel
-} from "@syncfusion/ej2-react-diagrams";
-let diagramInstance: DiagramComponent;
-//Initializes the connector
-let connector: ConnectorModel[] = [{
- id: 'connector1',
- sourceID: 'node1',
- targetID: 'node2',
- style: {
- strokeColor : '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth : 2,
- },
- targetDecorator: {
- style: {
- fill : '#6BA5D7',
- strokeColor : '#6BA5D7'
- }
- }
-}];
+import { DiagramComponent,NodeModel } from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
+let diagramInstance:DiagramComponent;
+
//Initializes the nodes
-let node: NodeModel[] = [{
+let node:NodeModel[] = [{
id: 'node1',
- width: 90,
- height: 60,
- offsetX: 100,
+ width: 100,
+ height: 80,
+ offsetX: 140,
offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
-}, {
+ annotations: [{ content: 'Node1' }],
+ },
+ {
id: 'node2',
- width: 90,
+ width: 100,
height: 60,
- offsetX: 240,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
-}];
-//Initializes the Diagram component
-function App() {
- return (
- (diagramInstance = diagram)}
- width={'650px'}
- height={'350px'}
- nodes={node}
- connectors={connector}
- created={() => {
- diagramInstance.select([
- diagramInstance.nodes[0],
- diagramInstance.nodes[1],
- diagramInstance.connectors[0],
- ]);
- //copies the selected nodes
- diagramInstance.copy();
- //pastes the copied objects
- diagramInstance.paste(diagramInstance.copy());
- }}
- />
- );
+ offsetX: 140,
+ offsetY: 200,
+ annotations: [{ content: 'Node2' }],
+ },
+ {
+ id: 'node3',
+ width: 200,
+ height: 30,
+ offsetX: 140,
+ offsetY: 300,
+ annotations: [{ content: 'Node3' }],
+ },];
+const cut = function(){
+ diagramInstance.cut();
}
-const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
+const copy = function(){
+ diagramInstance.copy();
+}
+
+const paste = function(){
+ diagramInstance.paste();
+}
+const pasteDefinedObject = function(){
+ let nodes = [
+ {
+ id: 'n1',
+ offsetX: 400,
+ offsetY: 100,
+ width: 100,
+ },
+ {
+ id: 'n2',
+ offsetX: 400,
+ offsetY: 200,
+ width: 100,
+ },
+ ];
+ diagramInstance.paste(nodes);
+}
-{% endraw %}
\ No newline at end of file
+//Initializes the Diagram component
+function App() {
+ return (
+
+
+
+
+ (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={node}/>
);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/es5clipboard-cs1/index.html b/ej2-react/code-snippet/diagram/commands/es5clipboard-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/commands/es5clipboard-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/commands/es5clipboard-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/commands/es5grouping-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/commands/es5grouping-cs1/app/index.jsx
index 8001adc99..84bcfedf1 100644
--- a/ej2-react/code-snippet/diagram/commands/es5grouping-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/commands/es5grouping-cs1/app/index.jsx
@@ -1,80 +1,58 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
+
let diagramInstance;
//Initializes the nodes
let nodes = [{
- id: 'node1',
- width: 100,
- height: 70,
- offsetX: 100,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- },
- {
- id: 'node2',
- width: 100,
- height: 70,
- offsetX: 300,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- },
- {
- id: 'node3',
- width: 100,
- height: 70,
- offsetX: 200,
- offsetY: 200,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- },
- {
- id: 'group',
- children: ['node1', 'node2', 'connector1']
- },
- {
- id: 'group2',
- children: ['node3', 'group']
- }
+ id: 'node1',
+ width: 100,
+ height: 70,
+ offsetX: 100,
+ offsetY: 100,
+},
+{
+ id: 'node2',
+ width: 100,
+ height: 70,
+ offsetX: 300,
+ offsetY: 100,
+},
+{
+ id: 'node3',
+ width: 100,
+ height: 70,
+ offsetX: 200,
+ offsetY: 200,
+
+},
+{
+ id: 'group',
+ children: ['node1', 'node2', 'node3', 'connector1'],
+},
];
//Initializes the connector
let connector = [{
- id: 'connector1',
- sourceID: 'node1',
- targetID: 'node2',
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2,
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- }
- }];
+ id: 'connector1',
+ sourceID: 'node1',
+ targetID: 'node2',
+}];
+
+const group = function () {
+ diagramInstance.group();
+}
+
+const unGroup = function () {
+ diagramInstance.unGroup();
+}
+
//Initializes the Diagram component
function App() {
- return ( (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={nodes} connectors={connector} created={() => {
- //Selects the diagram
- diagramInstance.selectAll();
- //Groups the selected elements.
- diagramInstance.group();
- }}/>);
+ return (
+
+
+ (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={nodes} connectors={connector} />
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/es5grouping-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/commands/es5grouping-cs1/app/index.tsx
index c294c512c..d223b85a5 100644
--- a/ej2-react/code-snippet/diagram/commands/es5grouping-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/commands/es5grouping-cs1/app/index.tsx
@@ -1,100 +1,58 @@
-{% raw %}
-
-
import * as React from "react";
import * as ReactDOM from "react-dom";
-import {
- Diagram,
- DiagramComponent,
- ConnectorModel,
- NodeModel
-} from "@syncfusion/ej2-react-diagrams";
-let diagramInstance: DiagramComponent;
+import { DiagramComponent,NodeModel } from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
+
+let diagramInstance:DiagramComponent;
//Initializes the nodes
-let nodes: NodeModel[] = [{
- id: 'node1',
- width: 100,
- height: 70,
- offsetX: 100,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- },
- {
- id: 'node2',
- width: 100,
- height: 70,
- offsetX: 300,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- },
- {
- id: 'node3',
- width: 100,
- height: 70,
- offsetX: 200,
- offsetY: 200,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- },
- {
- id: 'group',
- children: ['node1', 'node2', 'connector1']
- },
- {
- id: 'group2',
- children: ['node3', 'group']
- }
+let nodes:NodeModel[] = [{
+ id: 'node1',
+ width: 100,
+ height: 70,
+ offsetX: 100,
+ offsetY: 100,
+},
+{
+ id: 'node2',
+ width: 100,
+ height: 70,
+ offsetX: 300,
+ offsetY: 100,
+},
+{
+ id: 'node3',
+ width: 100,
+ height: 70,
+ offsetX: 200,
+ offsetY: 200,
+
+},
+{
+ id: 'group',
+ children: ['node1', 'node2', 'node3', 'connector1'],
+},
];
//Initializes the connector
-let connector: ConnectorModel[] = [{
+let connector = [{
id: 'connector1',
sourceID: 'node1',
targetID: 'node2',
- style: {
- strokeColor : '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth : 2,
- },
- targetDecorator: {
- style: {
- fill : '#6BA5D7',
- strokeColor : '#6BA5D7'
- }
- }
}];
+
+const group = function () {
+ diagramInstance.group();
+}
+
+const unGroup = function () {
+ diagramInstance.unGroup();
+}
+
//Initializes the Diagram component
function App() {
- return (
- (diagramInstance = diagram)}
- width={'650px'}
- height={'350px'}
- nodes={nodes}
- connectors={connector}
- created={() => {
- //Selects the diagram
- diagramInstance.selectAll();
- //Groups the selected elements.
- diagramInstance.group();
- }}
- />
- );
+ return (
+
+
+ (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={nodes} connectors={connector} />
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-
-
-
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/es5grouping-cs1/index.html b/ej2-react/code-snippet/diagram/commands/es5grouping-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/commands/es5grouping-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/commands/es5grouping-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/commands/es5moveforward-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/commands/es5moveforward-cs1/app/index.jsx
index 0f745185d..9a102a7ff 100644
--- a/ej2-react/code-snippet/diagram/commands/es5moveforward-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/commands/es5moveforward-cs1/app/index.jsx
@@ -1,42 +1,42 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
let diagramInstance;
-let node = [{
+//Initializes the nodes
+let node = [
+ {
id: 'node1',
width: 90,
- height: 60,
- offsetX: 100,
+ height: 70,
+ offsetX: 120,
offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- }, {
+ },
+ {
id: 'node2',
width: 90,
- height: 60,
- offsetX: 180,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- }];
-let selArray = [];
+ height: 70,
+ offsetX: 150,
+ offsetY: 120,
+ },
+ {
+ id: 'node3',
+ width: 90,
+ height: 70,
+ offsetX: 170,
+ offsetY: 150,
+ },
+];
+
+const moveForward = function(){
+ diagramInstance.moveForward();
+
+}
//Initializes the Diagram component
function App() {
- return ( (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={node} created={() => {
- selArray.push(diagramInstance.nodes[2]);
- //Selects the nodes
- diagramInstance.select(selArray);
- //Brings to front
- diagramInstance.moveForward();
- }}/>);
+ return (
+
+ (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={node} />
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/es5moveforward-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/commands/es5moveforward-cs1/app/index.tsx
index 462322f36..98bfec2d2 100644
--- a/ej2-react/code-snippet/diagram/commands/es5moveforward-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/commands/es5moveforward-cs1/app/index.tsx
@@ -1,59 +1,42 @@
-{% raw %}
-
-
import * as React from "react";
import * as ReactDOM from "react-dom";
-import {
- Diagram,
- DiagramComponent,
- NodeModel
-} from "@syncfusion/ej2-react-diagrams";
-let diagramInstance: DiagramComponent;
-let node: NodeModel[] = [{
- id: 'node1',
- width: 90,
- height: 60,
- offsetX: 100,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
-}, {
- id: 'node2',
- width: 90,
- height: 60,
- offsetX: 180,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
-}];
-let selArray: (NodeModel)[] = [];
+import { DiagramComponent,NodeModel } from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
+let diagramInstance:DiagramComponent;
+//Initializes the nodes
+let node:NodeModel[]= [
+ {
+ id: 'node1',
+ width: 90,
+ height: 70,
+ offsetX: 120,
+ offsetY: 100,
+ },
+ {
+ id: 'node2',
+ width: 90,
+ height: 70,
+ offsetX: 150,
+ offsetY: 120,
+ },
+ {
+ id: 'node3',
+ width: 90,
+ height: 70,
+ offsetX: 170,
+ offsetY: 150,
+ },
+];
+
+const moveForward = function(){
+ diagramInstance.moveForward();
+
+}
//Initializes the Diagram component
function App() {
- return (
- (diagramInstance = diagram)}
- width={'650px'}
- height={'350px'}
- nodes={node}
- created={() => {
- selArray.push(diagramInstance.nodes[2]);
- //Selects the nodes
- diagramInstance.select(selArray);
- //Brings to front
- diagramInstance.moveForward();
- }}
- />
- );
+ return (
+
+ (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={node} />
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-
-
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/es5moveforward-cs1/index.html b/ej2-react/code-snippet/diagram/commands/es5moveforward-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/commands/es5moveforward-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/commands/es5moveforward-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/commands/es5sendback-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/commands/es5sendback-cs1/app/index.jsx
index 2b2f86f69..ce7e61ca1 100644
--- a/ej2-react/code-snippet/diagram/commands/es5sendback-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/commands/es5sendback-cs1/app/index.jsx
@@ -1,54 +1,42 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
let diagramInstance;
//Initializes the nodes
-let node = [{
+let node = [
+ {
id: 'node1',
width: 90,
- height: 60,
- offsetX: 100,
+ height: 70,
+ offsetX: 120,
offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- }, {
+ },
+ {
id: 'node2',
width: 90,
- height: 60,
- offsetX: 240,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- }, {
+ height: 70,
+ offsetX: 150,
+ offsetY: 120,
+ },
+ {
id: 'node3',
width: 90,
- height: 60,
- offsetX: 160,
- offsetY: 90,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- }];
-let selArray = [];
+ height: 70,
+ offsetX: 170,
+ offsetY: 150,
+ },
+];
+
+const sendToBack = function(){
+ diagramInstance.sendToBack();
+
+}
//Initializes the Diagram component
function App() {
- return ( (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={node} created={() => {
- selArray.push(diagramInstance.nodes[2]);
- //Selects the nodes
- diagramInstance.select(selArray);
- //Brings to front
- diagramInstance.sendToBack();
- }}/>);
+ return (
+
+ (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={node} />
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/es5sendback-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/commands/es5sendback-cs1/app/index.tsx
index ddc77119c..2ac2296e8 100644
--- a/ej2-react/code-snippet/diagram/commands/es5sendback-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/commands/es5sendback-cs1/app/index.tsx
@@ -1,72 +1,42 @@
-{% raw %}
-
-
import * as React from "react";
import * as ReactDOM from "react-dom";
-import {
- Diagram,
- DiagramComponent,
- NodeModel
-} from "@syncfusion/ej2-react-diagrams";
-let diagramInstance: DiagramComponent;
+import { DiagramComponent,NodeModel } from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
+let diagramInstance:DiagramComponent;
//Initializes the nodes
-let node: NodeModel[] = [{
- id: 'node1',
- width: 90,
- height: 60,
- offsetX: 100,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
-}, {
- id: 'node2',
- width: 90,
- height: 60,
- offsetX: 240,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
-}, {
- id: 'node3',
- width: 90,
- height: 60,
- offsetX: 160,
- offsetY: 90,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
-}];
-let selArray: (NodeModel)[] = [];
+let node:NodeModel[] = [
+ {
+ id: 'node1',
+ width: 90,
+ height: 70,
+ offsetX: 120,
+ offsetY: 100,
+ },
+ {
+ id: 'node2',
+ width: 90,
+ height: 70,
+ offsetX: 150,
+ offsetY: 120,
+ },
+ {
+ id: 'node3',
+ width: 90,
+ height: 70,
+ offsetX: 170,
+ offsetY: 150,
+ },
+];
+
+const sendToBack = function(){
+ diagramInstance.sendToBack();
+
+}
//Initializes the Diagram component
function App() {
- return (
- (diagramInstance = diagram)}
- width={'650px'}
- height={'350px'}
- nodes={node}
- created={() => {
- selArray.push(diagramInstance.nodes[2]);
- //Selects the nodes
- diagramInstance.select(selArray);
- //Brings to front
- diagramInstance.sendToBack();
- }}
- />
- );
+ return (
+
+ (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={node} />
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-
-
-
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/es5sendback-cs1/index.html b/ej2-react/code-snippet/diagram/commands/es5sendback-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/commands/es5sendback-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/commands/es5sendback-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/commands/es5sendbackward-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/commands/es5sendbackward-cs1/app/index.jsx
index 467a8c3d5..4b43943b7 100644
--- a/ej2-react/code-snippet/diagram/commands/es5sendbackward-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/commands/es5sendbackward-cs1/app/index.jsx
@@ -1,42 +1,42 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
let diagramInstance;
-let node = [{
+//Initializes the nodes
+let node = [
+ {
id: 'node1',
width: 90,
- height: 60,
- offsetX: 100,
+ height: 70,
+ offsetX: 120,
offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- }, {
+ },
+ {
id: 'node2',
width: 90,
- height: 60,
- offsetX: 180,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- }];
-let selArray = [];
+ height: 70,
+ offsetX: 150,
+ offsetY: 120,
+ },
+ {
+ id: 'node3',
+ width: 90,
+ height: 70,
+ offsetX: 170,
+ offsetY: 150,
+ },
+];
+
+const sendBackward = function(){
+ diagramInstance.sendBackward();
+
+}
//Initializes the Diagram component
function App() {
- return ( (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={node} created={() => {
- selArray.push(diagramInstance.nodes[2]);
- //Selects the nodes
- diagramInstance.select(selArray);
- //Brings to front
- diagramInstance.sendBackward();
- }}/>);
+ return (
+
+ (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={node} />
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/es5sendbackward-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/commands/es5sendbackward-cs1/app/index.tsx
index d4215c6cf..3b035a847 100644
--- a/ej2-react/code-snippet/diagram/commands/es5sendbackward-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/commands/es5sendbackward-cs1/app/index.tsx
@@ -1,60 +1,42 @@
-{% raw %}
-
-
import * as React from "react";
import * as ReactDOM from "react-dom";
-import {
- Diagram,
- DiagramComponent,
- ConnectorModel,
- NodeModel
-} from "@syncfusion/ej2-react-diagrams";
-let diagramInstance: DiagramComponent;
-let node: NodeModel[] = [{
- id: 'node1',
- width: 90,
- height: 60,
- offsetX: 100,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
-}, {
- id: 'node2',
- width: 90,
- height: 60,
- offsetX: 180,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
-}];
-let selArray: (NodeModel)[] = [];
+import { DiagramComponent,NodeModel } from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
+let diagramInstance:DiagramComponent;
+//Initializes the nodes
+let node:NodeModel[] = [
+ {
+ id: 'node1',
+ width: 90,
+ height: 70,
+ offsetX: 120,
+ offsetY: 100,
+ },
+ {
+ id: 'node2',
+ width: 90,
+ height: 70,
+ offsetX: 150,
+ offsetY: 120,
+ },
+ {
+ id: 'node3',
+ width: 90,
+ height: 70,
+ offsetX: 170,
+ offsetY: 150,
+ },
+];
+
+const sendBackward = function(){
+ diagramInstance.sendBackward();
+
+}
//Initializes the Diagram component
function App() {
- return (
- (diagramInstance = diagram)}
- width={'650px'}
- height={'350px'}
- nodes={node}
- created={() => {
- selArray.push(diagramInstance.nodes[2]);
- //Selects the nodes
- diagramInstance.select(selArray);
- //Brings to front
- diagramInstance.sendBackward();
- }}
- />
- );
+ return (
+
+ (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={node} />
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-
-
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/es5sendbackward-cs1/index.html b/ej2-react/code-snippet/diagram/commands/es5sendbackward-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/commands/es5sendbackward-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/commands/es5sendbackward-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/commands/fitToPage-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/commands/fitToPage-cs1/app/index.jsx
new file mode 100644
index 000000000..f796a7ddb
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/fitToPage-cs1/app/index.jsx
@@ -0,0 +1,1021 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DataManager, Query } from '@syncfusion/ej2-data';
+import { DiagramComponent, Inject, DataBinding, HierarchicalTree } from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
+let diagramInstance;
+//Initializes the nodes
+let data = [
+ {
+ Id: 'parent',
+ Name: 'Maria Anders',
+ Designation: 'Managing Director',
+ ImageUrl: '../content/images/orgchart/Clayton.png',
+ IsExpand: 'true',
+ RatingColor: '#C34444',
+ },
+ {
+ Id: 1,
+ Name: 'Ana Trujillo',
+ Designation: 'Project Manager',
+ ImageUrl: '../content/images/orgchart/Thomas.PNG',
+ IsExpand: 'false',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 'parent',
+ },
+ {
+ Id: 2,
+ Name: 'Anto Moreno',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/image53.png',
+ IsExpand: 'false',
+ RatingColor: '#93B85A',
+ ReportingPerson: 1,
+ },
+ {
+ Id: 3,
+ Name: 'Thomas Hardy',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image57.png',
+ IsExpand: 'false',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 2,
+ },
+ {
+ Id: 4,
+ Name: 'Christina kaff',
+ Designation: 'S/w Engg',
+ ImageUrl: '../content/images/orgchart/Robin.png',
+ IsExpand: 'false',
+ RatingColor: '#93B85A',
+ ReportingPerson: 3,
+ },
+ {
+ Id: 5,
+ Name: 'Hanna Moos',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image57.png',
+ IsExpand: 'true',
+ RatingColor: '#D46E89',
+ ReportingPerson: 4,
+ },
+ {
+ Id: 6,
+ Name: 'Peter Citeaux',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Robin.png',
+ IsExpand: 'true',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 4,
+ },
+ {
+ Id: 7,
+ Name: 'Martín Kloss',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/Robin.png',
+ IsExpand: 'false',
+ RatingColor: '#93B85A',
+ ReportingPerson: 1,
+ },
+ {
+ Id: 9,
+ Name: 'Elizabeth Mary',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Robin.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 8,
+ },
+ {
+ Id: 10,
+ Name: 'Victoria Ash',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Robin.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 8,
+ },
+ {
+ Id: 12,
+ Name: 'Francisco Yang',
+ Designation: 'CSR',
+ ImageUrl: '../content/images/orgchart/image55.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 7,
+ },
+ {
+ Id: 13,
+ Name: 'Yang Wang',
+ Designation: 'CSR',
+ ImageUrl: '../content/images/orgchart/image57.png',
+ IsExpand: 'None',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 6,
+ },
+ {
+ Id: 27,
+ Name: 'Lino Rodri',
+ Designation: 'Project Manager',
+ ImageUrl: '../content/images/orgchart/Robin.PNG',
+ IsExpand: 'true',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 'parent',
+ },
+ {
+ Id: 38,
+ Name: 'Philip Cramer',
+ Designation: 'Project Manager',
+ ImageUrl: '../content/images/orgchart/Robin.PNG',
+ IsExpand: 'true',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 'parent',
+ },
+ {
+ Id: 14,
+ Name: 'Pedro Afonso',
+ Designation: 'Project Manager',
+ ImageUrl: '../content/images/orgchart/Paul.png',
+ IsExpand: 'true',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 'parent',
+ },
+ {
+ Id: 15,
+ Name: 'Elizabeth Roel',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/Maria.png',
+ IsExpand: 'false',
+ RatingColor: '#93B85A',
+ ReportingPerson: 38,
+ },
+ {
+ Id: 17,
+ Name: 'Janine Labrune',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image55.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 48,
+ },
+ {
+ Id: 18,
+ Name: 'Ann Devon',
+ Designation: 'CSR',
+ ImageUrl: '../content/images/orgchart/Robin.png',
+ IsExpand: 'false',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 31,
+ },
+ {
+ Id: 19,
+ Name: 'Roland Mendel',
+ Designation: 'CSR',
+ ImageUrl: '../content/images/orgchart/image57.png',
+ IsExpand: 'true',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 31,
+ },
+ {
+ Id: 20,
+ Name: 'Aria Cruz',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/Jenny.png',
+ IsExpand: 'false',
+ RatingColor: '#93B85A',
+ ReportingPerson: 14,
+ },
+ {
+ Id: 22,
+ Name: 'Martine Rancé',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image53.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 21,
+ },
+ {
+ Id: 23,
+ Name: 'Maria Larsson',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image51.png',
+ IsExpand: 'false',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 20,
+ },
+ {
+ Id: 21,
+ Name: 'Diego Roel',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image55.png',
+ IsExpand: 'false',
+ RatingColor: '#D46E89',
+ ReportingPerson: 20,
+ },
+ {
+ Id: 24,
+ Name: 'Peter Franken',
+ Designation: 'S/w Engg',
+ ImageUrl: '../content/images/orgchart/image55.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 23,
+ },
+ {
+ Id: 25,
+ Name: 'Carine Schmitt',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Clayton.png',
+ IsExpand: 'None',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 21,
+ },
+ {
+ Id: 26,
+ Name: 'Paolo Accorti',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 21,
+ },
+ {
+ Id: 28,
+ Name: 'Eduardo Roel',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/image55.png',
+ IsExpand: 'true',
+ RatingColor: '#93B85A',
+ ReportingPerson: 38,
+ },
+ {
+ Id: 29,
+ Name: 'José Pedro ',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'true',
+ RatingColor: '#D46E89',
+ ReportingPerson: 28,
+ },
+ {
+ Id: 30,
+ Name: 'André Fonseca',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/John.png',
+ IsExpand: 'true',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 29,
+ },
+ {
+ Id: 31,
+ Name: 'Howard Snyd',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/Jenny.png',
+ IsExpand: 'false',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 14,
+ },
+ {
+ Id: 32,
+ Name: 'Manu Pereira',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image56.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 8,
+ },
+ {
+ Id: 33,
+ Name: 'Mario Pontes',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Robin.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 19,
+ },
+ {
+ Id: 34,
+ Name: 'Carlos Schmitt',
+ Designation: 'S/w Engg',
+ ImageUrl: '../content/images/orgchart/Clayton.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 19,
+ },
+ {
+ Id: 35,
+ Name: 'Yoshi Latimer',
+ Designation: 'SR',
+ ImageUrl: '../content/images/orgchart/eric.png',
+ IsExpand: 'true',
+ RatingColor: '#D46E89',
+ ReportingPerson: 18,
+ },
+ {
+ Id: 36,
+ Name: 'Patricia Kenna',
+ Designation: 'SR',
+ ImageUrl: '../content/images/orgchart/Maria.png',
+ IsExpand: 'true',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 55,
+ },
+ {
+ Id: 37,
+ Name: 'Helen Bennett',
+ Designation: 'SR',
+ ImageUrl: '../content/images/orgchart/image51.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 15,
+ },
+ {
+ Id: 39,
+ Name: 'Daniel Tonini',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'true',
+ RatingColor: '#93B85A',
+ ReportingPerson: 27,
+ },
+ {
+ Id: 40,
+ Name: 'Annette Roel',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image55.png',
+ IsExpand: 'false',
+ RatingColor: '#93B85A',
+ ReportingPerson: 39,
+ },
+ {
+ Id: 41,
+ Name: 'Yoshi Wilson',
+ Designation: 'S/w Engg',
+ ImageUrl: '../content/images/orgchart/image57.png',
+ IsExpand: 'false',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 40,
+ },
+ {
+ Id: 42,
+ Name: 'John Steel',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Maria.png',
+ IsExpand: 'false',
+ RatingColor: '#93B85A',
+ ReportingPerson: 41,
+ },
+ {
+ Id: 43,
+ Name: 'Renate Jose',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image51.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 42,
+ },
+ {
+ Id: 44,
+ Name: 'Jaime Yorres',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Robin.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 42,
+ },
+ {
+ Id: 45,
+ Name: 'Carlos Nagy',
+ Designation: 'SR',
+ ImageUrl: '../content/images/orgchart/Clayton.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 40,
+ },
+ {
+ Id: 46,
+ Name: 'Felipe Kloss',
+ Designation: 'SR',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'false',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 17,
+ },
+ {
+ Id: 47,
+ Name: 'Fran Wilson',
+ Designation: 'SR',
+ ImageUrl: '../content/images/orgchart/image53.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 46,
+ },
+ {
+ Id: 48,
+ Name: 'John Rovelli',
+ Designation: 'SR',
+ ImageUrl: '../content/images/orgchart/Jenny.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 46,
+ },
+ {
+ Id: 49,
+ Name: 'Catherine Kaff',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image57.png',
+ IsExpand: 'false',
+ RatingColor: '#93B85A',
+ ReportingPerson: 51,
+ },
+ {
+ Id: 50,
+ Name: 'Jean Fresnière',
+ Designation: 'S/w Engg',
+ ImageUrl: '../content/images/orgchart/Robin.png',
+ IsExpand: 'false',
+ RatingColor: '#D46E89',
+ ReportingPerson: 49,
+ },
+ {
+ Id: 51,
+ Name: 'Alex Feuer',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Clayton.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 50,
+ },
+ {
+ Id: 52,
+ Name: 'Simon Roel',
+ Designation: 'S/w Engg',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'None',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 50,
+ },
+ {
+ Id: 53,
+ Name: 'Yvonne Wong',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image53.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 50,
+ },
+ {
+ Id: 54,
+ Name: 'Rene Phillips',
+ Designation: 'S/w Engg',
+ ImageUrl: '../content/images/orgchart/Jenny.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 7,
+ },
+ {
+ Id: 55,
+ Name: 'Yoshi Kenna',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image55.png',
+ IsExpand: 'false',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 15,
+ },
+ {
+ Id: 56,
+ Name: 'Helen Marie',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image51.png',
+ IsExpand: 'true',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 55,
+ },
+ {
+ Id: 57,
+ Name: 'Joseph Kaff',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image53.png',
+ IsExpand: 'None',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 7,
+ },
+ {
+ Id: 58,
+ Name: 'Georg Pipps',
+ Designation: 'SR',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'None',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 5,
+ },
+ {
+ Id: 60,
+ Name: 'Nardo Batista',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/Maria.PNG',
+ IsExpand: 'true',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 59,
+ },
+ {
+ Id: 61,
+ Name: 'Lúcia Carvalho',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/Robin.PNG',
+ IsExpand: 'false',
+ RatingColor: '#93B85A',
+ ReportingPerson: 60,
+ },
+ {
+ Id: 62,
+ Name: 'Horst Kloss',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Clayton.PNG',
+ IsExpand: 'None',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 74,
+ },
+ {
+ Id: 63,
+ Name: 'Sergio roel',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image55.PNG',
+ IsExpand: 'None',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 61,
+ },
+ {
+ Id: 64,
+ Name: 'Paula Wilson',
+ Designation: 'S/w Engg',
+ ImageUrl: '../content/images/orgchart/eric.PNG',
+ IsExpand: 'None',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 7,
+ },
+ {
+ Id: 65,
+ Name: 'Mauri Moroni',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image53.PNG',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 6,
+ },
+ {
+ Id: 66,
+ Name: 'Janete Limeira',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image51.PNG',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 7,
+ },
+ {
+ Id: 67,
+ Name: 'Michael Holz',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/Thomas.PNG',
+ IsExpand: 'true',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 59,
+ },
+ {
+ Id: 68,
+ Name: 'Alej Camino',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/Thomas.PNG',
+ IsExpand: 'false',
+ RatingColor: '#93B85A',
+ ReportingPerson: 67,
+ },
+ {
+ Id: 69,
+ Name: 'Jonas Bergsen',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image53.PNG',
+ IsExpand: 'None',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 19,
+ },
+ {
+ Id: 70,
+ Name: 'Jose Pavarotti',
+ Designation: 'S/w Engg',
+ ImageUrl: '../content/images/orgchart/Maria.PNG',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 56,
+ },
+ {
+ Id: 71,
+ Name: 'Miguel Angel',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/eric.PNG',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 16,
+ },
+ {
+ Id: 72,
+ Name: 'Jytte Petersen',
+ Designation: 'Project Manager',
+ ImageUrl: '../content/images/orgchart/image55.PNG',
+ IsExpand: 'true',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 59,
+ },
+ {
+ Id: 73,
+ Name: 'Kloss Perrier',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/Clayton.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 23,
+ },
+ {
+ Id: 74,
+ Name: 'Art Nancy',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'true',
+ RatingColor: '#D46E89',
+ ReportingPerson: 29,
+ },
+ {
+ Id: 75,
+ Name: 'Pascal Cartrain',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/John.png',
+ IsExpand: 'true',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 36,
+ },
+ {
+ Id: 76,
+ Name: 'Liz Nixon',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/Jenny.png',
+ IsExpand: 'false',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 72,
+ },
+ {
+ Id: 77,
+ Name: 'Liu Wong',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image57.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 75,
+ },
+ {
+ Id: 78,
+ Name: 'Karin Josephs',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image55.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 76,
+ },
+ {
+ Id: 79,
+ Name: 'Ruby Anabela ',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 23,
+ },
+ {
+ Id: 80,
+ Name: 'Helvetis Nagy',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image53.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 75,
+ },
+ {
+ Id: 81,
+ Name: 'Palle Ibsen',
+ Designation: 'S/w Engg',
+ ImageUrl: '../content/images/orgchart/image51.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 35,
+ },
+ {
+ Id: 82,
+ Name: 'Mary Saveley',
+ Designation: 'Project Manager',
+ ImageUrl: '../content/images/orgchart/Clayton.png',
+ IsExpand: 'false',
+ RatingColor: '#93B85A',
+ ReportingPerson: 59,
+ },
+ {
+ Id: 83,
+ Name: 'Paul Henriot',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'false',
+ RatingColor: '#D46E89',
+ ReportingPerson: 30,
+ },
+ {
+ Id: 84,
+ Name: 'Rita Müller',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Paul.png',
+ IsExpand: 'None',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 83,
+ },
+ {
+ Id: 85,
+ Name: 'Pirkko King',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/Robin.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 83,
+ },
+ {
+ Id: 86,
+ Name: 'Paula Parente',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/John.png',
+ IsExpand: 'None',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 74,
+ },
+ {
+ Id: 87,
+ Name: 'Karl Jablonski',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image53.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 23,
+ },
+ {
+ Id: 88,
+ Name: 'Matti Kenna',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/Jenny.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 23,
+ },
+ {
+ Id: 89,
+ Name: 'Zbyszek Yang',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 23,
+ },
+ {
+ Id: 90,
+ Name: 'Nancy',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image56.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 23,
+ },
+ {
+ Id: 91,
+ Name: 'Robert King',
+ Designation: 'Project Manager',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'true',
+ RatingColor: '#D46E89',
+ ReportingPerson: 59,
+ },
+ {
+ Id: 92,
+ Name: 'Laura Callahan',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/Robin.png',
+ IsExpand: 'false',
+ RatingColor: '#D46E89',
+ ReportingPerson: 91,
+ },
+ {
+ Id: 93,
+ Name: 'Anne',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/Clayton.png',
+ IsExpand: 'false',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 92,
+ },
+ {
+ Id: 94,
+ Name: 'Georg Pipps',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image53.png',
+ IsExpand: 'None',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 5,
+ },
+ {
+ Id: 95,
+ Name: 'Isabel Castro',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image55.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 93,
+ },
+ {
+ Id: 96,
+ Name: 'Nardo Batista',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image57.png',
+ IsExpand: 'None',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 93,
+ },
+ {
+ Id: 97,
+ Name: 'Rene Phillips',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image55.png',
+ IsExpand: 'false',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 92,
+ },
+ {
+ Id: 98,
+ Name: 'Lúcia Carvalho',
+ Designation: 'S/w Engg',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 97,
+ },
+ {
+ Id: 99,
+ Name: 'Horst Kloss',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Paul.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 56,
+ },
+ {
+ Id: 101,
+ Name: 'Simon Roel',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/Clayton.png',
+ IsExpand: 'true',
+ RatingColor: '#93B85A',
+ ReportingPerson: 91,
+ },
+ {
+ Id: 102,
+ Name: 'Rita Pfalzheim',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'false',
+ RatingColor: '#D46E89',
+ ReportingPerson: 101,
+ },
+ {
+ Id: 103,
+ Name: 'Paula Wilson',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Jenny.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 750,
+ },
+ {
+ Id: 104,
+ Name: ' Jose Michael',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/eric.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 102,
+ },
+ {
+ Id: 105,
+ Name: 'Mauri Moroni',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image55.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 35,
+ },
+ {
+ Id: 106,
+ Name: 'Janete Limeira',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image57.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 35,
+ },
+ {
+ Id: 107,
+ Name: 'Michael Holz',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image53.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 35,
+ },
+ {
+ Id: 108,
+ Name: 'Alej Camino',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image51.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 35,
+ },
+];
+
+let items = new DataManager(data, new Query().take(7));
+
+const fitToPage = function () {
+ diagramInstance.fitToPage({
+ mode: 'Page',
+ region: 'Content',
+ margin: {},
+ canZoomIn: false,
+ });
+
+}
+
+const fitToWidth = function () {
+ diagramInstance.fitToPage({
+ mode: 'Width',
+ region: 'Content',
+ margin: {},
+ canZoomIn: false,
+ });
+
+}
+const fitToHeight = function () {
+ diagramInstance.fitToPage({
+ mode: 'Height',
+ region: 'Content',
+ margin: {},
+ canZoomIn: false,
+ });
+
+}
+//Initializes the Diagram component
+function App() {
+ return (
+
+
+
+
+ (diagramInstance = diagram)} width={'1250px'} height={'590px'}
+ layout={{
+ type: 'OrganizationalChart',
+ margin: { top: 20 },
+ getLayoutInfo: (node, tree) => {
+ if (!tree.hasSubTree) {
+ tree.orientation = 'Vertical';
+ tree.type = 'Alternate';
+ }
+ },
+ }}
+ dataSourceSettings={{
+ id: 'Id',
+ parentId: 'ReportingPerson',
+ dataSource: items,
+ }
+ }
+ getNodeDefaults={(obj) => {
+ obj.height = 50;
+ obj.backgroundColor = 'lightgrey';
+ obj.style = { fill: 'transparent', strokeWidth: 2 };
+ return obj;
+ }
+ }
+ getConnectorDefaults={(connector) => {
+ connector.targetDecorator.shape = 'None';
+ connector.type = 'Orthogonal';
+ return connector;
+ }
+ }
+ >
+
);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/diagram/commands/fitToPage-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/commands/fitToPage-cs1/app/index.tsx
new file mode 100644
index 000000000..dd5aebc25
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/fitToPage-cs1/app/index.tsx
@@ -0,0 +1,1021 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DataManager, Query } from '@syncfusion/ej2-data';
+import { DiagramComponent, Inject,NodeModel,TreeInfo, ConnectorModel, DataBinding, HierarchicalTree } from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
+let diagramInstance:DiagramComponent;
+//Initializes the nodes
+let data: object[] = [
+ {
+ Id: 'parent',
+ Name: 'Maria Anders',
+ Designation: 'Managing Director',
+ ImageUrl: '../content/images/orgchart/Clayton.png',
+ IsExpand: 'true',
+ RatingColor: '#C34444',
+ },
+ {
+ Id: 1,
+ Name: 'Ana Trujillo',
+ Designation: 'Project Manager',
+ ImageUrl: '../content/images/orgchart/Thomas.PNG',
+ IsExpand: 'false',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 'parent',
+ },
+ {
+ Id: 2,
+ Name: 'Anto Moreno',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/image53.png',
+ IsExpand: 'false',
+ RatingColor: '#93B85A',
+ ReportingPerson: 1,
+ },
+ {
+ Id: 3,
+ Name: 'Thomas Hardy',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image57.png',
+ IsExpand: 'false',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 2,
+ },
+ {
+ Id: 4,
+ Name: 'Christina kaff',
+ Designation: 'S/w Engg',
+ ImageUrl: '../content/images/orgchart/Robin.png',
+ IsExpand: 'false',
+ RatingColor: '#93B85A',
+ ReportingPerson: 3,
+ },
+ {
+ Id: 5,
+ Name: 'Hanna Moos',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image57.png',
+ IsExpand: 'true',
+ RatingColor: '#D46E89',
+ ReportingPerson: 4,
+ },
+ {
+ Id: 6,
+ Name: 'Peter Citeaux',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Robin.png',
+ IsExpand: 'true',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 4,
+ },
+ {
+ Id: 7,
+ Name: 'Martín Kloss',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/Robin.png',
+ IsExpand: 'false',
+ RatingColor: '#93B85A',
+ ReportingPerson: 1,
+ },
+ {
+ Id: 9,
+ Name: 'Elizabeth Mary',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Robin.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 8,
+ },
+ {
+ Id: 10,
+ Name: 'Victoria Ash',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Robin.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 8,
+ },
+ {
+ Id: 12,
+ Name: 'Francisco Yang',
+ Designation: 'CSR',
+ ImageUrl: '../content/images/orgchart/image55.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 7,
+ },
+ {
+ Id: 13,
+ Name: 'Yang Wang',
+ Designation: 'CSR',
+ ImageUrl: '../content/images/orgchart/image57.png',
+ IsExpand: 'None',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 6,
+ },
+ {
+ Id: 27,
+ Name: 'Lino Rodri',
+ Designation: 'Project Manager',
+ ImageUrl: '../content/images/orgchart/Robin.PNG',
+ IsExpand: 'true',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 'parent',
+ },
+ {
+ Id: 38,
+ Name: 'Philip Cramer',
+ Designation: 'Project Manager',
+ ImageUrl: '../content/images/orgchart/Robin.PNG',
+ IsExpand: 'true',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 'parent',
+ },
+ {
+ Id: 14,
+ Name: 'Pedro Afonso',
+ Designation: 'Project Manager',
+ ImageUrl: '../content/images/orgchart/Paul.png',
+ IsExpand: 'true',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 'parent',
+ },
+ {
+ Id: 15,
+ Name: 'Elizabeth Roel',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/Maria.png',
+ IsExpand: 'false',
+ RatingColor: '#93B85A',
+ ReportingPerson: 38,
+ },
+ {
+ Id: 17,
+ Name: 'Janine Labrune',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image55.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 48,
+ },
+ {
+ Id: 18,
+ Name: 'Ann Devon',
+ Designation: 'CSR',
+ ImageUrl: '../content/images/orgchart/Robin.png',
+ IsExpand: 'false',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 31,
+ },
+ {
+ Id: 19,
+ Name: 'Roland Mendel',
+ Designation: 'CSR',
+ ImageUrl: '../content/images/orgchart/image57.png',
+ IsExpand: 'true',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 31,
+ },
+ {
+ Id: 20,
+ Name: 'Aria Cruz',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/Jenny.png',
+ IsExpand: 'false',
+ RatingColor: '#93B85A',
+ ReportingPerson: 14,
+ },
+ {
+ Id: 22,
+ Name: 'Martine Rancé',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image53.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 21,
+ },
+ {
+ Id: 23,
+ Name: 'Maria Larsson',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image51.png',
+ IsExpand: 'false',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 20,
+ },
+ {
+ Id: 21,
+ Name: 'Diego Roel',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image55.png',
+ IsExpand: 'false',
+ RatingColor: '#D46E89',
+ ReportingPerson: 20,
+ },
+ {
+ Id: 24,
+ Name: 'Peter Franken',
+ Designation: 'S/w Engg',
+ ImageUrl: '../content/images/orgchart/image55.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 23,
+ },
+ {
+ Id: 25,
+ Name: 'Carine Schmitt',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Clayton.png',
+ IsExpand: 'None',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 21,
+ },
+ {
+ Id: 26,
+ Name: 'Paolo Accorti',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 21,
+ },
+ {
+ Id: 28,
+ Name: 'Eduardo Roel',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/image55.png',
+ IsExpand: 'true',
+ RatingColor: '#93B85A',
+ ReportingPerson: 38,
+ },
+ {
+ Id: 29,
+ Name: 'José Pedro ',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'true',
+ RatingColor: '#D46E89',
+ ReportingPerson: 28,
+ },
+ {
+ Id: 30,
+ Name: 'André Fonseca',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/John.png',
+ IsExpand: 'true',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 29,
+ },
+ {
+ Id: 31,
+ Name: 'Howard Snyd',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/Jenny.png',
+ IsExpand: 'false',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 14,
+ },
+ {
+ Id: 32,
+ Name: 'Manu Pereira',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image56.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 8,
+ },
+ {
+ Id: 33,
+ Name: 'Mario Pontes',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Robin.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 19,
+ },
+ {
+ Id: 34,
+ Name: 'Carlos Schmitt',
+ Designation: 'S/w Engg',
+ ImageUrl: '../content/images/orgchart/Clayton.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 19,
+ },
+ {
+ Id: 35,
+ Name: 'Yoshi Latimer',
+ Designation: 'SR',
+ ImageUrl: '../content/images/orgchart/eric.png',
+ IsExpand: 'true',
+ RatingColor: '#D46E89',
+ ReportingPerson: 18,
+ },
+ {
+ Id: 36,
+ Name: 'Patricia Kenna',
+ Designation: 'SR',
+ ImageUrl: '../content/images/orgchart/Maria.png',
+ IsExpand: 'true',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 55,
+ },
+ {
+ Id: 37,
+ Name: 'Helen Bennett',
+ Designation: 'SR',
+ ImageUrl: '../content/images/orgchart/image51.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 15,
+ },
+ {
+ Id: 39,
+ Name: 'Daniel Tonini',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'true',
+ RatingColor: '#93B85A',
+ ReportingPerson: 27,
+ },
+ {
+ Id: 40,
+ Name: 'Annette Roel',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image55.png',
+ IsExpand: 'false',
+ RatingColor: '#93B85A',
+ ReportingPerson: 39,
+ },
+ {
+ Id: 41,
+ Name: 'Yoshi Wilson',
+ Designation: 'S/w Engg',
+ ImageUrl: '../content/images/orgchart/image57.png',
+ IsExpand: 'false',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 40,
+ },
+ {
+ Id: 42,
+ Name: 'John Steel',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Maria.png',
+ IsExpand: 'false',
+ RatingColor: '#93B85A',
+ ReportingPerson: 41,
+ },
+ {
+ Id: 43,
+ Name: 'Renate Jose',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image51.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 42,
+ },
+ {
+ Id: 44,
+ Name: 'Jaime Yorres',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Robin.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 42,
+ },
+ {
+ Id: 45,
+ Name: 'Carlos Nagy',
+ Designation: 'SR',
+ ImageUrl: '../content/images/orgchart/Clayton.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 40,
+ },
+ {
+ Id: 46,
+ Name: 'Felipe Kloss',
+ Designation: 'SR',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'false',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 17,
+ },
+ {
+ Id: 47,
+ Name: 'Fran Wilson',
+ Designation: 'SR',
+ ImageUrl: '../content/images/orgchart/image53.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 46,
+ },
+ {
+ Id: 48,
+ Name: 'John Rovelli',
+ Designation: 'SR',
+ ImageUrl: '../content/images/orgchart/Jenny.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 46,
+ },
+ {
+ Id: 49,
+ Name: 'Catherine Kaff',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image57.png',
+ IsExpand: 'false',
+ RatingColor: '#93B85A',
+ ReportingPerson: 51,
+ },
+ {
+ Id: 50,
+ Name: 'Jean Fresnière',
+ Designation: 'S/w Engg',
+ ImageUrl: '../content/images/orgchart/Robin.png',
+ IsExpand: 'false',
+ RatingColor: '#D46E89',
+ ReportingPerson: 49,
+ },
+ {
+ Id: 51,
+ Name: 'Alex Feuer',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Clayton.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 50,
+ },
+ {
+ Id: 52,
+ Name: 'Simon Roel',
+ Designation: 'S/w Engg',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'None',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 50,
+ },
+ {
+ Id: 53,
+ Name: 'Yvonne Wong',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image53.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 50,
+ },
+ {
+ Id: 54,
+ Name: 'Rene Phillips',
+ Designation: 'S/w Engg',
+ ImageUrl: '../content/images/orgchart/Jenny.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 7,
+ },
+ {
+ Id: 55,
+ Name: 'Yoshi Kenna',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image55.png',
+ IsExpand: 'false',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 15,
+ },
+ {
+ Id: 56,
+ Name: 'Helen Marie',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image51.png',
+ IsExpand: 'true',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 55,
+ },
+ {
+ Id: 57,
+ Name: 'Joseph Kaff',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image53.png',
+ IsExpand: 'None',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 7,
+ },
+ {
+ Id: 58,
+ Name: 'Georg Pipps',
+ Designation: 'SR',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'None',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 5,
+ },
+ {
+ Id: 60,
+ Name: 'Nardo Batista',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/Maria.PNG',
+ IsExpand: 'true',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 59,
+ },
+ {
+ Id: 61,
+ Name: 'Lúcia Carvalho',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/Robin.PNG',
+ IsExpand: 'false',
+ RatingColor: '#93B85A',
+ ReportingPerson: 60,
+ },
+ {
+ Id: 62,
+ Name: 'Horst Kloss',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Clayton.PNG',
+ IsExpand: 'None',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 74,
+ },
+ {
+ Id: 63,
+ Name: 'Sergio roel',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image55.PNG',
+ IsExpand: 'None',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 61,
+ },
+ {
+ Id: 64,
+ Name: 'Paula Wilson',
+ Designation: 'S/w Engg',
+ ImageUrl: '../content/images/orgchart/eric.PNG',
+ IsExpand: 'None',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 7,
+ },
+ {
+ Id: 65,
+ Name: 'Mauri Moroni',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image53.PNG',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 6,
+ },
+ {
+ Id: 66,
+ Name: 'Janete Limeira',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image51.PNG',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 7,
+ },
+ {
+ Id: 67,
+ Name: 'Michael Holz',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/Thomas.PNG',
+ IsExpand: 'true',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 59,
+ },
+ {
+ Id: 68,
+ Name: 'Alej Camino',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/Thomas.PNG',
+ IsExpand: 'false',
+ RatingColor: '#93B85A',
+ ReportingPerson: 67,
+ },
+ {
+ Id: 69,
+ Name: 'Jonas Bergsen',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image53.PNG',
+ IsExpand: 'None',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 19,
+ },
+ {
+ Id: 70,
+ Name: 'Jose Pavarotti',
+ Designation: 'S/w Engg',
+ ImageUrl: '../content/images/orgchart/Maria.PNG',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 56,
+ },
+ {
+ Id: 71,
+ Name: 'Miguel Angel',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/eric.PNG',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 16,
+ },
+ {
+ Id: 72,
+ Name: 'Jytte Petersen',
+ Designation: 'Project Manager',
+ ImageUrl: '../content/images/orgchart/image55.PNG',
+ IsExpand: 'true',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 59,
+ },
+ {
+ Id: 73,
+ Name: 'Kloss Perrier',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/Clayton.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 23,
+ },
+ {
+ Id: 74,
+ Name: 'Art Nancy',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'true',
+ RatingColor: '#D46E89',
+ ReportingPerson: 29,
+ },
+ {
+ Id: 75,
+ Name: 'Pascal Cartrain',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/John.png',
+ IsExpand: 'true',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 36,
+ },
+ {
+ Id: 76,
+ Name: 'Liz Nixon',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/Jenny.png',
+ IsExpand: 'false',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 72,
+ },
+ {
+ Id: 77,
+ Name: 'Liu Wong',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image57.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 75,
+ },
+ {
+ Id: 78,
+ Name: 'Karin Josephs',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image55.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 76,
+ },
+ {
+ Id: 79,
+ Name: 'Ruby Anabela ',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 23,
+ },
+ {
+ Id: 80,
+ Name: 'Helvetis Nagy',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image53.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 75,
+ },
+ {
+ Id: 81,
+ Name: 'Palle Ibsen',
+ Designation: 'S/w Engg',
+ ImageUrl: '../content/images/orgchart/image51.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 35,
+ },
+ {
+ Id: 82,
+ Name: 'Mary Saveley',
+ Designation: 'Project Manager',
+ ImageUrl: '../content/images/orgchart/Clayton.png',
+ IsExpand: 'false',
+ RatingColor: '#93B85A',
+ ReportingPerson: 59,
+ },
+ {
+ Id: 83,
+ Name: 'Paul Henriot',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'false',
+ RatingColor: '#D46E89',
+ ReportingPerson: 30,
+ },
+ {
+ Id: 84,
+ Name: 'Rita Müller',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Paul.png',
+ IsExpand: 'None',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 83,
+ },
+ {
+ Id: 85,
+ Name: 'Pirkko King',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/Robin.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 83,
+ },
+ {
+ Id: 86,
+ Name: 'Paula Parente',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/John.png',
+ IsExpand: 'None',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 74,
+ },
+ {
+ Id: 87,
+ Name: 'Karl Jablonski',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image53.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 23,
+ },
+ {
+ Id: 88,
+ Name: 'Matti Kenna',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/Jenny.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 23,
+ },
+ {
+ Id: 89,
+ Name: 'Zbyszek Yang',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 23,
+ },
+ {
+ Id: 90,
+ Name: 'Nancy',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image56.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 23,
+ },
+ {
+ Id: 91,
+ Name: 'Robert King',
+ Designation: 'Project Manager',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'true',
+ RatingColor: '#D46E89',
+ ReportingPerson: 59,
+ },
+ {
+ Id: 92,
+ Name: 'Laura Callahan',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/Robin.png',
+ IsExpand: 'false',
+ RatingColor: '#D46E89',
+ ReportingPerson: 91,
+ },
+ {
+ Id: 93,
+ Name: 'Anne',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/Clayton.png',
+ IsExpand: 'false',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 92,
+ },
+ {
+ Id: 94,
+ Name: 'Georg Pipps',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image53.png',
+ IsExpand: 'None',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 5,
+ },
+ {
+ Id: 95,
+ Name: 'Isabel Castro',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image55.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 93,
+ },
+ {
+ Id: 96,
+ Name: 'Nardo Batista',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image57.png',
+ IsExpand: 'None',
+ RatingColor: '#EBB92E',
+ ReportingPerson: 93,
+ },
+ {
+ Id: 97,
+ Name: 'Rene Phillips',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image55.png',
+ IsExpand: 'false',
+ RatingColor: '#68C2DE',
+ ReportingPerson: 92,
+ },
+ {
+ Id: 98,
+ Name: 'Lúcia Carvalho',
+ Designation: 'S/w Engg',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 97,
+ },
+ {
+ Id: 99,
+ Name: 'Horst Kloss',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Paul.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 56,
+ },
+ {
+ Id: 101,
+ Name: 'Simon Roel',
+ Designation: 'Project Lead',
+ ImageUrl: '../content/images/orgchart/Clayton.png',
+ IsExpand: 'true',
+ RatingColor: '#93B85A',
+ ReportingPerson: 91,
+ },
+ {
+ Id: 102,
+ Name: 'Rita Pfalzheim',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/Thomas.png',
+ IsExpand: 'false',
+ RatingColor: '#D46E89',
+ ReportingPerson: 101,
+ },
+ {
+ Id: 103,
+ Name: 'Paula Wilson',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/Jenny.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 750,
+ },
+ {
+ Id: 104,
+ Name: ' Jose Michael',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/eric.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 102,
+ },
+ {
+ Id: 105,
+ Name: 'Mauri Moroni',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image55.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 35,
+ },
+ {
+ Id: 106,
+ Name: 'Janete Limeira',
+ Designation: 'Senior S/w Engg',
+ ImageUrl: '../content/images/orgchart/image57.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 35,
+ },
+ {
+ Id: 107,
+ Name: 'Michael Holz',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image53.png',
+ IsExpand: 'None',
+ RatingColor: '#D46E89',
+ ReportingPerson: 35,
+ },
+ {
+ Id: 108,
+ Name: 'Alej Camino',
+ Designation: 'Project Trainee',
+ ImageUrl: '../content/images/orgchart/image51.png',
+ IsExpand: 'None',
+ RatingColor: '#93B85A',
+ ReportingPerson: 35,
+ },
+];
+
+let items = new DataManager(data as JSON[], new Query().take(7));
+
+const fitToPage = function () {
+ diagramInstance.fitToPage({
+ mode: 'Page',
+ region: 'Content',
+ margin: {},
+ canZoomIn: false,
+ });
+
+}
+
+const fitToWidth = function () {
+ diagramInstance.fitToPage({
+ mode: 'Width',
+ region: 'Content',
+ margin: {},
+ canZoomIn: false,
+ });
+
+}
+const fitToHeight = function () {
+ diagramInstance.fitToPage({
+ mode: 'Height',
+ region: 'Content',
+ margin: {},
+ canZoomIn: false,
+ });
+
+}
+//Initializes the Diagram component
+function App() {
+ return (
+
+
+
+
+ (diagramInstance = diagram)} width={'1250px'} height={'590px'}
+ layout={{
+ type: 'OrganizationalChart',
+ margin: { top: 20 },
+ getLayoutInfo: (node:Node, tree:TreeInfo) => {
+ if (!tree.hasSubTree) {
+ tree.orientation = 'Vertical';
+ tree.type = 'Alternate';
+ }
+ },
+ }}
+ dataSourceSettings={{
+ id: 'Id',
+ parentId: 'ReportingPerson',
+ dataSource: items,
+ }
+ }
+ getNodeDefaults={(obj: NodeModel) => {
+ obj.height = 50;
+ obj.backgroundColor = 'lightgrey';
+ obj.style = { fill: 'transparent', strokeWidth: 2 };
+ return obj;
+ }
+ }
+ getConnectorDefaults={(connector: ConnectorModel) => {
+ connector.targetDecorator.shape = 'None';
+ connector.type = 'Orthogonal';
+ return connector;
+ }
+ }
+ >
+
);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/diagram/commands/fitToPage-cs1/index.html b/ej2-react/code-snippet/diagram/commands/fitToPage-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/fitToPage-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/fitToPage-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/commands/fitToPage-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/fitToPage-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/commands/modifyCommand-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/commands/modifyCommand-cs1/app/index.jsx
new file mode 100644
index 000000000..061d3f5a5
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/modifyCommand-cs1/app/index.jsx
@@ -0,0 +1,80 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent, Keys, KeyModifiers } from "@syncfusion/ej2-react-diagrams";
+let diagramInstance;
+// Initializes the nodes
+let node = [
+ {
+ id: 'node1',
+ offsetX: 100,
+ offsetY: 100,
+ width: 70,
+ height: 40,
+ style: { fill: '#64abbb' },
+ },
+];
+
+// Initializes the Diagram component
+function App() {
+ return (
+
+ (diagramInstance = diagram)}
+ width={'650px'}
+ height={'350px'}
+ nodes={node}
+ commandManager={{
+ commands: [
+ {
+ //Preventing default cut command
+ name: 'cut',
+ canExecute: function () {
+ return false;
+ },
+ execute: null,
+ gesture: {
+ key: Keys.X,
+ keyModifiers: KeyModifiers.Control,
+ },
+ },
+ {
+ //Preventing default delete command
+ name: 'delete',
+ canExecute: function () {
+ return false;
+ },
+ execute: null,
+ gesture: {
+ key: Keys.Delete,
+ },
+ },
+ {
+ //Modifying copy command to clone node
+ name: 'clone',
+ canExecute: function () {
+ let execute = diagramInstance.selectedItems.nodes.length > 0;
+ return execute;
+ },
+ execute: function () {
+ diagramInstance.copy();
+ diagramInstance.paste();
+ },
+ gesture: {
+ //Press CTRL+C to clone node
+ key: Keys.C,
+ keyModifiers: KeyModifiers.Control,
+ },
+ },
+ ],
+ }}
+ />
+ );
+}
+
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/modifyCommand-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/commands/modifyCommand-cs1/app/index.tsx
new file mode 100644
index 000000000..f2df71631
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/modifyCommand-cs1/app/index.tsx
@@ -0,0 +1,80 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent, Keys,NodeModel, KeyModifiers } from "@syncfusion/ej2-react-diagrams";
+let diagramInstance:DiagramComponent;
+// Initializes the nodes
+let node:NodeModel[] = [
+ {
+ id: 'node1',
+ offsetX: 100,
+ offsetY: 100,
+ width: 70,
+ height: 40,
+ style: { fill: '#64abbb' },
+ },
+];
+
+// Initializes the Diagram component
+function App() {
+ return (
+
+ (diagramInstance = diagram)}
+ width={'650px'}
+ height={'350px'}
+ nodes={node}
+ commandManager={{
+ commands: [
+ {
+ //Preventing default cut command
+ name: 'cut',
+ canExecute: function () {
+ return false;
+ },
+ execute: null,
+ gesture: {
+ key: Keys.X,
+ keyModifiers: KeyModifiers.Control,
+ },
+ },
+ {
+ //Preventing default delete command
+ name: 'delete',
+ canExecute: function () {
+ return false;
+ },
+ execute: null,
+ gesture: {
+ key: Keys.Delete,
+ },
+ },
+ {
+ //Modifying copy command to clone node
+ name: 'clone',
+ canExecute: function () {
+ let execute = diagramInstance.selectedItems.nodes.length > 0;
+ return execute;
+ },
+ execute: function () {
+ diagramInstance.copy();
+ diagramInstance.paste();
+ },
+ gesture: {
+ //Press CTRL+C to clone node
+ key: Keys.C,
+ keyModifiers: KeyModifiers.Control,
+ },
+ },
+ ],
+ }}
+ />
+ );
+}
+
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/modifyCommand-cs1/index.html b/ej2-react/code-snippet/diagram/commands/modifyCommand-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/modifyCommand-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/modifyCommand-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/commands/modifyCommand-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/modifyCommand-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/commands/nudge-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/commands/nudge-cs1/app/index.jsx
new file mode 100644
index 000000000..3ffc6670b
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/nudge-cs1/app/index.jsx
@@ -0,0 +1,42 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
+let diagramInstance;
+//Initializes the nodes
+let node = [
+ {
+ id: 'node1',
+ offsetX: 100,
+ offsetY: 100,
+ width: 70,
+ height: 40,
+ },
+];
+
+const right = function(){
+ diagramInstance.nudge('Right');
+}
+const left = function(){
+ diagramInstance.nudge('Left');
+}
+const up = function(){
+ diagramInstance.nudge('Up');
+}
+const down = function(){
+ diagramInstance.nudge('Down');
+}
+//Initializes the Diagram component
+function App() {
+ return (
+
+
+
+
+ (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={node}created={() => {
+ //Selects the diagram
+ diagramInstance.selectAll();
+ }} />
);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/commands/nudge-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/commands/nudge-cs1/app/index.tsx
new file mode 100644
index 000000000..22627efae
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/nudge-cs1/app/index.tsx
@@ -0,0 +1,42 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent,NodeModel } from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
+let diagramInstance:DiagramComponent;
+//Initializes the nodes
+let node:NodeModel[] = [
+ {
+ id: 'node1',
+ offsetX: 100,
+ offsetY: 100,
+ width: 70,
+ height: 40,
+ },
+];
+
+const right = function(){
+ diagramInstance.nudge('Right');
+}
+const left = function(){
+ diagramInstance.nudge('Left');
+}
+const up = function(){
+ diagramInstance.nudge('Up');
+}
+const down = function(){
+ diagramInstance.nudge('Down');
+}
+//Initializes the Diagram component
+function App() {
+ return (
+
+
+
+
+ (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={node}created={() => {
+ //Selects the diagram
+ diagramInstance.selectAll();
+ }} />
);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/commands/nudge-cs1/index.html b/ej2-react/code-snippet/diagram/commands/nudge-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/nudge-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/nudge-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/commands/nudge-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/nudge-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/commands/rotate-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/commands/rotate-cs1/app/index.jsx
new file mode 100644
index 000000000..320a4b779
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/rotate-cs1/app/index.jsx
@@ -0,0 +1,44 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
+let diagramInstance;
+//Initializes the nodes
+let node = [
+ {
+ id: 'node1',
+ offsetX: 100,
+ offsetY: 100,
+ width: 70,
+ height: 40,
+ },
+];
+
+const rotateClockWise = function () {
+ let node = diagramInstance.nodes[0];
+ /**
+ * paramter 1 - Rotate item
+ * paramter 2 - angle to be rotated
+ */
+ diagramInstance.rotate(node, 45)
+}
+
+const rotateAntiClockWise = function () {
+ let node = diagramInstance.nodes[0];
+ /**
+ * paramter 1 - Rotate item
+ * paramter 2 - angle to be rotated
+ */
+ diagramInstance.rotate(node, -45);
+}
+
+//Initializes the Diagram component
+function App() {
+ return (
+
+
+ (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={node}
+ />
);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/commands/rotate-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/commands/rotate-cs1/app/index.tsx
new file mode 100644
index 000000000..bed57200e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/rotate-cs1/app/index.tsx
@@ -0,0 +1,44 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent,NodeModel } from "@syncfusion/ej2-react-diagrams";
+import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
+let diagramInstance:DiagramComponent;
+//Initializes the nodes
+let node:NodeModel[] = [
+ {
+ id: 'node1',
+ offsetX: 100,
+ offsetY: 100,
+ width: 70,
+ height: 40,
+ },
+];
+
+const rotateClockWise = function () {
+ let node = diagramInstance.nodes[0];
+ /**
+ * paramter 1 - Rotate item
+ * paramter 2 - angle to be rotated
+ */
+ diagramInstance.rotate(node, 45)
+}
+
+const rotateAntiClockWise = function () {
+ let node = diagramInstance.nodes[0];
+ /**
+ * paramter 1 - Rotate item
+ * paramter 2 - angle to be rotated
+ */
+ diagramInstance.rotate(node, -45);
+}
+
+//Initializes the Diagram component
+function App() {
+ return (
+
+
+ (diagramInstance = diagram)} width={'650px'} height={'350px'} nodes={node}
+ />
);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/commands/rotate-cs1/index.html b/ej2-react/code-snippet/diagram/commands/rotate-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/rotate-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/rotate-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/commands/rotate-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/rotate-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/commands/sizing-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/commands/sizing-cs1/app/index.jsx
new file mode 100644
index 000000000..65e9a6aa6
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/sizing-cs1/app/index.jsx
@@ -0,0 +1,67 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent, } from "@syncfusion/ej2-react-diagrams";
+let diagramInstance;
+let sizeInstance;
+//Initializes the nodes
+let node = [
+
+ {
+ id: 'node1',
+ width: 100,
+ height: 80,
+ offsetX: 140,
+ offsetY: 100,
+ annotations: [{ content: 'Node1' }],
+ },
+ {
+ id: 'node2',
+ width: 100,
+ height: 60,
+ offsetX: 140,
+ offsetY: 200,
+ annotations: [{ content: 'Node2' }],
+ },
+ {
+ id: 'node3',
+ width: 200,
+ height: 30,
+ offsetX: 140,
+ offsetY: 300,
+ annotations: [{ content: 'Node3' }],
+ },
+
+];
+const sizeChange = function (args) {
+ let objects = diagramInstance.nodes;
+ /**
+ * parameter 1 - The size option
+ * parameter 2 - The collection of objects to be scaled.
+ */
+ diagramInstance.sameSize(args.target.value, objects);
+}
+
+//Initializes the Diagram Component
+function App() {
+
+ return (
+
+ Size option
+ (sizeInstance = size)}>
+ Width
+ Height
+ Size
+
+ (diagramInstance = diagram)}
+ width={'650px'}
+ height={'350px'}
+ nodes={node}
+ />
+ );
+
+}
+
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/sizing-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/commands/sizing-cs1/app/index.tsx
new file mode 100644
index 000000000..2cef7ee55
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/sizing-cs1/app/index.tsx
@@ -0,0 +1,67 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent,NodeModel } from "@syncfusion/ej2-react-diagrams";
+let diagramInstance:DiagramComponent;
+let sizeInstance:HTMLSelectElement;
+//Initializes the nodes
+let node:NodeModel[] = [
+
+ {
+ id: 'node1',
+ width: 100,
+ height: 80,
+ offsetX: 140,
+ offsetY: 100,
+ annotations: [{ content: 'Node1' }],
+ },
+ {
+ id: 'node2',
+ width: 100,
+ height: 60,
+ offsetX: 140,
+ offsetY: 200,
+ annotations: [{ content: 'Node2' }],
+ },
+ {
+ id: 'node3',
+ width: 200,
+ height: 30,
+ offsetX: 140,
+ offsetY: 300,
+ annotations: [{ content: 'Node3' }],
+ },
+
+];
+const sizeChange = function (args) {
+ let objects = diagramInstance.nodes;
+ /**
+ * parameter 1 - The size option
+ * parameter 2 - The collection of objects to be scaled.
+ */
+ diagramInstance.sameSize(args.target.value, objects);
+}
+
+//Initializes the Diagram Component
+function App() {
+
+ return (
+
+ Size option
+ (sizeInstance = size)}>
+ Width
+ Height
+ Size
+
+ (diagramInstance = diagram)}
+ width={'650px'}
+ height={'350px'}
+ nodes={node}
+ />
+ );
+
+}
+
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/sizing-cs1/index.html b/ej2-react/code-snippet/diagram/commands/sizing-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/sizing-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/commands/sizing-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/commands/sizing-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/commands/sizing-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5BezierSegment-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5BezierSegment-cs1/app/index.jsx
new file mode 100644
index 000000000..b784ed518
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5BezierSegment-cs1/app/index.jsx
@@ -0,0 +1,70 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { Diagram, DiagramComponent, ConnectorConstraints, ConnectorEditing,PortVisibility ,BezierSmoothness} from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(ConnectorEditing);
+let nodes = [
+ {
+ id: 'Start',
+ offsetX: 250,
+ offsetY: 150,
+ annotations: [{ content: 'Start' }],
+ ports: [
+ {
+ id: 'StartPort',
+ visibility: PortVisibility.Visible,
+ shape: 'Circle',
+ offset: { x: 1, y: 0.5 },
+ style: { strokeColor: '#366F8C', fill: '#366F8C' },
+ },
+ ],
+ },
+ {
+ id: 'End',
+ offsetX: 250,
+ offsetY: 350,
+ annotations: [{ content: 'End' }],
+ ports: [
+ {
+ id: 'EndPort',
+ visibility: PortVisibility.Visible,
+ shape: 'Circle',
+ offset: { x: 0, y: 0.5 },
+ style: { strokeColor: '#366F8C', fill: '#366F8C' },
+ },
+ ],
+ },
+
+];
+
+let connectors = [ {
+ id: 'connector1',
+ targetDecorator: { shape: 'None' },
+ // ID of the source and target nodes
+ sourceID: 'Start',
+ sourcePortID: 'StartPort',
+ targetID: 'End',
+ targetPortID: 'EndPort',
+ type: 'Bezier',
+
+ // Configuring settings for bezier interactions
+ bezierSettings: {
+ smoothness: BezierSmoothness.SymmetricAngle,
+ },
+ },];
+function App() {
+ return ( {
+ node.height = 100;
+ node.width = 100;
+ node.shape = { type: 'Basic', shape: 'Rectangle' };
+ node.style.fill = '#6BA5D7';
+ node.style.strokeColor = 'white';
+ return node;
+ }}
+ getConnectorDefaults={(connector) => {
+ connector.constraints =
+ ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb;
+ }} />);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5BezierSegment-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5BezierSegment-cs1/app/index.tsx
new file mode 100644
index 000000000..2e25a0f55
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5BezierSegment-cs1/app/index.tsx
@@ -0,0 +1,70 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { Diagram, NodeModel,ConnectorModel,DiagramComponent, ConnectorConstraints, ConnectorEditing,PortVisibility ,BezierSmoothness} from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(ConnectorEditing);
+let nodes: NodeModel[] = [
+ {
+ id: 'Start',
+ offsetX: 250,
+ offsetY: 150,
+ annotations: [{ content: 'Start' }],
+ ports: [
+ {
+ id: 'StartPort',
+ visibility: PortVisibility.Visible,
+ shape: 'Circle',
+ offset: { x: 1, y: 0.5 },
+ style: { strokeColor: '#366F8C', fill: '#366F8C' },
+ },
+ ],
+ },
+ {
+ id: 'End',
+ offsetX: 250,
+ offsetY: 350,
+ annotations: [{ content: 'End' }],
+ ports: [
+ {
+ id: 'EndPort',
+ visibility: PortVisibility.Visible,
+ shape: 'Circle',
+ offset: { x: 0, y: 0.5 },
+ style: { strokeColor: '#366F8C', fill: '#366F8C' },
+ },
+ ],
+ },
+
+];
+
+let connectors: ConnectorModel[] = [ {
+ id: 'connector1',
+ targetDecorator: { shape: 'None' },
+ // ID of the source and target nodes
+ sourceID: 'Start',
+ sourcePortID: 'StartPort',
+ targetID: 'End',
+ targetPortID: 'EndPort',
+ type: 'Bezier',
+
+ // Configuring settings for bezier interactions
+ bezierSettings: {
+ smoothness: BezierSmoothness.SymmetricAngle,
+ },
+ },];
+function App() {
+ return ( {
+ node.height = 100;
+ node.width = 100;
+ node.shape = { type: 'Basic', shape: 'Rectangle' };
+ node.style.fill = '#6BA5D7';
+ node.style.strokeColor = 'white';
+ return node;
+ }}
+ getConnectorDefaults={(connector: ConnectorModel) => {
+ connector.constraints =
+ ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb;
+ }} />);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5BezierSegment-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5BezierSegment-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5BezierSegment-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5BezierSegment-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5BezierSegment-cs1/systemjs.config.js
new file mode 100644
index 000000000..e42f94373
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5BezierSegment-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ClickEvent-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ClickEvent-cs1/app/index.jsx
new file mode 100644
index 000000000..35433533c
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ClickEvent-cs1/app/index.jsx
@@ -0,0 +1,45 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent, Connector, Node } from "@syncfusion/ej2-react-diagrams";
+let nodes = [
+ {
+ id: 'Start',
+ width: 140,
+ height: 50,
+ offsetX: 300,
+ offsetY: 50,
+ annotations: [
+ {
+ content: 'Click node',
+ },
+ ],
+
+ }
+]
+let connectors = [{
+ // Name of the connector
+ id: "connector1",
+ // Sets source and target points
+ sourceID: 'Start',
+ targetPoint: { x: 300, y: 200 },
+ annotations: [
+ {
+ content: 'Click Connector',
+ },
+ ],
+}];
+function App() {
+ return ( {
+ let element = 'Diagram';
+ if (args.actualObject instanceof Node) {
+ element = 'Node';
+ } else if (args.actualObject instanceof Connector) {
+ element = 'Connector';
+ }
+ alert(element + ' Clicked');
+ }}
+ />);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ClickEvent-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ClickEvent-cs1/app/index.tsx
new file mode 100644
index 000000000..96abb62ff
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ClickEvent-cs1/app/index.tsx
@@ -0,0 +1,45 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent, Connector, Node, NodeModel, IClickEventArgs,ConnectorModel,} from "@syncfusion/ej2-react-diagrams";
+let nodes: NodeModel[] = [
+ {
+ id: 'Start',
+ width: 140,
+ height: 50,
+ offsetX: 300,
+ offsetY: 50,
+ annotations: [
+ {
+ content: 'Click node',
+ },
+ ],
+
+ }
+]
+let connectors: ConnectorModel[] = [{
+ // Name of the connector
+ id: "connector1",
+ // Sets source and target points
+ sourceID: 'Start',
+ targetPoint: { x: 300, y: 200 },
+ annotations: [
+ {
+ content: 'Click Connector',
+ },
+ ],
+}];
+function App() {
+ return ( {
+ let element = 'Diagram';
+ if (args.actualObject instanceof Node) {
+ element = 'Node';
+ } else if (args.actualObject instanceof Connector) {
+ element = 'Connector';
+ }
+ alert(element + ' Clicked');
+ }}
+ />);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ClickEvent-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ClickEvent-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ClickEvent-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ClickEvent-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5ClickEvent-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ClickEvent-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5CollectionChange-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5CollectionChange-cs1/app/index.jsx
new file mode 100644
index 000000000..dee3179e9
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5CollectionChange-cs1/app/index.jsx
@@ -0,0 +1,70 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+let diagramInstance;
+let connectors = [{
+ // Name of the connector
+ id: "connector1",
+ // Sets source and target points
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 200,
+ y: 200
+ }
+},
+{
+ id: 'connector2',
+ type: 'Straight',
+ sourcePoint: {
+ x: 300,
+ y: 100,
+ },
+ targetPoint: {
+ x: 400,
+ y: 200,
+ },
+},
+
+];
+function App() {
+ const add = () => {
+ // diagramInstance.add(connectors[0])
+ let connector = {
+ type: 'Straight',
+ sourcePoint: {
+ x: 100,
+ y: 300,
+ },
+ targetPoint: {
+ x: 200,
+ y: 400,
+ },
+ };
+ diagramInstance.add(connector);
+ }
+ const remove = () => {
+ let connector =
+ diagramInstance.selectedItems.connectors.length > 0
+ ? diagramInstance.selectedItems.connectors[0]
+ : diagramInstance.connectors[0];
+ diagramInstance.remove(connector)
+ }
+ return (
+
+ Add
+ Remove
+ (diagramInstance = diagram)}
+ height={'600px'} connectors={connectors}
+ collectionChange={(args) => {
+ console.log('collectionChange');
+ }
+ }
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5CollectionChange-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5CollectionChange-cs1/app/index.tsx
new file mode 100644
index 000000000..3f413064d
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5CollectionChange-cs1/app/index.tsx
@@ -0,0 +1,70 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent, ConnectorModel, ICollectionChangeEventArgs } from "@syncfusion/ej2-react-diagrams";
+let diagramInstance: DiagramComponent;
+let connectors: ConnectorModel[] = [{
+ // Name of the connector
+ id: "connector1",
+ // Sets source and target points
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 200,
+ y: 200
+ }
+},
+{
+ id: 'connector2',
+ type: 'Straight',
+ sourcePoint: {
+ x: 300,
+ y: 100,
+ },
+ targetPoint: {
+ x: 400,
+ y: 200,
+ },
+},
+
+];
+function App() {
+ const add = () => {
+ // diagramInstance.add(connectors[0])
+ let connector = {
+ type: 'Straight',
+ sourcePoint: {
+ x: 100,
+ y: 300,
+ },
+ targetPoint: {
+ x: 200,
+ y: 400,
+ },
+ };
+ diagramInstance.add(connector);
+ }
+ const remove = () => {
+ let connector =
+ diagramInstance.selectedItems.connectors.length > 0
+ ? diagramInstance.selectedItems.connectors[0]
+ : diagramInstance.connectors[0];
+ diagramInstance.remove(connector)
+ }
+ return (
+
+ Add
+ Remove
+ (diagramInstance = diagram)}
+ height={'600px'} connectors={connectors}
+ collectionChange={(args: ICollectionChangeEventArgs) => {
+ console.log('collectionChange');
+ }
+ }
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5CollectionChange-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5CollectionChange-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5CollectionChange-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5CollectionChange-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5CollectionChange-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5CollectionChange-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs1/app/index.jsx
index 2f6e449e7..4e519087c 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs1/app/index.jsx
@@ -1,68 +1,54 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent, } from "@syncfusion/ej2-react-diagrams";
let nodes = [{
- id: 'Start',
- width: 140,
- height: 50,
- offsetX: 100,
- offsetY: 100,
- annotations: [{
- id: 'label1',
- content: 'Start'
- }],
- shape: {
- type: 'Flow',
- shape: 'Terminator'
- }
- },
- {
- id: 'Init',
- width: 140,
- height: 50,
- offsetX: 300,
- offsetY: 300,
- shape: {
- type: 'Flow',
- shape: 'Process'
- },
- annotations: [{
- content: 'var i = 0;'
- }]
+ id: 'Start',
+ width: 140,
+ height: 50,
+ offsetX: 100,
+ offsetY: 100,
+ annotations: [{
+ id: 'label1',
+ content: 'Start'
+ }],
+ shape: {
+ type: 'Flow',
+ shape: 'Terminator'
}
+},
+{
+ id: 'Init',
+ width: 140,
+ height: 50,
+ offsetX: 300,
+ offsetY: 300,
+ shape: {
+ type: 'Flow',
+ shape: 'Process'
+ },
+ annotations: [{
+ content: 'var i = 0;'
+ }]
+}
];
let connectors = [{
- // Name of the connector
- id: "connector1",
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
- // ID of the source and target nodes
- sourceID: "Start",
- targetID: "Init",
- connectorSpacing: 7,
- type: 'Orthogonal'
- }];
+ // Name of the connector
+ id: "connector1",
+ // ID of the source and target nodes
+ sourceID: "Start",
+ targetID: "Init",
+ type: 'Orthogonal'
+}];
function App() {
- return ( {
+ return ( {
node.height = 100;
node.width = 100;
node.style.fill = '#6BA5D7';
node.style.strokeColor = 'white';
return node;
- }}/>);
+ }} />);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs1/app/index.tsx
index 3ad710e52..a8541fe3c 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs1/app/index.tsx
@@ -3,87 +3,74 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
NodeModel,
ConnectorModel,
} from "@syncfusion/ej2-react-diagrams";
let nodes: NodeModel[] = [{
- id: 'Start',
- width: 140,
- height: 50,
- offsetX: 100,
- offsetY: 100,
- annotations: [{
- id: 'label1',
- content: 'Start'
- }],
- shape: {
- type: 'Flow',
- shape: 'Terminator'
- }
- },
- {
- id: 'Init',
- width: 140,
- height: 50,
- offsetX: 300,
- offsetY: 300,
- shape: {
- type: 'Flow',
- shape: 'Process'
- },
- annotations: [{
- content: 'var i = 0;'
- }]
+ id: 'Start',
+ width: 140,
+ height: 50,
+ offsetX: 100,
+ offsetY: 100,
+ annotations: [{
+ id: 'label1',
+ content: 'Start'
+ }],
+ shape: {
+ type: 'Flow',
+ shape: 'Terminator'
}
+},
+{
+ id: 'Init',
+ width: 140,
+ height: 50,
+ offsetX: 300,
+ offsetY: 300,
+ shape: {
+ type: 'Flow',
+ shape: 'Process'
+ },
+ annotations: [{
+ content: 'var i = 0;'
+ }]
+}
];
let connectors: ConnectorModel[] = [{
// Name of the connector
id: "connector1",
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
// ID of the source and target nodes
sourceID: "Start",
targetID: "Init",
- connectorSpacing: 7,
type: 'Orthogonal'
}];
function App() {
return (
{
- node.height = 100;
- node.width = 100;
- node.style.fill = '#6BA5D7';
- node.style.strokeColor = 'white';
- return node;
+ width={
+ '100%'
+ }
+ height={
+ '600px'
+ }
+ nodes={
+ nodes
+ }
+ connectors={
+ connectors
+ }
+ // Defines the default properties for the node
+ getNodeDefaults={
+ (node: NodeModel) => {
+ node.height = 100;
+ node.width = 100;
+ node.style.fill = '#6BA5D7';
+ node.style.strokeColor = 'white';
+ return node;
+ }
}
- }
/>
)
}
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs2/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs2/app/index.jsx
index b50a966f3..717d7bdb4 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs2/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs2/app/index.jsx
@@ -1,57 +1,44 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
-import { DiagramComponent,ConnectorConstraints } from "@syncfusion/ej2-react-diagrams";
+import { DiagramComponent, ConnectorConstraints } from "@syncfusion/ej2-react-diagrams";
let nodes = [{
- id: 'node',
- width: 100,
- height: 100,
- offsetX: 100,
- offsetY: 100,
- },
- {
- id: 'node1',
- width: 100,
- height: 100,
- offsetX: 300,
- offsetY: 100,
- }
+ id: 'node',
+ width: 100,
+ height: 100,
+ offsetX: 100,
+ offsetY: 100,
+},
+{
+ id: 'node1',
+ width: 100,
+ height: 100,
+ offsetX: 300,
+ offsetY: 100,
+}
];
let connectors = [{
- // Name of the connector
- id: "connector1",
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
- // ID of the source and target nodes
- sourceID: "node",
- targetID: "node1",
- // Set Source Padding value
- sourcePadding: 20,
- // Set Target Padding value
- targetPadding: 20
- }];
+ // Name of the connector
+ id: "connector1",
+ // ID of the source and target nodes
+ sourceID: "node",
+ targetID: "node1",
+ // Set Source Padding value
+ sourcePadding: 20,
+ // Set Target Padding value
+ targetPadding: 20
+}];
function App() {
return ( {
- node.height = 100;
- node.width = 100;
- node.shape = { type: 'Basic', shape: 'Rectangle' };
- node.style.fill = '#6BA5D7';
- node.style.strokeColor = 'white';
- return node;
- }} getConnectorDefaults={(connector) => {
- connector.constraints =
- ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb;
- }}/>);
+ node.height = 100;
+ node.width = 100;
+ node.shape = { type: 'Basic', shape: 'Rectangle' };
+ node.style.fill = '#6BA5D7';
+ node.style.strokeColor = 'white';
+ return node;
+ }} getConnectorDefaults={(connector) => {
+ connector.constraints =
+ ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb;
+ }} />);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs2/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs2/app/index.tsx
index a14f00fa4..f772130dc 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs2/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs2/app/index.tsx
@@ -1,50 +1,36 @@
-{% raw %}
-
-
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
- DiagramComponent,
- NodeModel,
- ConnectorModel,ConnectorConstraints
+ Diagram,
+ DiagramComponent,
+ NodeModel,
+ ConnectorModel, ConnectorConstraints
} from "@syncfusion/ej2-react-diagrams";
let nodes: NodeModel[] = [{
- id: 'node',
- width: 100,
- height: 100,
- offsetX: 100,
- offsetY: 100,
- },
- {
- id: 'node1',
- width: 100,
- height: 100,
- offsetX: 300,
- offsetY: 100,
- }
+ id: 'node',
+ width: 100,
+ height: 100,
+ offsetX: 100,
+ offsetY: 100,
+},
+{
+ id: 'node1',
+ width: 100,
+ height: 100,
+ offsetX: 300,
+ offsetY: 100,
+}
];
let connectors: ConnectorModel[] = [{
- // Name of the connector
- id: "connector1",
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
- // ID of the source and target nodes
- sourceID: "node",
- targetID: "node1",
- // Set Source Padding value
- sourcePadding:20,
- // Set Target Padding value
- targetPadding:20
+ // Name of the connector
+ id: "connector1",
+ // ID of the source and target nodes
+ sourceID: "node",
+ targetID: "node1",
+ // Set Source Padding value
+ sourcePadding: 20,
+ // Set Target Padding value
+ targetPadding: 20
}];
function App() {
return (
@@ -71,7 +57,3 @@ function App() {
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-
-
-
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs2/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs2/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs2/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs2/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs3/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs3/app/index.jsx
index e286de535..567cd9a27 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs3/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs3/app/index.jsx
@@ -2,30 +2,29 @@ import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
let connectors = [{
- // Name of the connector
- id: "connector1",
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
- sourcePoint: {
- x: 100,
- y: 100
- },
- targetPoint: {
- x: 200,
- y: 200
- },
- // Flip the connector in horizontal direction
- flip: "Horizontal"
- }];
+ id: 'connector1',
+ //Flip
+ flip: 'Horizontal',
+ annotations: [{ content: 'Horizontal Flip' }],
+ sourcePoint: { x: 100, y: 100 },
+ targetPoint: { x: 200, y: 200 },
+ },
+ {
+ id: 'connector2',
+ //Flip
+ flip: 'Vertical',
+ annotations: [{ content: 'Vertical Flip' }],
+ sourcePoint: { x: 300, y: 100 },
+ targetPoint: { x: 400, y: 200 },
+ },
+ {
+ id: 'connector3',
+ //Flip
+ flip: 'Both',
+ annotations: [{ content: 'Both Flip' }],
+ sourcePoint: { x: 500, y: 100 },
+ targetPoint: { x: 600, y: 200 },
+ }];
function App() {
return ();
}
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs3/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs3/app/index.tsx
index e258f8ff4..59f7fcaeb 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs3/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs3/app/index.tsx
@@ -3,34 +3,32 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
ConnectorModel
} from "@syncfusion/ej2-react-diagrams";
let connectors: ConnectorModel[] = [{
- // Name of the connector
- id: "connector1",
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
- sourcePoint: {
- x: 100,
- y: 100
- },
- targetPoint: {
- x: 200,
- y: 200
- },
- // Flip the connector in horizontal direction
- flip:"Horizontal"
+ id: 'connector1',
+ //Flip
+ flip: 'Horizontal',
+ annotations: [{ content: 'Horizontal Flip' }],
+ sourcePoint: { x: 100, y: 100 },
+ targetPoint: { x: 200, y: 200 },
+},
+{
+ id: 'connector2',
+ //Flip
+ flip: 'Vertical',
+ annotations: [{ content: 'Vertical Flip' }],
+ sourcePoint: { x: 300, y: 100 },
+ targetPoint: { x: 400, y: 200 },
+},
+{
+ id: 'connector3',
+ //Flip
+ flip: 'Both',
+ annotations: [{ content: 'Both Flip' }],
+ sourcePoint: { x: 500, y: 100 },
+ targetPoint: { x: 600, y: 200 },
}];
function App() {
return (
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs3/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs3/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs3/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectNode-cs3/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectionChangeEvent-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectionChangeEvent-cs1/app/index.jsx
new file mode 100644
index 000000000..f5a1b66c3
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectionChangeEvent-cs1/app/index.jsx
@@ -0,0 +1,41 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+let nodes = [
+ {
+ id: 'node1',
+ offsetX: 200,
+ offsetY: 200,
+ width: 120,
+ height: 60,
+ style: { fill: 'skyblue' },
+ },
+ {
+ id: 'node2',
+ offsetX: 500,
+ offsetY: 200,
+ width: 120,
+ height: 60,
+ style: { fill: 'skyblue' },
+ },
+];
+let connectors = [{
+ // Name of the connector
+ id: 'connector1',
+ sourceID: 'node1',
+ targetID: 'node2',
+}];
+function App() {
+ return ( {
+ if (args.state === 'Changed') {
+ console.log('connectionChange');
+ //Customize
+ }
+ }
+ }
+ />);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectionChangeEvent-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectionChangeEvent-cs1/app/index.tsx
new file mode 100644
index 000000000..8d8046401
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectionChangeEvent-cs1/app/index.tsx
@@ -0,0 +1,65 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {DiagramComponent, ConnectorModel, NodeModel, IConnectionChangeEventArgs
+} from "@syncfusion/ej2-react-diagrams";
+let nodes: NodeModel[] = [
+ {
+ id: 'node1',
+ offsetX: 200,
+ offsetY: 200,
+ width: 120,
+ height: 60,
+ style: { fill: 'skyblue' },
+ },
+ {
+ id: 'node2',
+ offsetX: 500,
+ offsetY: 200,
+ width: 120,
+ height: 60,
+ style: { fill: 'skyblue' },
+ },
+];
+let connectors: ConnectorModel[] = [
+ {
+ // Name of the connector
+ id: 'connector1',
+ style: {
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ strokeWidth: 2,
+ },
+ targetDecorator: {
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: '#6BA5D7',
+ },
+ },
+ sourceID: 'node1',
+ targetID: 'node2',
+ },
+];
+function App() {
+ return (
+ {
+ if (args.state === 'Changed') {
+ console.log('connectionChange');
+ //Customize
+ }
+ }
+ }
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectionChangeEvent-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectionChangeEvent-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectionChangeEvent-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectionChangeEvent-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5ConnectionChangeEvent-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectionChangeEvent-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorBezierAvoidOverlapping-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorBezierAvoidOverlapping-cs1/app/index.jsx
index b4a02e7b4..6fc68a8e8 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorBezierAvoidOverlapping-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorBezierAvoidOverlapping-cs1/app/index.jsx
@@ -1,33 +1,20 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
-import { Diagram, DiagramComponent, ConnectorEditing, ConnectorConstraints,PortVisibility,ControlPointsVisibility } from "@syncfusion/ej2-react-diagrams";
+import { Diagram, DiagramComponent, ConnectorEditing, ConnectorConstraints } from "@syncfusion/ej2-react-diagrams";
Diagram.Inject(ConnectorEditing);
let nodes = [{
id: 'Start',
offsetX: 250,
offsetY: 150,
annotations: [{ content: 'Start' }],
- ports: [{
- id: 'StartPort',
- visibility: PortVisibility.Visible,
- shape: 'Circle',
- offset: { x: 1, y: 0.5 },
- style: { strokeColor: '#366F8C', fill: '#366F8C' }
- }]
+
},
{
id: 'End',
- offsetX: 450,
+ offsetX: 350,
offsetY: 200,
annotations: [{ content: 'End' }],
- ports: [{
- id: 'EndPort',
- visibility: PortVisibility.Visible,
- shape: 'Circle',
- offset: { x: 0, y: 0.5 },
- style: { strokeColor: '#366F8C', fill: '#366F8C' }
- }]
+
}];
let connectors = [{
id: "connector1",
@@ -38,13 +25,10 @@ let connectors = [{
},
targetDecorator: { shape: 'None' },
// ID of the source and target nodes
- sourceID: "Start",
- sourcePortID: "StartPort",
+ sourceID: "Start",
targetID: "End",
- targetPortID: "EndPort",
type: 'Bezier',
- // Configuring settings for bezier interactions
- bezierSettings : { controlPointsVisibility: ControlPointsVisibility.Source | ControlPointsVisibility.Target }
+
}];
function App() {
return ( {
@@ -60,5 +44,4 @@ function App() {
}}/>);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-{% endraw %}
\ No newline at end of file
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorBezierAvoidOverlapping-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorBezierAvoidOverlapping-cs1/app/index.tsx
index 63ff22071..e62abc7bc 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorBezierAvoidOverlapping-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorBezierAvoidOverlapping-cs1/app/index.tsx
@@ -1,56 +1,36 @@
-{% raw %}
-
-
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
- DiagramComponent,
- NodeModel,ConnectorModel,ConnectorEditing,ConnectorConstraints,PortVisibility,ControlPointsVisibility
+ Diagram,
+ DiagramComponent,
+ NodeModel, ConnectorModel, ConnectorEditing, ConnectorConstraints,
} from "@syncfusion/ej2-react-diagrams";
Diagram.Inject(ConnectorEditing);
let nodes: NodeModel[] = [{
- id: 'Start',
- offsetX: 250,
- offsetY: 150,
- annotations: [{ content: 'Start' }],
- ports: [{
- id: 'StartPort',
- visibility: PortVisibility.Visible,
- shape: 'Circle',
- offset: { x: 1, y: 0.5 },
- style: { strokeColor: '#366F8C', fill: '#366F8C' }
- }]
+ id: 'Start',
+ offsetX: 250,
+ offsetY: 150,
+ annotations: [{ content: 'Start' }],
},
{
- id: 'End',
- offsetX: 450,
- offsetY: 200,
- annotations: [{ content: 'End' }],
- ports: [{
- id: 'EndPort',
- visibility: PortVisibility.Visible,
- shape: 'Circle',
- offset: { x: 0, y: 0.5 },
- style: { strokeColor: '#366F8C', fill: '#366F8C' }
- }]
+ id: 'End',
+ offsetX: 450,
+ offsetY: 200,
+ annotations: [{ content: 'End' }],
+
}];
let connectors: ConnectorModel[] = [{
- id: "connector1",
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: { shape: 'None' },
- // ID of the source and target nodes
- sourceID: "Start",
- sourcePortID: "StartPort",
- targetID: "End",
- targetPortID: "EndPort",
- type: 'Bezier',
- // Configuring settings for bezier interactions
- bezierSettings : { controlPointsVisibility: ControlPointsVisibility.Source | ControlPointsVisibility.Target }
+ id: "connector1",
+ style: {
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ strokeWidth: 2
+ },
+ targetDecorator: { shape: 'None' },
+ // ID of the source and target nodes
+ sourceID: "Start",
+ targetID: "End",
+ type: 'Bezier',
}];
function App() {
return (
@@ -77,6 +57,3 @@ function App() {
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-
-
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorBezierAvoidOverlapping-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectorBezierAvoidOverlapping-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorBezierAvoidOverlapping-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorBezierAvoidOverlapping-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorClone-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorClone-cs1/app/index.jsx
new file mode 100644
index 000000000..740739da6
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorClone-cs1/app/index.jsx
@@ -0,0 +1,36 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+let diagramInstance;
+// Define initial connectors
+let connectors = [
+ {
+ id: 'connector1',
+ sourcePoint: { x: 100, y: 100 },
+ targetPoint: { x: 200, y: 200 }
+ }
+];
+// App component
+const App = () => {
+ // Function to handle clone button click
+ const handleCloneClick = () => {
+ diagramInstance.select([diagramInstance.selectedItems.connectors[0]]);
+ diagramInstance.copy();
+ diagramInstance.paste();
+ };
+ return (
+
+ handleCloneClick
+ (diagramInstance = diagram)}
+ width={'100%'}
+ height={'600px'}
+ connectors={connectors}
+ />
+
+ );
+};
+// Render the App component
+const root = ReactDOM.createRoot(document.getElementById('diagram') );
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorClone-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorClone-cs1/app/index.tsx
new file mode 100644
index 000000000..dc014132c
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorClone-cs1/app/index.tsx
@@ -0,0 +1,36 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent,ConnectorModel } from "@syncfusion/ej2-react-diagrams";
+let diagramInstance:DiagramComponent;
+// Define initial connectors
+let connectors: ConnectorModel[] = [
+ {
+ id: 'connector1',
+ sourcePoint: { x: 100, y: 100 },
+ targetPoint: { x: 200, y: 200 }
+ }
+];
+// App component
+const App = () => {
+ // Function to handle clone button click
+ const handleCloneClick = () => {
+ diagramInstance.select([diagramInstance.selectedItems.connectors[0]]);
+ diagramInstance.copy();
+ diagramInstance.paste();
+ };
+ return (
+
+ handleCloneClick
+ (diagramInstance = diagram)}
+ width={'100%'}
+ height={'600px'}
+ connectors={connectors}
+ />
+
+ );
+};
+// Render the App component
+const root = ReactDOM.createRoot(document.getElementById('diagram') );
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorClone-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectorClone-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorClone-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorClone-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5ConnectorClone-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorClone-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorDecorators-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorDecorators-cs1/app/index.jsx
new file mode 100644
index 000000000..949539cd0
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorDecorators-cs1/app/index.jsx
@@ -0,0 +1,53 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+let connectors = [{
+ id: "connector1",
+ type: 'Straight',
+ // Decorator shape- circle
+ sourceDecorator: {
+ shape: 'Circle',
+ // Defines the style for the sourceDecorator
+ },
+ // Decorator shape - Diamond
+ targetDecorator: {
+ // Defines the custom shape for the connector's target decorator
+ shape: 'Custom',
+ //Defines the path for the connector's target decorator
+ pathData: 'M80.5,12.5 C80.5,19.127417 62.59139,24.5 40.5,24.5 C18.40861,24.5 0.5,19.127417 0.5,12.5' +
+ 'C0.5,5.872583 18.40861,0.5 40.5,0.5 C62.59139,0.5 80.5,5.872583 80.5,12.5 z',
+ },
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 200,
+ y: 200
+ }
+ },
+ {
+ id: "connectors2",
+ type: 'Straight',
+ // Decorator shape - IndentedArrow
+ sourceDecorator: {
+ shape: 'IndentedArrow',
+ },
+ // Decorator shape - OutdentedArrow
+ targetDecorator: {
+ shape: 'OutdentedArrow',
+ },
+ sourcePoint: {
+ x: 400,
+ y: 100
+ },
+ targetPoint: {
+ x: 300,
+ y: 200
+ }
+ }];
+function App() {
+ return ();
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorDecorators-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorDecorators-cs1/app/index.tsx
new file mode 100644
index 000000000..6d630eac4
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorDecorators-cs1/app/index.tsx
@@ -0,0 +1,68 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ Diagram,
+ DiagramComponent,
+ ConnectorModel
+} from "@syncfusion/ej2-react-diagrams";
+let connectors: ConnectorModel[] = [{
+ id: "connector1",
+ type: 'Straight',
+ // Decorator shape- circle
+ sourceDecorator: {
+ shape: 'Circle',
+ },
+ // Decorator shape - Diamond
+ targetDecorator: {
+ // Defines the custom shape for the connector's target decorator
+ shape: 'Custom',
+ //Defines the path for the connector's target decorator
+ pathData: 'M80.5,12.5 C80.5,19.127417 62.59139,24.5 40.5,24.5 C18.40861,24.5 0.5,19.127417 0.5,12.5' +
+ 'C0.5,5.872583 18.40861,0.5 40.5,0.5 C62.59139,0.5 80.5,5.872583 80.5,12.5 z',
+ },
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 200,
+ y: 200
+ }
+},
+{
+ id: "connectors2",
+ type: 'Straight',
+ // Decorator shape - IndentedArrow
+ sourceDecorator: {
+ shape: 'IndentedArrow',
+ },
+ // Decorator shape - OutdentedArrow
+ targetDecorator: {
+ shape: 'OutdentedArrow',
+ },
+ sourcePoint: {
+ x: 400,
+ y: 100
+ },
+ targetPoint: {
+ x: 300,
+ y: 200
+ }
+}];
+function App() {
+ return (
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorDecorators-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectorDecorators-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorDecorators-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorDecorators-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5ConnectorDecorators-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorDecorators-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorGradient-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorGradient-cs1/app/index.jsx
new file mode 100644
index 000000000..6ca8ffad5
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorGradient-cs1/app/index.jsx
@@ -0,0 +1,98 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+let diagramInstance;
+let connectors = [
+ {
+ id: 'connector1',
+ type: 'Straight',
+ style: {
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ strokeWidth: 2,
+ },
+ // Cutomize the target decorator
+ targetDecorator: {
+ style: {
+ strokeWidth: 1,
+ opacity: 0.5,
+ gradient: {
+ x1: 20,
+ y1: 20,
+ x2: 70,
+ y2: 70,
+ stops: [
+ {
+ color: 'green',
+ offset: 50,
+ opacity: 1,
+ },
+ {
+ color: 'yellow',
+ offset: 100,
+ opacity: 1,
+ },
+ ],
+ type: 'Linear',
+ } ,
+ },
+ },
+ sourcePoint: {
+ x: 100,
+ y: 100,
+ },
+ targetPoint: {
+ x: 200,
+ y: 200,
+ },
+ },
+ {
+ id: 'connector2',
+ type: 'Straight',
+ style: {
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ strokeWidth: 2,
+ },
+ // Cutomize the target decorator
+ targetDecorator: {
+ style: {
+ gradient: {
+ cx: 50,
+ cy: 50,
+ fx: 50,
+ fy: 50,
+ stops: [
+ { color: '#00555b', offset: 0 },
+ { color: 'yellow', offset: 90 },
+ ],
+ type: 'Radial',
+ },
+ },
+ },
+ sourcePoint: {
+ x: 300,
+ y: 100,
+ },
+ targetPoint: {
+ x: 400,
+ y: 200,
+ },
+ },
+];
+function App() {
+ return ( (diagramInstance = diagram)}
+ created={() => {
+ diagramInstance.zoomTo({
+ type:'ZoomIn',
+ ZoomFactor:2,
+ focusPoint:{x:0,y:0.5}
+ });
+ diagramInstance.fitToPage();
+ }}
+
+ />);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorGradient-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorGradient-cs1/app/index.tsx
new file mode 100644
index 000000000..d966466b0
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorGradient-cs1/app/index.tsx
@@ -0,0 +1,98 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent,ConnectorModel,GradientModel } from "@syncfusion/ej2-react-diagrams";
+let diagramInstance:DiagramComponent;
+let connectors: ConnectorModel[] = [
+ {
+ id: 'connector1',
+ type: 'Straight',
+ style: {
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ strokeWidth: 2,
+ },
+ // Cutomize the target decorator
+ targetDecorator: {
+ style: {
+ strokeWidth: 1,
+ opacity: 0.5,
+ gradient: {
+ x1: 20,
+ y1: 20,
+ x2: 70,
+ y2: 70,
+ stops: [
+ {
+ color: 'green',
+ offset: 50,
+ opacity: 1,
+ },
+ {
+ color: 'yellow',
+ offset: 100,
+ opacity: 1,
+ },
+ ],
+ type: 'Linear',
+ } as GradientModel,
+ },
+ },
+ sourcePoint: {
+ x: 100,
+ y: 100,
+ },
+ targetPoint: {
+ x: 200,
+ y: 200,
+ },
+ },
+ {
+ id: 'connector2',
+ type: 'Straight',
+ style: {
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ strokeWidth: 2,
+ },
+ // Cutomize the target decorator
+ targetDecorator: {
+ style: {
+ gradient: {
+ cx: 50,
+ cy: 50,
+ fx: 50,
+ fy: 50,
+ stops: [
+ { color: '#00555b', offset: 0 },
+ { color: 'yellow', offset: 90 },
+ ],
+ type: 'Radial',
+ } as GradientModel,
+ },
+ },
+ sourcePoint: {
+ x: 300,
+ y: 100,
+ },
+ targetPoint: {
+ x: 400,
+ y: 200,
+ },
+ },
+];
+function App() {
+ return ( (diagramInstance = diagram)}
+ created={() => {
+ diagramInstance.zoomTo({
+ type:'ZoomIn',
+ ZoomFactor:2,
+ focusPoint:{x:0,y:0.5}
+ });
+ diagramInstance.fitToPage();
+ }}
+
+ />);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorGradient-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectorGradient-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorGradient-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorGradient-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5ConnectorGradient-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorGradient-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorHitPadding-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorHitPadding-cs1/app/index.jsx
index eb06d8411..923d21923 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorHitPadding-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorHitPadding-cs1/app/index.jsx
@@ -1,4 +1,3 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
@@ -9,17 +8,6 @@ let connectors = [{
type:"Orthogonal",
//set hit padding
hitPadding:50,
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
sourcePoint: { x: 100, y: 100 },
targetPoint: { x: 300, y: 300 }
}];
@@ -31,5 +19,4 @@ function App() {
}}/>);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-{% endraw %}
\ No newline at end of file
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorHitPadding-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorHitPadding-cs1/app/index.tsx
index 262996dea..221069c97 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorHitPadding-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorHitPadding-cs1/app/index.tsx
@@ -1,6 +1,3 @@
-{% raw %}
-
-
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
@@ -16,17 +13,6 @@ let connectors: ConnectorModel[] = [{
type:"Orthogonal",
//set hit padding
hitPadding:50,
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
sourcePoint: { x: 100, y: 100 },
targetPoint: { x: 300, y: 300 }
}];
@@ -45,8 +31,4 @@ function App() {
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-
-
-
-{% endraw %}
\ No newline at end of file
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorHitPadding-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectorHitPadding-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorHitPadding-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorHitPadding-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorLineRouting-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorLineRouting-cs1/app/index.jsx
index 28d586429..5a122f0a4 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorLineRouting-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorLineRouting-cs1/app/index.jsx
@@ -1,4 +1,3 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent, Inject, LineRouting, DiagramConstraints, } from "@syncfusion/ej2-react-diagrams";
@@ -21,5 +20,4 @@ function App() {
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-{% endraw %}
\ No newline at end of file
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorLineRouting-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorLineRouting-cs1/app/index.tsx
index 27ab5c2fa..8123e5164 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorLineRouting-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorLineRouting-cs1/app/index.tsx
@@ -1,10 +1,6 @@
-{% raw %}
-
-
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
Inject,
LineRouting,
@@ -13,13 +9,13 @@ import {
NodeModel,
} from "@syncfusion/ej2-react-diagrams";
//Initializes the nodes for the diagram
-let nodes = [
+let nodes:NodeModel[] = [
{ id: 'shape1', offsetX: 100, offsetY: 100, width: 120, height: 50 },
{ id: 'shape2', offsetX: 300, offsetY: 300, width: 120, height: 50 },
{ id: 'shape3', offsetX: 150, offsetY: 200, width: 120, height: 50 }
];
//Initializes the connector for the diagram
-let connectors = [
+let connectors:ConnectorModel[] = [
{ id: 'connector', sourceID: 'shape1', targetID: 'shape2', type: 'Orthogonal' }
];
function App() {
@@ -41,8 +37,4 @@ function App() {
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-
-
-
-{% endraw %}
\ No newline at end of file
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorLineRouting-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectorLineRouting-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorLineRouting-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorLineRouting-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorSplit-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorSplit-cs1/app/index.jsx
index fc3132e82..fe45bcebf 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorSplit-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorSplit-cs1/app/index.jsx
@@ -1,4 +1,3 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { ConnectorConstraints,DiagramComponent } from '@syncfusion/ej2-react-diagrams';
@@ -30,5 +29,4 @@ function App() {
return ();
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-{% endraw %}
\ No newline at end of file
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorSplit-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectorSplit-cs1/index.html
index e6fcbbc03..37768e2d6 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorSplit-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorSplit-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectoraddatRunTime-cs2/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectoraddatRunTime-cs2/app/index.jsx
index 2b7423089..5dc76aa2c 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectoraddatRunTime-cs2/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectoraddatRunTime-cs2/app/index.jsx
@@ -1,12 +1,11 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
let diagramInstance;
//initialize connector collection
let collectorCollection = [
- { id: 'connector1', sourcePoint: { x: 100, y: 100 }, targetPoint: { x: 150, y: 150 } },
- {id: 'connector2', type: 'Orthogonal', sourcePoint: { x: 170, y: 170 }, targetPoint: { x: 200, y: 200 }},
+ { id: 'connector1', sourcePoint: { x: 80, y: 80 }, targetPoint: { x: 150, y: 150 } },
+ {id: 'connector2', type: 'Orthogonal', sourcePoint: { x: 170, y: 170 }, targetPoint: { x: 300, y: 300 }},
{ id: 'connector3', type: 'Bezier', sourcePoint: { x: 320, y: 320 }, targetPoint: { x: 400, y: 400 } }
];
function App() {
@@ -17,4 +16,3 @@ function App() {
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectoraddatRunTime-cs2/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectoraddatRunTime-cs2/app/index.tsx
index cf761d4a8..2a504f4ba 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectoraddatRunTime-cs2/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectoraddatRunTime-cs2/app/index.tsx
@@ -1,12 +1,11 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
-import { Diagram,DiagramComponent, ConnectorModel} from "@syncfusion/ej2-react-diagrams";
+import { DiagramComponent, ConnectorModel} from "@syncfusion/ej2-react-diagrams";
let diagramInstance: DiagramComponent;
//initialize connector collection
-var collectorCollection:ConnectorModel = [
- { id: 'connector1', sourcePoint: { x: 100, y: 100 }, targetPoint: { x: 150, y: 150 } },
- {id: 'connector2', type: 'Orthogonal', sourcePoint: { x: 170, y: 170 }, targetPoint: { x: 200, y: 200 }},
+var collectorCollection:ConnectorModel[] = [
+ { id: 'connector1', sourcePoint: { x: 80, y: 80 }, targetPoint: { x: 150, y: 150 } },
+ {id: 'connector2', type: 'Orthogonal', sourcePoint: { x: 170, y: 170 }, targetPoint: { x: 300, y: 300 }},
{ id: 'connector3', type: 'Bezier', sourcePoint: { x: 320, y: 320 }, targetPoint: { x: 400, y: 400 } }
];
function App() {
@@ -25,6 +24,4 @@ function App() {
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-
-
- {% endraw %}
\ No newline at end of file
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectoraddatRunTime-cs2/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectoraddatRunTime-cs2/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectoraddatRunTime-cs2/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectoraddatRunTime-cs2/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectordrawTool-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectordrawTool-cs1/app/index.jsx
new file mode 100644
index 000000000..c7cc1ae8d
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectordrawTool-cs1/app/index.jsx
@@ -0,0 +1,20 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom/client";
+import { DiagramComponent, DiagramTools } from "@syncfusion/ej2-react-diagrams";
+
+const drawingObject = { type: 'Orthogonal' };
+
+function App() {
+ return (
+
+ );
+}
+
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectordrawTool-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectordrawTool-cs1/app/index.tsx
new file mode 100644
index 000000000..441ab5b8e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectordrawTool-cs1/app/index.tsx
@@ -0,0 +1,20 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom/client";
+import { DiagramComponent, DiagramTools } from "@syncfusion/ej2-react-diagrams";
+
+const drawingObject = { type: 'Orthogonal' };
+
+function App() {
+ return (
+
+ );
+}
+
+const root = ReactDOM.createRoot(document.getElementById('diagram') as HTMLElement);
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectordrawTool-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectordrawTool-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectordrawTool-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectordrawTool-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5ConnectordrawTool-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectordrawTool-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5Connectorfrompalette-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5Connectorfrompalette-cs1/app/index.jsx
new file mode 100644
index 000000000..467fa565c
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5Connectorfrompalette-cs1/app/index.jsx
@@ -0,0 +1,62 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom/client";
+import { DiagramComponent, SymbolPaletteComponent } from "@syncfusion/ej2-react-diagrams";
+
+// Define connector symbols
+let connectorSymbols = [
+ {
+ id: 'Link1',
+ type: 'Orthogonal',
+ sourcePoint: { x: 0, y: 0 },
+ targetPoint: { x: 40, y: 40 }
+ },
+ {
+ id: 'Link2',
+ type: 'Orthogonal',
+ sourcePoint: { x: 0, y: 0 },
+ targetPoint: { x: 40, y: 40 },
+
+ style: {strokeDashArray: '4 4' },
+ },
+ {
+ id: 'Link3',
+ type: 'Straight',
+ sourcePoint: { x: 0, y: 0 },
+ targetPoint: { x: 40, y: 40 },
+ },
+ {
+ id: 'Link4',
+ type: 'Bezier',
+ sourcePoint: { x: 0, y: 0 },
+ targetPoint: { x: 40, y: 40 },
+ },
+];
+
+// App component
+let App = () => {
+ return (
+ <>
+
+
+ >
+ );
+};
+
+// Render the App component
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5Connectorfrompalette-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5Connectorfrompalette-cs1/app/index.tsx
new file mode 100644
index 000000000..48f2ffecb
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5Connectorfrompalette-cs1/app/index.tsx
@@ -0,0 +1,62 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom/client";
+import { DiagramComponent, SymbolPaletteComponent,ConnetorModel } from "@syncfusion/ej2-react-diagrams";
+
+// Define connector symbols
+let connectorSymbols:ConnetorModel[] = [
+ {
+ id: 'Link1',
+ type: 'Orthogonal',
+ sourcePoint: { x: 0, y: 0 },
+ targetPoint: { x: 40, y: 40 }
+ },
+ {
+ id: 'Link2',
+ type: 'Orthogonal',
+ sourcePoint: { x: 0, y: 0 },
+ targetPoint: { x: 40, y: 40 },
+
+ style: {strokeDashArray: '4 4' },
+ },
+ {
+ id: 'Link3',
+ type: 'Straight',
+ sourcePoint: { x: 0, y: 0 },
+ targetPoint: { x: 40, y: 40 },
+ },
+ {
+ id: 'Link4',
+ type: 'Bezier',
+ sourcePoint: { x: 0, y: 0 },
+ targetPoint: { x: 40, y: 40 },
+ },
+];
+
+// App component
+let App = () => {
+ return (
+ <>
+
+
+ >
+ );
+};
+
+// Render the App component
+const root = ReactDOM.createRoot(document.getElementById('diagram') as HTMLElement);
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5Connectorfrompalette-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5Connectorfrompalette-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5Connectorfrompalette-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5Connectorfrompalette-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5Connectorfrompalette-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5Connectorfrompalette-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5Connectors-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5Connectors-cs1/app/index.jsx
index 3164c20da..3d910cdd3 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5Connectors-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5Connectors-cs1/app/index.jsx
@@ -4,17 +4,6 @@ import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
let connectors = [{
// Name of the connector
id: "connector1",
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
// Sets source and target points
sourcePoint: {
x: 100,
diff --git a/ej2-react/code-snippet/diagram/connectors/es5Connectors-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5Connectors-cs1/app/index.tsx
index 492ff3d2b..06d1ce558 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5Connectors-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5Connectors-cs1/app/index.tsx
@@ -3,24 +3,12 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
ConnectorModel
} from "@syncfusion/ej2-react-diagrams";
let connectors: ConnectorModel[] = [{
// Name of the connector
id: "connector1",
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
// Sets source and target points
sourcePoint: {
x: 100,
diff --git a/ej2-react/code-snippet/diagram/connectors/es5Connectors-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5Connectors-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5Connectors-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5Connectors-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsAppearance-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsAppearance-cs1/app/index.jsx
index 8d7c84934..8a0100aec 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsAppearance-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsAppearance-cs1/app/index.jsx
@@ -1,73 +1,105 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
let connectors = [{
- id: "connector1",
- targetDecorator: {
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- }
- },
- style: {
- // Stroke color
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- // Stroke width of the line
- strokeWidth: 2,
- // Line style
- strokeDashArray: '2,2'
- },
- sourcePoint: {
- x: 100,
- y: 100
- },
- targetPoint: {
- x: 200,
- y: 200
- },
- segments: [{
- type: 'Orthogonal',
- direction: 'Right',
- length: 50
- }],
+ id: 'connector1',
+ targetDecorator: {
+ style: {
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ strokeWidth: 2,
+ },
},
- {
- id: "connector2",
- // Set the visibility of the connector to false
- visible: false,
- targetDecorator: {
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- }
- },
- style: {
- // Stroke color
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- // Stroke width of the line
- strokeWidth: 2,
- // Line style
- strokeDashArray: '2,2'
- },
- sourcePoint: {
- x: 300,
- y: 300
- },
- targetPoint: {
- x: 400,
- y: 400
- },
- segments: [{
- type: 'Orthogonal',
- direction: 'Right',
- length: 50
- }],
- }
+ style: {
+ // Stroke color
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ // Stroke width of the line
+ strokeWidth: 5,
+ // Line style
+ strokeDashArray: '2,2',
+ },
+ sourcePoint: {
+ x: 100,
+ y: 100,
+ },
+ targetPoint: {
+ x: 200,
+ y: 200,
+ },
+ },
+ {
+ id: 'connector2',
+ // Set the visibility of the connector to false
+ visible: true,
+ type: 'Orthogonal',
+ targetDecorator: {
+ style: {
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ strokeWidth: 2,
+ },
+ },
+ style: {
+ // Stroke color
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ // Stroke width of the line
+ strokeWidth: 5,
+ // Line style
+ strokeDashArray: '2,2',
+ },
+ sourcePoint: {
+ x: 300,
+ y: 300,
+ },
+ targetPoint: {
+ x: 400,
+ y: 400,
+ },
+ segments: [
+ {
+ type: 'Orthogonal',
+ direction: 'Right',
+ length: 50,
+ },
+ ],
+ },
+ {
+ id: 'connector3',
+ // Set the visibility of the connector to false
+ visible: true,
+ type: 'Bezier',
+ targetDecorator: {
+ style: {
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ strokeWidth: 2,
+ },
+ },
+ style: {
+ // Stroke color
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ // Stroke width of the line
+ strokeWidth: 5,
+ // Line style
+ strokeDashArray: '2,2',
+ },
+ sourcePoint: {
+ x: 500,
+ y: 100,
+ },
+ targetPoint: {
+ x: 600,
+ y: 300,
+ },
+ segments: [
+ {
+ type: 'Bezier',
+ },
+ ],
+ },
];
function App() {
return ();
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-{% endraw %}
\ No newline at end of file
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsAppearance-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsAppearance-cs1/app/index.tsx
index 413ab5fce..35b894af2 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsAppearance-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsAppearance-cs1/app/index.tsx
@@ -1,79 +1,108 @@
-{% raw %}
-
-
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
ConnectorModel
} from "@syncfusion/ej2-react-diagrams";
let connectors: ConnectorModel[] = [{
- id: "connector1",
- targetDecorator: {
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- }
- },
- style: {
- // Stroke color
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- // Stroke width of the line
- strokeWidth: 2,
- // Line style
- strokeDashArray: '2,2'
- },
- sourcePoint: {
- x: 100,
- y: 100
- },
- targetPoint: {
- x: 200,
- y: 200
- },
- segments: [{
- type: 'Orthogonal',
- direction: 'Right',
- length: 50
- }],
+ id: 'connector1',
+ targetDecorator: {
+ style: {
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ strokeWidth: 2,
+ },
},
- {
- id: "connector2",
- // Set the visibility of the connector to false
- visible: false,
- targetDecorator: {
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- }
- },
- style: {
- // Stroke color
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- // Stroke width of the line
- strokeWidth: 2,
- // Line style
- strokeDashArray: '2,2'
- },
- sourcePoint: {
- x: 300,
- y: 300
- },
- targetPoint: {
- x: 400,
- y: 400
- },
- segments: [{
- type: 'Orthogonal',
- direction: 'Right',
- length: 50
- }],
- }
+ style: {
+ // Stroke color
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ // Stroke width of the line
+ strokeWidth: 5,
+ // Line style
+ strokeDashArray: '2,2',
+ },
+ sourcePoint: {
+ x: 100,
+ y: 100,
+ },
+ targetPoint: {
+ x: 200,
+ y: 200,
+ },
+ },
+ {
+ id: 'connector2',
+ // Set the visibility of the connector to false
+ visible: true,
+ type: 'Orthogonal',
+ targetDecorator: {
+ style: {
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ strokeWidth: 2,
+ },
+ },
+ style: {
+ // Stroke color
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ // Stroke width of the line
+ strokeWidth: 5,
+ // Line style
+ strokeDashArray: '2,2',
+ },
+ sourcePoint: {
+ x: 300,
+ y: 300,
+ },
+ targetPoint: {
+ x: 400,
+ y: 400,
+ },
+ segments: [
+ {
+ type: 'Orthogonal',
+ direction: 'Right',
+ length: 50,
+ },
+ ],
+ },
+ {
+ id: 'connector3',
+ // Set the visibility of the connector to false
+ visible: true,
+ type: 'Bezier',
+ targetDecorator: {
+ style: {
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ strokeWidth: 2,
+ },
+ },
+ style: {
+ // Stroke color
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ // Stroke width of the line
+ strokeWidth: 5,
+ // Line style
+ strokeDashArray: '2,2',
+ },
+ sourcePoint: {
+ x: 500,
+ y: 100,
+ },
+ targetPoint: {
+ x: 600,
+ y: 300,
+ },
+ segments: [
+ {
+ type: 'Bezier',
+ },
+ ],
+ },
];
function App() {
return (
@@ -91,8 +120,4 @@ function App() {
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-
-
-
-{% endraw %}
\ No newline at end of file
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsAppearance-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsAppearance-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsAppearance-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsAppearance-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezier-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezier-cs1/app/index.jsx
index d348cd0a5..0fd6087eb 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezier-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezier-cs1/app/index.jsx
@@ -3,17 +3,6 @@ import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
let connectors = [{
id: 'connector1',
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
type: 'Bezier',
segments: [{
// Defines the type of the segment
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezier-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezier-cs1/app/index.tsx
index ca582a693..3303205bc 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezier-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezier-cs1/app/index.tsx
@@ -3,23 +3,11 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
ConnectorModel
} from "@syncfusion/ej2-react-diagrams";
let connectors: ConnectorModel[] = [{
id: 'connector1',
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
type: 'Bezier',
segments: [{
// Defines the type of the segment
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezier-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezier-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezier-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezier-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierPoints-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierPoints-cs1/app/index.jsx
index 39259be0d..c6416a1b3 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierPoints-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierPoints-cs1/app/index.jsx
@@ -1,21 +1,11 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
-import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+import {DiagramComponent, Diagram, ConnectorEditing } from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(ConnectorEditing)
let connectors = [
{
id: 'connector3',
type: 'Bezier',
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
segments: [{
type: 'Bezier',
// First control point: an absolute position from the page origin
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierPoints-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierPoints-cs1/app/index.tsx
index 841992379..9751178a7 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierPoints-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierPoints-cs1/app/index.tsx
@@ -5,23 +5,13 @@ import * as ReactDOM from "react-dom";
import {
Diagram,
DiagramComponent,
- ConnectorModel
+ ConnectorModel, ConnectorEditing
} from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(ConnectorEditing)
let connectors: ConnectorModel[] = [
{
id: 'connector3',
type: 'Bezier',
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
segments: [{
type: 'Bezier',
// First control point: an absolute position from the page origin
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierPoints-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierPoints-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierPoints-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierPoints-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierThumbSize-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierThumbSize-cs1/app/index.jsx
new file mode 100644
index 000000000..24340e64a
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierThumbSize-cs1/app/index.jsx
@@ -0,0 +1,60 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { Diagram, DiagramComponent, ConnectorConstraints, ConnectorEditing } from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(ConnectorEditing);
+let nodes = [
+ {
+ id: 'node1', width: 100, height: 100, offsetX: 150, offsetY: 150,
+ },
+ {
+ id: 'node2', width: 100, height: 100, offsetX: 350, offsetY: 400,
+ },
+ {
+ id: 'node3', width: 100, height: 100, offsetX: 550, offsetY: 150,
+ },
+ {
+ id: 'node4', width: 100, height: 100, offsetX: 800, offsetY: 400,
+ },
+];
+
+let connectors = [{
+ id: 'connector1',
+ type: 'Bezier',
+ sourceID: 'node1',
+ targetID: 'node2',
+ segments: [
+ {
+ type: 'Bezier',
+ point: { x: 200, y: 300 },
+ },
+ {
+ type: 'Bezier',
+ point: { x: 320, y: 400 }
+ }
+ ],
+ constraints: ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb,
+},
+{
+ id: 'connector2',
+ type: 'Bezier',
+ sourceID: 'node3',
+ targetID: 'node4',
+ segments: [
+ {
+ type: 'Bezier',
+ point: { x: 600, y: 300 },
+ },
+ {
+ type: 'Bezier',
+ point: { x: 320, y: 400 }
+ }
+ ],
+ constraints: ConnectorConstraints.Default & ~(ConnectorConstraints.InheritSegmentThumbSize) | ConnectorConstraints.DragSegmentThumb,
+ segmentThumbSize: 20
+},];
+function App() {
+ return ( );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierThumbSize-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierThumbSize-cs1/app/index.tsx
new file mode 100644
index 000000000..1af6d6c87
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierThumbSize-cs1/app/index.tsx
@@ -0,0 +1,73 @@
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { Diagram, ConnectorModel, NodeModel, ConnectorEditing, DiagramComponent, ConnectorConstraints } from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(ConnectorEditing);
+let nodes: NodeModel[] = [
+ {
+ id: 'node1', width: 100, height: 100, offsetX: 150, offsetY: 150,
+ },
+ {
+ id: 'node2', width: 100, height: 100, offsetX: 350, offsetY: 400,
+ },
+ {
+ id: 'node3', width: 100, height: 100, offsetX: 550, offsetY: 150,
+ },
+ {
+ id: 'node4', width: 100, height: 100, offsetX: 800, offsetY: 400,
+ },
+];
+
+let connectors: ConnectorModel[] = [
+ {
+ id: 'connector1',
+ type: 'Bezier',
+ sourceID: 'node1',
+ targetID: 'node2',
+ segments: [
+ {
+ type: 'Bezier',
+ point: { x: 200, y: 300 },
+ },
+ {
+ type: 'Bezier',
+ point: { x: 320, y: 400 }
+ }
+ ],
+ constraints: ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb,
+ },
+ {
+ id: 'connector2',
+ type: 'Bezier',
+ sourceID: 'node3',
+ targetID: 'node4',
+ segments: [
+ {
+ type: 'Bezier',
+ point: { x: 600, y: 300 },
+ },
+ {
+ type: 'Bezier',
+ point: { x: 320, y: 400 }
+ }
+ ],
+ constraints: ConnectorConstraints.Default & ~(ConnectorConstraints.InheritSegmentThumbSize) | ConnectorConstraints.DragSegmentThumb,
+ segmentThumbSize: 20
+ },
+];
+
+function App() {
+ return (
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierThumbSize-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierThumbSize-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierThumbSize-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierThumbSize-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierThumbSize-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierThumbSize-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierVector-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierVector-cs1/app/index.jsx
index b7d68c55e..2ca34a8d3 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierVector-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierVector-cs1/app/index.jsx
@@ -1,19 +1,9 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
-import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+import {DiagramComponent, Diagram, ConnectorEditing } from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(ConnectorEditing)
let connectors = [{
id: 'connector2',
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
// Defines the type of the segment
type: 'Bezier',
segments: [{
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierVector-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierVector-cs1/app/index.tsx
index f6daa7ef8..99154428d 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierVector-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierVector-cs1/app/index.tsx
@@ -5,21 +5,11 @@ import * as ReactDOM from "react-dom";
import {
Diagram,
DiagramComponent,
- ConnectorModel
+ ConnectorModel,ConnectorEditing
} from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(ConnectorEditing)
let connectors: ConnectorModel[] = [{
id: 'connector2',
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
// Defines the type of the segment
type: 'Bezier',
segments: [{
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierVector-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierVector-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierVector-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBezierVector-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBridging-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBridging-cs1/app/index.jsx
index 4d76fa8c4..7885d0a70 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBridging-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBridging-cs1/app/index.jsx
@@ -1,4 +1,3 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent, Inject, ConnectorBridging, DiagramConstraints } from "@syncfusion/ej2-react-diagrams";
@@ -56,7 +55,8 @@ let connectors = [{
targetPoint: {
x: 400,
y: 130
- }
+ },
+ bridgeSpace: 20,
},
{
id: 'connector3',
@@ -72,14 +72,7 @@ let connectors = [{
}];
// Enables bridging for every connector added in the model
function App() {
- return ( {
- obj.style.strokeColor = '#6BA5D7';
- obj.style.fill = '#6BA5D7';
- obj.style.strokeWidth = 2;
- obj.targetDecorator.style.fill = '#6BA5D7';
- obj.targetDecorator.style.strokeColor = '#6BA5D7';
- return obj;
- }} getNodeDefaults={(node) => {
+ return ( {
node.height = 100;
node.width = 100;
node.style.fill = '#6BA5D7';
@@ -87,10 +80,9 @@ function App() {
return node;
}} nodes={node1} connectors={connectors} height={'600px'}
// Enables the bridging constraints for the connector
- constraints={DiagramConstraints.Default | DiagramConstraints.Bridging} connectors={connectors}>
+ constraints={DiagramConstraints.Default | DiagramConstraints.Bridging}>
{' '}
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBridging-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBridging-cs1/app/index.tsx
index cf1af1912..b5c3ac3db 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBridging-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBridging-cs1/app/index.tsx
@@ -1,10 +1,6 @@
-{% raw %}
-
-
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
Inject,
ConnectorBridging,
@@ -66,7 +62,8 @@ let connectors: ConnectorModel[] = [{
targetPoint: {
x: 400,
y: 130
- }
+ },
+ bridgeSpace: 20,
},
{
id: 'connector3',
@@ -86,14 +83,6 @@ function App() {
{
- obj.style.strokeColor = '#6BA5D7';
- obj.style.fill = '#6BA5D7';
- obj.style.strokeWidth = 2;
- obj.targetDecorator.style.fill = '#6BA5D7';
- obj.targetDecorator.style.strokeColor = '#6BA5D7';
- return obj;
- }}
getNodeDefaults={(node: NodeModel) => {
node.height = 100;
node.width = 100;
@@ -106,7 +95,6 @@ function App() {
height={'600px'}
// Enables the bridging constraints for the connector
constraints={DiagramConstraints.Default | DiagramConstraints.Bridging}
- connectors={connectors}
>
{' '}
@@ -114,7 +102,3 @@ function App() {
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-
-
-
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBridging-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBridging-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBridging-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsBridging-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsConstraints-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsConstraints-cs1/app/index.jsx
index 17d706cec..b95d3239e 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsConstraints-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsConstraints-cs1/app/index.jsx
@@ -2,30 +2,61 @@ import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent, ConnectorConstraints } from "@syncfusion/ej2-react-diagrams";
let connectors = [{
- id: "connector1",
- // Disables selection constraints
- constraints: ConnectorConstraints.Default & ~ConnectorConstraints.Select,
- type: 'Straight',
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
- sourcePoint: {
- x: 100,
- y: 100
- },
- targetPoint: {
- x: 200,
- y: 200
- }
- }];
+ id: 'connector1',
+ constraints: ConnectorConstraints.Default & ~ConnectorConstraints.Select,
+ annotations: [{ content: 'Connector Selection disabled' }],
+ type: 'Straight',
+ sourcePoint: {
+ x: 100,
+ y: 100,
+ },
+ targetPoint: {
+ x: 200,
+ y: 200,
+ },
+ },
+ {
+ id: 'connector2',
+ constraints: ConnectorConstraints.Default & ~ConnectorConstraints.Drag,
+ annotations: [{ content: 'Connector Drag disabled' }],
+ type: 'Straight',
+ sourcePoint: {
+ x: 300,
+ y: 100,
+ },
+ targetPoint: {
+ x: 400,
+ y: 200,
+ },
+ },
+ {
+ id: 'connector3',
+ constraints:
+ ConnectorConstraints.Default & ~ConnectorConstraints.DragSourceEnd,
+ annotations: [{ content: 'Connector Source end disabled' }],
+ sourcePoint: {
+ x: 500,
+ y: 100,
+ },
+ targetPoint: {
+ x: 600,
+ y: 200,
+ },
+ },
+ {
+ id: 'connector4',
+ constraints:
+ ConnectorConstraints.Default & ~ConnectorConstraints.DragTargetEnd,
+ annotations: [{ content: 'Connector Target end disabled' }],
+ sourcePoint: {
+ x: 700,
+ y: 100,
+ },
+ targetPoint: {
+ x: 800,
+ y: 200,
+ },
+ },];
function App() {
return ();
}
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsConstraints-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsConstraints-cs1/app/index.tsx
index 49b87b3ea..7982d11f8 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsConstraints-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsConstraints-cs1/app/index.tsx
@@ -3,37 +3,68 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
- DiagramConstraints,
ConnectorConstraints,
ConnectorModel
} from "@syncfusion/ej2-react-diagrams";
let connectors: ConnectorModel[] = [{
- id: "connector1",
- // Disables selection constraints
+ id: 'connector1',
constraints: ConnectorConstraints.Default & ~ConnectorConstraints.Select,
+ annotations: [{ content: 'Connector Selection disabled' }],
type: 'Straight',
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
+ sourcePoint: {
+ x: 100,
+ y: 100,
+ },
+ targetPoint: {
+ x: 200,
+ y: 200,
+ },
+ },
+ {
+ id: 'connector2',
+ constraints: ConnectorConstraints.Default & ~ConnectorConstraints.Drag,
+ annotations: [{ content: 'Connector Drag disabled' }],
+ type: 'Straight',
+ sourcePoint: {
+ x: 300,
+ y: 100,
+ },
+ targetPoint: {
+ x: 400,
+ y: 200,
},
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
+ },
+ {
+ id: 'connector3',
+ constraints:
+ ConnectorConstraints.Default & ~ConnectorConstraints.DragSourceEnd,
+ annotations: [{ content: 'Connector Source end disabled' }],
+ type: 'Straight',
+ sourcePoint: {
+ x: 500,
+ y: 100,
},
+ targetPoint: {
+ x: 600,
+ y: 200,
+ },
+ },
+ {
+ id: 'connector4',
+ constraints:
+ ConnectorConstraints.Default & ~ConnectorConstraints.DragTargetEnd,
+ annotations: [{ content: 'Connector Target end disabled' }],
+ type: 'Straight',
sourcePoint: {
- x: 100,
- y: 100
+ x: 700,
+ y: 100,
},
targetPoint: {
- x: 200,
- y: 200
- }
-}];
+ x: 800,
+ y: 200,
+ },
+ }];
function App() {
return (
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsCornerRadius-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsCornerRadius-cs1/app/index.jsx
index 06aa979f6..8d1cbf0e5 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsCornerRadius-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsCornerRadius-cs1/app/index.jsx
@@ -1,4 +1,3 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
@@ -20,17 +19,6 @@ let nodes = [{
let connectors = [{
id: "connector1",
type: 'Orthogonal',
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
// Sets the radius for the rounded corner
cornerRadius: 10,
sourceID: 'node1',
@@ -53,5 +41,4 @@ function App() {
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-{% endraw %}
\ No newline at end of file
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsCornerRadius-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsCornerRadius-cs1/app/index.tsx
index bc10a6cd0..606c8014f 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsCornerRadius-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsCornerRadius-cs1/app/index.tsx
@@ -1,10 +1,6 @@
-{% raw %}
-
-
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
NodeModel,
ConnectorModel
@@ -27,17 +23,6 @@ let nodes: NodeModel[] = [{
let connectors: ConnectorModel[] = [{
id: "connector1",
type: 'Orthogonal',
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
// Sets the radius for the rounded corner
cornerRadius: 10,
sourceID: 'node1',
@@ -68,8 +53,4 @@ function App() {
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-
-
-
-{% endraw %}
\ No newline at end of file
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsCornerRadius-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsCornerRadius-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsCornerRadius-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsCornerRadius-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsDecAppearance-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsDecAppearance-cs1/app/index.jsx
index 451ab48e0..5135b425d 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsDecAppearance-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsDecAppearance-cs1/app/index.jsx
@@ -1,35 +1,55 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+let nodes = [{
+ id: 'Start',
+ width: 140,
+ height: 50,
+ offsetX: 300,
+ offsetY: 100,
+ annotations: [{
+ id: 'label1',
+ content: 'Start'
+ }],
+ shape: {
+ type: 'Flow',
+ shape: 'Terminator'
+ }
+},
+{
+ id: 'Init',
+ width: 140,
+ height: 50,
+ offsetX: 300,
+ offsetY: 300,
+ shape: {
+ type: 'Flow',
+ shape: 'Process'
+ },
+ annotations: [{
+ content: 'var i = 0;'
+ }]
+}
+];
let connectors = [{
- id: "connector1",
- type: 'Straight',
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- bridgeSpace: 20,
- // Cutomize the target decorator
- targetDecorator: {
- style: {
- // Fill color of the decorator
- fill: '#6BA5D7',
- // Stroke color of the decorator
- strokeColor: '#6BA5D7'
- }
- },
- sourcePoint: {
- x: 100,
- y: 100
- },
- targetPoint: {
- x: 200,
- y: 200
- }
+ id: "connector1",
+ // ID of the source and target nodes
+ sourceID: "Start",
+ targetID: "Init",
+ //set connectorSpacing
+ connectorSpacing: 7,
+ type: 'Orthogonal'
}];
function App() {
- return ();
+ return ( {
+ node.height = 100;
+ node.width = 100;
+ node.style.fill = '#6BA5D7';
+ node.style.strokeColor = 'white';
+ return node;
+ }} nodes={nodes} connectors={connectors} height={'600px'}
+ >
+ );
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsDecAppearance-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsDecAppearance-cs1/app/index.tsx
index b36eaef2e..930dc6d9c 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsDecAppearance-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsDecAppearance-cs1/app/index.tsx
@@ -1,51 +1,55 @@
-
-
import * as React from "react";
import * as ReactDOM from "react-dom";
-import {
- Diagram,
- DiagramComponent,
- ConnectorModel
-} from "@syncfusion/ej2-react-diagrams";
-let connectors: ConnectorModel[] = [{
- id: "connector1",
- type: 'Straight',
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- bridgeSpace: 20,
- // Cutomize the target decorator
- targetDecorator: {
- style: {
- // Fill color of the decorator
- fill: '#6BA5D7',
- // Stroke color of the decorator
- strokeColor: '#6BA5D7'
- }
- },
- sourcePoint: {
- x: 100,
- y: 100
- },
- targetPoint: {
- x: 200,
- y: 200
+import { DiagramComponent,NodeModel,ConnectorModel } from "@syncfusion/ej2-react-diagrams";
+let nodes:NodeModel[] = [{
+ id: 'Start',
+ width: 140,
+ height: 50,
+ offsetX: 300,
+ offsetY: 100,
+ annotations: [{
+ id: 'label1',
+ content: 'Start'
+ }],
+ shape: {
+ type: 'Flow',
+ shape: 'Terminator'
}
-}];
+},
+{
+ id: 'Init',
+ width: 140,
+ height: 50,
+ offsetX: 300,
+ offsetY: 300,
+ shape: {
+ type: 'Flow',
+ shape: 'Process'
+ },
+ annotations: [{
+ content: 'var i = 0;'
+ }]
+}
+];
+let connectors:ConnectorModel [] = [{
+ id: "connector1",
+ // ID of the source and target nodes
+ sourceID: "Start",
+ targetID: "Init",
+ //set connectorSpacing
+ connectorSpacing: 7,
+ type: 'Orthogonal'
+ }];
function App() {
- return (
-
- );
+ return ( {
+ node.height = 100;
+ node.width = 100;
+ node.style.fill = '#6BA5D7';
+ node.style.strokeColor = 'white';
+ return node;
+ }} nodes={nodes} connectors={connectors} height={'600px'}
+ >
+ );
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-
-
-
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsDecAppearance-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsDecAppearance-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsDecAppearance-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsDecAppearance-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsDecorator-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsDecorator-cs1/app/index.tsx
index 871a30936..b77195ad4 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsDecorator-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsDecorator-cs1/app/index.tsx
@@ -3,7 +3,6 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
ConnectorModel
} from "@syncfusion/ej2-react-diagrams";
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsDecorator-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsDecorator-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsDecorator-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsDecorator-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsLineRouting-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsLineRouting-cs1/app/index.jsx
index a56cf3842..87051da4c 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsLineRouting-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsLineRouting-cs1/app/index.jsx
@@ -1,4 +1,3 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { Diagram, DiagramComponent, LineRouting, DiagramConstraints } from "@syncfusion/ej2-react-diagrams";
@@ -25,4 +24,3 @@ function App() {
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsLineRouting-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsLineRouting-cs1/app/index.tsx
index d44573996..2439f8362 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsLineRouting-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsLineRouting-cs1/app/index.tsx
@@ -1,6 +1,3 @@
-{% raw %}
-
-
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
@@ -37,8 +34,4 @@ function App() {
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-
-
-
-{% endraw %}
\ No newline at end of file
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsLineRouting-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsLineRouting-cs1/index.html
index efaf8fc47..a6bbd2089 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsLineRouting-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsLineRouting-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsLineRoutingDisabled-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsLineRoutingDisabled-cs1/app/index.jsx
index df14cdf7f..c204fb189 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsLineRoutingDisabled-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsLineRoutingDisabled-cs1/app/index.jsx
@@ -1,4 +1,3 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { Diagram, DiagramComponent, LineRouting, DiagramConstraints, ConnectorConstraints } from "@syncfusion/ej2-react-diagrams";
@@ -27,4 +26,3 @@ function App() {
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsLineRoutingDisabled-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsLineRoutingDisabled-cs1/app/index.tsx
index 518474756..4d242fd75 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsLineRoutingDisabled-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsLineRoutingDisabled-cs1/app/index.tsx
@@ -1,10 +1,7 @@
-{% raw %}
-
-
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram, DiagramComponent, NodeModel, SnapConstraints, LineRouting, DiagramConstraints, NodeModel, ConnectorModel, ConnectorConstraints
+ Diagram, DiagramComponent, LineRouting, DiagramConstraints, NodeModel, ConnectorModel, ConnectorConstraints
} from "@syncfusion/ej2-react-diagrams";
Diagram.Inject(LineRouting);
@@ -12,14 +9,14 @@ Diagram.Inject(LineRouting);
* Diagram Default sample
*/
//Initializes the nodes for the diagram
-let nodes = [
+let nodes:NodeModel[] = [
{ id: 'shape1', offsetX: 100, offsetY: 100, width: 120, height: 50 },
{ id: 'shape2', offsetX: 350, offsetY: 300, width: 120, height: 50 },
{ id: 'shape3', offsetX: 150, offsetY: 200, width: 120, height: 50 },
{ id: 'shape4', offsetX: 300, offsetY: 200, width: 120, height: 50 }
];
//Initializes the connector for the diagram
-let connectors = [
+let connectors:ConnectorModel[] = [
{ id: 'connector', sourceID: 'shape1', targetID: 'shape2', type: 'Orthogonal', annotations: [{ offset: .7, content: ' Routing \n enabled', style: { fill: "white" } }] },
{ id: 'connector2', sourceID: 'shape1', targetID: 'shape2', annotations: [{ offset: .6, content: ' Routing \n disabled', style: { fill: "white" } }], type: 'Orthogonal', constraints: ConnectorConstraints.Default & ~ConnectorConstraints.InheritLineRouting }
];
@@ -42,7 +39,3 @@ function App() {
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-
-
-
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsLineRoutingDisabled-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsLineRoutingDisabled-cs1/index.html
index efaf8fc47..a6bbd2089 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsLineRoutingDisabled-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsLineRoutingDisabled-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrtho-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrtho-cs1/app/index.jsx
index 1ddd22a11..d26509a24 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrtho-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrtho-cs1/app/index.jsx
@@ -1,33 +1,45 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
-import { Diagram, DiagramComponent, ConnectorConstraints, ConnectorEditing } from "@syncfusion/ej2-react-diagrams";
-Diagram.Inject(ConnectorEditing);
-let connectors = [{
- id: "connector1",
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
+import { DiagramComponent,ConnectorConstraints,ConnectorEditing,Diagram } from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(ConnectorEditing)
+let connectors = [
+ {
+ id: "connector2",
+ type: 'Orthogonal',
+ // Defines multile segemnts for the connectors
+ segments: [
+ {
+ type: 'Orthogonal',
+ direction: 'Bottom',
+ length: 150,
+ },
+ {
+ type: 'Orthogonal',
+ direction: 'Right',
+ length: 150,
+ },
+ {
+ type: 'Orthogonal',
+ direction: 'Top',
+ length: 100,
+ },
+ {
+ type: 'Orthogonal',
+ direction: 'Left',
+ length: 100,
+ },
+ ],
sourcePoint: {
- x: 100,
+ x: 300,
y: 100
},
targetPoint: {
- x: 200,
+ x: 400,
y: 200
},
- type: 'Orthogonal',
- maxSegmentThumb: 3,
- constraints: ConnectorConstraints.Default & ~ConnectorConstraints.DragSegmentThumb,
- segments: [{ type: 'Orthogonal', direction: 'Bottom', length: 50 }],
- }];
+ constraints: ConnectorConstraints.Default |ConnectorConstraints.DragSegmentThumb,
+ }
+];
function App() {
return ();
}
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrtho-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrtho-cs1/app/index.tsx
index 2d550557d..9256fbc96 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrtho-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrtho-cs1/app/index.tsx
@@ -1,42 +1,51 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
Diagram,
DiagramComponent,
ConnectorModel,
- OrthogonalSegmentModel,
ConnectorConstraints,
ConnectorEditing
} from "@syncfusion/ej2-react-diagrams";
Diagram.Inject(ConnectorEditing);
-let connectors: ConnectorModel[] = [{
- id: "connector1",
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
- sourcePoint: {
- x: 100,
- y: 100
- },
- targetPoint: {
- x: 200,
- y: 200
- },
- type: 'Orthogonal',
- maxSegmentThumb: 3,
- constraints: ConnectorConstraints.Default & ~ConnectorConstraints.DragSegmentThumb,
- segments: [{ type: 'Orthogonal', direction: 'Bottom', length: 50 }],
-
-}];
+let connectors: ConnectorModel[] = [
+ {
+ id: "connector2",
+ type: 'Orthogonal',
+ // Defines multile segemnts for the connectors
+ segments: [
+ {
+ type: 'Orthogonal',
+ direction: 'Bottom',
+ length: 150,
+ },
+ {
+ type: 'Orthogonal',
+ direction: 'Right',
+ length: 150,
+ },
+ {
+ type: 'Orthogonal',
+ direction: 'Top',
+ length: 100,
+ },
+ {
+ type: 'Orthogonal',
+ direction: 'Left',
+ length: 100,
+ },
+ ],
+ sourcePoint: {
+ x: 300,
+ y: 100
+ },
+ targetPoint: {
+ x: 400,
+ y: 200
+ },
+ constraints: ConnectorConstraints.Default |ConnectorConstraints.DragSegmentThumb,
+ }
+];
function App() {
return (
);
-{% endraw %}
-
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrtho-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrtho-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrtho-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrtho-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrthoSegments-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrthoSegments-cs1/app/index.jsx
index e68f2e4ee..6e79ce00b 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrthoSegments-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrthoSegments-cs1/app/index.jsx
@@ -1,38 +1,9 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
-let connectors = [{
- id: "connector1",
- type: 'Orthogonal',
- segments: [{
- type: 'Orthogonal',
- // Defines the direction for the segment lines
- direction: 'Right',
- // Defines the length for the segment lines
- length: 50
- }],
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
- sourcePoint: {
- x: 100,
- y: 100
- },
- targetPoint: {
- x: 200,
- y: 200
- }
- },
+let connectors = [
{
- id: "connector2",
+ id: "connector1",
type: 'Orthogonal',
// Defines multile segemnts for the connectors
segments: [{
@@ -46,17 +17,6 @@ let connectors = [{
length: 150
}
],
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
sourcePoint: {
x: 300,
y: 100
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrthoSegments-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrthoSegments-cs1/app/index.tsx
index 8950a95ee..c5def7d9c 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrthoSegments-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrthoSegments-cs1/app/index.tsx
@@ -3,43 +3,12 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
- ConnectorModel,
- OrthogonalSegmentModel
+ ConnectorModel
} from "@syncfusion/ej2-react-diagrams";
-let connectors: ConnectorModel[] = [{
- id: "connector1",
- type: 'Orthogonal',
- segments: [{
- type: 'Orthogonal',
- // Defines the direction for the segment lines
- direction: 'Right',
- // Defines the length for the segment lines
- length: 50
- }],
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
- sourcePoint: {
- x: 100,
- y: 100
- },
- targetPoint: {
- x: 200,
- y: 200
- }
- },
+let connectors: ConnectorModel[] = [
{
- id: "connector2",
+ id: "connector1",
type: 'Orthogonal',
// Defines multile segemnts for the connectors
segments: [{
@@ -53,17 +22,6 @@ let connectors: ConnectorModel[] = [{
length: 150
}
],
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
sourcePoint: {
x: 300,
y: 100
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrthoSegments-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrthoSegments-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrthoSegments-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrthoSegments-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrthoThumbSize-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrthoThumbSize-cs1/app/index.jsx
new file mode 100644
index 000000000..866dd10c6
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrthoThumbSize-cs1/app/index.jsx
@@ -0,0 +1,64 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { Diagram, DiagramComponent, ConnectorConstraints, ConnectorEditing } from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(ConnectorEditing);
+let nodes = [
+ {
+ id: 'node1', width: 100, height: 100, offsetX: 200, offsetY: 200,
+ },
+ {
+ id: 'node2', width: 100, height: 100, offsetX: 400, offsetY: 400,
+ },
+ {
+ id: 'node3', width: 100, height: 100, offsetX: 600, offsetY: 200,
+ },
+ {
+ id: 'node4', width: 100, height: 100, offsetX: 800, offsetY: 400,
+ },
+];
+
+let connectors = [{
+ id: 'connector1',
+ type: 'Orthogonal',
+ sourceID: 'node1',
+ targetID: 'node2',
+ segments: [
+ {
+ type: 'Orthogonal',
+ direction: "Right",
+ length: 70
+ },
+ {
+ type: 'Orthogonal',
+ direction: "Bottom",
+ length: 50
+ }
+ ],
+ constraints: ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb,
+},
+{
+ id: 'connector2',
+ type: 'Orthogonal',
+ sourceID: 'node3',
+ targetID: 'node4',
+ segments: [
+ {
+ type: 'Orthogonal',
+ direction: "Right",
+ length: 70
+ },
+ {
+ type: 'Orthogonal',
+ direction: "Bottom",
+ length: 50
+ }
+ ],
+ constraints:ConnectorConstraints.Default & ~(ConnectorConstraints.InheritSegmentThumbSize) | ConnectorConstraints.DragSegmentThumb,
+ segmentThumbSize: 20
+},];
+function App() {
+ return ( );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrthoThumbSize-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrthoThumbSize-cs1/app/index.tsx
new file mode 100644
index 000000000..f19e6d414
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrthoThumbSize-cs1/app/index.tsx
@@ -0,0 +1,77 @@
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { Diagram, ConnectorModel, NodeModel, ConnectorEditing, DiagramComponent, ConnectorConstraints } from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(ConnectorEditing);
+let nodes: NodeModel[] = [
+ {
+ id: 'node1', width: 100, height: 100, offsetX: 200, offsetY: 200,
+ },
+ {
+ id: 'node2', width: 100, height: 100, offsetX: 400, offsetY: 400,
+ },
+ {
+ id: 'node3', width: 100, height: 100, offsetX: 600, offsetY: 200,
+ },
+ {
+ id: 'node4', width: 100, height: 100, offsetX: 800, offsetY: 400,
+ },
+];
+
+let connectors: ConnectorModel[] = [
+ {
+ id: 'connector1',
+ type: 'Orthogonal',
+ sourceID: 'node1',
+ targetID: 'node2',
+ segments: [
+ {
+ type: 'Orthogonal',
+ direction: "Right",
+ length: 70
+ },
+ {
+ type: 'Orthogonal',
+ direction: "Bottom",
+ length: 50
+ }
+ ],
+ constraints: ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb,
+ },
+ {
+ id: 'connector2',
+ type: 'Orthogonal',
+ sourceID: 'node3',
+ targetID: 'node4',
+ segments: [
+ {
+ type: 'Orthogonal',
+ direction: "Right",
+ length: 70
+ },
+ {
+ type: 'Orthogonal',
+ direction: "Bottom",
+ length: 50
+ }
+ ],
+ constraints:ConnectorConstraints.Default & ~(ConnectorConstraints.InheritSegmentThumbSize) | ConnectorConstraints.DragSegmentThumb,
+ segmentThumbSize: 20
+ },
+];
+
+function App() {
+ return (
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrthoThumbSize-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrthoThumbSize-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrthoThumbSize-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrthoThumbSize-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrthoThumbSize-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOrthoThumbSize-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOverlapping-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOverlapping-cs1/app/index.jsx
index 870c69cde..4abe47867 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOverlapping-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOverlapping-cs1/app/index.jsx
@@ -1,4 +1,3 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent, PortVisibility } from "@syncfusion/ej2-react-diagrams";
@@ -47,17 +46,6 @@ let nodes = [{
];
let connectors = [{
id: "connector1",
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
type: 'Orthogonal',
sourcePoint: {
x: 100,
@@ -82,5 +70,4 @@ function App() {
}}/>);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-{% endraw %}
\ No newline at end of file
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOverlapping-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOverlapping-cs1/app/index.tsx
index 4868f9ed0..b65bb20d3 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOverlapping-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOverlapping-cs1/app/index.tsx
@@ -1,6 +1,3 @@
-{% raw %}
-
-
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
@@ -57,17 +54,6 @@ let nodes: NodeModel[] = [{
];
let connectors: ConnectorModel[] = [{
id: "connector1",
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
type: 'Orthogonal',
sourcePoint: {
x: 100,
@@ -101,8 +87,4 @@ function App() {
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-
-
-
-{% endraw %}
\ No newline at end of file
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOverlapping-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOverlapping-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOverlapping-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsOverlapping-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsSegments-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsSegments-cs1/app/index.jsx
index df497cb0c..367ee6680 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsSegments-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsSegments-cs1/app/index.jsx
@@ -8,17 +8,6 @@ let connectors = [{
// Defines the segment type of the connector
type: 'Straight'
}],
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
sourcePoint: {
x: 100,
y: 100
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsSegments-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsSegments-cs1/app/index.tsx
index 25e48397b..2c32f6ff4 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsSegments-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsSegments-cs1/app/index.tsx
@@ -15,17 +15,6 @@ let connectors: ConnectorModel[] = [{
// Defines the segment type of the connector
type: 'Straight'
}],
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
sourcePoint: {
x: 100,
y: 100
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsSegments-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsSegments-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsSegments-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsSegments-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsSegmentsPoints-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsSegmentsPoints-cs1/app/index.jsx
index cd52f837f..3be3ec584 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsSegmentsPoints-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsSegmentsPoints-cs1/app/index.jsx
@@ -12,17 +12,6 @@ let connectors = [{
y: 150
}
}],
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
type: 'Straight',
sourcePoint: {
x: 100,
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsSegmentsPoints-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsSegmentsPoints-cs1/app/index.tsx
index 17f8b57a0..ea0f0dd66 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsSegmentsPoints-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsSegmentsPoints-cs1/app/index.tsx
@@ -19,17 +19,6 @@ let connectors: ConnectorModel[] = [{
y: 150
}
}],
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
type: 'Straight',
sourcePoint: {
x: 100,
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsSegmentsPoints-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsSegmentsPoints-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsSegmentsPoints-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsSegmentsPoints-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsThumbshape-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsThumbshape-cs1/app/index.jsx
index 2d9c40597..50328c5a2 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsThumbshape-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsThumbshape-cs1/app/index.jsx
@@ -1,7 +1,6 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
-import { Diagram } from "@syncfusion/ej2-react-diagrams";
+import { DiagramComponent,Diagram,ConnectorEditing,ConnectorConstraints } from "@syncfusion/ej2-react-diagrams";
Diagram.Inject(ConnectorEditing);
let connector2 = {};
connector2.id = 'connector2';
@@ -24,11 +23,12 @@ connector2.segments = [
}
];
function App() {
- return ( {
+ return ( {
connector.constraints =
ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb;
}}/>);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-{% endraw %}
\ No newline at end of file
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsThumbshape-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsThumbshape-cs1/app/index.tsx
index 4e30efd2a..aea791e7f 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsThumbshape-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsThumbshape-cs1/app/index.tsx
@@ -27,6 +27,7 @@ function App() {
width={'900px'}
height={'500px'}
connectors={[connector2]}
+ segmentThumbShape= 'Arrow'
getConnectorDefaults={(connector) => {
connector.constraints =
ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb;
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsThumbshape-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsThumbshape-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5ConnectorsThumbshape-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5ConnectorsThumbshape-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5Connectorsatruntime-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5Connectorsatruntime-cs1/app/index.jsx
index f1a751b7a..a5ca3ca42 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5Connectorsatruntime-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5Connectorsatruntime-cs1/app/index.jsx
@@ -1,21 +1,9 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
let diagramInstance;
let connectors = [{
id: 'connector1',
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
sourcePoint: {
x: 100,
y: 100
@@ -25,14 +13,26 @@ let connectors = [{
y: 200
}
}];
-function App() {
- return ( (diagramInstance = diagram)} width={'100%'} height={'600px'} created={() => {
- // Adds to the Diagram
- diagramInstance.add(connectors[0]);
- // Remove from the diagram
- diagramInstance.remove(connectors[0]);
- }}/>);
+ function App() {
+ const add = () => {
+ diagramInstance.add(connectors[0])
+ }
+ const remove = () => {
+ diagramInstance.remove(connectors[0])
+ }
+
+ return (
+
+ Add
+ Remove
+ (diagramInstance = diagram)} width={'100%'} height={'600px'} created={() => {
+ // Adds to the Diagram
+ diagramInstance.add(connectors[0]);
+ // Remove from the diagram
+ diagramInstance.remove(connectors[0]);
+ }}/>
+
+ );
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5Connectorsatruntime-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5Connectorsatruntime-cs1/app/index.tsx
index f971b2f2b..d072f696c 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5Connectorsatruntime-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5Connectorsatruntime-cs1/app/index.tsx
@@ -1,27 +1,12 @@
-{% raw %}
-
-
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
ConnectorModel
} from "@syncfusion/ej2-react-diagrams";
let diagramInstance: DiagramComponent;
-let connectors: ConnectorModel = [{
+let connectors: ConnectorModel[] = [{
id: 'connector1',
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- },
sourcePoint: {
x: 100,
y: 100
@@ -32,23 +17,25 @@ let connectors: ConnectorModel = [{
}
}];
function App() {
+ const add = () => {
+ diagramInstance.add(connectors[0])
+ }
+ const remove = () => {
+ diagramInstance.remove(connectors[0])
+ }
+
return (
- (diagramInstance = diagram)}
- width={'100%'}
- height={'600px'}
- created={() => {
- // Adds to the Diagram
- diagramInstance.add(connectors[0]);
- // Remove from the diagram
- diagramInstance.remove(connectors[0]);
- }}
- />
- );
+
+ Add
+ Remove
+ (diagramInstance = diagram)} width={'100%'} height={'600px'} created={() => {
+ // Adds to the Diagram
+ diagramInstance.add(connectors[0]);
+ // Remove from the diagram
+ diagramInstance.remove(connectors[0]);
+ }}/>
+
+ );
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-
-
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5Connectorsatruntime-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5Connectorsatruntime-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5Connectorsatruntime-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5Connectorsatruntime-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5Connectorsport-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5Connectorsport-cs1/app/index.jsx
index c5f2cf71d..9efc023bc 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5Connectorsport-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5Connectorsport-cs1/app/index.jsx
@@ -1,34 +1,44 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent, PortVisibility } from "@syncfusion/ej2-react-diagrams";
let port1 = {
+ id:'port1',
style: {
strokeColor: '#366F8C',
fill: '#366F8C'
+ },
+ shape:'Circle',
+ visibility: PortVisibility.Visible,
+ offset:{
+ x: 1, y: 0.5
}
};
-port1.shape = 'Circle';
-port1.id = 'nodeportnew';
-port1.visibility = PortVisibility.Visible;
-port1.id = 'port1';
-port1.offset = {
- x: 1,
- y: 0.5
-};
+
let port2 = {
+ id:'port2',
style: {
strokeColor: '#366F8C',
fill: '#366F8C'
+ },
+ shape:'Circle',
+ visibility: PortVisibility.Visible,
+ offset:{
+ x: 0, y: 0
}
};
-port2.offset = {
- x: 0,
- y: 0.5
+let port3 = {
+ id:'ports3',
+ style: {
+ strokeColor: '#366F8C',
+ fill: '#366F8C'
+ },
+ shape:'Square',
+ visibility: PortVisibility.Visible,
+ offset:{
+ x: 0, y: 1
+ }
};
-port2.id = 'port2';
-port2.visibility = PortVisibility.Visible;
-port2.shape = 'Circle';
+
let nodes = [{
id: 'node',
width: 100,
@@ -43,11 +53,12 @@ let nodes = [{
height: 100,
offsetX: 300,
offsetY: 100,
- ports: [port2]
+ ports: [port2,port3]
},
];
let connectors = [{
id: "connector1",
+ type:'Orthogonal',
sourceID: 'node',
targetID: 'node1',
sourcePortID: 'port1',
@@ -63,5 +74,4 @@ function App() {
}}/>);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-{% endraw %}
\ No newline at end of file
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5Connectorsport-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5Connectorsport-cs1/app/index.tsx
index 60d05aa79..8b949c3c0 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5Connectorsport-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5Connectorsport-cs1/app/index.tsx
@@ -1,44 +1,49 @@
-{% raw %}
-
-
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
ConnectorModel,
NodeModel,
- BasicShapeModel,
PointPortModel,
- Diagram,
DiagramComponent,
PortVisibility
} from "@syncfusion/ej2-react-diagrams";
let port1: PointPortModel = {
+ id:'port1',
style: {
strokeColor: '#366F8C',
fill: '#366F8C'
+ },
+ shape:'Circle',
+ visibility: PortVisibility.Visible,
+ offset:{
+ x: 1, y: 0.5
}
};
- port1.shape = 'Circle';
- port1.id = 'nodeportnew';
- port1.visibility = PortVisibility.Visible;
- port1.id = 'port1';
- port1.offset = {
- x: 1,
- y: 0.5
- };
let port2: PointPortModel = {
+ id:'port2',
style: {
strokeColor: '#366F8C',
fill: '#366F8C'
+ },
+ shape:'Circle',
+ visibility: PortVisibility.Visible,
+ offset:{
+ x: 0, y: 0
}
};
- port2.offset = {
- x: 0,
- y: 0.5
- };
- port2.id = 'port2';
- port2.visibility = PortVisibility.Visible;
- port2.shape = 'Circle';
+let port3: PointPortModel = {
+ id:'ports3',
+ style: {
+ strokeColor: '#366F8C',
+ fill: '#366F8C'
+ },
+ shape:'Square',
+ visibility: PortVisibility.Visible,
+ offset:{
+ x: 0, y: 1
+ }
+
+};
let nodes: NodeModel[] = [{
id: 'node',
width: 100,
@@ -53,7 +58,7 @@ let nodes: NodeModel[] = [{
height: 100,
offsetX: 300,
offsetY: 100,
- ports: [port2]
+ ports: [port2,port3]
},
];
let connectors: ConnectorModel[] = [{
@@ -82,8 +87,4 @@ function App() {
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-
-
-
-{% endraw %}
\ No newline at end of file
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5Connectorsport-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5Connectorsport-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5Connectorsport-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5Connectorsport-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5Connectorsportupdate-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5Connectorsportupdate-cs1/app/index.jsx
index 8f10564f0..885e128b7 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5Connectorsportupdate-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5Connectorsportupdate-cs1/app/index.jsx
@@ -1,4 +1,3 @@
-{% raw %}
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { DiagramComponent, PortVisibility, } from '@syncfusion/ej2-react-diagrams';
@@ -7,41 +6,55 @@ let port1 = {
strokeColor: '#366F8C',
fill: '#366F8C',
},
+ shape : 'Circle',
+ id :'port',
+ visibility : PortVisibility.Visible,
+ offset : {
+ x: 1,
+ y: 1,
+ }
};
-port1.shape = 'Circle';
-port1.id = 'nodeportnew';
-port1.visibility = PortVisibility.Visible;
-port1.id = 'port';
-port1.offset = {
- x: 1,
- y: 1,
-};
+
let port2 = {
style: {
strokeColor: '#366F8C',
fill: '#366F8C',
},
+ shape : 'Circle',
+ id :'port1',
+ visibility : PortVisibility.Visible,
+ offset : {
+ x: 0.5,
+ y: 1,
+ }
};
-port2.offset = {
- x: 1,
- y: 0.5,
-};
-port2.id = 'port1';
-port2.visibility = PortVisibility.Visible;
-port2.shape = 'Circle';
+
let port3 = {
style: {
strokeColor: '#366F8C',
fill: '#366F8C',
},
-};
-port3.offset = {
- x: 0,
- y: 1,
-};
-port3.id = 'newnodeport1';
-port3.visibility = PortVisibility.Visible;
-port3.shape = 'Circle';
+ shape : 'Circle',
+ id :'port2',
+ visibility : PortVisibility.Visible,
+ offset : {
+ x: 1,
+ y: 0.5,
+ }
+}
+let port4 = {
+ style: {
+ strokeColor: '#366F8C',
+ fill: '#366F8C',
+ },
+ shape : 'Circle',
+ id :'port2',
+ visibility : PortVisibility.Visible,
+ offset : {
+ x: 1,
+ y: 0.5,
+ }
+}
let nodes = [
{
id: 'node',
@@ -49,7 +62,7 @@ let nodes = [
height: 100,
offsetX: 100,
offsetY: 100,
- ports: [port1],
+ ports: [port1,port4],
},
{
id: 'node1',
@@ -80,16 +93,23 @@ let connectors = [
},
];
function App() {
- return ( (diagramInstance = diagram)} width={900} height={900} nodes={nodes} connectors={connectors} getNodeDefaults={(node) => {
- node.height = 100;
- node.width = 100;
- node.style.fill = '#6BA5D7';
- node.style.strokeColor = 'white';
- return node;
- }}/>);
+ // Update the target portID at the run time
+ const handleCloneClick = () => {
+ diagramInstance.connectors[0].sourcePortID = 'port4';
+ diagramInstance.connectors[0].targetPortID = 'port2';
+ }
+ return (
+
+ update
+ (diagramInstance = diagram)} width={900} height={900} nodes={nodes} connectors={connectors} getNodeDefaults={(node) => {
+ node.height = 100;
+ node.width = 100;
+ node.style.fill = '#6BA5D7';
+ node.style.strokeColor = 'white';
+ return node;
+ }}/>
+
+ );
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-// Update the target portID at the run time
-diagramInstance.connectors[0].targetPortID = 'newnodeport1';
-{% endraw %}
\ No newline at end of file
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5Connectorsportupdate-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5Connectorsportupdate-cs1/app/index.tsx
index cf77580af..52e82dfc5 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5Connectorsportupdate-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5Connectorsportupdate-cs1/app/index.tsx
@@ -1,6 +1,3 @@
-{% raw %}
-
-
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import {
@@ -16,42 +13,58 @@ let port1: PointPortModel = {
style: {
strokeColor: '#366F8C',
fill: '#366F8C',
- },
-};
-port1.shape = 'Circle';
-port1.id = 'nodeportnew';
-port1.visibility = PortVisibility.Visible;
-port1.id = 'port';
-port1.offset = {
- x: 1,
- y: 1,
+},
+shape : 'Circle',
+id :'port',
+visibility : PortVisibility.Visible,
+offset : {
+ x: 1,
+ y: 1,
+}
};
+
let port2: PointPortModel = {
style: {
strokeColor: '#366F8C',
fill: '#366F8C',
- },
-};
-port2.offset = {
- x: 1,
- y: 0.5,
+},
+shape : 'Circle',
+id :'port1',
+visibility : PortVisibility.Visible,
+offset : {
+ x: 0.5,
+ y: 1,
+}
};
-port2.id = 'port1';
-port2.visibility = PortVisibility.Visible;
-port2.shape = 'Circle';
+
let port3: PointPortModel = {
style: {
strokeColor: '#366F8C',
fill: '#366F8C',
- },
+},
+shape : 'Circle',
+id :'port2',
+visibility : PortVisibility.Visible,
+offset : {
+ x: 1,
+ y: 0.5,
+}
};
-port3.offset = {
- x: 0,
- y: 1,
+
+let port4: PointPortModel = {
+ style: {
+ strokeColor: '#366F8C',
+ fill: '#366F8C',
+ },
+ shape : 'Circle',
+ id :'port2',
+ visibility : PortVisibility.Visible,
+ offset : {
+ x: 1,
+ y: 0.5,
+ }
};
-port3.id = 'newnodeport1';
-port3.visibility = PortVisibility.Visible;
-port3.shape = 'Circle';
+
let nodes: NodeModel[] = [
{
id: 'node',
@@ -59,7 +72,7 @@ let nodes: NodeModel[] = [
height: 100,
offsetX: 100,
offsetY: 100,
- ports: [port1],
+ ports: [port1,port4],
},
{
id: 'node1',
@@ -90,29 +103,24 @@ let connectors: ConnectorModel[] = [
},
];
function App() {
+ // Update the target portID at the run time
+ const handleCloneClick = () => {
+ diagramInstance.connectors[0].sourcePortID = 'port4';
+ diagramInstance.connectors[0].targetPortID = 'port2';
+ }
return (
- (diagramInstance = diagram)}
- width={900}
- height={900}
- nodes={nodes}
- connectors={connectors}
+
+ update
+ (diagramInstance = diagram)} width={900} height={900} nodes={nodes} connectors={connectors}
getNodeDefaults={(node: NodeModel) => {
node.height = 100;
node.width = 100;
node.style.fill = '#6BA5D7';
node.style.strokeColor = 'white';
return node;
- }}
- />
+ }}/>
+
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-// Update the target portID at the run time
-diagramInstance.connectors[0].targetPortID = 'newnodeport1';
-
-
-
-{% endraw %}
\ No newline at end of file
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5Connectorsportupdate-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5Connectorsportupdate-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5Connectorsportupdate-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5Connectorsportupdate-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5Connectorsupdate-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5Connectorsupdate-cs1/app/index.jsx
index 21bbd9b26..98f2a6b63 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5Connectorsupdate-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5Connectorsupdate-cs1/app/index.jsx
@@ -1,7 +1,7 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+
let connectors = [{
id: "connector1",
sourcePoint: {
@@ -15,19 +15,25 @@ let connectors = [{
}];
let diagramInstance;
function App() {
- return ( (diagramInstance = diagram)} width={'100%'} height={'600px'} connectors={connectors} created={() => {
- // Update the connector properties at the run time
- diagramInstance.connectors[0].style.strokeColor = '#6BA5D7';
- diagramInstance.connectors[0].style.fill = '#6BA5D7';
- diagramInstance.connectors[0].style.strokeWidth = 2;
- diagramInstance.connectors[0].targetDecorator.style.fill = '#6BA5D7';
- diagramInstance.connectors[0].targetDecorator.style.strokeColor =
- '#6BA5D7';
- diagramInstance.connectors[0].sourcePoint.x = 150;
- diagramInstance.connectors[0].targetPoint.x = 150;
- diagramInstance.dataBind();
- }}/>);
+ const update = () =>{
+ // Update the connector properties at the run time
+ diagramInstance.connectors[0].style.strokeColor = '#6BA5D7';
+ diagramInstance.connectors[0].style.fill = '#6BA5D7';
+ diagramInstance.connectors[0].style.strokeWidth = 2;
+ diagramInstance.connectors[0].targetDecorator.style.fill = '#6BA5D7';
+ diagramInstance.connectors[0].targetDecorator.style.strokeColor =
+ '#6BA5D7';
+ diagramInstance.connectors[0].sourcePoint.x = 150;
+ diagramInstance.connectors[0].targetPoint.x = 150;
+ diagramInstance.dataBind();
+ }
+ return (
+
+ update
+ (diagramInstance = diagram)} width={'100%'} height={'600px'} connectors={connectors}
+ />
+
+ );
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5Connectorsupdate-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5Connectorsupdate-cs1/app/index.tsx
index 388a6abf1..4a23fd066 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5Connectorsupdate-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5Connectorsupdate-cs1/app/index.tsx
@@ -1,10 +1,6 @@
-{% raw %}
-
-
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
- Diagram,
DiagramComponent,
ConnectorModel
} from "@syncfusion/ej2-react-diagrams";
@@ -21,31 +17,30 @@ let connectors: ConnectorModel[] = [{
}];
let diagramInstance: DiagramComponent;
function App() {
+ const update = () =>{
+ // Update the connector properties at the run time
+ diagramInstance.connectors[0].style.strokeColor = '#6BA5D7';
+ diagramInstance.connectors[0].style.fill = '#6BA5D7';
+ diagramInstance.connectors[0].style.strokeWidth = 2;
+ diagramInstance.connectors[0].targetDecorator.style.fill = '#6BA5D7';
+ diagramInstance.connectors[0].targetDecorator.style.strokeColor =
+ '#6BA5D7';
+ diagramInstance.connectors[0].sourcePoint.x = 150;
+ diagramInstance.connectors[0].targetPoint.x = 150;
+ diagramInstance.dataBind();
+ }
return (
- (diagramInstance = diagram)}
- width={'100%'}
- height={'600px'}
- connectors={connectors}
- created={() => {
- // Update the connector properties at the run time
- diagramInstance.connectors[0].style.strokeColor = '#6BA5D7';
- diagramInstance.connectors[0].style.fill = '#6BA5D7';
- diagramInstance.connectors[0].style.strokeWidth = 2;
- diagramInstance.connectors[0].targetDecorator.style.fill = '#6BA5D7';
- diagramInstance.connectors[0].targetDecorator.style.strokeColor =
- '#6BA5D7';
- diagramInstance.connectors[0].sourcePoint.x = 150;
- diagramInstance.connectors[0].targetPoint.x = 150;
- diagramInstance.dataBind();
- }}
- />
+
+ update
+ (diagramInstance = diagram)}
+ width={'100%'}
+ height={'600px'}
+ connectors={connectors}
+ />
+
);
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-
-
-
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5Connectorsupdate-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5Connectorsupdate-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5Connectorsupdate-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5Connectorsupdate-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/connectors/es5DragConnector-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5DragConnector-cs1/app/index.jsx
new file mode 100644
index 000000000..b5ccaa1cf
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5DragConnector-cs1/app/index.jsx
@@ -0,0 +1,39 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent
+} from "@syncfusion/ej2-react-diagrams";
+let diagramInstance
+let connectors = [{
+ // Name of the connector
+ id: "connector1",
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 200,
+ y: 200
+ },
+}];
+function App() {
+ const drag = () => {
+ let connector = diagramInstance.connectors[0];
+ diagramInstance.drag(connector, 20, 20);
+}
+
+return (
+
+ drag
+ (diagramInstance = diagram)}
+ connectors={connectors}/>
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5DragConnector-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5DragConnector-cs1/app/index.tsx
new file mode 100644
index 000000000..0118576a2
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5DragConnector-cs1/app/index.tsx
@@ -0,0 +1,39 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,ConnectorModel
+} from "@syncfusion/ej2-react-diagrams";
+let diagramInstance:DiagramComponent;
+let connectors:ConnectorModel[] = [{
+ // Name of the connector
+ id: "connector1",
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 200,
+ y: 200
+ },
+}];
+function App() {
+ const drag = () => {
+ let connector = diagramInstance.connectors[0];
+ diagramInstance.drag(connector, 20, 20);
+}
+
+return (
+
+ drag
+ (diagramInstance = diagram)}
+ connectors={connectors}/>
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5DragConnector-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5DragConnector-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5DragConnector-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5DragConnector-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5DragConnector-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5DragConnector-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5EditOrientation-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5EditOrientation-cs1/app/index.jsx
new file mode 100644
index 000000000..c0ded013a
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5EditOrientation-cs1/app/index.jsx
@@ -0,0 +1,70 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { Diagram, DiagramComponent, ConnectorConstraints, ConnectorEditing,PortVisibility ,BezierSmoothness} from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(ConnectorEditing);
+let nodes = [
+ {
+ id: 'Start',
+ offsetX: 250,
+ offsetY: 150,
+ annotations: [{ content: 'Start' }],
+ ports: [
+ {
+ id: 'StartPort',
+ visibility: PortVisibility.Visible,
+ shape: 'Circle',
+ offset: { x: 1, y: 0.5 },
+ style: { strokeColor: '#366F8C', fill: '#366F8C' },
+ },
+ ],
+ },
+ {
+ id: 'End',
+ offsetX: 250,
+ offsetY: 350,
+ annotations: [{ content: 'End' }],
+ ports: [
+ {
+ id: 'EndPort',
+ visibility: PortVisibility.Visible,
+ shape: 'Circle',
+ offset: { x: 0, y: 0.5 },
+ style: { strokeColor: '#366F8C', fill: '#366F8C' },
+ },
+ ],
+ },
+
+];
+
+let connectors = [ {
+ id: 'connector1',
+ // ID of the source and target nodes
+ sourceID: 'Start',
+ sourcePortID: 'StartPort',
+ targetID: 'End',
+ targetPortID: 'EndPort',
+ type: 'Bezier',
+
+ // Configuring settings for bezier interactions
+ bezierSettings: {
+ smoothness: BezierSmoothness.SymmetricAngle,
+ segmentEditOrientation: 'FreeForm',
+ },
+ },];
+function App() {
+ return ( {
+ node.height = 100;
+ node.width = 100;
+ node.shape = { type: 'Basic', shape: 'Rectangle' };
+ node.style.fill = '#6BA5D7';
+ node.style.strokeColor = 'white';
+ return node;
+ }}
+ getConnectorDefaults={(connector) => {
+ connector.constraints =
+ ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb;
+ }} />);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5EditOrientation-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5EditOrientation-cs1/app/index.tsx
new file mode 100644
index 000000000..177f512f6
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5EditOrientation-cs1/app/index.tsx
@@ -0,0 +1,70 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { Diagram, NodeModel,ConnectorModel,DiagramComponent, ConnectorConstraints, ConnectorEditing,PortVisibility ,BezierSmoothness} from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(ConnectorEditing);
+let nodes: NodeModel[] = [
+ {
+ id: 'Start',
+ offsetX: 250,
+ offsetY: 150,
+ annotations: [{ content: 'Start' }],
+ ports: [
+ {
+ id: 'StartPort',
+ visibility: PortVisibility.Visible,
+ shape: 'Circle',
+ offset: { x: 1, y: 0.5 },
+ style: { strokeColor: '#366F8C', fill: '#366F8C' },
+ },
+ ],
+ },
+ {
+ id: 'End',
+ offsetX: 250,
+ offsetY: 350,
+ annotations: [{ content: 'End' }],
+ ports: [
+ {
+ id: 'EndPort',
+ visibility: PortVisibility.Visible,
+ shape: 'Circle',
+ offset: { x: 0, y: 0.5 },
+ style: { strokeColor: '#366F8C', fill: '#366F8C' },
+ },
+ ],
+ },
+
+];
+
+let connectors: ConnectorModel[] = [ {
+ id: 'connector1',
+ // ID of the source and target nodes
+ sourceID: 'Start',
+ sourcePortID: 'StartPort',
+ targetID: 'End',
+ targetPortID: 'EndPort',
+ type: 'Bezier',
+
+ // Configuring settings for bezier interactions
+ bezierSettings: {
+ smoothness: BezierSmoothness.SymmetricAngle,
+ segmentEditOrientation: 'FreeForm',
+ },
+ },];
+function App() {
+ return ( {
+ node.height = 100;
+ node.width = 100;
+ node.shape = { type: 'Basic', shape: 'Rectangle' };
+ node.style.fill = '#6BA5D7';
+ node.style.strokeColor = 'white';
+ return node;
+ }}
+ getConnectorDefaults={(connector: ConnectorModel) => {
+ connector.constraints =
+ ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb;
+ }} />);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5EditOrientation-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5EditOrientation-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5EditOrientation-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5EditOrientation-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5EditOrientation-cs1/systemjs.config.js
new file mode 100644
index 000000000..e42f94373
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5EditOrientation-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5MaxSegThump-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5MaxSegThump-cs1/app/index.jsx
new file mode 100644
index 000000000..91ce63d7a
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5MaxSegThump-cs1/app/index.jsx
@@ -0,0 +1,56 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent ,ConnectorConstraints} from "@syncfusion/ej2-react-diagrams";
+
+let connectors = [{
+ id: "connector1",
+ type: 'Orthogonal',
+ segments: [{
+ type: 'Orthogonal',
+ // Defines the direction for the segment lines
+ direction: 'Right',
+ // Defines the length for the segment lines
+ length: 50
+ }],
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 200,
+ y: 200
+ }
+},
+{
+ id: "connector2",
+ type: 'Orthogonal',
+ // Defines multile segemnts for the connectors
+ segments: [{
+ type: 'Orthogonal',
+ direction: 'Bottom',
+ length: 150
+ },
+ {
+ type: 'Orthogonal',
+ direction: 'Right',
+ length: 150
+ }
+ ],
+ sourcePoint: {
+ x: 300,
+ y: 100
+ },
+ targetPoint: {
+ x: 400,
+ y: 200,
+ },
+ maxSegmentThumb: 3,
+ constraints:ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb,
+}];
+function App() {
+ return (
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5MaxSegThump-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5MaxSegThump-cs1/app/index.tsx
new file mode 100644
index 000000000..79ef63ece
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5MaxSegThump-cs1/app/index.tsx
@@ -0,0 +1,56 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent ,ConnectorConstraints, ConnectorModel} from "@syncfusion/ej2-react-diagrams";
+
+let connectors:ConnectorModel [] = [{
+ id: "connector1",
+ type: 'Orthogonal',
+ segments: [{
+ type: 'Orthogonal',
+ // Defines the direction for the segment lines
+ direction: 'Right',
+ // Defines the length for the segment lines
+ length: 50
+ }],
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 200,
+ y: 200
+ }
+},
+{
+ id: "connector2",
+ type: 'Orthogonal',
+ // Defines multile segemnts for the connectors
+ segments: [{
+ type: 'Orthogonal',
+ direction: 'Bottom',
+ length: 150
+ },
+ {
+ type: 'Orthogonal',
+ direction: 'Right',
+ length: 150
+ }
+ ],
+ sourcePoint: {
+ x: 300,
+ y: 100
+ },
+ targetPoint: {
+ x: 400,
+ y: 200,
+ },
+ maxSegmentThumb: 3,
+ constraints:ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb,
+}];
+function App() {
+ return (
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5MaxSegThump-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5MaxSegThump-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5MaxSegThump-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5MaxSegThump-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5MaxSegThump-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5MaxSegThump-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5PositionChangeEvent-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5PositionChangeEvent-cs1/app/index.jsx
new file mode 100644
index 000000000..423599b45
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5PositionChangeEvent-cs1/app/index.jsx
@@ -0,0 +1,30 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+let connectors = [{
+ // Name of the connector
+ id: "connector1",
+ // Sets source and target points
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 200,
+ y: 200
+ }
+ }];
+function App() {
+ return ({
+ if (args.state === 'Completed') {
+ console.log('positionChange');
+ //Customize
+ }
+ }
+ }
+ />);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5PositionChangeEvent-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5PositionChangeEvent-cs1/app/index.tsx
new file mode 100644
index 000000000..6d958419e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5PositionChangeEvent-cs1/app/index.tsx
@@ -0,0 +1,44 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ ConnectorModel,IDraggingEventArgs
+} from "@syncfusion/ej2-react-diagrams";
+let connectors: ConnectorModel[] = [{
+ // Name of the connector
+ id: "connector1",
+ // Sets source and target points
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 200,
+ y: 200
+ }
+}];
+function App() {
+ return (
+ {
+ if (args.state === 'Completed') {
+ console.log('positionChange');
+ //Customize
+ }
+ }
+ }
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5PositionChangeEvent-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5PositionChangeEvent-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5PositionChangeEvent-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5PositionChangeEvent-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5PositionChangeEvent-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5PositionChangeEvent-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5PreserveStyle-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5PreserveStyle-cs1/app/index.jsx
new file mode 100644
index 000000000..a632350c2
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5PreserveStyle-cs1/app/index.jsx
@@ -0,0 +1,55 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ConnectorConstraints,DiagramComponent,NodeConstraints,Connector } from '@syncfusion/ej2-react-diagrams';
+let diagramInstance;
+let nodes = [{
+ id: 'node1',
+ offsetX: 150, offsetY: 150,
+ annotations: [{ content: 'node1' }]
+ },
+ {
+ id: 'node2',
+ offsetX: 650, offsetY: 150,
+ annotations: [{ content: 'node2' }]
+ },
+ {
+ id: 'node3',
+ offsetX: 490, offsetY: 290,
+ annotations: [{ content: 'node3' }]
+ },
+];
+let connectors = [{
+ id: 'connector1', sourceID: "node1", targetID: "node2",
+ style: { strokeColor: 'red', strokeWidth: 2, strokeDashArray: '3,3' }
+ }
+];
+function App() {
+ return ( (diagramInstance = diagram)}
+ enableConnectorSplit={true} nodes={nodes} connectors={connectors}
+ getConnectorDefaults={(obj) => {
+ obj.constraints =
+ ConnectorConstraints.Default | ConnectorConstraints.AllowDrop;
+ }}
+ getNodeDefaults={(obj) => {
+ obj.width = 100;
+ obj.height = 100;
+ obj.constraints = NodeConstraints.Default | NodeConstraints.AllowDrop;
+ }}
+ enableConnectorSplit = {true}
+ collectionChange={(args)=>{
+ if (args.state === 'Changed' && args.element instanceof Connector) {
+ let sourceNode = diagramInstance.getObject(args.element.sourceID);
+ if (sourceNode) {
+ sourceNode.inEdges.forEach((edgeId) => {
+ let initialConnector = diagramInstance.getObject(edgeId);
+ args.element.style = initialConnector.style;
+ });
+ }
+ }
+ diagramInstance.dataBind();
+ }}
+ />);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5PreserveStyle-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5PreserveStyle-cs1/app/index.tsx
new file mode 100644
index 000000000..fb6df6d48
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5PreserveStyle-cs1/app/index.tsx
@@ -0,0 +1,55 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { ConnectorConstraints,NodeModel,ConnectorModel,DiagramComponent,NodeConstraints,Connector,ICollectionChangeEventArgs } from '@syncfusion/ej2-react-diagrams';
+let diagramInstance:DiagramComponent;
+let nodes:NodeModel[] = [{
+ id: 'node1',
+ offsetX: 150, offsetY: 150,
+ annotations: [{ content: 'node1' }]
+ },
+ {
+ id: 'node2',
+ offsetX: 650, offsetY: 150,
+ annotations: [{ content: 'node2' }]
+ },
+ {
+ id: 'node3',
+ offsetX: 490, offsetY: 290,
+ annotations: [{ content: 'node3' }]
+ },
+];
+let connectors: ConnectorModel[]= [{
+ id: 'connector1', sourceID: "node1", targetID: "node2",
+ style: { strokeColor: 'red', strokeWidth: 2, strokeDashArray: '3,3' }
+ }
+];
+function App() {
+ return ( (diagramInstance = diagram)}
+ enableConnectorSplit={true} nodes={nodes} connectors={connectors}
+ getConnectorDefaults={(obj:ConnectorModel) => {
+ obj.constraints =
+ ConnectorConstraints.Default | ConnectorConstraints.AllowDrop;
+ }}
+ getNodeDefaults={(obj:NodeModel) => {
+ obj.width = 100;
+ obj.height = 100;
+ obj.constraints = NodeConstraints.Default | NodeConstraints.AllowDrop;
+ }}
+ enableConnectorSplit:boolean = {true}
+ collectionChange={(args: ICollectionChangeEventArgs)=>{
+ if (args.state === 'Changed' && args.element instanceof Connector) {
+ let sourceNode = diagramInstance.getObject(args.element.sourceID);
+ if (sourceNode) {
+ sourceNode.inEdges.forEach((edgeId) => {
+ let initialConnector = diagramInstance.getObject(edgeId);
+ args.element.style = initialConnector.style;
+ });
+ }
+ }
+ diagramInstance.dataBind();
+ }}
+ />);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5PreserveStyle-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5PreserveStyle-cs1/index.html
new file mode 100644
index 000000000..37768e2d6
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5PreserveStyle-cs1/index.html
@@ -0,0 +1,39 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5PreserveStyle-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5PreserveStyle-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5PreserveStyle-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ResetSegment-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5ResetSegment-cs1/app/index.jsx
new file mode 100644
index 000000000..f102afe6c
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ResetSegment-cs1/app/index.jsx
@@ -0,0 +1,76 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { Diagram,DiagramComponent ,HierarchicalTree,ConnectorConstraints,ConnectorEditing} from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(HierarchicalTree, ConnectorEditing);
+let diagramInstance;
+let nodes= [
+ {
+ id: 'Start',
+ width: 140,
+ height: 50,
+ offsetX: 300,
+ offsetY: 50,
+ annotations: [
+ {
+ content: 'Node1',
+ },
+ ],
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white',
+ },
+ expandIcon: {
+ shape: 'ArrowDown',
+ width: 20,
+ height: 15,
+ },
+ collapseIcon: {
+ shape: 'ArrowUp',
+ width: 20,
+ height: 15,
+ },
+ },
+ {
+ id: 'Init',
+ width: 140,
+ height: 50,
+ offsetX: 200,
+ offsetY: 240,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white',
+ },
+ annotations: [
+ {
+ content: 'Node2',
+ },
+ ],
+ },
+ ];
+let connectors = [ {
+ // Unique name for the connector
+ id: 'connector1',
+ // Source and Target node's name to which connector needs to be connected.
+ sourceID: 'Start',
+ targetID: 'Init',
+ type: 'Orthogonal',
+ constraints:
+ ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb,
+ },];
+function App() {
+ const resetSegment = () =>{
+ diagramInstance.resetSegments();
+ }
+ return (
+
+ resetSegment
+ (diagramInstance = diagram)}
+ >
+
+
+ );
+
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ResetSegment-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5ResetSegment-cs1/app/index.tsx
new file mode 100644
index 000000000..7cebd758b
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ResetSegment-cs1/app/index.tsx
@@ -0,0 +1,76 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { Diagram,DiagramComponent ,HierarchicalTree,ConnectorConstraints,ConnectorEditing,NodeModel,ConnectorModel} from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(HierarchicalTree, ConnectorEditing);
+let diagramInstance:DiagramComponent;
+let nodes:NodeModel[] = [
+ {
+ id: 'Start',
+ width: 140,
+ height: 50,
+ offsetX: 300,
+ offsetY: 50,
+ annotations: [
+ {
+ content: 'Node1',
+ },
+ ],
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white',
+ },
+ expandIcon: {
+ shape: 'ArrowDown',
+ width: 20,
+ height: 15,
+ },
+ collapseIcon: {
+ shape: 'ArrowUp',
+ width: 20,
+ height: 15,
+ },
+ },
+ {
+ id: 'Init',
+ width: 140,
+ height: 50,
+ offsetX: 200,
+ offsetY: 240,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white',
+ },
+ annotations: [
+ {
+ content: 'Node2',
+ },
+ ],
+ },
+ ];
+let connectors:ConnectorModel[] = [ {
+ // Unique name for the connector
+ id: 'connector1',
+ // Source and Target node's name to which connector needs to be connected.
+ sourceID: 'Start',
+ targetID: 'Init',
+ type: 'Orthogonal',
+ constraints:
+ ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb,
+ },];
+function App() {
+ const resetSegment = () =>{
+ diagramInstance.resetSegments();
+ }
+ return (
+
+ resetSegment
+ (diagramInstance = diagram)}
+ >
+
+
+ );
+
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ResetSegment-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5ResetSegment-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ResetSegment-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5ResetSegment-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5ResetSegment-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5ResetSegment-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5SegmentChangeEvent-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5SegmentChangeEvent-cs1/app/index.jsx
new file mode 100644
index 000000000..7b6c78257
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5SegmentChangeEvent-cs1/app/index.jsx
@@ -0,0 +1,30 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent,ConnectorConstraints,Diagram, ConnectorEditing} from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(ConnectorEditing);
+let connectors = [{
+ // Name of the connector
+ id: "connector1",
+ // Sets source and target points
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 200,
+ y: 200
+ },
+ constraints:
+ ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb,
+ }];
+function App() {
+ return ({
+ console.log('segmentChange');
+ }
+ }
+ />);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5SegmentChangeEvent-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5SegmentChangeEvent-cs1/app/index.tsx
new file mode 100644
index 000000000..7e43cf85e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5SegmentChangeEvent-cs1/app/index.tsx
@@ -0,0 +1,30 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent,ConnectorConstraints,Diagram, ConnectorEditing,ConnectorModel,ISegmentChangeEventArgs} from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(ConnectorEditing);
+let connectors:ConnectorModel[] = [{
+ // Name of the connector
+ id: "connector1",
+ // Sets source and target points
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 200,
+ y: 200
+ },
+ constraints:
+ ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb,
+ }];
+function App() {
+ return ({
+ console.log('segmentChange');
+ }
+ }
+ />);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5SegmentChangeEvent-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5SegmentChangeEvent-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5SegmentChangeEvent-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5SegmentChangeEvent-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5SegmentChangeEvent-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5SegmentChangeEvent-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5SegmentCollChange-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5SegmentCollChange-cs1/app/index.jsx
new file mode 100644
index 000000000..edc470a99
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5SegmentCollChange-cs1/app/index.jsx
@@ -0,0 +1,33 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent,ConnectorConstraints,Diagram, ConnectorEditing} from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(ConnectorEditing);
+let connectors = [{
+ // Name of the connector
+ id: "connector1",
+ // Sets source and target points
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 200,
+ y: 200
+ },
+ constraints:
+ ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb,
+ }];
+function App() {
+ return ({
+ if (args.type === 'Addition') {
+ console.log('segmentCollectionChange');
+ //Customize
+ }
+ }
+ }
+ />);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5SegmentCollChange-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5SegmentCollChange-cs1/app/index.tsx
new file mode 100644
index 000000000..d13c0a187
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5SegmentCollChange-cs1/app/index.tsx
@@ -0,0 +1,33 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent,ConnectorModel,ConnectorConstraints,Diagram, ConnectorEditing,ISegmentCollectionChangeEventArgs} from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(ConnectorEditing);
+let connectors: ConnectorModel[] = [{
+ // Name of the connector
+ id: "connector1",
+ // Sets source and target points
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 200,
+ y: 200
+ },
+ constraints:
+ ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb,
+ }];
+function App() {
+ return ({
+ if (args.type === 'Addition') {
+ console.log('segmentCollectionChange');
+ //Customize
+ }
+ }
+ }
+ />);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5SegmentCollChange-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5SegmentCollChange-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5SegmentCollChange-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5SegmentCollChange-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5SegmentCollChange-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5SegmentCollChange-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5Segmentreset-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5Segmentreset-cs1/app/index.jsx
new file mode 100644
index 000000000..1bc702172
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5Segmentreset-cs1/app/index.jsx
@@ -0,0 +1,51 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { Diagram, DiagramComponent, ConnectorEditing, ConnectorConstraints } from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(ConnectorEditing);
+let nodes = [{
+ id: 'Start',
+ offsetX: 250,
+ offsetY: 150,
+ annotations: [{ content: 'Start' }],
+
+ },
+ {
+ id: 'End',
+ offsetX: 450,
+ offsetY: 300,
+ annotations: [{ content: 'End' }],
+
+ }];
+let connectors = [{
+ id: "connector1",
+ segments: [
+ {
+ type: 'Bezier',
+ point1: { x: 450, y: 150 },
+ point2: { x: 250, y: 250 },
+ },
+ ],
+ //Prevent segment reset whil moving source or target node.
+ bezierSettings: { allowSegmentsReset: false },
+ targetDecorator: { shape: 'None' },
+ // ID of the source and target nodes
+ sourceID: "Start",
+ targetID: "End",
+ type: 'Bezier',
+
+ }];
+function App() {
+ return ( {
+ node.height = 100;
+ node.width = 100;
+ node.shape = { type: 'Basic', shape: 'Rectangle' };
+ node.style.fill = '#6BA5D7';
+ node.style.strokeColor = 'white';
+ return node;
+ }} getConnectorDefaults={(connector) => {
+ connector.constraints =
+ ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb;
+ }}/>);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5Segmentreset-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5Segmentreset-cs1/app/index.tsx
new file mode 100644
index 000000000..212300dda
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5Segmentreset-cs1/app/index.tsx
@@ -0,0 +1,65 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ Diagram,
+ DiagramComponent,
+ NodeModel,ConnectorModel,ConnectorEditing,ConnectorConstraints,PortVisibility,ControlPointsVisibility
+} from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(ConnectorEditing);
+let nodes: NodeModel[] = [ {
+ id: 'Start',
+ offsetX: 250,
+ offsetY: 150,
+ annotations: [{ content: 'Start' }],
+
+},
+{
+ id: 'End',
+ offsetX: 450,
+ offsetY: 300,
+ annotations: [{ content: 'End' }],
+
+}];
+let connectors: ConnectorModel[] = [{
+ id: "connector1",
+ segments: [
+ {
+ type: 'Bezier',
+ point1: { x: 450, y: 150 },
+ point2: { x: 250, y: 250 },
+ },
+ ],
+ //Prevent segment reset whil moving source or target node.
+ bezierSettings: { allowSegmentsReset: false },
+ targetDecorator: { shape: 'None' },
+ // ID of the source and target nodes
+ sourceID: "Start",
+ targetID: "End",
+ type: 'Bezier',
+
+}];
+function App() {
+ return (
+ {
+ node.height = 100;
+ node.width = 100;
+ node.shape = { type: 'Basic', shape: 'Rectangle' };
+ node.style.fill = '#6BA5D7';
+ node.style.strokeColor = 'white';
+ return node;
+ }}
+ getConnectorDefaults={(connector: ConnectorModel) => {
+ connector.constraints =
+ ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb;
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5Segmentreset-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5Segmentreset-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5Segmentreset-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5Segmentreset-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5Segmentreset-cs1/systemjs.config.js
new file mode 100644
index 000000000..e42f94373
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5Segmentreset-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5SelectUnselect-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5SelectUnselect-cs1/app/index.jsx
new file mode 100644
index 000000000..58ef6fa15
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5SelectUnselect-cs1/app/index.jsx
@@ -0,0 +1,35 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+let diagramInstance;
+let connectors = [{
+ // Name of the connector
+ id: "connector1",
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 200,
+ y: 200
+ },
+ }];
+function App() {
+ const select = () => {
+ diagramInstance.select([diagramInstance.connectors[0]]);
+ }
+ const unSelect = () => {
+ diagramInstance.clearSelection();
+ }
+ return (
+
+ select
+ unSelect
+ (diagramInstance = diagram)}
+ connectors={connectors}/>
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5SelectUnselect-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5SelectUnselect-cs1/app/index.tsx
new file mode 100644
index 000000000..0c43eb373
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5SelectUnselect-cs1/app/index.tsx
@@ -0,0 +1,44 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ ConnectorModel
+} from "@syncfusion/ej2-react-diagrams";
+let diagramInstance:DiagramComponent;
+let connectors: ConnectorModel[] = [{
+ // Name of the connector
+ id: "connector1",
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 200,
+ y: 200
+ },
+ // Flip the connector in horizontal direction
+ flip:"Horizontal"
+}];
+function App() {
+ const select = () => {
+ diagramInstance.select([diagramInstance.connectors[0]]);
+}
+const unSelect = () => {
+ diagramInstance.clearSelection();
+}
+return (
+
+ select
+ unSelect
+ (diagramInstance = diagram)}
+ connectors={connectors}/>
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5SelectUnselect-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5SelectUnselect-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5SelectUnselect-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5SelectUnselect-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5SelectUnselect-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5SelectUnselect-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5SelectionChangeEvent-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5SelectionChangeEvent-cs1/app/index.jsx
new file mode 100644
index 000000000..bd9e611f1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5SelectionChangeEvent-cs1/app/index.jsx
@@ -0,0 +1,31 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+let connectors = [{
+ // Name of the connector
+ id: "connector1",
+ // Sets source and target points
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 200,
+ y: 200
+ }
+ }];
+function App() {
+ return ({
+ if (args.state === 'Changed') {
+ console.log('selectionChange');
+ //Customize
+ }
+ }
+ }
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5SelectionChangeEvent-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5SelectionChangeEvent-cs1/app/index.tsx
new file mode 100644
index 000000000..77cfa89bf
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5SelectionChangeEvent-cs1/app/index.tsx
@@ -0,0 +1,44 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ ConnectorModel,ISelectionChangeEventArgs
+} from "@syncfusion/ej2-react-diagrams";
+let connectors: ConnectorModel[] = [{
+ // Name of the connector
+ id: "connector1",
+ // Sets source and target points
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 200,
+ y: 200
+ }
+}];
+function App() {
+ return (
+ {
+ if (args.state === 'Changed') {
+ console.log('selectionChange');
+ //Customize
+ }
+ }
+ }
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5SelectionChangeEvent-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5SelectionChangeEvent-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5SelectionChangeEvent-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5SelectionChangeEvent-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5SelectionChangeEvent-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5SelectionChangeEvent-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5SourcePointchange-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5SourcePointchange-cs1/app/index.jsx
new file mode 100644
index 000000000..3e42c1f24
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5SourcePointchange-cs1/app/index.jsx
@@ -0,0 +1,30 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+let connectors = [{
+ // Name of the connector
+ id: "connector1",
+ // Sets source and target points
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 200,
+ y: 200
+ }
+ }];
+function App() {
+ return ({
+ if (args.state === 'Completed') {
+ console.log('sourcePointChange');
+ //Customize
+ }
+ }
+ }
+ />);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5SourcePointchange-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5SourcePointchange-cs1/app/index.tsx
new file mode 100644
index 000000000..31fc9cf96
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5SourcePointchange-cs1/app/index.tsx
@@ -0,0 +1,44 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ ConnectorModel,IEndChangeEventArgs
+} from "@syncfusion/ej2-react-diagrams";
+let connectors: ConnectorModel[] = [{
+ // Name of the connector
+ id: "connector1",
+ // Sets source and target points
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 200,
+ y: 200
+ }
+}];
+function App() {
+ return (
+ {
+ if (args.state === 'Completed') {
+ console.log('sourcePointChange');
+ //Customize
+ }
+ }
+ }
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5SourcePointchange-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5SourcePointchange-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5SourcePointchange-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5SourcePointchange-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5SourcePointchange-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5SourcePointchange-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5StraightSegEdit-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5StraightSegEdit-cs1/app/index.jsx
new file mode 100644
index 000000000..d5a11bc20
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5StraightSegEdit-cs1/app/index.jsx
@@ -0,0 +1,71 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent,ConnectorConstraints,ConnectorEditing,Diagram } from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(ConnectorEditing)
+let diagramInstance;
+// Define initial connectors
+let connectors = [{
+ id: "connector1",
+ constraints:ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb,
+ // Defines the segment type of the connector
+ segments: [{
+ type: 'Straight',
+ // Defines the point of the segment
+ point: {
+ x: 100,
+ y: 150
+ }
+ }],
+ style: {
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ strokeWidth: 2
+ },
+ targetDecorator: {
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: '#6BA5D7'
+ }
+ },
+ type: 'Straight',
+ sourcePoint: {
+ x: 150,
+ y: 100
+ },
+ targetPoint: {
+ x: 340,
+ y: 200
+ }
+}];
+// App component
+const App = () => {
+ // Function to handle clone button click
+ const segmentEdit = () => {
+
+ let options = {}
+ options.SegmentEditing = 'Toggle';
+ options.point = { x: 220, y: 150 };
+ options.connector = diagramInstance.connectors[0];
+ options.hitPadding = diagramInstance.connectors[0].hitPadding;
+
+ diagramInstance.editSegment(options);
+ };
+ return (
+
+ segmentEdit
+ (diagramInstance = diagram)}
+ width={'100%'}
+ height={'600px'}
+ connectors={connectors}
+ created={() => {
+ diagramInstance.select([diagramInstance.connectors[0]]);
+ }}
+ />
+
+ );
+};
+// Render the App component
+const root = ReactDOM.createRoot(document.getElementById('diagram') );
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5StraightSegEdit-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5StraightSegEdit-cs1/app/index.tsx
new file mode 100644
index 000000000..fc7b4c06c
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5StraightSegEdit-cs1/app/index.tsx
@@ -0,0 +1,71 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent,ConnectorConstraints,ConnectorEditing,Diagram,ConnectorModel,IEditSegmentOptions } from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(ConnectorEditing)
+
+let diagramInstance:DiagramComponent;
+// Define initial connectors
+let connectors: ConnectorModel[] = [{
+ id: "connector1",
+ constraints:ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb,
+ // Defines the segment type of the connector
+ segments: [{
+ type: 'Straight',
+ // Defines the point of the segment
+ point: {
+ x: 100,
+ y: 150
+ }
+ }],
+ style: {
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ strokeWidth: 2
+ },
+ targetDecorator: {
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: '#6BA5D7'
+ }
+ },
+ type: 'Straight',
+ sourcePoint: {
+ x: 150,
+ y: 100
+ },
+ targetPoint: {
+ x: 340,
+ y: 200
+ }
+}];
+// App component
+const App = () => {
+ // Function to handle clone button click
+ const segmentEdit = () => {
+ let options:IEditSegmentOptions = {}
+ options.SegmentEditing = 'Toggle';
+ options.point = { x: 220, y: 150 };
+ options.connector = diagramInstance.connectors[0];
+ options.hitPadding = diagramInstance.connectors[0].hitPadding;
+
+ diagramInstance.editSegment(options);
+ };
+ return (
+
+ segmentEdit
+ (diagramInstance = diagram)}
+ width={'100%'}
+ height={'600px'}
+ connectors={connectors}
+ created={() => {
+ diagramInstance.select([diagramInstance.connectors[0]]);
+ }}
+ />
+
+ );
+};
+// Render the App component
+const root = ReactDOM.createRoot(document.getElementById('diagram') );
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5StraightSegEdit-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5StraightSegEdit-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5StraightSegEdit-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5StraightSegEdit-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5StraightSegEdit-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5StraightSegEdit-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5TargetPontChange-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5TargetPontChange-cs1/app/index.jsx
new file mode 100644
index 000000000..81d30d64a
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5TargetPontChange-cs1/app/index.jsx
@@ -0,0 +1,30 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+let connectors = [{
+ // Name of the connector
+ id: "connector1",
+ // Sets source and target points
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 200,
+ y: 200
+ }
+ }];
+function App() {
+ return ({
+ if (args.state === 'Completed') {
+ console.log('targetPointChange');
+ //Customize
+ }
+ }
+ }
+ />);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5TargetPontChange-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5TargetPontChange-cs1/app/index.tsx
new file mode 100644
index 000000000..6162733ca
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5TargetPontChange-cs1/app/index.tsx
@@ -0,0 +1,44 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ ConnectorModel,IEndChangeEventArgs
+} from "@syncfusion/ej2-react-diagrams";
+let connectors: ConnectorModel[] = [{
+ // Name of the connector
+ id: "connector1",
+ // Sets source and target points
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 200,
+ y: 200
+ }
+}];
+function App() {
+ return (
+ {
+ if (args.state === 'Completed') {
+ console.log('targetPointChange');
+ //Customize
+ }
+ }
+ }
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5TargetPontChange-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5TargetPontChange-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5TargetPontChange-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5TargetPontChange-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5TargetPontChange-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5TargetPontChange-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5dragEnd-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5dragEnd-cs1/app/index.jsx
new file mode 100644
index 000000000..136f24d1c
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5dragEnd-cs1/app/index.jsx
@@ -0,0 +1,69 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+let diagramInstance;
+let connectors = [{
+ // Name of the connector
+ id: "connector1",
+ style: {
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ strokeWidth: 2
+ },
+ targetDecorator: {
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: '#6BA5D7'
+ }
+ },
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 200,
+ y: 200
+ },
+
+ }];
+function App() {
+ const sourcePoint = () => {
+ let connector = diagramInstance.connectors[0];
+ connector.sourcePoint = {x:300,y:100};
+ diagramInstance.dataBind();
+ }
+ const targetPoint = () => {
+ let connector = diagramInstance.connectors[0];
+ connector.targetPoint = {x:300,y:200};
+ diagramInstance.dataBind();
+ }
+ const dragSourceEnd = () => {
+ /**
+ * parameter 1 - connector whose source point needs to be moved.
+ * parameter 2 - A number representing the horizontal distance by which the source point should be moved.
+ * parameter 3 - A number representing the vertical distance by which the source point should be moved.
+ */
+ diagramInstance.dragSourceEnd(diagramInstance.connectors[0], 50, 50);
+ }
+ const dragTargetEnd = () => {
+ /**
+ * parameter 1 - connector whose target point needs to be moved.
+ * parameter 2 - A number representing the horizontal distance by which the target point should be moved.
+ * parameter 3 - A number representing the vertical distance by which the target point should be moved.
+ */
+ diagramInstance.dragTargetEnd(diagramInstance.connectors[0], 50, 50);
+ }
+ return (
+
+ sourcePoint
+ targetPoint
+ dragSourceEnd
+ dragTargetEnd
+ (diagramInstance = diagram)}
+ connectors={connectors}/>
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5dragEnd-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5dragEnd-cs1/app/index.tsx
new file mode 100644
index 000000000..1434f7d6d
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5dragEnd-cs1/app/index.tsx
@@ -0,0 +1,69 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent,ConnectorModel } from "@syncfusion/ej2-react-diagrams";
+let diagramInstance:DiagramComponent;
+let connectors:ConnectorModel[] = [{
+ // Name of the connector
+ id: "connector1",
+ style: {
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ strokeWidth: 2
+ },
+ targetDecorator: {
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: '#6BA5D7'
+ }
+ },
+ sourcePoint: {
+ x: 100,
+ y: 100
+ },
+ targetPoint: {
+ x: 200,
+ y: 200
+ },
+
+ }];
+function App() {
+ const sourcePoint = () => {
+ let connector = diagramInstance.connectors[0];
+ connector.sourcePoint = {x:300,y:100};
+ diagramInstance.dataBind();
+ }
+ const targetPoint = () => {
+ let connector = diagramInstance.connectors[0];
+ connector.targetPoint = {x:300,y:200};
+ diagramInstance.dataBind();
+ }
+ const dragSourceEnd = () => {
+ /**
+ * parameter 1 - connector whose source point needs to be moved.
+ * parameter 2 - A number representing the horizontal distance by which the source point should be moved.
+ * parameter 3 - A number representing the vertical distance by which the source point should be moved.
+ */
+ diagramInstance.dragSourceEnd(diagramInstance.connectors[0], 50, 50);
+ }
+ const dragTargetEnd = () => {
+ /**
+ * parameter 1 - connector whose target point needs to be moved.
+ * parameter 2 - A number representing the horizontal distance by which the target point should be moved.
+ * parameter 3 - A number representing the vertical distance by which the target point should be moved.
+ */
+ diagramInstance.dragTargetEnd(diagramInstance.connectors[0], 50, 50);
+ }
+ return (
+
+ sourcePoint
+ targetPoint
+ dragSourceEnd
+ dragTargetEnd
+ (diagramInstance = diagram)}
+ connectors={connectors}/>
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5dragEnd-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5dragEnd-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5dragEnd-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5dragEnd-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5dragEnd-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5dragEnd-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5getConnectordefaults-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5getConnectordefaults-cs1/app/index.jsx
new file mode 100644
index 000000000..be9eb7264
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5getConnectordefaults-cs1/app/index.jsx
@@ -0,0 +1,44 @@
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
+var connectors = [
+ {
+ id: 'connector1',
+ type: 'Straight',
+ sourcePoint: {
+ x: 100,
+ y: 100,
+ },
+ targetPoint: {
+ x: 200,
+ y: 200,
+ },
+ },
+ {
+ id: 'connector2',
+ type: 'Straight',
+ sourcePoint: {
+ x: 300,
+ y: 100,
+ },
+ targetPoint: {
+ x: 400,
+ y: 200,
+ },
+ },
+ ];
+function App() {
+ return ( {
+ connector.style.strokeColor = 'red';
+ connector.sourceDecorator.shape = 'Circle';
+ connector.targetDecorator.style.fill = '#6BA5D7'
+ connector.targetDecorator.style.strokeColor = '#6BA5D7'
+ connector.style.strokeWidth = 2;
+ }}
+ />);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5getConnectordefaults-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5getConnectordefaults-cs1/app/index.tsx
new file mode 100644
index 000000000..af0409808
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5getConnectordefaults-cs1/app/index.tsx
@@ -0,0 +1,43 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent, ConnectorModel } from "@syncfusion/ej2-react-diagrams";
+var connectors:ConnectorModel[] = [
+ {
+ id: 'connector1',
+ type: 'Straight',
+ sourcePoint: {
+ x: 100,
+ y: 100,
+ },
+ targetPoint: {
+ x: 200,
+ y: 200,
+ },
+ },
+ {
+ id: 'connector2',
+ type: 'Straight',
+ sourcePoint: {
+ x: 300,
+ y: 100,
+ },
+ targetPoint: {
+ x: 400,
+ y: 200,
+ },
+ },
+ ];
+function App() {
+ return ( {
+ connector.style.strokeColor = 'red';
+ connector.sourceDecorator.shape = 'Circle';
+ connector.targetDecorator.style.fill = '#6BA5D7'
+ connector.targetDecorator.style.strokeColor = '#6BA5D7'
+ connector.style.strokeWidth = 2;
+ }}
+ />);
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5getConnectordefaults-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5getConnectordefaults-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5getConnectordefaults-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5getConnectordefaults-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5getConnectordefaults-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5getConnectordefaults-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5multipleSegment-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5multipleSegment-cs1/app/index.jsx
new file mode 100644
index 000000000..9baee3a2a
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5multipleSegment-cs1/app/index.jsx
@@ -0,0 +1,83 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { Diagram, DiagramComponent, ConnectorConstraints, ConnectorEditing } from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(ConnectorEditing);
+
+let connectors = [ {
+ id: 'connector1',
+ type: 'Orthogonal',
+ // Defines multile segemnts for the connectors
+ segments: [
+ {
+ type: 'Orthogonal',
+ direction: 'Bottom',
+ length: 150,
+ },
+ {
+ type: 'Orthogonal',
+ direction: 'Right',
+ length: 150,
+ },
+ {
+ type: 'Orthogonal',
+ direction: 'Top',
+ length: 100,
+ },
+ {
+ type: 'Orthogonal',
+ direction: 'Left',
+ length: 100,
+ },
+ ],
+ sourcePoint: {
+ x: 300,
+ y: 100,
+ },
+ targetPoint: {
+ x: 350,
+ y: 150,
+ },
+ constraints:
+ ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb,
+ },
+ {
+ id: 'connector2',
+ type: 'Bezier',
+ constraints:
+ ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb,
+ segments: [
+ { point: { x: 150, y: 150 }, type: 'Bezier' },
+ { point: { x: 250, y: 250 }, type: 'Bezier' },
+ ],
+ sourcePoint: { x: 100, y: 100 },
+ targetPoint: { x: 300, y: 300 },
+ },
+ {
+ id: 'connector3',
+ type: 'Straight',
+ constraints:
+ ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb,
+ segments: [
+ { point: { x: 500, y: 200 }, type: 'Straight' },
+ { point: { x: 600, y: 300 }, type: 'Straight' },
+ ],
+ sourcePoint: { x: 600, y: 100 },
+ targetPoint: { x: 800, y: 300 },
+ style: {
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ strokeWidth: 2,
+ },
+ targetDecorator: {
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: '#6BA5D7',
+ },
+ },
+ }];
+function App() {
+ return ( );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5multipleSegment-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5multipleSegment-cs1/app/index.tsx
new file mode 100644
index 000000000..f34543975
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5multipleSegment-cs1/app/index.tsx
@@ -0,0 +1,92 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ Diagram,
+ DiagramComponent,ConnectorModel,ConnectorEditing,ConnectorConstraints
+} from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(ConnectorEditing);
+
+let connectors: ConnectorModel[] = [{
+ id: 'connector1',
+ type: 'Orthogonal',
+ // Defines multile segemnts for the connectors
+ segments: [
+ {
+ type: 'Orthogonal',
+ direction: 'Bottom',
+ length: 150,
+ },
+ {
+ type: 'Orthogonal',
+ direction: 'Right',
+ length: 150,
+ },
+ {
+ type: 'Orthogonal',
+ direction: 'Top',
+ length: 100,
+ },
+ {
+ type: 'Orthogonal',
+ direction: 'Left',
+ length: 100,
+ },
+ ],
+ sourcePoint: {
+ x: 300,
+ y: 100,
+ },
+ targetPoint: {
+ x: 350,
+ y: 150,
+ },
+ constraints:
+ ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb,
+},
+{
+ id: 'connector2',
+ type: 'Bezier',
+ constraints:
+ ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb,
+ segments: [
+ { point: { x: 150, y: 150 }, type: 'Bezier' },
+ { point: { x: 250, y: 250 }, type: 'Bezier' },
+ ],
+ sourcePoint: { x: 100, y: 100 },
+ targetPoint: { x: 300, y: 300 },
+},
+{
+ id: 'connector3',
+ type: 'Straight',
+ constraints:
+ ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb,
+ segments: [
+ { point: { x: 500, y: 200 }, type: 'Straight' },
+ { point: { x: 600, y: 300 }, type: 'Straight' },
+ ],
+ sourcePoint: { x: 600, y: 100 },
+ targetPoint: { x: 800, y: 300 },
+ style: {
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ strokeWidth: 2,
+ },
+ targetDecorator: {
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: '#6BA5D7',
+ },
+ },
+}];
+function App() {
+ return (
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/connectors/es5multipleSegment-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5multipleSegment-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5multipleSegment-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5multipleSegment-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/connectors/es5multipleSegment-cs1/systemjs.config.js
new file mode 100644
index 000000000..e42f94373
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/connectors/es5multipleSegment-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/connectors/es5zindex-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/connectors/es5zindex-cs1/app/index.jsx
index 30e9b2dd0..f9f8aa53c 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5zindex-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5zindex-cs1/app/index.jsx
@@ -1,4 +1,3 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";
@@ -42,4 +41,3 @@ function App() {
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5zindex-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/connectors/es5zindex-cs1/app/index.tsx
index efeb6642a..d1fca5ce6 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5zindex-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/connectors/es5zindex-cs1/app/index.tsx
@@ -1,6 +1,3 @@
-{% raw %}
-
-
import * as React from "react";
import * as ReactDOM from "react-dom";
import {
@@ -56,7 +53,3 @@ function App() {
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-
-
-
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/connectors/es5zindex-cs1/index.html b/ej2-react/code-snippet/diagram/connectors/es5zindex-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/connectors/es5zindex-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/connectors/es5zindex-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/constraints/constraints-cs1/app/index.jsx
new file mode 100644
index 000000000..5c21aa4fb
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs1/app/index.jsx
@@ -0,0 +1,92 @@
+import * as React from 'react';
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ NodeConstraints,
+} from '@syncfusion/ej2-react-diagrams';
+// A node is created and stored in nodes array.
+let node = [
+ {
+ id: 'node1',
+ // Position of the node
+ offsetX: 100,
+ offsetY: 100,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white',
+ },
+ annotations: [{ content: 'Select disabled' }],
+ constraints: NodeConstraints.Default & ~NodeConstraints.Select,
+ },
+ {
+ id: 'node2',
+ // Position of the node
+ offsetX: 250,
+ offsetY: 100,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white',
+ },
+ annotations: [{ content: 'Rotate disabled' }],
+ constraints: NodeConstraints.Default & ~NodeConstraints.Rotate,
+ },
+ {
+ id: 'node3',
+ // Position of the node
+ offsetX: 400,
+ offsetY: 100,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white',
+ },
+ annotations: [{ content: 'Resize disabled' }],
+ constraints: NodeConstraints.Default & ~NodeConstraints.Resize,
+ },
+ {
+ id: 'node4',
+ // Position of the node
+ offsetX: 550,
+ offsetY: 100,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white',
+ },
+ annotations: [{ content: 'Drag disabled' }],
+ constraints: NodeConstraints.Default & ~NodeConstraints.Drag,
+ },
+ {
+ id: 'node5',
+ // Position of the node
+ offsetX: 700,
+ offsetY: 100,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white',
+ },
+ annotations: [{ content: 'Tooltip enabled' }],
+ constraints: NodeConstraints.Default | NodeConstraints.Tooltip,
+ tooltip: { content: 'Node Tooltip', relativeMode: 'Object' },
+ },
+];
+// initialize Diagram component
+function App() {
+ return (
+ {
+ node.height = 100;
+ node.width = 100;
+ node.shape = { shape: 'Ellipse' };
+ node.style.fill = '#6BA5D7';
+ node.style.strokeColor = 'white';
+ return node;
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/constraints/constraints-cs1/app/index.tsx
new file mode 100644
index 000000000..a36210dc2
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs1/app/index.tsx
@@ -0,0 +1,93 @@
+import * as React from 'react';
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ NodeModel,
+ NodeConstraints,
+} from '@syncfusion/ej2-react-diagrams';
+// A node is created and stored in nodes array.
+let node: NodeModel[] = [
+ {
+ id: 'node1',
+ // Position of the node
+ offsetX: 100,
+ offsetY: 100,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white',
+ },
+ annotations: [{ content: 'Select disabled' }],
+ constraints: NodeConstraints.Default & ~NodeConstraints.Select,
+ },
+ {
+ id: 'node2',
+ // Position of the node
+ offsetX: 250,
+ offsetY: 100,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white',
+ },
+ annotations: [{ content: 'Rotate disabled' }],
+ constraints: NodeConstraints.Default & ~NodeConstraints.Rotate,
+ },
+ {
+ id: 'node3',
+ // Position of the node
+ offsetX: 400,
+ offsetY: 100,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white',
+ },
+ annotations: [{ content: 'Resize disabled' }],
+ constraints: NodeConstraints.Default & ~NodeConstraints.Resize,
+ },
+ {
+ id: 'node4',
+ // Position of the node
+ offsetX: 550,
+ offsetY: 100,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white',
+ },
+ annotations: [{ content: 'Drag disabled' }],
+ constraints: NodeConstraints.Default & ~NodeConstraints.Drag,
+ },
+ {
+ id: 'node5',
+ // Position of the node
+ offsetX: 700,
+ offsetY: 100,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white',
+ },
+ annotations: [{ content: 'Tooltip enabled' }],
+ constraints: NodeConstraints.Default | NodeConstraints.Tooltip,
+ tooltip: { content: 'Node Tooltip', relativeMode: 'Object' },
+ },
+];
+// initialize Diagram component
+function App() {
+ return (
+ {
+ node.height = 100;
+ node.width = 100;
+ node.shape = { shape: 'Ellipse' };
+ node.style.fill = '#6BA5D7';
+ node.style.strokeColor = 'white';
+ return node;
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs1/index.html b/ej2-react/code-snippet/diagram/constraints/constraints-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/constraints/constraints-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs2/app/index.jsx b/ej2-react/code-snippet/diagram/constraints/constraints-cs2/app/index.jsx
new file mode 100644
index 000000000..1fde7669c
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs2/app/index.jsx
@@ -0,0 +1,65 @@
+import * as React from 'react';
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ ConnectorConstraints,
+} from '@syncfusion/ej2-react-diagrams';
+// A node is created and stored in nodes array.
+let connectors = [
+ {
+ id: 'connector1',
+ sourcePoint: { x: 100, y: 100 },
+ targetPoint: { x: 200, y: 200 },
+ type: 'Orthogonal',
+ constraints: ConnectorConstraints.Default & ~ConnectorConstraints.Select,
+ annotations: [{ content: 'Select disabled', alignment: 'After' }],
+ },
+ {
+ id: 'connector2',
+ sourcePoint: { x: 250, y: 100 },
+ targetPoint: { x: 350, y: 200 },
+ type: 'Orthogonal',
+ constraints: ConnectorConstraints.Default & ~ConnectorConstraints.Drag,
+ annotations: [{ content: 'Drag disabled', alignment: 'After' }],
+ },
+ {
+ id: 'connector3',
+ sourcePoint: { x: 400, y: 100 },
+ targetPoint: { x: 500, y: 200 },
+ type: 'Orthogonal',
+ constraints:
+ ConnectorConstraints.Default & ~ConnectorConstraints.DragSourceEnd,
+ annotations: [{ content: 'Source end disabled', alignment: 'After' }],
+ },
+ {
+ id: 'connector4',
+ sourcePoint: { x: 550, y: 100 },
+ targetPoint: { x: 650, y: 200 },
+ type: 'Orthogonal',
+ constraints:
+ ConnectorConstraints.Default & ~ConnectorConstraints.DragTargetEnd,
+ annotations: [{ content: 'Target end disabled', alignment: 'After' }],
+ },
+ {
+ id: 'connector5',
+ sourcePoint: { x: 700, y: 100 },
+ targetPoint: { x: 800, y: 200 },
+ type: 'Orthogonal',
+ constraints: ConnectorConstraints.Default & ~ConnectorConstraints.Delete,
+ annotations: [{ content: 'Delete disabled', alignment: 'After' }],
+ },
+];
+// initialize Diagram component
+function App() {
+ return (
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs2/app/index.tsx b/ej2-react/code-snippet/diagram/constraints/constraints-cs2/app/index.tsx
new file mode 100644
index 000000000..b098069ea
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs2/app/index.tsx
@@ -0,0 +1,66 @@
+import * as React from 'react';
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ ConnectorConstraints,
+ ConnectorModel
+} from '@syncfusion/ej2-react-diagrams';
+// A node is created and stored in nodes array.
+let connectors: ConnectorModel[] = [
+ {
+ id: 'connector1',
+ sourcePoint: { x: 100, y: 100 },
+ targetPoint: { x: 200, y: 200 },
+ type: 'Orthogonal',
+ constraints: ConnectorConstraints.Default & ~ConnectorConstraints.Select,
+ annotations: [{ content: 'Select disabled', alignment: 'After' }],
+ },
+ {
+ id: 'connector2',
+ sourcePoint: { x: 250, y: 100 },
+ targetPoint: { x: 350, y: 200 },
+ type: 'Orthogonal',
+ constraints: ConnectorConstraints.Default & ~ConnectorConstraints.Drag,
+ annotations: [{ content: 'Drag disabled', alignment: 'After' }],
+ },
+ {
+ id: 'connector3',
+ sourcePoint: { x: 400, y: 100 },
+ targetPoint: { x: 500, y: 200 },
+ type: 'Orthogonal',
+ constraints:
+ ConnectorConstraints.Default & ~ConnectorConstraints.DragSourceEnd,
+ annotations: [{ content: 'Source end disabled', alignment: 'After' }],
+ },
+ {
+ id: 'connector4',
+ sourcePoint: { x: 550, y: 100 },
+ targetPoint: { x: 650, y: 200 },
+ type: 'Orthogonal',
+ constraints:
+ ConnectorConstraints.Default & ~ConnectorConstraints.DragTargetEnd,
+ annotations: [{ content: 'Target end disabled', alignment: 'After' }],
+ },
+ {
+ id: 'connector5',
+ sourcePoint: { x: 700, y: 100 },
+ targetPoint: { x: 800, y: 200 },
+ type: 'Orthogonal',
+ constraints: ConnectorConstraints.Default & ~ConnectorConstraints.Delete,
+ annotations: [{ content: 'Delete disabled', alignment: 'After' }],
+ },
+];
+// initialize Diagram component
+function App() {
+ return (
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs2/index.html b/ej2-react/code-snippet/diagram/constraints/constraints-cs2/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs2/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs2/systemjs.config.js b/ej2-react/code-snippet/diagram/constraints/constraints-cs2/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs2/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs3/app/index.jsx b/ej2-react/code-snippet/diagram/constraints/constraints-cs3/app/index.jsx
new file mode 100644
index 000000000..905ec4e48
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs3/app/index.jsx
@@ -0,0 +1,76 @@
+import * as React from 'react';
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ PortVisibility,
+ PortConstraints,
+} from '@syncfusion/ej2-react-diagrams';
+// A node is created and stored in nodes array.
+let node = [
+ {
+ id: 'node1',
+ // Position of the node
+ offsetX: 200,
+ offsetY: 200,
+ annotations: [
+ { content: 'tooltip enabled', offset: { x: 0.5, y: 0.1 } },
+ { content: 'draw enabled', offset: { x: 0.2, y: 0.5 } },
+ { content: 'drag enabled', offset: { x: 0.8, y: 0.5 } },
+ { content: 'InConnect disabled', offset: { x: 0.2, y: 0.9 } },
+ { content: 'OutConnect disabled', offset: { x: 0.8, y: 0.9 } },
+ ],
+ ports: [
+ {
+ id: 'left',
+ offset: { x: 0, y: 0.5 },
+ visibility: PortVisibility.Visible,
+ constraints: PortConstraints.Default | PortConstraints.Draw,
+ },
+ {
+ id: 'right',
+ offset: { x: 1, y: 0.5 },
+ visibility: PortVisibility.Visible,
+ constraints: PortConstraints.Default | PortConstraints.Drag,
+ },
+ {
+ id: 'top',
+ offset: { x: 0.5, y: 0 },
+ visibility: PortVisibility.Visible,
+ constraints: PortConstraints.Default | PortConstraints.ToolTip,
+ tooltip: { content: 'Port tooltip' },
+ },
+ {
+ id: 'bottomLeft',
+ offset: { x: 0.2, y: 1 },
+ visibility: PortVisibility.Visible,
+ constraints: PortConstraints.Default & ~PortConstraints.InConnect,
+ },
+ {
+ id: 'bottomRight',
+ offset: { x: 0.8, y: 1 },
+ visibility: PortVisibility.Visible,
+ constraints: PortConstraints.Default & ~PortConstraints.OutConnect,
+ },
+ ],
+ },
+];
+// initialize Diagram component
+function App() {
+ return (
+ {
+ node.height = 200;
+ node.width = 300;
+ node.style.strokeColor = 'black';
+ return node;
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs3/app/index.tsx b/ej2-react/code-snippet/diagram/constraints/constraints-cs3/app/index.tsx
new file mode 100644
index 000000000..ea5069dab
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs3/app/index.tsx
@@ -0,0 +1,77 @@
+import * as React from 'react';
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ NodeModel,
+ PortVisibility,
+ PortConstraints,
+} from '@syncfusion/ej2-react-diagrams';
+// A node is created and stored in nodes array.
+let node: NodeModel[] = [
+ {
+ id: 'node1',
+ // Position of the node
+ offsetX: 200,
+ offsetY: 200,
+ annotations: [
+ { content: 'tooltip enabled', offset: { x: 0.5, y: 0.1 } },
+ { content: 'draw enabled', offset: { x: 0.2, y: 0.5 } },
+ { content: 'drag enabled', offset: { x: 0.8, y: 0.5 } },
+ { content: 'InConnect disabled', offset: { x: 0.2, y: 0.9 } },
+ { content: 'OutConnect disabled', offset: { x: 0.8, y: 0.9 } },
+ ],
+ ports: [
+ {
+ id: 'left',
+ offset: { x: 0, y: 0.5 },
+ visibility: PortVisibility.Visible,
+ constraints: PortConstraints.Default | PortConstraints.Draw,
+ },
+ {
+ id: 'right',
+ offset: { x: 1, y: 0.5 },
+ visibility: PortVisibility.Visible,
+ constraints: PortConstraints.Default | PortConstraints.Drag,
+ },
+ {
+ id: 'top',
+ offset: { x: 0.5, y: 0 },
+ visibility: PortVisibility.Visible,
+ constraints: PortConstraints.Default | PortConstraints.ToolTip,
+ tooltip: { content: 'Port tooltip' },
+ },
+ {
+ id: 'bottomLeft',
+ offset: { x: 0.2, y: 1 },
+ visibility: PortVisibility.Visible,
+ constraints: PortConstraints.Default & ~PortConstraints.InConnect,
+ },
+ {
+ id: 'bottomRight',
+ offset: { x: 0.8, y: 1 },
+ visibility: PortVisibility.Visible,
+ constraints: PortConstraints.Default & ~PortConstraints.OutConnect,
+ },
+ ],
+ },
+];
+// initialize Diagram component
+function App() {
+ return (
+ {
+ node.height = 200;
+ node.width = 300;
+ node.style.strokeColor = 'black';
+ return node;
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs3/index.html b/ej2-react/code-snippet/diagram/constraints/constraints-cs3/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs3/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs3/systemjs.config.js b/ej2-react/code-snippet/diagram/constraints/constraints-cs3/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs3/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs4/app/index.jsx b/ej2-react/code-snippet/diagram/constraints/constraints-cs4/app/index.jsx
new file mode 100644
index 000000000..33c397f28
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs4/app/index.jsx
@@ -0,0 +1,57 @@
+import * as React from 'react';
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ AnnotationConstraints,
+} from '@syncfusion/ej2-react-diagrams';
+// A node is created and stored in nodes array.
+let nodes = [
+ {
+ id: 'Node1',
+ offsetX: 200,
+ offsetY: 200,
+ annotations: [
+ {
+ content: 'Interaction enabled',
+ offset: { x: 0.5, y: 0.1 },
+ constraints: AnnotationConstraints.Interaction,
+ },
+ {
+ content: 'ReadOnly enabled',
+ offset: { x: 0.2, y: 0.5 },
+ constraints: AnnotationConstraints.ReadOnly,
+ },
+ {
+ content: 'Select and drag enabled',
+ offset: { x: 0.8, y: 0.5 },
+ constraints: AnnotationConstraints.Select | AnnotationConstraints.Drag,
+ },
+ {
+ content: 'Select and rotate enabled',
+ offset: { x: 0.5, y: 0.9 },
+ constraints:
+ AnnotationConstraints.Select | AnnotationConstraints.Rotate,
+ },
+ ],
+ },
+];
+// initialize Diagram component
+function App() {
+ return (
+ {
+ node.height = 200;
+ node.width = 300;
+ node.style.strokeColor = 'black';
+ return node;
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs4/app/index.tsx b/ej2-react/code-snippet/diagram/constraints/constraints-cs4/app/index.tsx
new file mode 100644
index 000000000..7f3530ba5
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs4/app/index.tsx
@@ -0,0 +1,58 @@
+import * as React from 'react';
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ NodeModel,
+ AnnotationConstraints,
+} from '@syncfusion/ej2-react-diagrams';
+// A node is created and stored in nodes array.
+let nodes: NodeModel[] = [
+ {
+ id: 'Node1',
+ offsetX: 200,
+ offsetY: 200,
+ annotations: [
+ {
+ content: 'Interaction enabled',
+ offset: { x: 0.5, y: 0.1 },
+ constraints: AnnotationConstraints.Interaction,
+ },
+ {
+ content: 'ReadOnly enabled',
+ offset: { x: 0.2, y: 0.5 },
+ constraints: AnnotationConstraints.ReadOnly,
+ },
+ {
+ content: 'Select and drag enabled',
+ offset: { x: 0.8, y: 0.5 },
+ constraints: AnnotationConstraints.Select | AnnotationConstraints.Drag,
+ },
+ {
+ content: 'Select and rotate enabled',
+ offset: { x: 0.5, y: 0.9 },
+ constraints:
+ AnnotationConstraints.Select | AnnotationConstraints.Rotate,
+ },
+ ],
+ },
+];
+// initialize Diagram component
+function App() {
+ return (
+ {
+ node.height = 200;
+ node.width = 300;
+ node.style.strokeColor = 'black';
+ return node;
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs4/index.html b/ej2-react/code-snippet/diagram/constraints/constraints-cs4/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs4/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs4/systemjs.config.js b/ej2-react/code-snippet/diagram/constraints/constraints-cs4/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs4/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs5/app/index.jsx b/ej2-react/code-snippet/diagram/constraints/constraints-cs5/app/index.jsx
new file mode 100644
index 000000000..34f6efea0
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs5/app/index.jsx
@@ -0,0 +1,40 @@
+import * as React from 'react';
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ SelectorConstraints,
+} from '@syncfusion/ej2-react-diagrams';
+// A node is created and stored in nodes array.
+let nodes = [
+ {
+ id: 'Node1',
+ offsetX: 200,
+ offsetY: 200,
+ annotations: [
+ { content: 'Resize handle disabled in selector constraints' },
+ ],
+ },
+];
+// initialize Diagram component
+function App() {
+ return (
+ {
+ node.height = 100;
+ node.width = 100;
+ node.style.strokeColor = 'black';
+ return node;
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs5/app/index.tsx b/ej2-react/code-snippet/diagram/constraints/constraints-cs5/app/index.tsx
new file mode 100644
index 000000000..12caf52f8
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs5/app/index.tsx
@@ -0,0 +1,41 @@
+import * as React from 'react';
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ NodeModel,
+ SelectorConstraints,
+} from '@syncfusion/ej2-react-diagrams';
+// A node is created and stored in nodes array.
+let nodes: NodeModel[] = [
+ {
+ id: 'Node1',
+ offsetX: 200,
+ offsetY: 200,
+ annotations: [
+ { content: 'Resize handle disabled in selector constraints' },
+ ],
+ },
+];
+// initialize Diagram component
+function App() {
+ return (
+ {
+ node.height = 100;
+ node.width = 100;
+ node.style.strokeColor = 'black';
+ return node;
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs5/index.html b/ej2-react/code-snippet/diagram/constraints/constraints-cs5/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs5/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs5/systemjs.config.js b/ej2-react/code-snippet/diagram/constraints/constraints-cs5/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs5/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs6/app/index.jsx b/ej2-react/code-snippet/diagram/constraints/constraints-cs6/app/index.jsx
new file mode 100644
index 000000000..cda216496
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs6/app/index.jsx
@@ -0,0 +1,46 @@
+import * as React from 'react';
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ SnapConstraints,
+} from '@syncfusion/ej2-react-diagrams';
+// A node is created and stored in nodes array.
+let nodes = [
+ {
+ id: 'Node1',
+ offsetX: 200,
+ offsetY: 200,
+ annotations: [{ content: 'Node 1' }],
+ },
+ {
+ id: 'Node2',
+ offsetX: 400,
+ offsetY: 200,
+ annotations: [{ content: 'Node 2' }],
+ },
+];
+// initialize Diagram component
+function App() {
+ return (
+ {
+ node.height = 100;
+ node.width = 100;
+ node.style.strokeColor = 'black';
+ return node;
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs6/app/index.tsx b/ej2-react/code-snippet/diagram/constraints/constraints-cs6/app/index.tsx
new file mode 100644
index 000000000..df78b88e8
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs6/app/index.tsx
@@ -0,0 +1,47 @@
+import * as React from 'react';
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ NodeModel,
+ SnapConstraints,
+} from '@syncfusion/ej2-react-diagrams';
+// A node is created and stored in nodes array.
+let nodes: NodeModel[] = [
+ {
+ id: 'Node1',
+ offsetX: 200,
+ offsetY: 200,
+ annotations: [{ content: 'Node 1' }],
+ },
+ {
+ id: 'Node2',
+ offsetX: 400,
+ offsetY: 200,
+ annotations: [{ content: 'Node 2' }],
+ },
+];
+// initialize Diagram component
+function App() {
+ return (
+ {
+ node.height = 100;
+ node.width = 100;
+ node.style.strokeColor = 'black';
+ return node;
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs6/index.html b/ej2-react/code-snippet/diagram/constraints/constraints-cs6/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs6/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs6/systemjs.config.js b/ej2-react/code-snippet/diagram/constraints/constraints-cs6/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs6/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs7/app/index.jsx b/ej2-react/code-snippet/diagram/constraints/constraints-cs7/app/index.jsx
new file mode 100644
index 000000000..7c43f88c5
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs7/app/index.jsx
@@ -0,0 +1,45 @@
+{% raw %}
+
+import * as React from 'react';
+import * as ReactDOM from "react-dom";
+import { DiagramComponent } from '@syncfusion/ej2-react-diagrams';
+// A node is created and stored in nodes array.
+let nodes = [
+ {
+ id: 'Node1',
+ offsetX: 200,
+ offsetY: 200,
+ annotations: [{ content: 'Node interactions restricted within page' }],
+ },
+];
+let pageSettings = {
+ boundaryConstraints: 'Page',
+ width: 500,
+ height: 500,
+ showPageBreaks: true,
+ background: { color: 'grey' }
+};
+// initialize Diagram component
+function App() {
+ return (
+ {
+ node.height = 100;
+ node.width = 100;
+ node.style.strokeColor = 'black';
+ return node;
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs7/app/index.tsx b/ej2-react/code-snippet/diagram/constraints/constraints-cs7/app/index.tsx
new file mode 100644
index 000000000..847ca2ccb
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs7/app/index.tsx
@@ -0,0 +1,44 @@
+{% raw %}
+
+import * as React from 'react';
+import * as ReactDOM from "react-dom";
+import { DiagramComponent, NodeModel } from '@syncfusion/ej2-react-diagrams';
+// A node is created and stored in nodes array.
+let nodes: NodeModel[] = [
+ {
+ id: 'Node1',
+ offsetX: 200,
+ offsetY: 200,
+ annotations: [{ content: 'Node interactions restricted within page' }],
+ },
+];
+let pageSettings: any = {
+ boundaryConstraints: 'Page',
+ width: 500,
+ height: 500,
+ showPageBreaks: true,
+ background: { color: 'grey' }
+};
+// initialize Diagram component
+function App() {
+ return (
+ {
+ node.height = 100;
+ node.width = 100;
+ node.style.strokeColor = 'black';
+ return node;
+ }}
+ />
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs7/index.html b/ej2-react/code-snippet/diagram/constraints/constraints-cs7/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs7/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/constraints/constraints-cs7/systemjs.config.js b/ej2-react/code-snippet/diagram/constraints/constraints-cs7/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/constraints/constraints-cs7/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs1/app/index.jsx
new file mode 100644
index 000000000..c7c6cd6dd
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs1/app/index.jsx
@@ -0,0 +1,45 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent, DiagramContextMenu, Inject } from "@syncfusion/ej2-react-diagrams";
+
+let diagramInstance;
+let connector = [{
+ id: 'connector1',
+ sourceID: 'node1',
+ targetID: 'node2',
+ type: 'Straight',
+
+}];
+
+let node = [{
+ id: 'node1',
+ width: 100,
+ height: 100,
+ offsetX: 100,
+ offsetY: 100,
+ annotations: [{content: 'Rectangle1'}],
+ }, {
+ id: 'node2',
+ width: 100,
+ height: 100,
+ offsetX: 300,
+ offsetY: 100,
+ annotations: [{content: 'Rectangle2'}],
+ }
+];
+
+//Initializes the Diagram component
+function App() {
+ return ();
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs1/app/index.tsx
new file mode 100644
index 000000000..05266b7c3
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs1/app/index.tsx
@@ -0,0 +1,45 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent,NodeModel,ConnectorModel, DiagramContextMenu, Inject } from "@syncfusion/ej2-react-diagrams";
+
+let diagramInstance: DiagramComponent;
+let connector: ConnectorModel[] = [{
+ id: 'connector1',
+ sourceID: 'node1',
+ targetID: 'node2',
+ type: 'Straight',
+
+}];
+
+let node: NodeModel[] = [{
+ id: 'node1',
+ width: 100,
+ height: 100,
+ offsetX: 100,
+ offsetY: 100,
+ annotations: [{content: 'Rectangle1'}],
+ }, {
+ id: 'node2',
+ width: 100,
+ height: 100,
+ offsetX: 300,
+ offsetY: 100,
+ annotations: [{content: 'Rectangle2'}],
+ }
+];
+
+//Initializes the Diagram component
+function App() {
+ return ();
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs1/index.html b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs1/index.html
new file mode 100644
index 000000000..92a551fd7
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs2/app/index.jsx b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs2/app/index.jsx
new file mode 100644
index 000000000..de244a8ad
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs2/app/index.jsx
@@ -0,0 +1,102 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent, DiagramContextMenu, Inject } from "@syncfusion/ej2-react-diagrams";
+
+let diagramInstance;
+
+let node = [{
+ id: 'node1',
+ width: 100,
+ height: 100,
+ offsetX: 100,
+ offsetY: 100,
+ annotations: [{id: 'label1',content: 'Rectangle1'}],
+ }, {
+ id: 'node2',
+ width: 100,
+ height: 100,
+ offsetX: 300,
+ offsetY: 100,
+ annotations: [{id: 'label2',content: 'Rectangle2'}],
+ }
+];
+
+//Initializes the Diagram component
+function App() {
+ return ();
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs2/app/index.tsx b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs2/app/index.tsx
new file mode 100644
index 000000000..613cbeba0
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs2/app/index.tsx
@@ -0,0 +1,103 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent, DiagramContextMenu, Inject, NodeModel } from "@syncfusion/ej2-react-diagrams";
+import { MenuEventArgs } from '@syncfusion/ej2-navigations';
+
+let diagramInstance: DiagramComponent ;
+
+let node: NodeModel[] = [{
+ id: 'node1',
+ width: 100,
+ height: 100,
+ offsetX: 100,
+ offsetY: 100,
+ annotations: [{id: 'label1',content: 'Rectangle1'}],
+ }, {
+ id: 'node2',
+ width: 100,
+ height: 100,
+ offsetX: 300,
+ offsetY: 100,
+ annotations: [{id: 'label2',content: 'Rectangle2'}],
+ }
+];
+
+//Initializes the Diagram component
+function App() {
+ return ();
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs2/index.html b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs2/index.html
new file mode 100644
index 000000000..92a551fd7
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs2/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs2/systemjs.config.js b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs2/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs2/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs3/app/index.jsx b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs3/app/index.jsx
new file mode 100644
index 000000000..19ca25bac
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs3/app/index.jsx
@@ -0,0 +1,112 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent, DiagramContextMenu, Inject } from "@syncfusion/ej2-react-diagrams";
+
+let diagramInstance;
+
+let node = [{
+ id: 'node1',
+ width: 100,
+ height: 100,
+ offsetX: 100,
+ offsetY: 100,
+ annotations: [{id: 'label1',content: 'Rectangle1'}],
+ }, {
+ id: 'node2',
+ width: 100,
+ height: 100,
+ offsetX: 300,
+ offsetY: 100,
+ annotations: [{id: 'label2',content: 'Rectangle2'}],
+ }
+];
+
+let connectors = [
+ {
+ id: 'connector1',
+ sourceID: 'node1',
+ targetID: 'node2',
+ },
+ ];
+
+//Initializes the Diagram component
+function App() {
+ return ();
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs3/app/index.tsx b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs3/app/index.tsx
new file mode 100644
index 000000000..c0c1ec574
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs3/app/index.tsx
@@ -0,0 +1,113 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent, DiagramContextMenu, Inject, NodeModel, ConnectorModel, DiagramBeforeMenuOpenEventArgs } from "@syncfusion/ej2-react-diagrams";
+import { MenuEventArgs } from '@syncfusion/ej2-navigations';
+
+let diagramInstance: DiagramComponent;
+
+let node: NodeModel[] = [{
+ id: 'node1',
+ width: 100,
+ height: 100,
+ offsetX: 100,
+ offsetY: 100,
+ annotations: [{id: 'label1',content: 'Rectangle1'}],
+ }, {
+ id: 'node2',
+ width: 100,
+ height: 100,
+ offsetX: 300,
+ offsetY: 100,
+ annotations: [{id: 'label2',content: 'Rectangle2'}],
+ }
+];
+
+let connectors: ConnectorModel[]= [
+ {
+ id: 'connector1',
+ sourceID: 'node1',
+ targetID: 'node2',
+ },
+ ];
+
+//Initializes the Diagram component
+function App() {
+ return ();
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs3/index.html b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs3/index.html
new file mode 100644
index 000000000..92a551fd7
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs3/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs3/systemjs.config.js b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs3/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs3/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs4/app/index.jsx b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs4/app/index.jsx
new file mode 100644
index 000000000..403d7506b
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs4/app/index.jsx
@@ -0,0 +1,61 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent, DiagramContextMenu, Inject } from "@syncfusion/ej2-react-diagrams";
+
+let diagramInstance;
+
+let node = [{
+ id: 'node1',
+ width: 100,
+ height: 100,
+ offsetX: 100,
+ offsetY: 100,
+ annotations: [{id: 'label1',content: 'Rectangle1'}],
+ }, {
+ id: 'node2',
+ width: 100,
+ height: 100,
+ offsetX: 300,
+ offsetY: 100,
+ annotations: [{id: 'label2',content: 'Rectangle2'}],
+ }
+];
+
+//Initializes the Diagram component
+function App() {
+ return ();
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs4/app/index.tsx b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs4/app/index.tsx
new file mode 100644
index 000000000..7f00bd0ea
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs4/app/index.tsx
@@ -0,0 +1,61 @@
+{% raw %}
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { DiagramComponent, DiagramContextMenu, Inject,NodeModel } from "@syncfusion/ej2-react-diagrams";
+
+let diagramInstance: DiagramComponent;
+
+let node: NodeModel[] = [{
+ id: 'node1',
+ width: 100,
+ height: 100,
+ offsetX: 100,
+ offsetY: 100,
+ annotations: [{id: 'label1',content: 'Rectangle1'}],
+ }, {
+ id: 'node2',
+ width: 100,
+ height: 100,
+ offsetX: 300,
+ offsetY: 100,
+ annotations: [{id: 'label2',content: 'Rectangle2'}],
+ }
+];
+
+//Initializes the Diagram component
+function App() {
+ return ();
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+{% endraw %}
diff --git a/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs4/index.html b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs4/index.html
new file mode 100644
index 000000000..92a551fd7
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs4/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs4/systemjs.config.js b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs4/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/contextmenu/contextmenu-cs4/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/contextmenu/es5custom-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/contextmenu/es5custom-cs1/app/index.jsx
deleted file mode 100644
index 6c2f9a7d6..000000000
--- a/ej2-react/code-snippet/diagram/contextmenu/es5custom-cs1/app/index.jsx
+++ /dev/null
@@ -1,107 +0,0 @@
-{% raw %}
-import * as React from "react";
-import * as ReactDOM from "react-dom";
-import { DiagramComponent, DiagramContextMenu, Inject } from "@syncfusion/ej2-react-diagrams";
-//Initializes the connector
-let connector = [{
- id: 'connector1',
- sourceID: 'node1',
- targetID: 'node2',
- type: 'Straight',
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2,
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- }
- }];
-//Initializes the nodes
-let node = [{
- id: 'node1',
- width: 100,
- height: 100,
- offsetX: 100,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- annotations: [{
- id: 'label1',
- content: 'Rectangle1',
- offset: {
- x: 0.5,
- y: 0.5
- },
- style: {
- color: 'white'
- }
- }]
- }, {
- id: 'node2',
- width: 100,
- height: 100,
- offsetX: 300,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- annotations: [{
- id: 'label2',
- content: 'Rectangle2',
- offset: {
- x: 0.5,
- y: 0.5
- },
- style: {
- color: 'white'
- }
- }]
- }];
-//Initializes the Diagram component
-function App() {
- return ();
-}
-const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/contextmenu/es5custom-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/contextmenu/es5custom-cs1/app/index.tsx
deleted file mode 100644
index 6e5fbafb2..000000000
--- a/ej2-react/code-snippet/diagram/contextmenu/es5custom-cs1/app/index.tsx
+++ /dev/null
@@ -1,134 +0,0 @@
-{% raw %}
-
-
-import * as React from "react";
-import * as ReactDOM from "react-dom";
-import {
- Diagram,
- DiagramComponent,
- DiagramContextMenu,
- Inject,
- ConnectorModel,
- NodeModel,
- DiagramBeforeMenuOpenEventArgs
-} from "@syncfusion/ej2-react-diagrams";
-import {
- MenuEventArgs
-} from '@syncfusion/ej2-navigations';
-
-//Initializes the connector
-let connector: ConnectorModel[] = [{
- id: 'connector1',
- sourceID: 'node1',
- targetID: 'node2',
- type: 'Straight',
- style: {
- strokeColor : '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth : 2,
- },
- targetDecorator: {
- style: {
- fill : '#6BA5D7',
- strokeColor : '#6BA5D7'
- }
- }
-}];
-
-//Initializes the nodes
-let node: NodeModel[] = [{
- id: 'node1',
- width: 100,
- height: 100,
- offsetX: 100,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- annotations: [{
- id: 'label1',
- content: 'Rectangle1',
- offset: {
- x: 0.5,
- y: 0.5
- },
- style: {
- color: 'white'
- }
- }]
-}, {
- id: 'node2',
- width: 100,
- height: 100,
- offsetX: 300,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- annotations: [{
- id: 'label2',
- content: 'Rectangle2',
- offset: {
- x: 0.5,
- y: 0.5
- },
- style: {
- color: 'white'
- }
- }]
-}];
-//Initializes the Diagram component
-function App() {
- return (
-
- );
-}
-const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-
-
-
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/contextmenu/es5custom-cs1/index.html b/ej2-react/code-snippet/diagram/contextmenu/es5custom-cs1/index.html
deleted file mode 100644
index d2f7f168b..000000000
--- a/ej2-react/code-snippet/diagram/contextmenu/es5custom-cs1/index.html
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
- Syncfusion React Chart-DataLabel
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/contextmenu/es5default-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/contextmenu/es5default-cs1/app/index.jsx
deleted file mode 100644
index f98bbed1c..000000000
--- a/ej2-react/code-snippet/diagram/contextmenu/es5default-cs1/app/index.jsx
+++ /dev/null
@@ -1,76 +0,0 @@
-{% raw %}
-import * as React from "react";
-import * as ReactDOM from "react-dom";
-import { DiagramComponent, DiagramContextMenu, Inject } from "@syncfusion/ej2-react-diagrams";
-//Initializes the connector
-let connector = [{
- id: 'connector1',
- sourceID: 'node1',
- targetID: 'node2',
- type: 'Straight',
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2,
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- }
- }];
-//Initializes the nodes
-let node = [{
- id: 'node1',
- width: 100,
- height: 100,
- offsetX: 100,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- annotations: [{
- id: 'label1',
- content: 'Rectangle1',
- offset: {
- x: 0.5,
- y: 0.5
- },
- style: {
- color: 'white'
- }
- }],
- }, {
- id: 'node2',
- width: 100,
- height: 100,
- offsetX: 300,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- annotations: [{
- id: 'label2',
- content: 'Rectangle2',
- offset: {
- x: 0.5,
- y: 0.5
- },
- style: {
- color: 'white'
- }
- }],
- }];
-//Initializes the Diagram component
-ReactDOM.render(, document.getElementById("diagram"));
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/contextmenu/es5default-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/contextmenu/es5default-cs1/app/index.tsx
deleted file mode 100644
index b389abfb6..000000000
--- a/ej2-react/code-snippet/diagram/contextmenu/es5default-cs1/app/index.tsx
+++ /dev/null
@@ -1,105 +0,0 @@
-
-
-import * as React from "react";
-import * as ReactDOM from "react-dom";
-import {
- Diagram,
- DiagramComponent,
- DiagramContextMenu,
- Inject,
- ConnectorModel,
- NodeModel,
- DiagramBeforeMenuOpenEventArgs
-} from "@syncfusion/ej2-react-diagrams";
-import {
- MenuEventArgs
-} from '@syncfusion/ej2-navigations';
-//Initializes the connector
-let connector: ConnectorModel[] = [{
- id: 'connector1',
- sourceID: 'node1',
- targetID: 'node2',
- type: 'Straight',
- style: {
- strokeColor : '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth : 2,
- },
- targetDecorator: {
- style: {
- fill : '#6BA5D7',
- strokeColor : '#6BA5D7'
- }
- }
-}];
-//Initializes the nodes
-let node: NodeModel[] = [{
- id: 'node1',
- width: 100,
- height: 100,
- offsetX: 100,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- annotations: [{
- id: 'label1',
- content: 'Rectangle1',
- offset: {
- x: 0.5,
- y: 0.5
- },
- style: {
- color: 'white'
- }
- }],
-}, {
- id: 'node2',
- width: 100,
- height: 100,
- offsetX: 300,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- annotations: [{
- id: 'label2',
- content: 'Rectangle2',
- offset: {
- x: 0.5,
- y: 0.5
- },
- style: {
- color: 'white'
- }
- }],
-}];
-//Initializes the Diagram component
-ReactDOM.render( , document.getElementById("diagram")
-);
-
-
diff --git a/ej2-react/code-snippet/diagram/contextmenu/es5default-cs1/index.html b/ej2-react/code-snippet/diagram/contextmenu/es5default-cs1/index.html
deleted file mode 100644
index d2f7f168b..000000000
--- a/ej2-react/code-snippet/diagram/contextmenu/es5default-cs1/index.html
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
- Syncfusion React Chart-DataLabel
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/contextmenu/es5events-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/contextmenu/es5events-cs1/app/index.jsx
index a5ebc3477..28cee6b8d 100644
--- a/ej2-react/code-snippet/diagram/contextmenu/es5events-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/contextmenu/es5events-cs1/app/index.jsx
@@ -1,71 +1,33 @@
{% raw %}
+
import * as React from "react";
import * as ReactDOM from "react-dom";
import { DiagramComponent, Inject, DiagramContextMenu } from "@syncfusion/ej2-react-diagrams";
let diagramInstance;
-//Initializes the connector
+
let connector = [{
id: 'connector1',
sourceID: 'node1',
targetID: 'node2',
- style: {
- strokeColor: '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth: 2,
- },
- targetDecorator: {
- style: {
- fill: '#6BA5D7',
- strokeColor: '#6BA5D7'
- }
- }
- }];
-//Initializes the nodes
+
+}];
+
let node = [{
id: 'node1',
width: 100,
height: 100,
offsetX: 100,
offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- annotations: [{
- id: 'label1',
- content: 'Rectangle1',
- offset: {
- x: 0.5,
- y: 0.5
- },
- style: {
- color: 'white'
- }
- }]
+ annotations: [{ id: 'label1', content: 'Rectangle1' }]
}, {
id: 'node2',
width: 100,
height: 100,
offsetX: 300,
offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- annotations: [{
- id: 'label2',
- content: 'Rectangle2',
- offset: {
- x: 0.5,
- y: 0.5
- },
- style: {
- color: 'white'
- }
- }]
- }];
+ annotations: [{id: 'label2', content: 'Rectangle2'}]
+}];
+
//Initializes the Diagram component
function App() {
return ();
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
+
{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/contextmenu/es5events-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/contextmenu/es5events-cs1/app/index.tsx
index 691dc51f8..80e060585 100644
--- a/ej2-react/code-snippet/diagram/contextmenu/es5events-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/contextmenu/es5events-cs1/app/index.tsx
@@ -1,139 +1,70 @@
{% raw %}
-
import * as React from "react";
import * as ReactDOM from "react-dom";
-import {
- Diagram,
- DiagramComponent,
- Inject,
- DiagramContextMenu,
- DiagramBeforeMenuOpenEventArgs,
- ConnectorModel,
- NodeModel
-} from "@syncfusion/ej2-react-diagrams";
+import { DiagramComponent, Inject, DiagramContextMenu, NodeModel, ConnectorModel, DiagramBeforeMenuOpenEventArgs} from "@syncfusion/ej2-react-diagrams";
import { MenuEventArgs } from '@syncfusion/ej2-navigations';
let diagramInstance: DiagramComponent;
-//Initializes the connector
let connector: ConnectorModel[] = [{
- id: 'connector1',
- sourceID: 'node1',
- targetID: 'node2',
- style: {
- strokeColor : '#6BA5D7',
- fill: '#6BA5D7',
- strokeWidth : 2,
- },
- targetDecorator: {
- style: {
- fill : '#6BA5D7',
- strokeColor : '#6BA5D7'
- }
- }
+ id: 'connector1',
+ sourceID: 'node1',
+ targetID: 'node2',
+
}];
-//Initializes the nodes
let node: NodeModel[] = [{
- id: 'node1',
- width: 100,
- height: 100,
- offsetX: 100,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- annotations: [{
- id: 'label1',
- content: 'Rectangle1',
- offset: {
- x: 0.5,
- y: 0.5
- },
- style: {
- color: 'white'
- }
- }]
-}, {
- id: 'node2',
- width: 100,
- height: 100,
- offsetX: 300,
- offsetY: 100,
- style: {
- fill: '#6BA5D7',
- strokeColor: 'white',
- strokeWidth: 1
- },
- annotations: [{
- id: 'label2',
- content: 'Rectangle2',
- offset: {
- x: 0.5,
- y: 0.5
- },
- style: {
- color: 'white'
- }
- }]
+ id: 'node1',
+ width: 100,
+ height: 100,
+ offsetX: 100,
+ offsetY: 100,
+ annotations: [{ id: 'label1', content: 'Rectangle1' }]
+ }, {
+ id: 'node2',
+ width: 100,
+ height: 100,
+ offsetX: 300,
+ offsetY: 100,
+ annotations: [{id: 'label2', content: 'Rectangle2'}]
}];
+
//Initializes the Diagram component
function App() {
- return (
-
- );
+ return ();
}
const root = ReactDOM.createRoot(document.getElementById('diagram'));
root.render( );
-
-{% endraw %}
\ No newline at end of file
+{% endraw %}
diff --git a/ej2-react/code-snippet/diagram/contextmenu/es5events-cs1/index.html b/ej2-react/code-snippet/diagram/contextmenu/es5events-cs1/index.html
index d2f7f168b..92a551fd7 100644
--- a/ej2-react/code-snippet/diagram/contextmenu/es5events-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/contextmenu/es5events-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
@@ -13,7 +13,7 @@
-
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/export/export-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/export/export-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/export/export-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/export/export-cs2/app/index.jsx b/ej2-react/code-snippet/diagram/export/export-cs2/app/index.jsx
new file mode 100644
index 000000000..13ebe83ac
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/export/export-cs2/app/index.jsx
@@ -0,0 +1,60 @@
+
+import * as React from "react";
+import * as ReactDOM from "react-dom/client";
+import { DiagramComponent, Inject, PrintAndExport, SnapConstraints } from "@syncfusion/ej2-react-diagrams";
+
+export default function App() {
+ let diagramInstance;
+
+ // Initialize Nodes for the diagram
+ let nodes = [
+ {
+ id: 'node1',
+ width: 100,
+ height: 50,
+ offsetX: 100,
+ offsetY: 100,
+ style: { strokeColor: '#868686', fill: '#d5f5d5' },
+ annotations: [{ content: 'Node 1' }],
+ },
+ {
+ id: 'node2',
+ width: 100,
+ height: 75,
+ offsetX: 100,
+ offsetY: 225,
+ shape: { type: 'Basic', shape: 'Diamond' },
+ style: { strokeColor: '#8f908f', fill: '#e2f3fa' },
+ annotations: [{ content: 'Node 2' }],
+ }
+ ];
+
+ //Function to export the diagram objects.
+ function handleExport() {
+ let exportOptions = {}
+ //Sets the margin for the exported image
+ exportOptions.margin = { left: 100, top: 100, bottom: 100, right: 100 };
+ diagramInstance.exportDiagram(exportOptions);
+ };
+
+ return (
+ // Initialize Diagram component
+
+ Export Diagram
+ (diagramInstance = diagram)}
+ width={'100%'}
+ height={'600px'}
+ nodes={nodes}
+ snapSettings={{ constraints: SnapConstraints.None }}
+ >
+
+
+
+ );
+};
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/export/export-cs2/app/index.tsx b/ej2-react/code-snippet/diagram/export/export-cs2/app/index.tsx
new file mode 100644
index 000000000..3da130e11
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/export/export-cs2/app/index.tsx
@@ -0,0 +1,61 @@
+
+import * as React from "react";
+import * as ReactDOM from "react-dom/client";
+import { DiagramComponent, Inject, IExportOptions, NodeModel,
+ PrintAndExport, SnapConstraints } from "@syncfusion/ej2-react-diagrams";
+
+export default function App() {
+ let diagramInstance: DiagramComponent;
+
+ // Initialize Nodes for the diagram
+ let nodes: NodeModel[] = [
+ {
+ id: 'node1',
+ width: 100,
+ height: 50,
+ offsetX: 100,
+ offsetY: 100,
+ style: { strokeColor: '#868686', fill: '#d5f5d5' },
+ annotations: [{ content: 'Node 1' }],
+ },
+ {
+ id: 'node2',
+ width: 100,
+ height: 75,
+ offsetX: 100,
+ offsetY: 225,
+ shape: { type: 'Basic', shape: 'Diamond' },
+ style: { strokeColor: '#8f908f', fill: '#e2f3fa' },
+ annotations: [{ content: 'Node 2' }],
+ }
+ ];
+
+ //Function to print the diagram objects.
+ function handleExport() {
+ let exportOptions: IExportOptions = {};
+ //Sets the margin for the exported image
+ exportOptions.margin = { left: 100, top: 100, bottom: 100, right: 100 };
+ diagramInstance.exportDiagram(exportOptions);
+ };
+
+ return (
+ // Initialize Diagram component
+
+ Export Diagram
+ (diagramInstance = diagram)}
+ width={'100%'}
+ height={'600px'}
+ nodes={nodes}
+ snapSettings={{ constraints: SnapConstraints.None }}
+ >
+
+
+
+ );
+};
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/export/export-cs2/index.html b/ej2-react/code-snippet/diagram/export/export-cs2/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/export/export-cs2/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/export/export-cs2/systemjs.config.js b/ej2-react/code-snippet/diagram/export/export-cs2/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/export/export-cs2/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/export/export-cs3/app/index.jsx b/ej2-react/code-snippet/diagram/export/export-cs3/app/index.jsx
new file mode 100644
index 000000000..11ae8385e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/export/export-cs3/app/index.jsx
@@ -0,0 +1,76 @@
+
+import * as React from "react";
+import * as ReactDOM from "react-dom/client";
+import { DiagramComponent, Inject, Rect, PrintAndExport, SnapConstraints } from "@syncfusion/ej2-react-diagrams";
+
+export default function App() {
+ let diagramInstance;
+ let regionInstance;
+
+ // Initialize Nodes for the diagram
+ let nodes = [
+ {
+ id: 'node1',
+ width: 100,
+ height: 50,
+ offsetX: 100,
+ offsetY: 100,
+ style: { strokeColor: '#868686', fill: '#d5f5d5' },
+ annotations: [{ content: 'Node 1' }],
+ },
+ {
+ id: 'node2',
+ width: 100,
+ height: 75,
+ offsetX: 100,
+ offsetY: 225,
+ shape: { type: 'Basic', shape: 'Diamond' },
+ style: { strokeColor: '#8f908f', fill: '#e2f3fa' },
+ annotations: [{ content: 'Node 2' }],
+ },
+ ];
+
+ //Function to print the diagram objects.
+ function handleExport() {
+ let exportOptions = {};
+ let region = regionInstance.value;
+ //Sets the region for the exported image.
+ exportOptions.region = region;
+ if (region === 'CustomBounds') {
+ exportOptions.bounds = new Rect(0, 0, 300, 300);
+ } else if (region === 'Content') {
+ diagramInstance.pageSettings = {};
+ } else {
+ diagramInstance.pageSettings = { width: 500, height: 500 };
+ }
+ diagramInstance.exportDiagram(exportOptions);
+ };
+
+
+ return (
+ // Initialize Diagram component
+
+ Region
+ (regionInstance = region)}>
+ Content
+ PageSettings
+ CustomBounds
+
+ Export Diagram
+ (diagramInstance = diagram)}
+ width={'100%'}
+ height={'600px'}
+ nodes={nodes}
+ snapSettings={{ constraints: SnapConstraints.None }}
+ >
+
+
+
+ );
+};
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/export/export-cs3/app/index.tsx b/ej2-react/code-snippet/diagram/export/export-cs3/app/index.tsx
new file mode 100644
index 000000000..231e59460
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/export/export-cs3/app/index.tsx
@@ -0,0 +1,76 @@
+
+import * as React from "react";
+import * as ReactDOM from "react-dom/client";
+import { DiagramComponent, Inject, Rect, IExportOptions, DiagramRegions, NodeModel, PrintAndExport, SnapConstraints } from "@syncfusion/ej2-react-diagrams";
+
+export default function App() {
+ let diagramInstance: DiagramComponent;
+ let regionInstance: HTMLSelectElement;
+
+ // Initialize Nodes for the diagram
+ let nodes: NodeModel[] = [
+ {
+ id: 'node1',
+ width: 100,
+ height: 50,
+ offsetX: 100,
+ offsetY: 100,
+ style: { strokeColor: '#868686', fill: '#d5f5d5' },
+ annotations: [{ content: 'Node 1' }],
+ },
+ {
+ id: 'node2',
+ width: 100,
+ height: 75,
+ offsetX: 100,
+ offsetY: 225,
+ shape: { type: 'Basic', shape: 'Diamond' },
+ style: { strokeColor: '#8f908f', fill: '#e2f3fa' },
+ annotations: [{ content: 'Node 2' }],
+ },
+ ];
+
+ //Function to print the diagram objects.
+ function handleExport() {
+ let exportOptions: IExportOptions = {};
+ let region = regionInstance.value;
+ //Sets the region for the exported image.
+ exportOptions.region = region as DiagramRegions;
+ if (region === 'CustomBounds') {
+ exportOptions.bounds = new Rect(0, 0, 300, 300);
+ } else if (region === 'Content') {
+ diagramInstance.pageSettings = {};
+ } else {
+ diagramInstance.pageSettings = { width: 500, height: 500 };
+ }
+ diagramInstance.exportDiagram(exportOptions);
+ };
+
+
+ return (
+ // Initialize Diagram component
+
+ Region
+ (regionInstance = region)}>
+ Content
+ PageSettings
+ CustomBounds
+
+ Export Diagram
+ (diagramInstance = diagram)}
+ width={'100%'}
+ height={'600px'}
+ nodes={nodes}
+ snapSettings={{ constraints: SnapConstraints.None }}
+ >
+
+
+
+ );
+};
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/export/export-cs3/index.html b/ej2-react/code-snippet/diagram/export/export-cs3/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/export/export-cs3/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/export/export-cs3/systemjs.config.js b/ej2-react/code-snippet/diagram/export/export-cs3/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/export/export-cs3/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/export/export-cs4/app/index.jsx b/ej2-react/code-snippet/diagram/export/export-cs4/app/index.jsx
new file mode 100644
index 000000000..4c9ad81cb
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/export/export-cs4/app/index.jsx
@@ -0,0 +1,67 @@
+
+import * as React from "react";
+import * as ReactDOM from "react-dom/client";
+import { DiagramComponent, Inject, PrintAndExport, SnapConstraints } from "@syncfusion/ej2-react-diagrams";
+
+export default function App() {
+ let diagramInstance;
+
+ // Initialize Nodes for the diagram
+ let nodes = [
+ {
+ id: 'node1',
+ width: 100,
+ height: 50,
+ offsetX: 100,
+ offsetY: 100,
+ style: { strokeColor: '#868686', fill: '#d5f5d5' },
+ annotations: [{ content: 'Node 1' }],
+ },
+ {
+ id: 'node2',
+ width: 100,
+ height: 75,
+ offsetX: 500,
+ offsetY: 100,
+ shape: { type: 'Basic', shape: 'Diamond' },
+ style: { strokeColor: '#8f908f', fill: '#e2f3fa' },
+ annotations: [{ content: 'Node 2' }],
+ }
+ ];
+
+ //Function to export the diagram objects.
+ function handleExport() {
+ let exportOptions = {}
+ //Sets the multiple page as true for the exported image
+ exportOptions.multiplePage = true;
+ exportOptions.region = 'PageSettings';
+ diagramInstance.exportDiagram(exportOptions);
+ };
+
+ return (
+ // Initialize Diagram component
+
+ Export Diagram
+ (diagramInstance = diagram)}
+ width={'100%'}
+ height={'600px'}
+ nodes={nodes}
+ snapSettings={{ constraints: SnapConstraints.None }}
+ pageSettings={{
+ width: 400,
+ height: 300,
+ showPageBreaks: true,
+ multiplePage: true,
+ }}
+ >
+
+
+
+ );
+};
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/export/export-cs4/app/index.tsx b/ej2-react/code-snippet/diagram/export/export-cs4/app/index.tsx
new file mode 100644
index 000000000..1306303f9
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/export/export-cs4/app/index.tsx
@@ -0,0 +1,68 @@
+
+import * as React from "react";
+import * as ReactDOM from "react-dom/client";
+import { DiagramComponent, Inject, IExportOptions, NodeModel,
+ PrintAndExport, SnapConstraints } from "@syncfusion/ej2-react-diagrams";
+
+export default function App() {
+ let diagramInstance: DiagramComponent;
+
+ // Initialize Nodes for the diagram
+ let nodes: NodeModel[] = [
+ {
+ id: 'node1',
+ width: 100,
+ height: 50,
+ offsetX: 100,
+ offsetY: 100,
+ style: { strokeColor: '#868686', fill: '#d5f5d5' },
+ annotations: [{ content: 'Node 1' }],
+ },
+ {
+ id: 'node2',
+ width: 100,
+ height: 75,
+ offsetX: 500,
+ offsetY: 100,
+ shape: { type: 'Basic', shape: 'Diamond' },
+ style: { strokeColor: '#8f908f', fill: '#e2f3fa' },
+ annotations: [{ content: 'Node 2' }],
+ }
+ ];
+
+ //Function to print the diagram objects.
+ function handleExport() {
+ let exportOptions: IExportOptions = {};
+ //Sets the multiple page as true for the exported image
+ exportOptions.multiplePage = true;
+ exportOptions.region = 'PageSettings';
+ diagramInstance.exportDiagram(exportOptions);
+ };
+
+ return (
+ // Initialize Diagram component
+
+ Export Diagram
+ (diagramInstance = diagram)}
+ width={'100%'}
+ height={'600px'}
+ nodes={nodes}
+ snapSettings={{ constraints: SnapConstraints.None }}
+ pageSettings={{
+ width: 400,
+ height: 300,
+ showPageBreaks: true,
+ multiplePage: true,
+ }}
+ >
+
+
+
+ );
+};
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/export/export-cs4/index.html b/ej2-react/code-snippet/diagram/export/export-cs4/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/export/export-cs4/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/export/export-cs4/systemjs.config.js b/ej2-react/code-snippet/diagram/export/export-cs4/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/export/export-cs4/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/export/export-cs5/app/index.jsx b/ej2-react/code-snippet/diagram/export/export-cs5/app/index.jsx
new file mode 100644
index 000000000..17a7a69fa
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/export/export-cs5/app/index.jsx
@@ -0,0 +1,43 @@
+
+import * as React from "react";
+import * as ReactDOM from "react-dom/client";
+import { DiagramComponent, Inject, PrintAndExport, Rect } from "@syncfusion/ej2-react-diagrams";
+
+export default function App() {
+ let diagramInstance;
+
+ let nodes = [];
+
+ //Function to export the diagram objects.
+ function handleExport() {
+ let exportOptions = {};
+ exportOptions.pageWidth = 1000;
+ exportOptions.pageHeight = 800;
+ exportOptions.bounds = new Rect(0, 0, 800, 800);
+ //Base64 data
+ let base64 =
+ 'data:image/png;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADb/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/wAARCAKrB4ADASIAAhEBAxEB/8QAHgABAAMBAQEBAQEBAAAAAAAAAAcICgkGAQUEAwL/xAA9EAEAAAYCAAIFCAsAAgIDAAAAAgMEBQYHAQgJeDc4V7fWFhk5WHeXmLYRExQVFxghlZbT1RIiCjEkQYH/xAAdAQEAAQUBAQEAAAAAAAAAAAAABwMEBQYIAgkB/8QASREBAAICAQEDAg4OCwEBAQAAAAIDAQQFEQYSEwchFBYXMTM0NjdRVXN0lNQiI1NUVmGRk7KztLXS0wgVMkFScZKVsdHwJCVC/9oADAMBAAIRAxEAPwDfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA599s/Em0L052PiWqNj4vurLs1zLCa7YVtt2ptbVOdS6PF6C/Q43OrbvUyrnb5dBHHdouJEiTz+sjmQ/pmf0hdBGZbxZ/pDNSeTK+e++WyvCaFfKcpp6F05117E5xlOvu9+OI1WWY7vexKPXOYYxnrjPmzlrHbLnNjs32Z5Xm9Wmm/Y0KqbK6djv+DPNm1RRnE/DnCfTEbZZx3ZY+yxjr1x1xm53z4/Vz2K9zfw9VnxMfPj9XPYr3N/D1WfEzjEJK9Tvi/v7f/Lr/wAlzt6v/aT4l4P8m/8AXP8AP/2PP2d+fH6uexXub+Hqs+Jj58fq57Fe5v4eqz4mcYg9Tvi/v7f/AC6/8k9X/tJ8S8H+Tf8Arn+f/sefs78+P1c9ivc38PVZ8THz4/Vz2K9zfw9VnxM4xB6nfF/f2/8Al1/5J6v/AGk+JeD/ACb/ANc/z/8AY8/Z358fq57Fe5v4eqz4mPnx+rnsV7m/h6rPiZxiD1O+L+/t/wDLr/yT1f8AtJ8S8H+Tf+uf5/8Asefs78+P1c9ivc38PVZ8THz4/Vz2K9zfw9VnxM4xB6nfF/f2/wDl1/5J6v8A2k+JeD/Jv/XP8/8A2PP2d+fH6uexXub+Hqs+Jn8N08drqbZbbcbxddP9yKG12mhq7ncq2f17rYZNHQUFPMqqyqnc8ZLzzxKp6eVMmzOeOOeeIIOeeOOef6OOCM91ehzbP2Z55+Vrq8WeT3jIV2Txu7+cwhKWMZzr9M5jHOcdftPreZWo8vfaO2+mqXDcJjFttdec4xv9cYnOMc5x12+nXGM56dev93wefa5g+X2bYWF4hn2OR1E3Hs4xewZfYZlXIipauZZsltNJerXHU0sfMUVNUR0NbIinSIooopMzmKXzzzzDzy9Qr/1N9VjrR5f9Ne7rHFgERuqgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmW8Wf6QzUnkyvnvvltNLMt4s/wBIZqTyZXz33y2x9kfdFxfytv7Ncj7yqe9/2k+bav7x01MAE+uGAAAAAAAABGe6vQ5tn7M88/K11SYjPdXoc2z9meefla6qV/sF3yVn6Elzpe3NT5zR+tg2CdTfVY60eX/TXu6xxYBX/qb6rHWjy/6a93WOLAOZH0fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGZbxZ/pDNSeTK+e++W00sy3iz/SGak8mV8998tsfZH3RcX8rb+zXI+8qnvf8AaT5tq/vHTUwAT64YAAAAAAAAEZ7q9Dm2fszzz8rXVJiM91ehzbP2Z55+VrqpX+wXfJWfoSXOl7c1PnNH62DYJ1N9VjrR5f8ATXu6xxYBX/qb6rHWjy/6a93WOLAOZH0fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGZbxZ/pDNSeTK+e++W00sy3iz/SGak8mV8998tsfZH3RcX8rb+zXI+8qnvf9pPm2r+8dNTABPrhh/DdLnQ2W2XG8XSplUVstNDV3O41k+LiCTSUNBTzKqrqZ0fP9IZUinlTJsyLn+kMEHPPP/wBKi4n2gutm1VsPYO78PrseuWCScXzCdjOH2uO43udrnZtNbbngkyVZp1+uFVX5FZptfdcGyqGTU0nF3yzCMjuGPWent9dabdzPG5dcztt64yLW/F+5x23ZdxbLTktXDbornHccNmXegm5njMuTDcrX+z85fi8q7YtFcuZ8+G1y7xHcObfcv2b9hn19yDpTr2lus+dpehwDQ2N5Bi3GO5/iOAaoxu0WrNa21ZvhuZ4bktdxjVZicuXesS+T+S2Skn1tNdv2i2ZvcoYeaOOjl8VOK2/6zxPclqQxmOeO2KdPObK8Zhu5o2diN2abPtdmbNmjjtPXtssrjrQu5CVuvfVdC3Xz/HY4T0JiG/b02Ld6qyzGde/7Vqatmr3oQ3KZTlVnc1tjko5qxp7eJ7Ovx8526cITnZ7y0dk/3zYcxqqXR29Ic6wjN7RgN21F+5df1ecTbtfbDZsqtlxkX617IuGoqTGJ2N3qTdp2TXvaFos9FHTVNkrqqmyWZQWSu8FS9v6Cuv8AidXDh+S27Drnj2dS8vs1ztVqmbBwjNsK3xgWjbzTXmO15hcMSmY7id3yW+3DLK7H7lk0E61Wj9745cLnJlcUVw/q3F1Nj2nFm0+DLcVihy3a2D7Pm4psTWfOydYXaDDdcU2veMR2NgfGbYlxsGwVEyRLzK2yor5j3Fly+14zdP1NwisMMNb4yx9Q6TUOA32gskibsi30euewuG23WGE4vhuuIrpT722Pb9g82jG5lwyuyYVidFisymnWO003MduoZNr5pqqnmU1TbpdDcKGvscvCy63d1JYq1KuSnVivNN8d30NxE46OM6+vZ6JzbvchZLNlUJRxidVXhegowxLYyvgdk56ur4WzjO/ubnF4u1sw26a9KjZlLPK1Y3NucNbwtOdevHRsnZGcKb9rO3ubuPDs1puynsjarJdqnHca1ns/ZuTSsoynG6HH8Hla8p6y9U+DWPGbtmuTWiuzzYmD2KoseMXPK7Zh9fSTrvTZVV5XJudHZsaultt1TdYPzL52Vt2PXm8WmXiub5pfKvJcBxTCNe47jFhxnMrxe8y15dNjzbbMuWxti4tjcqptuL2G/wB8uvGWztcxWeG0VOPSJWQX+db5VfHd86l5Hkui9Watu2TalyO7Y1SXG77H43Nomy7wwjN9lZXDUXfLtl2+wxZHre8Y3nUGYXfKbpjuQWvIae101BleQUd1xS6Tp9nqrD6HLOq9wvNiyuy27N8VyCkymfrKG6WbfGp7bvbEMqt2uMNl4pLpdk2K7ZRjNzy6uuFfT0ObU98s+S4ZdLfl9qttTVTrzav3nabp72o8vX0jXmOxKrkNOuUtfNGvG7Ur4zYr376vGtvhCF/JRqsohdjanRC/EsV34p+wt6Y9mO9qd++vuT1+VjsZlTyfWFte/TjiLdjGasWWSu0sSvu1dLGl4ko3a1u9x0tmuWnaTFL/AB5TjdlyGZYcgxedd7fT1lRjeV0Mm25JYamZB/8AlWi9UlLV3ChhuFvqOJlLUTrZcrpaKqOV+12i6XO2T6SvqPQPC6ywmHXGA4rg8Nzju/GN2mTbua/mRMoqaOKGKObFItVtm1lxis1hoopvNDjtg4uFfLsFiprdZZNZVSqGCfH7pms565znpHHXOc9I4liOPxRxKU5Yjj+7EpzljHTrKWeuc6rPu9+fc/sd6Xc9f+z1z3fX6Z9bp6/n+HziM91ehzbP2Z55+VrqkxGe6vQ5tn7M88/K11Ub/YLvkrP0JK+l7c1PnNH62DYJ1N9VjrR5f9Ne7rHFgFf+pvqsdaPL/pr3dY4sA5kfR8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZlvFn+kM1J5Mr5775bTSzLeLP9IZqTyZXz33y2x9kfdFxfytv7Ncj7yqe9/wBpPm2r+8dNTABPrhgAAAAAAAARnur0ObZ+zPPPytdUmIz3V6HNs/Znnn5Wuqlf7Bd8lZ+hJc6XtzU+c0frYNgnU31WOtHl/wBNe7rHFgFf+pvqsdaPL/pr3dY4sA5kfR8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZlvFn+kM1J5Mr5775bTSzLeLP9IZqTyZXz33y2x9kfdFxfytv7Ncj7yqe9/2k+bav7x01MAE+uGAAAAAAAABGe6vQ5tn7M88/K11SYjPdXoc2z9meefla6qV/sF3yVn6Elzpe3NT5zR+tg2CdTfVY60eX/TXu6xxYBX/qb6rHWjy/6a93WOLAOZH0fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGZbxZ/pDNSeTK+e++W00ufnbPw2tC9xtj4ltfY+UbpxHNcNwmu17bbjqbZNRgsusxevv3GSTaK7U0q2XGXXRwXaHifInc/q45cP6Zf9YWV4Tfr4vlNPfuhOyvXnOUoV93vyxKqyvHd72Yx64zPGc9c482MtY7ZcHsdpOzPK8Jq3U0bG/VTXVbsd/wAGGa9qi/OZ+HCc+mY1ZxjuwlnvZx183XOM5QsL3q0T4THh9Wao43Z2v7iXLZU23QXCwaRwbsPxkW075LqYI4qCpqLHBY5FNitlrf1c6KnyDMK2x2qsl01XLtM66V8jigmcuvCRwa1+J53c27iFwyrsfqjrVrzTF2zSy4vad55NkmcRZFOzHDsexylyrY1XaKSz1VZU0d3ye4RwWvF8fpp8iz01NS2mfMkXG7cS1V2x17dW7d/q3kK9amGZ5ttxRCNnnxjEaseLmVmZZz0xnGPDxnriU45co7nkt2dPl9Lgs9pOC2eW3tjGvDS1Jbt1mv1jKU7dyWNWNetCuEcylCc/HlHz10zx1zi4A7PfMc9XfbV3M/EJV/DJ8xz1d9tXcz8QlX8Msf6onF/eO/8Ak1/5zZfUB7S/HPB/6t/6m4wjs98xz1d9tXcz8QlX8MnzHPV321dzPxCVfwyeqJxf3jv/AJNf+ceoD2l+OeD/ANW/9TcYR2e+Y56u+2ruZ+ISr+GT5jnq77au5n4hKv4ZPVE4v7x3/wAmv/OPUB7S/HPB/wCrf+puMI7PfMc9XfbV3M/EJV/DJ8xz1d9tXcz8QlX8MnqicX947/5Nf+ceoD2l+OeD/wBW/wDU3GFGe6vQ5tn7M88/K11d6vmOervtq7mfiEq/hl/DdPAm6nXq2XGzXXcHceutd2oau2XKin9g6zmTWUFfTzKWspZ3EONQ88yqinmzJUzjiLjnmCPnjjnjn+rxZ5QuMnXZDGlv4zOEo4znGv0xmUc4x1+3et51XX8gnaSq+m2XMcJmNVtdmcYzv9c4hOMs4x108Y65xjzdc4x1dKOpvqsdaPL/AKa93WOLAPL4PiFm17heIYDjkFRKx7B8XsGIWGXVz4qqrl2bGrTSWW1wVNVHxDFU1EFDRSIZ0+KGGKdM4imc8ccxc8PUIjdVgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKsd0O2Wvuk/XXP+wWw4Z1xpsYpJNuxLD7fM44v+xdhXyZzb8L1/jciGXPn1F2yS8xyZEcynpavm1WmVdL9VU8VvtNbHB7rrnbZCquOZ2WSxCEY+vKUs9MYx/nnP+XwqGzs0aevft7VsKdfWqsvvunnpCuqqOZznLPnz0jHGc+bGc59bGM56YcVPGy0FpnvVvXrb0X1zrHEr13N2BVUWeZfv2Rb5/F66zdWsYukcOT5bmlTZq60xZVJyOsmVlh19g2XVdVZ5t1qrnzbY8ev1/sVzrfS+B34Um6vDW253Ng3FOxPK7Ll9LqGzaX2hilTJ5kZlitDX7LuGWcXCyVfHN/xW6UkyPBorpY62KZQSrhMqIbZdckopFNdl5fDH6lbB09iWwuznZ6ZLvXdnuLeaLZm+LjNg5jh13ZuJEX8P9C4zxNmT+bbjesLBOp7XVUNPOmy4r1DPoea66Wuw4/USupDLbHI206s+Jotxbq4hGFlkusszujbC2ydMs5+wpxKHhVxx9hOvGbcxxOzOcaZxvZfU3uXo7ZchqS1OYldZfqUV4jTjX0LNSzT1qOQqjHOL92VNudvZtlnxqdmUNWFstfVjGYBhm9AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP+JkyXKlxzZscEqVKgimTJkyKGCXLlwQ8xRxxxxc8QwQQQ8cxRRRc8Qww8c8888ccODGl5M3xW+7/Hau8y46/oZ0bzG94j1Qs9TDzHYuwPZO1TeaHMuxcylj45p7riWuZ0uGy6xrYoaiRMu0imvdrqrfcJGYWWZJniWbf2BvfYWCeFV1kv8AW2bbHYqyR5L2a2dY4v1s3rp1Fk1suhze91E6D9MmmzPaMqObhOH22oi4in09xny6rm085Fj17l9UtNag17oDVeBaX1Tj1Liuu9a4zbcUxOxUnH6YaS2W2TxL4nVU+Lj9bX3S4VHM+5Xm61UUyuu93rK26V86fW1c+dHkYf8Axa3i5821twlGn4adWXWNl3w4nf8AZVVdfPirxbMdMyqk1i//APd5T0Hj7LiOGvrt38+vXv8ALV5hdraPX1p0cdnw9zcxjrGW5nU185z4G3UkwBjmzgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAjfcmcVestQ7V2TQUNPdK7Xut85zijttXMmSaW41eJ4xdL9T0NTOk8czpVPVzqCCnnTJXHMyCXMiig4/wDLjhm8xDxifEGy/E8Xyym0503o6fJ8dsuRU9JPv27I51LJvVtprlKp50cuX/4RzZEuphlTI4P/AEijh55h/pzwyHH8VyHKStjoa0tnNOIytxGVce5ieZYjnPiTh165jL1uvredged7T8D2ahrT5zkauPhtythrZsrvs8WVOIZsxjwKrc47mLIZz3u7jPe83XpnpqLGZb52fxDPZJ0y/vm7/wDWfOz+IZ7JOmX983f/AK2T9KXaL4st/O6385rnqqdgPwk1fo3IfVPx/wDPwZaaRmW+dn8Qz2SdMv75u/8A1nzs/iGeyTpl/fN3/wCs9KXaL4st/O63849VTsB+Emr9G5D6p+P/AJ+DLTSMy3zs/iGeyTpl/fN3/wCs+dn8Qz2SdMv75u//AFnpS7RfFlv53W/nHqqdgPwk1fo3IfVPx/8APwZaaRmW+dn8Qz2SdMv75u//AFnzs/iGeyTpl/fN3/6z0pdoviy387rfzj1VOwH4Sav0bkPqn4/+fgy00qmd2+3OC9I+u2Z73zamqb7WW39kxvXWA2vmOPIto7TyTmbRYLrrGqWRKqaypueQ3WH9NVHRUddPtdio7xfYqOop7VPl88SfnZ/EM9knTL++bv8A9amm2ezHdrePaTRHZHZ+I9WcktXWy33i46l0pNvO2petLXtW8zIpUW4r5SxW6dc8hzOy2zimo8T5rK6Xb8WqqGmvFopZF0jramrr63ZHm/FjLZ427FMMZnKEbaO9bmOOsaY5xbnEM2S6RzOXSMI5lLz5xiMsfynlV7H405w4vtDp53b5V0VXWa254Wni2WI2b1sJ60M3R1K8yujrw7077Iwp6QhOdlff/wAM3qRnWiNf5tvbshWScl7q9ub7R7Z7JZNFBLi+TVVPpOeML0pjvME2pl0OIaisNTDj1HbqOqqqGC7fvXi31dRZJFjlUnTVmW+dn8Qz2SdMv75u/wD1rl+Hl4hvYrs72J2Joveuu9K4vKxjS1r2zYr7qa6ZzWTKqZWZzFh9TabvTZhDDDBBBDxxWSJ9Hz/5cxfplzOP0LPk+E5zXhbv7+jOinvQxKffozCvEsxrqrjCu2WYwjju1wjjHSMcYx5sYZbsz2u7FbUtPgOA5mrc2cV2yqq8Lc8fYlCM9na2brrtauNl90s27OxZOWJW2zsl55Szh2eAYFvYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACv/bL1WOy/l/3L7usjY+tKehrUn2ZYF+VbU2C9svVY7L+X/cvu6yNj60p6GtSfZlgX5VtSS/Jx7Py3yWp+nsOdP6QntPsv855X9VopNASq5iAAAAAAAAF0PCY+kL215M7J774lL10PCY+kL215M7J774mpdt/c7t/K6n7TWlPyM++BxXzblP3dsNNACDHaoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACv/AGy9Vjsv5f8Acvu6yNj60p6GtSfZlgX5VtTYL2y9Vjsv5f8Acvu6yNj60p6GtSfZlgX5VtSS/Jx7Py3yWp+nsOdP6QntPsv855X9VopNASq5iAAAAAAAAF0PCY+kL215M7J774lL10PCY+kL215M7J774mpdt/c7t/K6n7TWlPyM++BxXzblP3dsNNACDHaoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACv/bL1WOy/l/3L7usjY+tKehrUn2ZYF+VbU2C9svVY7L+X/cvu6yNj60p6GtSfZlgX5VtSS/Jx7Py3yWp+nsOdP6QntPsv855X9VopNASq5iBUrtBbs6vlZra04jFkWU2aRXX6+57p7Wu5pujdyZ9jFHxZLNKv2A5hRZJg1dVUmv7zkNtuWSY9N2Nrmy3qXdLXTXXK5k793YzkfkdH7Rv9uu2Ba1mXfKbva62o7AQXei29TQVO2tbxa2uWCx49rrJsutma5faM4qset+Xz5E7YE2/ZVV5nY+Meu1TkdyufN0vd4xNvLQ17tqGzRZTTRHM6r/7WNiEbOOonOuvOI2Srjs8jGjN9OL9aq3Xup279XZs09fazUOFst0Nbcpvrss2PHlnW+xxKquinkdiUpSxOUozzVxl8o121VeNiyvOpLa8Le9BXjHLe39vt933Bq3Ytuo9M26w4D1G0x2mz233GwZfV3PKIswkbNuOY4Lh8+Rn9DT4rBV2vA4fkrlV4kZhBYrnFDR3aw5NJvEFXY5Pndktt0+a5fe58nWMnT+E9ldbaAqbBDaL/U7MyGRtiwapgsuR02RwZtLxzHa7Gcs2pbptwsNbh15mZPjNDWx0NZj1VDQ1Vzv/AERH0RnW8O3FmLcVZzmvPdjiXJU8PVbPz96FN3KXx065zjHPmztzjDj817k7vc7J8ro2203+hfEqlOrMYXZl39mGjpcl6Fqz4eI23y1OS0bI9zOasS2Y1ytjOu+NV+RzGvPbveWOayrds3C0aqrrHsXQm69y6dx6msmYWu+4RW6xtdLkGP47syouWXRx5/TZJYbpRzr5cscsmsJ2K3qhqLJDQXqTdaa826ZtUV+9ee0+f2XZGxMPv9go+u+oL/Fi2KYPl2LWigvuRbD3TTU9daZF625nVvo7jJt9ijtmU3WG2x1OYSqfGYpXydp8b5o7rb6fIVbuaPBqvxi7H2zNkI151ZS093drrvjKfXNtlWniWa6PGlVDa1LLvDrvjI2ey+7paW/u7WxqVw0oX5hCMrrJ7VmnynC8Tu11YjT9r9C7fOa9U53+Hiyyu3FHiU48fF0wF+1oXQ8Jj6QvbXkzsnvviUvXQ8Jj6QvbXkzsnvvial239zu38rqftNaU/Iz74HFfNuU/d2w00AIMdqgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAK/9svVY7L+X/cvu6yNj60p6GtSfZlgX5VtTYL2y9Vjsv5f9y+7rI2PrSnoa1J9mWBflW1JL8nHs/LfJan6ew50/pCe0+y/znlf1Wik0BKrmJHmw9WYXtGjttLltLfIJ9lqptZZb9iWZZnrrMLJOqZPNNXQ2XONd5Bi2Y2imudL+iku9Fbr7TUd3pIYKW5yKuRBBLh8FP6u6Qn2LEse4xO50tLhN+vWTWW52zO9hWjLKm95R+v+WFblOc2vK6PNM64ziKpmx57TZvf8ho87m/q5uX096mSJEcuwAtZ6OlZm+Vmnq2S2cwzs5nr0yzsZr8HuZvzKGc25h6H1+5mzvd3wKenTwod28q5HkKK66qN/cpqplOdVdW1fXXVOyu2qc64QniMJTqvvrnKOMZlXdbDOcxsniVPqTpPpyTmMq8T6G4x4VZtY6g1dieuaHJc8s1mt+Paiu2c3OhteXT7bmkiTtPFLxDlttp63CdiWy/Y9MixyXUXSReo7jHBSeuxvq9r+0bOzTbF4/eGQZJk2yIdjWyj5vOWWvFrNcqfC8Yw62VFywamymbgeW5PZJOPTqqxZve8XiyKxy7hLorPPoIbdIqJlkxU9Da/i+PminN2J224szVCUsX3X6+xZs4zmOem3K7Vol6Lx02cYh3I24hOyMq+xzXLbfi+iOR27fG16dW3Erp4xZrUatenCieI5xjNU9eqEb4Zx02px8bZxdfmVma5SOpegJHy5ghwWfNpthY3leH3y3VeZZ7XWi14rnVbMuWaY9gNmrcon2rVVoyu5TILlkNDrCjw+nu9wpbfXV0E+qtlum0srQa6xKVsGLaMmgrpGazMPpcDqbjT5BkUi3V+LW+61t7tlBc8Zk3aDF7pVWm5XO6z7RebjZqq92mXd7vS2240tJdbhIqfbj9q16KK9emimqmnUxPGrVVXCuvWxON8J414QjiNOJw2dmM8V4j3o7F8c9cW2YlRu5Lkdjv42N/dvxbGcbcXbV9viRszqZsjPv2S78bM6GjmeJdcSzpamZdc61PcAKqyF0PCY+kL215M7J774lL10PCY+kL215M7J774mpdt/c7t/K6n7TWlPyM++BxXzblP3dsNNACDHaoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACv/AGy9Vjsv5f8Acvu6yNj60p6GtSfZlgX5VtTYL2y9Vjsv5f8Acvu6yNj60p6GtSfZlgX5VtSS/Jx7Py3yWp+nsOdP6QntPsv855X9VopNASq5iAAAAAAAAF0PCY+kL215M7J774lL10PCY+kL215M7J774mpdt/c7t/K6n7TWlPyM++BxXzblP3dsNNACDHaoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACv/bL1WOy/l/3L7usjY+tKehrUn2ZYF+VbU2C9svVY7L+X/cvu6yNiz03uPUVNqHVVNU7U1xT1FPrfBpFRTz84xiVOkTpWMWuXNkzpUy6QxypsqZDFBMlxwwxwRw8wxccc8c8JJ8nU4Qu5XvzjDrVqdO9LEevSd/Xp1zjr0c8f0gKbrtTsx4VVlvd2eU73hwlPp1q0enXu4z069M9Ovr9MrKCM/406c9rOs/88xb/AKp/GnTntZ1n/nmLf9VKXj0fdqvzkP8AtzP6C3PvTZ/MW/wJMEZ/xp057WdZ/wCeYt/1T+NOnPazrP8AzzFv+qePR92q/OQ/7PQW596bP5i3+BJgjP8AjTpz2s6z/wA8xb/qn8adOe1nWf8AnmLf9U8ej7tV+ch/2egtz702fzFv8CTBGf8AGnTntZ1n/nmLf9U/jTpz2s6z/wA8xb/qnj0fdqvzkP8As9Bbn3ps/mLf4EmCM/406c9rOs/88xb/AKr5/GvTXPPPHG2tZc88f/fHy8xX9PH/AO/68fvX+n9OeOf/AOnj0fdqvzkP+z0Hufeuz+Yt/gSauh4TH0he2vJnZPffE5x/xp057WdZ/wCeYt/1V+/B3y7E8u8QTcdTimT49k9PR9OLFIq5+PXq23qTSzpm7I5kEmom22pqYJE2OD/3glzYoY4oP/bjjnj+rU+21tUuz23GNlcs5t1emIzjnOemzX182M5ylDyOa2zX2+4udmvfXDGtyfWU6rIxx14/YxjrKUcYx1z5sefz5aiQEIOzwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH89XSUlfS1NBX01PW0NbTzqSso6uTLqaWrpKmXFJqKapp50McmfTz5MccqdJmwRy5suOKCOGKGLnjmB/5TerH1aOv/3Na6+HFgAFf/5TerH1aOv/ANzWuvhw/lN6sfVo6/8A3Na6+HFgAFf/AOU3qx9Wjr/9zWuvhw/lN6sfVo6//c1rr4cWAAV//lN6sfVo6/8A3Na6+HD+U3qx9Wjr/wDc1rr4cWAAV/8A5TerH1aOv/3Na6+HD+U3qx9Wjr/9zWuvhxYABX/+U3qx9Wjr/wDc1rr4cYwP/kSY5P6S99OuO9+uGJ4JrKjy3QkFtqrDa9d4pW6+yDJsJzzK+btFk2v7vjdZr7IpVVYsmxOTUUFxttwgjmWmhuE+hpayTSV9Vu/csfEO8KXTPiS7H6yZNu3J8itWE9fp2yZ99w3EpVPbbptCnzidr+ooLBdMv5jir7BYbXPwus4reLZSzbvU0uQXGTZbnjtdO5u0GV4bao096Nu1jEtaVV1d0cw8TE4yrlmMcwzjOJd6yMMdM/Y4znGZZxjGc41Dtzw/Jc12ft1OHnmrla9zQ2dG6N+dWVNtW3Viy7GxHOJVeFrTvszmHWzOI5hXGU5Rjnmv4M/dnTXiP0l2wbZfhr6uxnNMGtMc7J93a/0PgFX1+uFZTy6WKTbLvW3i0w3HCM1vUFVDOtGJU1Xl/F3kUV3u0uqstBS/scrRdg+m9Q6yq66v1tqrW+va66U8ukuVZg+DYxidXcaSTM5nSaauqLDa6CdV08qdzzNlyaiOZLgmc8xww8Rf1cSun8U7wrO5Ff4c2W1NXL6h9obxku0+gOa3efPnUuE5xUz4rhs3q9e75XzJk2orZVVPp71gc6vrJtXcua2hlTqy75PnEyjtff1T5SFEdrNmrTinVvhC3X7spSjOuWPPL7LzxlGeJV2V9c4rshKGM5xjEs1+yN+/PiI6/L7s93mNC+3S5OVlNVNlOxV3cxrzir7G6qdEqtjW284xLb17qticYSnKEQDHNoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUu789N8X7xdc8m07dLpMxDOLfW2/PNJ7QoOZ0m+6m3LiUcyvwbOrNW0nMFwpf2Ou5jtt74t82RXVeOXO70lFU0ldOpa2mijwze4uU9mtU5Trje1rl4d3H6uZJDpztJgcz9RJm/K+1Spkmy7Mssmn4lyKjDdqW2im5FZLhQSoLTHcIL3R2eKptFHbrhXdKHEbxJNY5v1W3Bhni19ccbuF9yXUlmlYR3X1Zj3HEqbvTqlHMlc3XIv2aDmCTV55pf9RS5JZrnU/8AhF+4bXTzLrX82HDpdor8hq5xs150LM4xKUs2aU5Z6Yr2JYxiVOc582K9rEYw+CN0ap5ziPiZzrXL1z4vah2i1oSlXXVHW53XrjmUtjjISzKG7GEcZzPa4iU7L44jGU7tGzcojidvobEO3I8LrHZeD7l13hW1taZFQZbgGwsatOW4jkdsmcx0d2sV7o5VbQ1MMMfEE6nncSpvEqroqqXJraCslz6GtkSKunnSZfulhnGY5zGWM4ljOcZxnGcZxnGemcZxnz4zjPmzjPnxlscJwthCyucbK7IxnXOEsShOE8YlGcJRznEoyjnGYyxnOM4zjOM9MgD8egAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB/hVUtLXUtTRVtNIrKKskTqWrpKqTLqKWqpaiXFJqKapp50McqfInyo45U6TNgilzZcUUEcMUMXPHP+4Hr+u4NdZ59V4Wfc2b0SyiqnSOlvbrIsn2H0UyW4VEyK26k21W1MFz2P1Vra2pj5l0Vru1ZWw5HqyTNmSYauqr5drp5l/yjJb5Nt3eVULvN1Bwzu91zzHR2U1s7HL3Ux0eV6t2JbuJkF/1VtvGIpldgmw8fqqabT11LW2S6c/qbhBb6yhq7lj1derNBW0sNyjnQQn4avbrM+weusy032HoqXFu6fVHIZOpezmGw/q5XFyvFLIj5xHb+Oy5cuRKrMK29j9PLye0XKipaa2TLjFd5Nrp4bLBaKmtyF//ANdPoyPnvr7te7HHryznpGrb6fBb5q78/wB1+IzlnrsYxjWeO/8Axd/+o59ccfteLscDZn+zViPWzb4XOc+tnVxmWzx0P/64/NtFccQ42UpdKQGPbMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM4/iz7X31aO5upNYa47Ebq0zhU7rFfM8uVn1NllNi0u9ZRDtWDHpNzu8ybabnMqo6e0880siDjmVBBDzzF+jmL+rRwzLeLP9IZqTyZXz33y2e7M0U7XO8fRsVQupsssxZVZHEoTxii2WMSjnzZxiWMZ8/wDfjDSPKPvbnG9iee3tDZu09zX19eVGzrzlVdVKW9qwlmE45xKOcwnKOemfPGWcetlTH5a9o/r19zfveo/hRFtLg2yKHb9y39Q9qu0tBue9YbI19e9k0OyrXRZXfMMpa6muVJj17ulNiUqfeLfR1tFRzqOXcuarmk/ZKWXTRSpdPJgglETXHgOFh3u5xelHvxzCXdohHvQz06xl0xjrHPTHWOeuM9MdceZxxZ247YXeH43aTl7fBtjdV4m7bZ4V0MZxC2vvSz3LIYznuzj0lHrLpnHXPX78te0f16+5v3vUfwofLXtH9evub971H8KPg8+l3gvinQ+jV/wqnp/7bfhTzn+4bH8f4v8An4cvvy17R/Xr7m/e9R/Ch8te0f16+5v3vUfwo+B6XeC+KdD6NX/Cen/tt+FPOf7hsfx/i/5+HL78te0f16+5v3vUfwofLXtH9evub971H8KPgel3gvinQ+jV/wAJ6f8Att+FPOf7hsfx/i/5+HL78te0f16+5v3vUfwofLXtH9evub971H8KPgel3gvinQ+jV/wnp/7bfhTzn+4bH8f4v+fhy+/LXtH9evub971H8KPF7I2j2yxjXee5Lau9vciC6Y9heU3y2xT9tUU6TDX2mx11fRxTpPOK8cTZXFRTy+ZkvnnjiODjmHnnjjn9L2aM91ehzbP2Z55+Vrqp3dnuDxTbnHE6GM4rnnGca1fXGcRznGcfY+vjK41O3vbSe1rQl2o5uUZbFMZRzyGxnEo5shjOM47/AJ8Zx5s/D1z8OWxzrfkF5yzrvoXKcjuNRd8hyXS+rcgv12q4oYqu6Xm84PYrjdLjUxQQwQxVFbXVM+pnRQwQw8zJsXPEMPH6OOJoV/6m+qx1o8v+mvd1jiwDnx3kAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMy3iz/SGak8mV8998tppZlvFn+kM1J5Mr5775bY+yPui4v5W39muR95VPe/7SfNtX946amACfXDAAAAAAAAAjPdXoc2z9meefla6pMRnur0ObZ+zPPPytdVK/wBgu+Ss/QkudL25qfOaP1sGwTqb6rHWjy/6a93WOLAK/wDU31WOtHl/017uscWAcyPo+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMy3iz/SGak8mV8998tppZlvFn+kM1J5Mr5775bY+yPui4v5W39muR95VPe/7SfNtX946amACfXDAD8PJsoxrC7DdMqzHIrFieMWSlirb1keTXagsNhtFHDFDBFV3S8XSopbfb6WGOOCCKoq6iTK4ijhh5j45i4458WWQqhO22cK6q4SssssliEK4QxmU5znLOIxhGOMylKWcYjjGc5zjGHqEJ2zhXXCVllkowrrhHM5znPOIwhCMcZlKUpZxGMY4zmWc4xjGc5fuCJZm/dEysAkbXm7q1LK1bU13NrptlTNj4dBgFRc4audQRW6RmMV54x2bXQ11PUUXNJLuMVRxVyJ1PzL/XSo4If07DuLUeVYnBn2MbT1xkeCzLvSY/LzSw5xjN4xOO/3C6UNjoLHBkdvulRZ4rvW3q5220UlthrOa2pulwobfJkR1dXTyZnmN9E5ShC6qU4QhZOMbISlCu3FUq5yjiWcxhZi6nMJZxiM8W1ZjnOLI9a8tLcjiMpamzGMtiWpGUqLcYltxzLEtaOcw6Z2I5hPEqcfbMZjLGY9Y56SOPxciyTHcQsd1yfLb9ZcXxqx0c643vIciulDZLHZ7fTw/wDlUV91u1zn01Bb6ORD/wC06qq6iTIlQ/1jjh4/q/OwvO8H2Tj1Jluu8yxTPsUr5tVJocmwvIrRlOPVs6hqZlHWyaS9WOsr7bUTaOrkzqWqlyamOOnqZUyRO4gmwRQ8esWQzZKrE4ZtjXi2VWJYzZGqU/DxbKHXvYrzP7DE847uZ/Y4z18yl4Nvg+iPCs8DxfB8fuS8Hxu5mzwfE6dzxfDxmfh97v8AcxmXTu+d6sB7UxGe6vQ5tn7M88/K11SYjPdXoc2z9meefla6qV/sF3yVn6Elzpe3NT5zR+tg2CdTfVY60eX/AE17uscWAV/6m+qx1o8v+mvd1jiwDmR9HwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmW8Wf6QzUnkyvnvvltNLMt4s/0hmpPJlfPffLbH2R90XF/K2/s1yPvKp73/aT5tq/vHTUwAT64YFXe2dFjNTr/ABqtyfLrxrSVj2w8fyex7Zp7Tjd7xDVWV2G33uvxnM9qW3K5kFnna1l3aVT2K+zp0VJNo62+WmskX/DZsiHNcdtELbb187NPh4zCM42619U7I2zxVfq7FW1RdHwL9a6NtN1MLaLa76503QrtjLOYdM3ejteg9mGx3PExGN0JQ6wx3oX02UTjnFtV9M45hZLEqr6L9e2PWq+m2mc65cfLls7CuaaLZ+RZtpe7Y/T9wevVxy7sprmK64Lo3YUVDi0ygmXCT8qti7DxOku+C0cigxHK8lx/YF7tlwmUlqt12rKC92SusNn+dhM91/lvO9txYBkmLXTS0qv6I0WUbZsWSW2r1tf86xPtRbrjkVVLyWlqI8XuVVg+CVmL0uUZNRXGok2+kn26w3eskzcd/ZKHsIMPVwdlULoY26+k+XlzVWMama4w2rOB4zgrKro17UY7Ot4fHz2642YxfjZtptu2Ni/WlfsbJq9p9fV5DV38cbdZOiHGa9kLORj0np8bz1XP4hRmGhGOtfbdTDVjPFdmlrauZVa/HQjGmNNCt1bb1BsOVobZ2ObFwLZ2idYdgaG6bkyPBsyxvM8NwufT68zSXguT59V4/UXi30VhwvYt3wXJbjW3OroKTDqj9x7Au8+itGOT7nRzxp3NNMbFyjZ2aaam0uSUt2q8UkZZs7Fa39562z7IbZZp1FTw4zfaG5VON5VfsWsUu1WPLMjx+lnS5UMuw4hc79X3LEZ9kxmfRmaqbK52ZnOmULLZbGcQ1/Dn6JnraWrOzxPFniUZVaccZ70M35j4NctjNWtXXnD7HI0XaletVr7dMqNbOlVL+sO/VLUzyV3KdNnXxq14uv8AHvlHM4Tp18wq1p+hcbFWb5gFwxAjPdXoc2z9meefla6pMRnur0ObZ+zPPPytdVK/2C75Kz9CS50vbmp85o/WwbBOpvqsdaPL/pr3dY4sAr/1N9VjrR5f9Ne7rHFgHMj6PgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADMt4s/0hmpPJlfPffLaaWZbxZ/pDNSeTK+e++W2Psj7ouL+Vt/ZrkfeVT3v+0nzbV/eOmpgAn1wwAAAAAAAAIz3V6HNs/Znnn5WuqTEZ7q9Dm2fszzz8rXVSv8AYLvkrP0JLnS9uanzmj9bBsE6m+qx1o8v+mvd1jiwCv8A1N9VjrR5f9Ne7rHFgHMj6PgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADMt4s/0hmpPJlfPffLaaWZbxZ/pDNSeTK+e++W2Psj7ouL+Vt/ZrkfeVT3v+0nzbV/eOmpgAn1wwAAAAAAAAIz3V6HNs/Znnn5WuqTEZ7q9Dm2fszzz8rXVSv9gu+Ss/QkudL25qfOaP1sGwTqb6rHWjy/6a93WOLAK/8AU31WOtHl/wBNe7rHFgHMj6PgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADOP4s2qN9XjubqTZ+uOvG6dzYVJ6xXvA7leNTYnT5TLsuURbVgyGVbLtLm3a2zKWOotPHNVIj44mwRw8cw/p4i/o0cC84/eu43co3tfEM3a8pSrxZHModZQlDPejiUc5x3Z59aWPP0yxPO8Lp9oeJ3OG383R1N6EK7s68413YjXdXfHuTlCyMc9+qPXrCXWPXHTz9cYyfkT2i+ot3M+6Ck+KT5E9ovqLdzPugpPils2G1+n/nf8Gh9Hs+sIv9QrsV925z6fr/AFFjJ+RPaL6i3cz7oKT4pPkT2i+ot3M+6Ck+KWzYPT/zv+DQ+j2fWD1CuxX3bnPp+v8AUWMn5E9ovqLdzPugpPik+RPaL6i3cz7oKT4pbNg9P/O/4ND6PZ9YPUK7Ffduc+n6/wBRYyfkT2i+ot3M+6Ck+KT5E9ovqLdzPugpPils2D0/87/g0Po9n1g9QrsV925z6fr/AFFjJ+RPaL6i3cz7oKT4pPkT2i+ot3M+6Ck+KWzYPT/zv+DQ+j2fWD1CuxX3bnPp+v8AUWMn5E9ovqLdzPugpPil4vZOre2OT67z3GrV0U7jx3TIcLymx22CfqWjkyYq+7WOvoKOGdOiynniVKiqKiXxMmc8c8S4OeYueOeOG2oeZ9vecnGUMw0Oko5jnpr2deksZxnp9v8AX6Ze6/Id2LqsrtjbzfernGyPXe18470JYljrj0DjrjrjHXz48396F+t+P3nE+u+hcWyO3VFoyHGtL6tx+/Wmrhhhq7XebNg9it10t1TDBFHDDUUVdTT6adDDHFDxMlRccRRcfo55mgGlJjAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAf/2Q==';
+
+ diagramInstance.exportImage(base64, exportOptions);
+ };
+
+ return (
+ // Initialize Diagram component
+
+ Export Diagram
+ (diagramInstance = diagram)}
+ width={'100%'}
+ height={'600px'}
+ nodes={nodes}
+ >
+
+
+
+ );
+};
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/export/export-cs5/app/index.tsx b/ej2-react/code-snippet/diagram/export/export-cs5/app/index.tsx
new file mode 100644
index 000000000..788a96425
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/export/export-cs5/app/index.tsx
@@ -0,0 +1,45 @@
+
+import * as React from "react";
+import * as ReactDOM from "react-dom/client";
+import { DiagramComponent, Inject, IExportOptions, NodeModel, Rect,
+ PrintAndExport } from "@syncfusion/ej2-react-diagrams";
+
+export default function App() {
+ let diagramInstance: DiagramComponent;
+
+ let nodes: NodeModel[] = [];
+
+ //Function to print the diagram objects.
+ function handleExport() {
+ let exportOptions: IExportOptions = {};
+ exportOptions.pageWidth = 1000;
+ exportOptions.pageHeight = 800;
+ exportOptions.bounds = new Rect(0, 0, 800, 800);
+ //Base64 data
+ let base64 =
+ 'data:image/png;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADb/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/wAARCAKrB4ADASIAAhEBAxEB/8QAHgABAAMBAQEBAQEBAAAAAAAAAAcICgkGAQUEAwL/xAA9EAEAAAYCAAIFCAsAAgIDAAAAAgMEBQYHAQgJeDc4V7fWFhk5WHeXmLYRExQVFxghlZbT1RIiCjEkQYH/xAAdAQEAAQUBAQEAAAAAAAAAAAAABwMEBQYIAgkB/8QASREBAAICAQEDAg4OCwEBAQAAAAIDAQQFEQYSEwchFBYXMTM0NjdRVXN0lNQiI1NUVmGRk7KztLXS0wgVMkFScZKVsdHwJCVC/9oADAMBAAIRAxEAPwDfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA599s/Em0L052PiWqNj4vurLs1zLCa7YVtt2ptbVOdS6PF6C/Q43OrbvUyrnb5dBHHdouJEiTz+sjmQ/pmf0hdBGZbxZ/pDNSeTK+e++WyvCaFfKcpp6F05117E5xlOvu9+OI1WWY7vexKPXOYYxnrjPmzlrHbLnNjs32Z5Xm9Wmm/Y0KqbK6djv+DPNm1RRnE/DnCfTEbZZx3ZY+yxjr1x1xm53z4/Vz2K9zfw9VnxMfPj9XPYr3N/D1WfEzjEJK9Tvi/v7f/Lr/wAlzt6v/aT4l4P8m/8AXP8AP/2PP2d+fH6uexXub+Hqs+Jj58fq57Fe5v4eqz4mcYg9Tvi/v7f/AC6/8k9X/tJ8S8H+Tf8Arn+f/sefs78+P1c9ivc38PVZ8THz4/Vz2K9zfw9VnxM4xB6nfF/f2/8Al1/5J6v/AGk+JeD/ACb/ANc/z/8AY8/Z358fq57Fe5v4eqz4mPnx+rnsV7m/h6rPiZxiD1O+L+/t/wDLr/yT1f8AtJ8S8H+Tf+uf5/8Asefs78+P1c9ivc38PVZ8THz4/Vz2K9zfw9VnxM4xB6nfF/f2/wDl1/5J6v8A2k+JeD/Jv/XP8/8A2PP2d+fH6uexXub+Hqs+Jn8N08drqbZbbcbxddP9yKG12mhq7ncq2f17rYZNHQUFPMqqyqnc8ZLzzxKp6eVMmzOeOOeeIIOeeOOef6OOCM91ehzbP2Z55+Vrq8WeT3jIV2Txu7+cwhKWMZzr9M5jHOcdftPreZWo8vfaO2+mqXDcJjFttdec4xv9cYnOMc5x12+nXGM56dev93wefa5g+X2bYWF4hn2OR1E3Hs4xewZfYZlXIipauZZsltNJerXHU0sfMUVNUR0NbIinSIooopMzmKXzzzzDzy9Qr/1N9VjrR5f9Ne7rHFgERuqgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmW8Wf6QzUnkyvnvvltNLMt4s/wBIZqTyZXz33y2x9kfdFxfytv7Ncj7yqe9/2k+bav7x01MAE+uGAAAAAAAABGe6vQ5tn7M88/K11SYjPdXoc2z9meefla6qV/sF3yVn6Elzpe3NT5zR+tg2CdTfVY60eX/TXu6xxYBX/qb6rHWjy/6a93WOLAOZH0fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGZbxZ/pDNSeTK+e++W00sy3iz/SGak8mV8998tsfZH3RcX8rb+zXI+8qnvf8AaT5tq/vHTUwAT64YAAAAAAAAEZ7q9Dm2fszzz8rXVJiM91ehzbP2Z55+VrqpX+wXfJWfoSXOl7c1PnNH62DYJ1N9VjrR5f8ATXu6xxYBX/qb6rHWjy/6a93WOLAOZH0fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGZbxZ/pDNSeTK+e++W00sy3iz/SGak8mV8998tsfZH3RcX8rb+zXI+8qnvf9pPm2r+8dNTABPrhh/DdLnQ2W2XG8XSplUVstNDV3O41k+LiCTSUNBTzKqrqZ0fP9IZUinlTJsyLn+kMEHPPP/wBKi4n2gutm1VsPYO78PrseuWCScXzCdjOH2uO43udrnZtNbbngkyVZp1+uFVX5FZptfdcGyqGTU0nF3yzCMjuGPWent9dabdzPG5dcztt64yLW/F+5x23ZdxbLTktXDbornHccNmXegm5njMuTDcrX+z85fi8q7YtFcuZ8+G1y7xHcObfcv2b9hn19yDpTr2lus+dpehwDQ2N5Bi3GO5/iOAaoxu0WrNa21ZvhuZ4bktdxjVZicuXesS+T+S2Skn1tNdv2i2ZvcoYeaOOjl8VOK2/6zxPclqQxmOeO2KdPObK8Zhu5o2diN2abPtdmbNmjjtPXtssrjrQu5CVuvfVdC3Xz/HY4T0JiG/b02Ld6qyzGde/7Vqatmr3oQ3KZTlVnc1tjko5qxp7eJ7Ovx8526cITnZ7y0dk/3zYcxqqXR29Ic6wjN7RgN21F+5df1ecTbtfbDZsqtlxkX617IuGoqTGJ2N3qTdp2TXvaFos9FHTVNkrqqmyWZQWSu8FS9v6Cuv8AidXDh+S27Drnj2dS8vs1ztVqmbBwjNsK3xgWjbzTXmO15hcMSmY7id3yW+3DLK7H7lk0E61Wj9745cLnJlcUVw/q3F1Nj2nFm0+DLcVihy3a2D7Pm4psTWfOydYXaDDdcU2veMR2NgfGbYlxsGwVEyRLzK2yor5j3Fly+14zdP1NwisMMNb4yx9Q6TUOA32gskibsi30euewuG23WGE4vhuuIrpT722Pb9g82jG5lwyuyYVidFisymnWO003MduoZNr5pqqnmU1TbpdDcKGvscvCy63d1JYq1KuSnVivNN8d30NxE46OM6+vZ6JzbvchZLNlUJRxidVXhegowxLYyvgdk56ur4WzjO/ubnF4u1sw26a9KjZlLPK1Y3NucNbwtOdevHRsnZGcKb9rO3ubuPDs1puynsjarJdqnHca1ns/ZuTSsoynG6HH8Hla8p6y9U+DWPGbtmuTWiuzzYmD2KoseMXPK7Zh9fSTrvTZVV5XJudHZsaultt1TdYPzL52Vt2PXm8WmXiub5pfKvJcBxTCNe47jFhxnMrxe8y15dNjzbbMuWxti4tjcqptuL2G/wB8uvGWztcxWeG0VOPSJWQX+db5VfHd86l5Hkui9Watu2TalyO7Y1SXG77H43Nomy7wwjN9lZXDUXfLtl2+wxZHre8Y3nUGYXfKbpjuQWvIae101BleQUd1xS6Tp9nqrD6HLOq9wvNiyuy27N8VyCkymfrKG6WbfGp7bvbEMqt2uMNl4pLpdk2K7ZRjNzy6uuFfT0ObU98s+S4ZdLfl9qttTVTrzav3nabp72o8vX0jXmOxKrkNOuUtfNGvG7Ur4zYr376vGtvhCF/JRqsohdjanRC/EsV34p+wt6Y9mO9qd++vuT1+VjsZlTyfWFte/TjiLdjGasWWSu0sSvu1dLGl4ko3a1u9x0tmuWnaTFL/AB5TjdlyGZYcgxedd7fT1lRjeV0Mm25JYamZB/8AlWi9UlLV3ChhuFvqOJlLUTrZcrpaKqOV+12i6XO2T6SvqPQPC6ywmHXGA4rg8Nzju/GN2mTbua/mRMoqaOKGKObFItVtm1lxis1hoopvNDjtg4uFfLsFiprdZZNZVSqGCfH7pms565znpHHXOc9I4liOPxRxKU5Yjj+7EpzljHTrKWeuc6rPu9+fc/sd6Xc9f+z1z3fX6Z9bp6/n+HziM91ehzbP2Z55+VrqkxGe6vQ5tn7M88/K11Ub/YLvkrP0JK+l7c1PnNH62DYJ1N9VjrR5f9Ne7rHFgFf+pvqsdaPL/pr3dY4sA5kfR8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZlvFn+kM1J5Mr5775bTSzLeLP9IZqTyZXz33y2x9kfdFxfytv7Ncj7yqe9/wBpPm2r+8dNTABPrhgAAAAAAAARnur0ObZ+zPPPytdUmIz3V6HNs/Znnn5Wuqlf7Bd8lZ+hJc6XtzU+c0frYNgnU31WOtHl/wBNe7rHFgFf+pvqsdaPL/pr3dY4sA5kfR8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZlvFn+kM1J5Mr5775bTSzLeLP9IZqTyZXz33y2x9kfdFxfytv7Ncj7yqe9/2k+bav7x01MAE+uGAAAAAAAABGe6vQ5tn7M88/K11SYjPdXoc2z9meefla6qV/sF3yVn6Elzpe3NT5zR+tg2CdTfVY60eX/TXu6xxYBX/qb6rHWjy/6a93WOLAOZH0fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGZbxZ/pDNSeTK+e++W00ufnbPw2tC9xtj4ltfY+UbpxHNcNwmu17bbjqbZNRgsusxevv3GSTaK7U0q2XGXXRwXaHifInc/q45cP6Zf9YWV4Tfr4vlNPfuhOyvXnOUoV93vyxKqyvHd72Yx64zPGc9c482MtY7ZcHsdpOzPK8Jq3U0bG/VTXVbsd/wAGGa9qi/OZ+HCc+mY1ZxjuwlnvZx183XOM5QsL3q0T4THh9Wao43Z2v7iXLZU23QXCwaRwbsPxkW075LqYI4qCpqLHBY5FNitlrf1c6KnyDMK2x2qsl01XLtM66V8jigmcuvCRwa1+J53c27iFwyrsfqjrVrzTF2zSy4vad55NkmcRZFOzHDsexylyrY1XaKSz1VZU0d3ye4RwWvF8fpp8iz01NS2mfMkXG7cS1V2x17dW7d/q3kK9amGZ5ttxRCNnnxjEaseLmVmZZz0xnGPDxnriU45co7nkt2dPl9Lgs9pOC2eW3tjGvDS1Jbt1mv1jKU7dyWNWNetCuEcylCc/HlHz10zx1zi4A7PfMc9XfbV3M/EJV/DJ8xz1d9tXcz8QlX8Msf6onF/eO/8Ak1/5zZfUB7S/HPB/6t/6m4wjs98xz1d9tXcz8QlX8MnzHPV321dzPxCVfwyeqJxf3jv/AJNf+ceoD2l+OeD/ANW/9TcYR2e+Y56u+2ruZ+ISr+GT5jnq77au5n4hKv4ZPVE4v7x3/wAmv/OPUB7S/HPB/wCrf+puMI7PfMc9XfbV3M/EJV/DJ8xz1d9tXcz8QlX8MnqicX947/5Nf+ceoD2l+OeD/wBW/wDU3GFGe6vQ5tn7M88/K11d6vmOervtq7mfiEq/hl/DdPAm6nXq2XGzXXcHceutd2oau2XKin9g6zmTWUFfTzKWspZ3EONQ88yqinmzJUzjiLjnmCPnjjnjn+rxZ5QuMnXZDGlv4zOEo4znGv0xmUc4x1+3et51XX8gnaSq+m2XMcJmNVtdmcYzv9c4hOMs4x108Y65xjzdc4x1dKOpvqsdaPL/AKa93WOLAPL4PiFm17heIYDjkFRKx7B8XsGIWGXVz4qqrl2bGrTSWW1wVNVHxDFU1EFDRSIZ0+KGGKdM4imc8ccxc8PUIjdVgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKsd0O2Wvuk/XXP+wWw4Z1xpsYpJNuxLD7fM44v+xdhXyZzb8L1/jciGXPn1F2yS8xyZEcynpavm1WmVdL9VU8VvtNbHB7rrnbZCquOZ2WSxCEY+vKUs9MYx/nnP+XwqGzs0aevft7VsKdfWqsvvunnpCuqqOZznLPnz0jHGc+bGc59bGM56YcVPGy0FpnvVvXrb0X1zrHEr13N2BVUWeZfv2Rb5/F66zdWsYukcOT5bmlTZq60xZVJyOsmVlh19g2XVdVZ5t1qrnzbY8ev1/sVzrfS+B34Um6vDW253Ng3FOxPK7Ll9LqGzaX2hilTJ5kZlitDX7LuGWcXCyVfHN/xW6UkyPBorpY62KZQSrhMqIbZdckopFNdl5fDH6lbB09iWwuznZ6ZLvXdnuLeaLZm+LjNg5jh13ZuJEX8P9C4zxNmT+bbjesLBOp7XVUNPOmy4r1DPoea66Wuw4/USupDLbHI206s+Jotxbq4hGFlkusszujbC2ydMs5+wpxKHhVxx9hOvGbcxxOzOcaZxvZfU3uXo7ZchqS1OYldZfqUV4jTjX0LNSzT1qOQqjHOL92VNudvZtlnxqdmUNWFstfVjGYBhm9AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP+JkyXKlxzZscEqVKgimTJkyKGCXLlwQ8xRxxxxc8QwQQQ8cxRRRc8Qww8c8888ccODGl5M3xW+7/Hau8y46/oZ0bzG94j1Qs9TDzHYuwPZO1TeaHMuxcylj45p7riWuZ0uGy6xrYoaiRMu0imvdrqrfcJGYWWZJniWbf2BvfYWCeFV1kv8AW2bbHYqyR5L2a2dY4v1s3rp1Fk1suhze91E6D9MmmzPaMqObhOH22oi4in09xny6rm085Fj17l9UtNag17oDVeBaX1Tj1Liuu9a4zbcUxOxUnH6YaS2W2TxL4nVU+Lj9bX3S4VHM+5Xm61UUyuu93rK26V86fW1c+dHkYf8Axa3i5821twlGn4adWXWNl3w4nf8AZVVdfPirxbMdMyqk1i//APd5T0Hj7LiOGvrt38+vXv8ALV5hdraPX1p0cdnw9zcxjrGW5nU185z4G3UkwBjmzgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAjfcmcVestQ7V2TQUNPdK7Xut85zijttXMmSaW41eJ4xdL9T0NTOk8czpVPVzqCCnnTJXHMyCXMiig4/wDLjhm8xDxifEGy/E8Xyym0503o6fJ8dsuRU9JPv27I51LJvVtprlKp50cuX/4RzZEuphlTI4P/AEijh55h/pzwyHH8VyHKStjoa0tnNOIytxGVce5ieZYjnPiTh165jL1uvredged7T8D2ahrT5zkauPhtythrZsrvs8WVOIZsxjwKrc47mLIZz3u7jPe83XpnpqLGZb52fxDPZJ0y/vm7/wDWfOz+IZ7JOmX983f/AK2T9KXaL4st/O6385rnqqdgPwk1fo3IfVPx/wDPwZaaRmW+dn8Qz2SdMv75u/8A1nzs/iGeyTpl/fN3/wCs9KXaL4st/O63849VTsB+Emr9G5D6p+P/AJ+DLTSMy3zs/iGeyTpl/fN3/wCs+dn8Qz2SdMv75u//AFnpS7RfFlv53W/nHqqdgPwk1fo3IfVPx/8APwZaaRmW+dn8Qz2SdMv75u//AFnzs/iGeyTpl/fN3/6z0pdoviy387rfzj1VOwH4Sav0bkPqn4/+fgy00qmd2+3OC9I+u2Z73zamqb7WW39kxvXWA2vmOPIto7TyTmbRYLrrGqWRKqaypueQ3WH9NVHRUddPtdio7xfYqOop7VPl88SfnZ/EM9knTL++bv8A9amm2ezHdrePaTRHZHZ+I9WcktXWy33i46l0pNvO2petLXtW8zIpUW4r5SxW6dc8hzOy2zimo8T5rK6Xb8WqqGmvFopZF0jramrr63ZHm/FjLZ427FMMZnKEbaO9bmOOsaY5xbnEM2S6RzOXSMI5lLz5xiMsfynlV7H405w4vtDp53b5V0VXWa254Wni2WI2b1sJ60M3R1K8yujrw7077Iwp6QhOdlff/wAM3qRnWiNf5tvbshWScl7q9ub7R7Z7JZNFBLi+TVVPpOeML0pjvME2pl0OIaisNTDj1HbqOqqqGC7fvXi31dRZJFjlUnTVmW+dn8Qz2SdMv75u/wD1rl+Hl4hvYrs72J2Joveuu9K4vKxjS1r2zYr7qa6ZzWTKqZWZzFh9TabvTZhDDDBBBDxxWSJ9Hz/5cxfplzOP0LPk+E5zXhbv7+jOinvQxKffozCvEsxrqrjCu2WYwjju1wjjHSMcYx5sYZbsz2u7FbUtPgOA5mrc2cV2yqq8Lc8fYlCM9na2brrtauNl90s27OxZOWJW2zsl55Szh2eAYFvYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACv/bL1WOy/l/3L7usjY+tKehrUn2ZYF+VbU2C9svVY7L+X/cvu6yNj60p6GtSfZlgX5VtSS/Jx7Py3yWp+nsOdP6QntPsv855X9VopNASq5iAAAAAAAAF0PCY+kL215M7J774lL10PCY+kL215M7J774mpdt/c7t/K6n7TWlPyM++BxXzblP3dsNNACDHaoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACv/AGy9Vjsv5f8Acvu6yNj60p6GtSfZlgX5VtTYL2y9Vjsv5f8Acvu6yNj60p6GtSfZlgX5VtSS/Jx7Py3yWp+nsOdP6QntPsv855X9VopNASq5iAAAAAAAAF0PCY+kL215M7J774lL10PCY+kL215M7J774mpdt/c7t/K6n7TWlPyM++BxXzblP3dsNNACDHaoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACv/bL1WOy/l/3L7usjY+tKehrUn2ZYF+VbU2C9svVY7L+X/cvu6yNj60p6GtSfZlgX5VtSS/Jx7Py3yWp+nsOdP6QntPsv855X9VopNASq5iBUrtBbs6vlZra04jFkWU2aRXX6+57p7Wu5pujdyZ9jFHxZLNKv2A5hRZJg1dVUmv7zkNtuWSY9N2Nrmy3qXdLXTXXK5k793YzkfkdH7Rv9uu2Ba1mXfKbva62o7AQXei29TQVO2tbxa2uWCx49rrJsutma5faM4qset+Xz5E7YE2/ZVV5nY+Meu1TkdyufN0vd4xNvLQ17tqGzRZTTRHM6r/7WNiEbOOonOuvOI2Srjs8jGjN9OL9aq3Xup279XZs09fazUOFst0Nbcpvrss2PHlnW+xxKquinkdiUpSxOUozzVxl8o121VeNiyvOpLa8Le9BXjHLe39vt933Bq3Ytuo9M26w4D1G0x2mz233GwZfV3PKIswkbNuOY4Lh8+Rn9DT4rBV2vA4fkrlV4kZhBYrnFDR3aw5NJvEFXY5Pndktt0+a5fe58nWMnT+E9ldbaAqbBDaL/U7MyGRtiwapgsuR02RwZtLxzHa7Gcs2pbptwsNbh15mZPjNDWx0NZj1VDQ1Vzv/AERH0RnW8O3FmLcVZzmvPdjiXJU8PVbPz96FN3KXx065zjHPmztzjDj817k7vc7J8ro2203+hfEqlOrMYXZl39mGjpcl6Fqz4eI23y1OS0bI9zOasS2Y1ytjOu+NV+RzGvPbveWOayrds3C0aqrrHsXQm69y6dx6msmYWu+4RW6xtdLkGP47syouWXRx5/TZJYbpRzr5cscsmsJ2K3qhqLJDQXqTdaa826ZtUV+9ee0+f2XZGxMPv9go+u+oL/Fi2KYPl2LWigvuRbD3TTU9daZF625nVvo7jJt9ijtmU3WG2x1OYSqfGYpXydp8b5o7rb6fIVbuaPBqvxi7H2zNkI151ZS093drrvjKfXNtlWniWa6PGlVDa1LLvDrvjI2ey+7paW/u7WxqVw0oX5hCMrrJ7VmnynC8Tu11YjT9r9C7fOa9U53+Hiyyu3FHiU48fF0wF+1oXQ8Jj6QvbXkzsnvviUvXQ8Jj6QvbXkzsnvvial239zu38rqftNaU/Iz74HFfNuU/d2w00AIMdqgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAK/9svVY7L+X/cvu6yNj60p6GtSfZlgX5VtTYL2y9Vjsv5f9y+7rI2PrSnoa1J9mWBflW1JL8nHs/LfJan6ew50/pCe0+y/znlf1Wik0BKrmJHmw9WYXtGjttLltLfIJ9lqptZZb9iWZZnrrMLJOqZPNNXQ2XONd5Bi2Y2imudL+iku9Fbr7TUd3pIYKW5yKuRBBLh8FP6u6Qn2LEse4xO50tLhN+vWTWW52zO9hWjLKm95R+v+WFblOc2vK6PNM64ziKpmx57TZvf8ho87m/q5uX096mSJEcuwAtZ6OlZm+Vmnq2S2cwzs5nr0yzsZr8HuZvzKGc25h6H1+5mzvd3wKenTwod28q5HkKK66qN/cpqplOdVdW1fXXVOyu2qc64QniMJTqvvrnKOMZlXdbDOcxsniVPqTpPpyTmMq8T6G4x4VZtY6g1dieuaHJc8s1mt+Paiu2c3OhteXT7bmkiTtPFLxDlttp63CdiWy/Y9MixyXUXSReo7jHBSeuxvq9r+0bOzTbF4/eGQZJk2yIdjWyj5vOWWvFrNcqfC8Yw62VFywamymbgeW5PZJOPTqqxZve8XiyKxy7hLorPPoIbdIqJlkxU9Da/i+PminN2J224szVCUsX3X6+xZs4zmOem3K7Vol6Lx02cYh3I24hOyMq+xzXLbfi+iOR27fG16dW3Erp4xZrUatenCieI5xjNU9eqEb4Zx02px8bZxdfmVma5SOpegJHy5ghwWfNpthY3leH3y3VeZZ7XWi14rnVbMuWaY9gNmrcon2rVVoyu5TILlkNDrCjw+nu9wpbfXV0E+qtlum0srQa6xKVsGLaMmgrpGazMPpcDqbjT5BkUi3V+LW+61t7tlBc8Zk3aDF7pVWm5XO6z7RebjZqq92mXd7vS2240tJdbhIqfbj9q16KK9emimqmnUxPGrVVXCuvWxON8J414QjiNOJw2dmM8V4j3o7F8c9cW2YlRu5Lkdjv42N/dvxbGcbcXbV9viRszqZsjPv2S78bM6GjmeJdcSzpamZdc61PcAKqyF0PCY+kL215M7J774lL10PCY+kL215M7J774mpdt/c7t/K6n7TWlPyM++BxXzblP3dsNNACDHaoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACv/AGy9Vjsv5f8Acvu6yNj60p6GtSfZlgX5VtTYL2y9Vjsv5f8Acvu6yNj60p6GtSfZlgX5VtSS/Jx7Py3yWp+nsOdP6QntPsv855X9VopNASq5iAAAAAAAAF0PCY+kL215M7J774lL10PCY+kL215M7J774mpdt/c7t/K6n7TWlPyM++BxXzblP3dsNNACDHaoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACv/bL1WOy/l/3L7usjY+tKehrUn2ZYF+VbU2C9svVY7L+X/cvu6yNiz03uPUVNqHVVNU7U1xT1FPrfBpFRTz84xiVOkTpWMWuXNkzpUy6QxypsqZDFBMlxwwxwRw8wxccc8c8JJ8nU4Qu5XvzjDrVqdO9LEevSd/Xp1zjr0c8f0gKbrtTsx4VVlvd2eU73hwlPp1q0enXu4z069M9Ovr9MrKCM/406c9rOs/88xb/AKp/GnTntZ1n/nmLf9VKXj0fdqvzkP8AtzP6C3PvTZ/MW/wJMEZ/xp057WdZ/wCeYt/1T+NOnPazrP8AzzFv+qePR92q/OQ/7PQW596bP5i3+BJgjP8AjTpz2s6z/wA8xb/qn8adOe1nWf8AnmLf9U8ej7tV+ch/2egtz702fzFv8CTBGf8AGnTntZ1n/nmLf9U/jTpz2s6z/wA8xb/qnj0fdqvzkP8As9Bbn3ps/mLf4EmCM/406c9rOs/88xb/AKr5/GvTXPPPHG2tZc88f/fHy8xX9PH/AO/68fvX+n9OeOf/AOnj0fdqvzkP+z0Hufeuz+Yt/gSauh4TH0he2vJnZPffE5x/xp057WdZ/wCeYt/1V+/B3y7E8u8QTcdTimT49k9PR9OLFIq5+PXq23qTSzpm7I5kEmom22pqYJE2OD/3glzYoY4oP/bjjnj+rU+21tUuz23GNlcs5t1emIzjnOemzX182M5ylDyOa2zX2+4udmvfXDGtyfWU6rIxx14/YxjrKUcYx1z5sefz5aiQEIOzwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH89XSUlfS1NBX01PW0NbTzqSso6uTLqaWrpKmXFJqKapp50McmfTz5MccqdJmwRy5suOKCOGKGLnjmB/5TerH1aOv/3Na6+HFgAFf/5TerH1aOv/ANzWuvhw/lN6sfVo6/8A3Na6+HFgAFf/AOU3qx9Wjr/9zWuvhw/lN6sfVo6//c1rr4cWAAV//lN6sfVo6/8A3Na6+HD+U3qx9Wjr/wDc1rr4cWAAV/8A5TerH1aOv/3Na6+HD+U3qx9Wjr/9zWuvhxYABX/+U3qx9Wjr/wDc1rr4cYwP/kSY5P6S99OuO9+uGJ4JrKjy3QkFtqrDa9d4pW6+yDJsJzzK+btFk2v7vjdZr7IpVVYsmxOTUUFxttwgjmWmhuE+hpayTSV9Vu/csfEO8KXTPiS7H6yZNu3J8itWE9fp2yZ99w3EpVPbbptCnzidr+ooLBdMv5jir7BYbXPwus4reLZSzbvU0uQXGTZbnjtdO5u0GV4bao096Nu1jEtaVV1d0cw8TE4yrlmMcwzjOJd6yMMdM/Y4znGZZxjGc41Dtzw/Jc12ft1OHnmrla9zQ2dG6N+dWVNtW3Viy7GxHOJVeFrTvszmHWzOI5hXGU5Rjnmv4M/dnTXiP0l2wbZfhr6uxnNMGtMc7J93a/0PgFX1+uFZTy6WKTbLvW3i0w3HCM1vUFVDOtGJU1Xl/F3kUV3u0uqstBS/scrRdg+m9Q6yq66v1tqrW+va66U8ukuVZg+DYxidXcaSTM5nSaauqLDa6CdV08qdzzNlyaiOZLgmc8xww8Rf1cSun8U7wrO5Ff4c2W1NXL6h9obxku0+gOa3efPnUuE5xUz4rhs3q9e75XzJk2orZVVPp71gc6vrJtXcua2hlTqy75PnEyjtff1T5SFEdrNmrTinVvhC3X7spSjOuWPPL7LzxlGeJV2V9c4rshKGM5xjEs1+yN+/PiI6/L7s93mNC+3S5OVlNVNlOxV3cxrzir7G6qdEqtjW284xLb17qticYSnKEQDHNoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUu789N8X7xdc8m07dLpMxDOLfW2/PNJ7QoOZ0m+6m3LiUcyvwbOrNW0nMFwpf2Ou5jtt74t82RXVeOXO70lFU0ldOpa2mijwze4uU9mtU5Trje1rl4d3H6uZJDpztJgcz9RJm/K+1Spkmy7Mssmn4lyKjDdqW2im5FZLhQSoLTHcIL3R2eKptFHbrhXdKHEbxJNY5v1W3Bhni19ccbuF9yXUlmlYR3X1Zj3HEqbvTqlHMlc3XIv2aDmCTV55pf9RS5JZrnU/8AhF+4bXTzLrX82HDpdor8hq5xs150LM4xKUs2aU5Z6Yr2JYxiVOc582K9rEYw+CN0ap5ziPiZzrXL1z4vah2i1oSlXXVHW53XrjmUtjjISzKG7GEcZzPa4iU7L44jGU7tGzcojidvobEO3I8LrHZeD7l13hW1taZFQZbgGwsatOW4jkdsmcx0d2sV7o5VbQ1MMMfEE6nncSpvEqroqqXJraCslz6GtkSKunnSZfulhnGY5zGWM4ljOcZxnGcZxnGemcZxnz4zjPmzjPnxlscJwthCyucbK7IxnXOEsShOE8YlGcJRznEoyjnGYyxnOM4zjOM9MgD8egAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB/hVUtLXUtTRVtNIrKKskTqWrpKqTLqKWqpaiXFJqKapp50McqfInyo45U6TNgilzZcUUEcMUMXPHP+4Hr+u4NdZ59V4Wfc2b0SyiqnSOlvbrIsn2H0UyW4VEyK26k21W1MFz2P1Vra2pj5l0Vru1ZWw5HqyTNmSYauqr5drp5l/yjJb5Nt3eVULvN1Bwzu91zzHR2U1s7HL3Ux0eV6t2JbuJkF/1VtvGIpldgmw8fqqabT11LW2S6c/qbhBb6yhq7lj1derNBW0sNyjnQQn4avbrM+weusy032HoqXFu6fVHIZOpezmGw/q5XFyvFLIj5xHb+Oy5cuRKrMK29j9PLye0XKipaa2TLjFd5Nrp4bLBaKmtyF//ANdPoyPnvr7te7HHryznpGrb6fBb5q78/wB1+IzlnrsYxjWeO/8Axd/+o59ccfteLscDZn+zViPWzb4XOc+tnVxmWzx0P/64/NtFccQ42UpdKQGPbMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM4/iz7X31aO5upNYa47Ebq0zhU7rFfM8uVn1NllNi0u9ZRDtWDHpNzu8ybabnMqo6e0880siDjmVBBDzzF+jmL+rRwzLeLP9IZqTyZXz33y2e7M0U7XO8fRsVQupsssxZVZHEoTxii2WMSjnzZxiWMZ8/wDfjDSPKPvbnG9iee3tDZu09zX19eVGzrzlVdVKW9qwlmE45xKOcwnKOemfPGWcetlTH5a9o/r19zfveo/hRFtLg2yKHb9y39Q9qu0tBue9YbI19e9k0OyrXRZXfMMpa6muVJj17ulNiUqfeLfR1tFRzqOXcuarmk/ZKWXTRSpdPJgglETXHgOFh3u5xelHvxzCXdohHvQz06xl0xjrHPTHWOeuM9MdceZxxZ247YXeH43aTl7fBtjdV4m7bZ4V0MZxC2vvSz3LIYznuzj0lHrLpnHXPX78te0f16+5v3vUfwofLXtH9evub971H8KPg8+l3gvinQ+jV/wqnp/7bfhTzn+4bH8f4v8An4cvvy17R/Xr7m/e9R/Ch8te0f16+5v3vUfwo+B6XeC+KdD6NX/Cen/tt+FPOf7hsfx/i/5+HL78te0f16+5v3vUfwofLXtH9evub971H8KPgel3gvinQ+jV/wAJ6f8Att+FPOf7hsfx/i/5+HL78te0f16+5v3vUfwofLXtH9evub971H8KPgel3gvinQ+jV/wnp/7bfhTzn+4bH8f4v+fhy+/LXtH9evub971H8KPF7I2j2yxjXee5Lau9vciC6Y9heU3y2xT9tUU6TDX2mx11fRxTpPOK8cTZXFRTy+ZkvnnjiODjmHnnjjn9L2aM91ehzbP2Z55+Vrqp3dnuDxTbnHE6GM4rnnGca1fXGcRznGcfY+vjK41O3vbSe1rQl2o5uUZbFMZRzyGxnEo5shjOM47/AJ8Zx5s/D1z8OWxzrfkF5yzrvoXKcjuNRd8hyXS+rcgv12q4oYqu6Xm84PYrjdLjUxQQwQxVFbXVM+pnRQwQw8zJsXPEMPH6OOJoV/6m+qx1o8v+mvd1jiwDnx3kAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMy3iz/SGak8mV8998tppZlvFn+kM1J5Mr5775bY+yPui4v5W39muR95VPe/7SfNtX946amACfXDAAAAAAAAAjPdXoc2z9meefla6pMRnur0ObZ+zPPPytdVK/wBgu+Ss/QkudL25qfOaP1sGwTqb6rHWjy/6a93WOLAK/wDU31WOtHl/017uscWAcyPo+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMy3iz/SGak8mV8998tppZlvFn+kM1J5Mr5775bY+yPui4v5W39muR95VPe/7SfNtX946amACfXDAD8PJsoxrC7DdMqzHIrFieMWSlirb1keTXagsNhtFHDFDBFV3S8XSopbfb6WGOOCCKoq6iTK4ijhh5j45i4458WWQqhO22cK6q4SssssliEK4QxmU5znLOIxhGOMylKWcYjjGc5zjGHqEJ2zhXXCVllkowrrhHM5znPOIwhCMcZlKUpZxGMY4zmWc4xjGc5fuCJZm/dEysAkbXm7q1LK1bU13NrptlTNj4dBgFRc4audQRW6RmMV54x2bXQ11PUUXNJLuMVRxVyJ1PzL/XSo4If07DuLUeVYnBn2MbT1xkeCzLvSY/LzSw5xjN4xOO/3C6UNjoLHBkdvulRZ4rvW3q5220UlthrOa2pulwobfJkR1dXTyZnmN9E5ShC6qU4QhZOMbISlCu3FUq5yjiWcxhZi6nMJZxiM8W1ZjnOLI9a8tLcjiMpamzGMtiWpGUqLcYltxzLEtaOcw6Z2I5hPEqcfbMZjLGY9Y56SOPxciyTHcQsd1yfLb9ZcXxqx0c643vIciulDZLHZ7fTw/wDlUV91u1zn01Bb6ORD/wC06qq6iTIlQ/1jjh4/q/OwvO8H2Tj1Jluu8yxTPsUr5tVJocmwvIrRlOPVs6hqZlHWyaS9WOsr7bUTaOrkzqWqlyamOOnqZUyRO4gmwRQ8esWQzZKrE4ZtjXi2VWJYzZGqU/DxbKHXvYrzP7DE847uZ/Y4z18yl4Nvg+iPCs8DxfB8fuS8Hxu5mzwfE6dzxfDxmfh97v8AcxmXTu+d6sB7UxGe6vQ5tn7M88/K11SYjPdXoc2z9meefla6qV/sF3yVn6Elzpe3NT5zR+tg2CdTfVY60eX/AE17uscWAV/6m+qx1o8v+mvd1jiwDmR9HwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmW8Wf6QzUnkyvnvvltNLMt4s/0hmpPJlfPffLbH2R90XF/K2/s1yPvKp73/aT5tq/vHTUwAT64YFXe2dFjNTr/ABqtyfLrxrSVj2w8fyex7Zp7Tjd7xDVWV2G33uvxnM9qW3K5kFnna1l3aVT2K+zp0VJNo62+WmskX/DZsiHNcdtELbb187NPh4zCM42619U7I2zxVfq7FW1RdHwL9a6NtN1MLaLa76503QrtjLOYdM3ejteg9mGx3PExGN0JQ6wx3oX02UTjnFtV9M45hZLEqr6L9e2PWq+m2mc65cfLls7CuaaLZ+RZtpe7Y/T9wevVxy7sprmK64Lo3YUVDi0ygmXCT8qti7DxOku+C0cigxHK8lx/YF7tlwmUlqt12rKC92SusNn+dhM91/lvO9txYBkmLXTS0qv6I0WUbZsWSW2r1tf86xPtRbrjkVVLyWlqI8XuVVg+CVmL0uUZNRXGok2+kn26w3eskzcd/ZKHsIMPVwdlULoY26+k+XlzVWMama4w2rOB4zgrKro17UY7Ot4fHz2642YxfjZtptu2Ni/WlfsbJq9p9fV5DV38cbdZOiHGa9kLORj0np8bz1XP4hRmGhGOtfbdTDVjPFdmlrauZVa/HQjGmNNCt1bb1BsOVobZ2ObFwLZ2idYdgaG6bkyPBsyxvM8NwufT68zSXguT59V4/UXi30VhwvYt3wXJbjW3OroKTDqj9x7Au8+itGOT7nRzxp3NNMbFyjZ2aaam0uSUt2q8UkZZs7Fa39562z7IbZZp1FTw4zfaG5VON5VfsWsUu1WPLMjx+lnS5UMuw4hc79X3LEZ9kxmfRmaqbK52ZnOmULLZbGcQ1/Dn6JnraWrOzxPFniUZVaccZ70M35j4NctjNWtXXnD7HI0XaletVr7dMqNbOlVL+sO/VLUzyV3KdNnXxq14uv8AHvlHM4Tp18wq1p+hcbFWb5gFwxAjPdXoc2z9meefla6pMRnur0ObZ+zPPPytdVK/2C75Kz9CS50vbmp85o/WwbBOpvqsdaPL/pr3dY4sAr/1N9VjrR5f9Ne7rHFgHMj6PgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADMt4s/0hmpPJlfPffLaaWZbxZ/pDNSeTK+e++W2Psj7ouL+Vt/ZrkfeVT3v+0nzbV/eOmpgAn1wwAAAAAAAAIz3V6HNs/Znnn5WuqTEZ7q9Dm2fszzz8rXVSv8AYLvkrP0JLnS9uanzmj9bBsE6m+qx1o8v+mvd1jiwCv8A1N9VjrR5f9Ne7rHFgHMj6PgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADMt4s/0hmpPJlfPffLaaWZbxZ/pDNSeTK+e++W2Psj7ouL+Vt/ZrkfeVT3v+0nzbV/eOmpgAn1wwAAAAAAAAIz3V6HNs/Znnn5WuqTEZ7q9Dm2fszzz8rXVSv9gu+Ss/QkudL25qfOaP1sGwTqb6rHWjy/6a93WOLAK/8AU31WOtHl/wBNe7rHFgHMj6PgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADOP4s2qN9XjubqTZ+uOvG6dzYVJ6xXvA7leNTYnT5TLsuURbVgyGVbLtLm3a2zKWOotPHNVIj44mwRw8cw/p4i/o0cC84/eu43co3tfEM3a8pSrxZHModZQlDPejiUc5x3Z59aWPP0yxPO8Lp9oeJ3OG383R1N6EK7s68413YjXdXfHuTlCyMc9+qPXrCXWPXHTz9cYyfkT2i+ot3M+6Ck+KT5E9ovqLdzPugpPils2G1+n/nf8Gh9Hs+sIv9QrsV925z6fr/AFFjJ+RPaL6i3cz7oKT4pPkT2i+ot3M+6Ck+KWzYPT/zv+DQ+j2fWD1CuxX3bnPp+v8AUWMn5E9ovqLdzPugpPik+RPaL6i3cz7oKT4pbNg9P/O/4ND6PZ9YPUK7Ffduc+n6/wBRYyfkT2i+ot3M+6Ck+KT5E9ovqLdzPugpPils2D0/87/g0Po9n1g9QrsV925z6fr/AFFjJ+RPaL6i3cz7oKT4pPkT2i+ot3M+6Ck+KWzYPT/zv+DQ+j2fWD1CuxX3bnPp+v8AUWMn5E9ovqLdzPugpPil4vZOre2OT67z3GrV0U7jx3TIcLymx22CfqWjkyYq+7WOvoKOGdOiynniVKiqKiXxMmc8c8S4OeYueOeOG2oeZ9vecnGUMw0Oko5jnpr2deksZxnp9v8AX6Ze6/Id2LqsrtjbzfernGyPXe18470JYljrj0DjrjrjHXz48396F+t+P3nE+u+hcWyO3VFoyHGtL6tx+/Wmrhhhq7XebNg9it10t1TDBFHDDUUVdTT6adDDHFDxMlRccRRcfo55mgGlJjAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAf/2Q==';
+
+ diagramInstance.exportImage(base64, exportOptions);
+
+ };
+
+ return (
+ // Initialize Diagram component
+
+ Export Diagram
+ (diagramInstance = diagram)}
+ width={'100%'}
+ height={'600px'}
+ nodes={nodes}
+ >
+
+
+
+ );
+};
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/export/export-cs5/index.html b/ej2-react/code-snippet/diagram/export/export-cs5/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/export/export-cs5/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/export/export-cs5/systemjs.config.js b/ej2-react/code-snippet/diagram/export/export-cs5/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/export/export-cs5/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/export/export-cs6/app/index.jsx b/ej2-react/code-snippet/diagram/export/export-cs6/app/index.jsx
new file mode 100644
index 000000000..a146d1d89
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/export/export-cs6/app/index.jsx
@@ -0,0 +1,53 @@
+
+import * as React from "react";
+import * as ReactDOM from "react-dom/client";
+import { DiagramComponent, Inject, PrintAndExport } from "@syncfusion/ej2-react-diagrams";
+
+export default function App() {
+ let diagramInstance;
+
+ // Initialize Nodes for the diagram
+ let nodes = [
+ {
+ id: 'node1',
+ width: 100,
+ height: 100,
+ annotations: [{ content: 'Node 1' }],
+ offsetX: 200,
+ offsetY: 100,
+ style: {
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ },
+ }
+ ];
+
+ //Function to export the diagram objects.
+ function handleExport() {
+ /**
+ * parameter (Optional) - defines the collection of style files to be considered while exporting.
+ */
+ let content = diagramInstance.getDiagramContent();
+ console.log(content);
+ };
+
+ return (
+ // Initialize Diagram component
+
+ Export Diagram
+ (diagramInstance = diagram)}
+ width={'100%'}
+ height={'600px'}
+ nodes={nodes}
+ >
+
+
+
+ );
+};
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram"));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/export/export-cs6/app/index.tsx b/ej2-react/code-snippet/diagram/export/export-cs6/app/index.tsx
new file mode 100644
index 000000000..6fbe0b4fb
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/export/export-cs6/app/index.tsx
@@ -0,0 +1,53 @@
+
+import * as React from "react";
+import * as ReactDOM from "react-dom/client";
+import { DiagramComponent, Inject, NodeModel, PrintAndExport } from "@syncfusion/ej2-react-diagrams";
+
+export default function App() {
+ let diagramInstance: DiagramComponent;
+
+ // Initialize Nodes for the diagram
+ let nodes: NodeModel[] = [
+ {
+ id: 'node1',
+ width: 100,
+ height: 100,
+ annotations: [{ content: 'Node 1' }],
+ offsetX: 200,
+ offsetY: 100,
+ style: {
+ strokeColor: '#6BA5D7',
+ fill: '#6BA5D7',
+ },
+ }
+ ];
+
+ //Function to print the diagram objects.
+ function handleExport() {
+ /**
+ * parameter (Optional) - defines the collection of style files to be considered while exporting.
+ */
+ let content = diagramInstance.getDiagramContent();
+ console.log(content);
+ };
+
+ return (
+ // Initialize Diagram component
+
+ Export Diagram
+ (diagramInstance = diagram)}
+ width={'100%'}
+ height={'600px'}
+ nodes={nodes}
+ >
+
+
+
+ );
+};
+
+// Render the App component into the 'diagram' element in the DOM
+const root = ReactDOM.createRoot(document.getElementById("diagram") as HTMLElement);
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/export/export-cs6/index.html b/ej2-react/code-snippet/diagram/export/export-cs6/index.html
new file mode 100644
index 000000000..98f9d765e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/export/export-cs6/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/export/export-cs6/systemjs.config.js b/ej2-react/code-snippet/diagram/export/export-cs6/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/export/export-cs6/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/getting-started/addnode-cs1/index.html b/ej2-react/code-snippet/diagram/getting-started/addnode-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/getting-started/addnode-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/getting-started/addnode-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/getting-started/apply-style/index.html b/ej2-react/code-snippet/diagram/getting-started/apply-style/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/getting-started/apply-style/index.html
+++ b/ej2-react/code-snippet/diagram/getting-started/apply-style/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/getting-started/connectnode-cs1/index.html b/ej2-react/code-snippet/diagram/getting-started/connectnode-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/getting-started/connectnode-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/getting-started/connectnode-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/getting-started/flowdiagram-cs1/index.html b/ej2-react/code-snippet/diagram/getting-started/flowdiagram-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/getting-started/flowdiagram-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/getting-started/flowdiagram-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/getting-started/initialize-cs1/index.html b/ej2-react/code-snippet/diagram/getting-started/initialize-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/getting-started/initialize-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/getting-started/initialize-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/getting-started/orgchart-cs1/index.html b/ej2-react/code-snippet/diagram/getting-started/orgchart-cs1/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/getting-started/orgchart-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/getting-started/orgchart-cs1/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/getting-started/orgchart-cs2/index.html b/ej2-react/code-snippet/diagram/getting-started/orgchart-cs2/index.html
index d2f7f168b..eb0eab232 100644
--- a/ej2-react/code-snippet/diagram/getting-started/orgchart-cs2/index.html
+++ b/ej2-react/code-snippet/diagram/getting-started/orgchart-cs2/index.html
@@ -2,7 +2,7 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Chart-DataLabel
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5DotGrid-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/gridLines/es5DotGrid-cs1/app/index.jsx
new file mode 100644
index 000000000..0cf5b5414
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5DotGrid-cs1/app/index.jsx
@@ -0,0 +1,32 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { Diagram, DiagramComponent, SnapConstraints, Snapping } from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(Snapping);
+
+let snapSettings = {
+ constraints: SnapConstraints.ShowLines,
+ //set gridtype as dot
+ gridType: 'Dots',
+ horizontalGridlines:{
+ // Sets the line color of gridlines
+ lineColor: 'blue',
+ // Defines the dot intervals of gridlines
+ dotIntervals: [3, 20, 1, 20, 1, 20, 1, 20, 1, 20],
+ },
+ // Defines the verticalGridlines for SnapSettings
+ verticalGridlines: {
+ // Defines the dot intervals of gridlines
+ dotIntervals: [3, 20, 1, 20, 1, 20],
+ // Sets the line color of gridlines
+ lineColor: 'blue',
+ },
+
+};
+
+// initialize Diagram component
+function App() {
+ return ();
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5DotGrid-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/gridLines/es5DotGrid-cs1/app/index.tsx
new file mode 100644
index 000000000..573a69d6f
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5DotGrid-cs1/app/index.tsx
@@ -0,0 +1,32 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { Diagram, DiagramComponent, SnapConstraints, Snapping,SnapSettingsModel } from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(Snapping);
+
+let snapSettings: SnapSettingsModel = {
+ constraints: SnapConstraints.ShowLines,
+ //set gridtype as dot
+ gridType: 'Dots',
+ horizontalGridlines:{
+ // Sets the line color of gridlines
+ lineColor: 'blue',
+ // Defines the dot intervals of gridlines
+ dotIntervals: [3, 20, 1, 20, 1, 20, 1, 20, 1, 20],
+ },
+ // Defines the verticalGridlines for SnapSettings
+ verticalGridlines: {
+ // Defines the dot intervals of gridlines
+ dotIntervals: [3, 20, 1, 20, 1, 20],
+ // Sets the line color of gridlines
+ lineColor: 'blue',
+ },
+
+};
+
+// initialize Diagram component
+function App() {
+ return ();
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5DotGrid-cs1/index.html b/ej2-react/code-snippet/diagram/gridLines/es5DotGrid-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5DotGrid-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5DotGrid-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/gridLines/es5DotGrid-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5DotGrid-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5LineIntervals-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/gridLines/es5LineIntervals-cs1/app/index.jsx
new file mode 100644
index 000000000..1b4949609
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5LineIntervals-cs1/app/index.jsx
@@ -0,0 +1,25 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { Diagram, DiagramComponent, SnapConstraints, Snapping } from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(Snapping);
+let snapSettings = {
+ constraints: SnapConstraints.ShowLines,
+ horizontalGridlines: {
+ // Sets the lineIntervals of Gridlines
+ lineIntervals: [1.25, 10, 0.25, 10, 0.25, 10, 0.25, 10, 0.25, 10],
+ lineColor: 'black',
+ },
+ verticalGridlines: {
+ // Sets the lineIntervals of Gridlines
+ lineIntervals: [1.25, 10, 0.25, 10, 0.25, 10, 0.25, 10, 0.25, 10],
+ lineColor: 'black',
+ }
+};
+
+// initialize Diagram component
+function App() {
+ return ();
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5LineIntervals-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/gridLines/es5LineIntervals-cs1/app/index.tsx
new file mode 100644
index 000000000..595db78ce
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5LineIntervals-cs1/app/index.tsx
@@ -0,0 +1,64 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ Diagram,
+ NodeModel,
+ DiagramComponent,
+ SnapSettingsModel,
+ SnapConstraints,
+ GridlinesModel,
+ Snapping,
+} from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(Snapping);
+let interval: number[];
+// Sets the lineIntervals of Gridlines
+interval = [
+ 1,
+ 9,
+ 0.25,
+ 9.75,
+ 0.25,
+ 9.75,
+ 0.25,
+ 9.75,
+ 0.25,
+ 9.75,
+ 0.25,
+ 9.75,
+ 0.25,
+ 9.75,
+ 0.25,
+ 9.75,
+ 0.25,
+ 9.75,
+ 0.25,
+ 9.75
+];
+let gridlines: GridlinesModel = {
+ lineColor: 'blue',
+ lineDashArray: '2 2',
+ lineIntervals: interval
+};
+let snapSettings: SnapSettingsModel = {
+ constraints: SnapConstraints.ShowLines,
+ horizontalGridlines: gridlines,
+ verticalGridlines: gridlines
+};
+// initialize Diagram component
+function App() {
+ return (
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
+
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5LineIntervals-cs1/index.html b/ej2-react/code-snippet/diagram/gridLines/es5LineIntervals-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5LineIntervals-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5LineIntervals-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/gridLines/es5LineIntervals-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5LineIntervals-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5SnapAngle-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/gridLines/es5SnapAngle-cs1/app/index.jsx
new file mode 100644
index 000000000..e5fcdd8ed
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5SnapAngle-cs1/app/index.jsx
@@ -0,0 +1,42 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { Diagram, DiagramComponent, Snapping } from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(Snapping);
+let diagramInstance;
+let snapSettings = {
+ // Sets the Snap Angle
+ snapAngle: 20,
+};
+// A node is created and stored in nodes array.
+let node = [{
+ // Position of the node
+ offsetX: 250,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white'
+ },
+ }];
+// initialize Diagram component
+function App() {
+ const SnapAngle = (args) =>{
+ //Update snapAngle dynamically
+ diagramInstance.snapSettings.snapAngle = Number(args.target.value);
+ diagramInstance.dataBind();
+ }
+ return (
+
+ SnapAngle :
+
+ (diagramInstance = diagram)}
+ // Add node
+ nodes={node} snapSettings={snapSettings}/>
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5SnapAngle-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/gridLines/es5SnapAngle-cs1/app/index.tsx
new file mode 100644
index 000000000..c78d08e33
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5SnapAngle-cs1/app/index.tsx
@@ -0,0 +1,42 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { Diagram, DiagramComponent, Snapping,SnapSettingsModel } from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(Snapping);
+let diagramInstance:DiagramComponent;
+let snapSettings:SnapSettingsModel = {
+ // Sets the Snap Angle
+ snapAngle: 20,
+};
+// A node is created and stored in nodes array.
+let node = [{
+ // Position of the node
+ offsetX: 250,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white'
+ },
+ }];
+// initialize Diagram component
+function App() {
+ const SnapAngle = (args: any) =>{
+ //Update snapAngle dynamically
+ diagramInstance.snapSettings.snapAngle = Number(args.target.value);
+ diagramInstance.dataBind();
+ }
+ return (
+
+ SnapAngle :
+
+ (diagramInstance = diagram)}
+ // Add node
+ nodes={node} snapSettings={snapSettings}/>
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5SnapAngle-cs1/index.html b/ej2-react/code-snippet/diagram/gridLines/es5SnapAngle-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5SnapAngle-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5SnapAngle-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/gridLines/es5SnapAngle-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5SnapAngle-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5SnapColor-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/gridLines/es5SnapColor-cs1/app/index.jsx
new file mode 100644
index 000000000..8bc987829
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5SnapColor-cs1/app/index.jsx
@@ -0,0 +1,54 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { Diagram, DiagramComponent, Snapping } from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(Snapping);
+let diagramInstance;
+let snapSettings = {
+ snapLineColor: "red",
+};
+// A node is created and stored in nodes array.
+let node = [{
+ // Position of the node
+ offsetX: 100,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white'
+ },
+ },
+ {
+ // Position of the node
+ offsetX: 300,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white'
+ },
+ }
+];
+// initialize Diagram component
+function App() {
+ const SnapColor = (args) =>{
+ //Update snapcolor dynamically
+ diagramInstance.snapSettings.snapLineColor = args.target.value
+ diagramInstance.dataBind();
+ }
+ return (
+
+ SnapColor :
+
+ (diagramInstance = diagram)}
+ // Add node
+ nodes={node} snapSettings={snapSettings}/>
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5SnapColor-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/gridLines/es5SnapColor-cs1/app/index.tsx
new file mode 100644
index 000000000..c3faeab8f
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5SnapColor-cs1/app/index.tsx
@@ -0,0 +1,54 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { Diagram, DiagramComponent, Snapping,NodeModel } from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(Snapping);
+let diagramInstance:DiagramComponent;
+let snapSettings = {
+ snapLineColor: "red",
+};
+// A node is created and stored in nodes array.
+let node:NodeModel[] = [{
+ // Position of the node
+ offsetX: 100,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white'
+ },
+ },
+ {
+ // Position of the node
+ offsetX: 300,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white'
+ },
+ }
+];
+// initialize Diagram component
+function App() {
+ const SnapColor = (args:any) =>{
+ //Update snapcolor dynamically
+ diagramInstance.snapSettings.snapLineColor = args.target.value
+ diagramInstance.dataBind();
+ }
+ return (
+
+ SnapColor :
+
+ (diagramInstance = diagram)}
+ // Add node
+ nodes={node} snapSettings={snapSettings}/>
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5SnapColor-cs1/index.html b/ej2-react/code-snippet/diagram/gridLines/es5SnapColor-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5SnapColor-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5SnapColor-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/gridLines/es5SnapColor-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5SnapColor-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5SnapInterval-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/gridLines/es5SnapInterval-cs1/app/index.jsx
new file mode 100644
index 000000000..ed80f5a1e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5SnapInterval-cs1/app/index.jsx
@@ -0,0 +1,47 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { Diagram, DiagramComponent, SnapConstraints, Snapping } from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(Snapping);
+let snapSettings = {
+ horizontalGridlines: {
+ // Defines the snap interval for object
+ snapIntervals: [10]
+ },
+ verticalGridlines: {
+ snapIntervals: [10]
+ },
+ constraints: SnapConstraints.All
+};
+// A node is created and stored in nodes array.
+let node = [{
+ // Position of the node
+ offsetX: 250,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white'
+ },
+ },
+ {
+ // Position of the node
+ offsetX: 450,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white'
+ },
+ }];
+// initialize Diagram component
+function App() {
+ return ();
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5SnapInterval-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/gridLines/es5SnapInterval-cs1/app/index.tsx
new file mode 100644
index 000000000..897bceea7
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5SnapInterval-cs1/app/index.tsx
@@ -0,0 +1,66 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ Diagram,
+ NodeModel,
+ DiagramComponent,
+ SnapSettingsModel,
+ SnapConstraints,
+ Snapping,
+} from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(Snapping);
+let snapSettings: SnapSettingsModel = {
+ horizontalGridlines: {
+ // Defines the snap interval for object
+ snapIntervals: [10]
+ },
+ verticalGridlines: {
+ snapIntervals: [10]
+ },
+ constraints: SnapConstraints.All
+ };
+// A node is created and stored in nodes array.
+let node: NodeModel[] = [{
+ // Position of the node
+ offsetX: 250,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white'
+ },
+
+},
+{
+ // Position of the node
+ offsetX: 450,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white'
+ },
+
+}];
+// initialize Diagram component
+function App() {
+ return (
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
+
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5SnapInterval-cs1/index.html b/ej2-react/code-snippet/diagram/gridLines/es5SnapInterval-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5SnapInterval-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5SnapInterval-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/gridLines/es5SnapInterval-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5SnapInterval-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5SnapToLines-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/gridLines/es5SnapToLines-cs1/app/index.jsx
new file mode 100644
index 000000000..33cfd97bb
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5SnapToLines-cs1/app/index.jsx
@@ -0,0 +1,29 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { Diagram, DiagramComponent, SnapConstraints, Snapping } from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(Snapping);
+let snapSettings = {
+ // Enables the object to snap with both horizontal and Vertical gridlines
+ constraints: SnapConstraints.SnapToLines | SnapConstraints.ShowLines
+};
+// A node is created and stored in nodes array.
+let node = [{
+ // Position of the node
+ offsetX: 250,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white'
+ },
+ }];
+// initialize Diagram component
+function App() {
+ return ();
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5SnapToLines-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/gridLines/es5SnapToLines-cs1/app/index.tsx
new file mode 100644
index 000000000..94e92a256
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5SnapToLines-cs1/app/index.tsx
@@ -0,0 +1,49 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ Diagram,
+ NodeModel,
+ DiagramComponent,
+ SnapSettingsModel,
+ SnapConstraints,
+ Snapping,
+} from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(Snapping);
+let snapSettings: SnapSettingsModel = {
+ // Enables the object to snap with both horizontal and Vertical gridlines
+ constraints: SnapConstraints.SnapToLines | SnapConstraints.ShowLines
+};
+// A node is created and stored in nodes array.
+let node: NodeModel[] = [{
+ // Position of the node
+ offsetX: 250,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white'
+ },
+
+}];
+// initialize Diagram component
+function App() {
+ return (
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
+
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5SnapToLines-cs1/index.html b/ej2-react/code-snippet/diagram/gridLines/es5SnapToLines-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5SnapToLines-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5SnapToLines-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/gridLines/es5SnapToLines-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5SnapToLines-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5SnapToObject-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/gridLines/es5SnapToObject-cs1/app/index.jsx
new file mode 100644
index 000000000..a656da623
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5SnapToObject-cs1/app/index.jsx
@@ -0,0 +1,39 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { Diagram, DiagramComponent, SnapConstraints, Snapping } from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(Snapping);
+let snapSettings = {
+ // Enable snap to object constraint
+ constraints: SnapConstraints.SnapToObject | SnapConstraints.ShowLines,
+ // Sets the Snap object distance
+ snapObjectDistance: 10,
+};
+// A node is created and stored in nodes array.
+let node = [{
+ // Position of the node
+ offsetX: 250,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white'
+ },
+ },{
+ id: 'node2',
+ style: { fill: '#6BA5D7', strokeColor: '#6BA5D7' },
+ width: 100,
+ height: 100,
+ offsetX: 300,
+ offsetY: 100,
+ }
+];
+// initialize Diagram component
+function App() {
+ return ();
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5SnapToObject-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/gridLines/es5SnapToObject-cs1/app/index.tsx
new file mode 100644
index 000000000..88ac172f9
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5SnapToObject-cs1/app/index.tsx
@@ -0,0 +1,60 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ Diagram,
+ NodeModel,
+ DiagramComponent,
+ SnapSettingsModel,
+ SnapConstraints,
+ Snapping,
+} from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(Snapping);
+let snapSettings: SnapSettingsModel = {
+ // Enable snap to object constraint
+ constraints: SnapConstraints.SnapToObject | SnapConstraints.ShowLines,
+ // Sets the Snap object distance
+ snapObjectDistance: 10,
+};
+// A node is created and stored in nodes array.
+let node: NodeModel[] = [{
+ // Position of the node
+ offsetX: 250,
+ offsetY: 250,
+ // Size of the node
+ width: 100,
+ height: 100,
+ style: {
+ fill: '#6BA5D7',
+ strokeColor: 'white'
+ },
+
+},
+{
+ id: 'node2',
+ style: { fill: '#6BA5D7', strokeColor: '#6BA5D7' },
+ width: 100,
+ height: 100,
+ offsetX: 300,
+ offsetY: 100,
+},
+];
+// initialize Diagram component
+function App() {
+ return (
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
+
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5SnapToObject-cs1/index.html b/ej2-react/code-snippet/diagram/gridLines/es5SnapToObject-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5SnapToObject-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5SnapToObject-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/gridLines/es5SnapToObject-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5SnapToObject-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5gridlineAppearance-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/gridLines/es5gridlineAppearance-cs1/app/index.jsx
new file mode 100644
index 000000000..905c5a45e
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5gridlineAppearance-cs1/app/index.jsx
@@ -0,0 +1,28 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { Diagram, DiagramComponent, SnapConstraints, Snapping } from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(Snapping);
+let snapSettings = {
+ // Define the Constraints for gridlines and snapping
+ constraints: SnapConstraints.ShowLines,
+ horizontalGridlines: {
+ // Sets the line color of gridlines
+ lineColor: "blue",
+ // Defines the lineDashArray of gridlines
+ lineDashArray: '2 2'
+ },
+ verticalGridlines: {
+ // Sets the line color of gridlines
+ lineColor: "blue",
+ // Defines the lineDashArray of gridlines
+ lineDashArray: '2 2'
+ }
+};
+// initialize Diagram component
+function App() {
+ return ();
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5gridlineAppearance-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/gridLines/es5gridlineAppearance-cs1/app/index.tsx
new file mode 100644
index 000000000..e726d4815
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5gridlineAppearance-cs1/app/index.tsx
@@ -0,0 +1,47 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ Diagram,
+ DiagramComponent,
+ SnapSettingsModel,
+ SnapConstraints,
+ Snapping,
+} from "@syncfusion/ej2-react-diagrams";
+// Defines the Gridlines for SnapSettings
+Diagram.Inject(Snapping);
+let snapSettings: SnapSettingsModel = {
+ // Define the Constraints for gridlines and snapping
+ constraints: SnapConstraints.ShowLines,
+ horizontalGridlines: {
+ // Sets the line color of gridlines
+ lineColor: "blue",
+ // Defines the lineDashArray of gridlines
+ lineDashArray: '2 2'
+ },
+ verticalGridlines: {
+ // Sets the line color of gridlines
+ lineColor: "blue",
+ // Defines the lineDashArray of gridlines
+ lineDashArray: '2 2'
+ }
+};
+// initialize Diagram component
+function App() {
+ return (
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
+
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5gridlineAppearance-cs1/index.html b/ej2-react/code-snippet/diagram/gridLines/es5gridlineAppearance-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5gridlineAppearance-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5gridlineAppearance-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/gridLines/es5gridlineAppearance-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5gridlineAppearance-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5grildLines-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/gridLines/es5grildLines-cs1/app/index.jsx
new file mode 100644
index 000000000..c6cecf0ea
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5grildLines-cs1/app/index.jsx
@@ -0,0 +1,15 @@
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import { Diagram, DiagramComponent, SnapConstraints, Snapping } from "@syncfusion/ej2-react-diagrams";
+Diagram.Inject(Snapping);
+// Display both Horizontal and Vertical gridlines
+let snapSettings = {
+ constraints: SnapConstraints.ShowLines,
+};
+// initialize Diagram component
+function App() {
+ return ();
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5grildLines-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/gridLines/es5grildLines-cs1/app/index.tsx
new file mode 100644
index 000000000..4a9e42c55
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5grildLines-cs1/app/index.tsx
@@ -0,0 +1,30 @@
+
+
+import * as React from "react";
+import * as ReactDOM from "react-dom";
+import {
+ DiagramComponent,
+ SnapSettingsModel,
+ SnapConstraints,
+} from "@syncfusion/ej2-react-diagrams";
+// Display both Horizontal and Vertical gridlines
+let snapSettings: SnapSettingsModel = {
+ constraints: SnapConstraints.ShowLines,
+};
+// initialize Diagram component
+function App() {
+ return (
+
+ );
+}
+const root = ReactDOM.createRoot(document.getElementById('diagram'));
+root.render( );
+
+
+
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5grildLines-cs1/index.html b/ej2-react/code-snippet/diagram/gridLines/es5grildLines-cs1/index.html
new file mode 100644
index 000000000..eb0eab232
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5grildLines-cs1/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Syncfusion® React Chart-DataLabel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/gridLines/es5grildLines-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/gridLines/es5grildLines-cs1/systemjs.config.js
new file mode 100644
index 000000000..d2f0366a1
--- /dev/null
+++ b/ej2-react/code-snippet/diagram/gridLines/es5grildLines-cs1/systemjs.config.js
@@ -0,0 +1,59 @@
+System.config({
+ transpiler: "ts",
+ typescriptOptions: {
+ target: "es5",
+ module: "commonjs",
+ moduleResolution: "node",
+ emitDecoratorMetadata: true,
+ experimentalDecorators: true,
+ "jsx": "react"
+ },
+ meta: {
+ 'typescript': {
+ "exports": "ts"
+ }
+ },
+ paths: {
+ "syncfusion:": "https://cdn.syncfusion.com/ej2/20.3.56/"
+ },
+ map: {
+ app: 'app',
+ ts: "https://unpkg.com/plugin-typescript@4.0.10/lib/plugin.js",
+ typescript: "https://unpkg.com/typescript@2.2.2/lib/typescript.js",
+ "@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
+ "@syncfusion/ej2-data": "syncfusion:ej2-data/dist/ej2-data.umd.min.js",
+ "@syncfusion/ej2-charts": "syncfusion:ej2-charts/dist/ej2-charts.umd.min.js",
+ "@syncfusion/ej2-react-base": "syncfusion:ej2-react-base/dist/ej2-react-base.umd.min.js",
+ "@syncfusion/ej2-react-charts": "syncfusion:ej2-react-charts/dist/ej2-react-charts.umd.min.js",
+ "@syncfusion/ej2-react-buttons": "syncfusion:ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
+ "@syncfusion/ej2-react-popups": "syncfusion:ej2-react-popups/dist/ej2-react-popups.umd.min.js",
+ "@syncfusion/ej2-pdf-export": "syncfusion:ej2-pdf-export/dist/ej2-pdf-export.umd.min.js",
+ "@syncfusion/ej2-compression": "syncfusion:ej2-compression/dist/ej2-compression.umd.min.js",
+ "@syncfusion/ej2-excel-export": "syncfusion:ej2-excel-export/dist/ej2-excel-export.umd.min.js",
+ "@syncfusion/ej2-file-utils": "syncfusion:ej2-file-utils/dist/ej2-file-utils.umd.min.js",
+ "@syncfusion/ej2-dropdowns": "syncfusion:ej2-dropdowns/dist/ej2-dropdowns.umd.min.js",
+ "@syncfusion/ej2-navigations": "syncfusion:ej2-navigations/dist/ej2-navigations.umd.min.js",
+ "@syncfusion/ej2-calendars": "syncfusion:ej2-calendars/dist/ej2-calendars.umd.min.js",
+ "@syncfusion/ej2-lists": "syncfusion:ej2-lists/dist/ej2-lists.umd.min.js",
+ "@syncfusion/ej2-inputs": "syncfusion:ej2-inputs/dist/ej2-inputs.umd.min.js",
+ "@syncfusion/ej2-svg-base": "syncfusion:ej2-svg-base/dist/ej2-svg-base.umd.min.js",
+ "@syncfusion/ej2-splitbuttons": "syncfusion:ej2-splitbuttons/dist/ej2-splitbuttons.umd.min.js",
+ "@syncfusion/ej2-popups": "syncfusion:ej2-popups/dist/ej2-popups.umd.min.js",
+ "@syncfusion/ej2-buttons": "syncfusion:ej2-buttons/dist/ej2-buttons.umd.min.js",
+ "@syncfusion/ej2-diagrams": "syncfusion:ej2-diagrams/dist/ej2-diagrams.umd.min.js",
+ "@syncfusion/ej2-react-diagrams": "syncfusion:ej2-react-diagrams/dist/ej2-react-diagrams.umd.min.js",
+ "react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
+ "react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
+
+
+ },
+ packages: {
+ 'app': { main: 'index', defaultExtension: 'tsx' },
+ }
+
+});
+
+System.import('app');
+
+
+
diff --git a/ej2-react/code-snippet/diagram/group/es5canvas-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/group/es5canvas-cs1/app/index.jsx
index 41d6cff7e..58863d062 100644
--- a/ej2-react/code-snippet/diagram/group/es5canvas-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/group/es5canvas-cs1/app/index.jsx
@@ -1,7 +1,7 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
+import {useRef} from "react";
import { DiagramComponent, DiagramElement, Canvas } from "@syncfusion/ej2-react-diagrams";
-let diagramInstance;
let canvas;
let child1;
let child2;
@@ -14,19 +14,24 @@ canvas.offsetX = 75;
canvas.offsetY = 75;
canvas.style.fill = '#6BA5D7';
child1 = new DiagramElement();
+child1.id = 'child1';
child1.width = 100;
child1.height = 100;
child1.margin.left = child1.margin.top = 10;
child2 = new DiagramElement();
+child2.id = 'child2';
child2.width = 100;
child2.height = 100;
child2.margin.left = 190;
+child2.margin.right = 5;
child2.margin.top = 190;
+child2.margin.bottom = 5;
canvas.children = [child1, child2];
function App() {
- return ( (diagramInstance = diagram)} mode={'SVG'} width={'1000px'} height={'600px'}
+ const diagramInstance = useRef(null);
+ return ();
}
-const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
+const root = ReactDOM.createRoot(document.getElementById('container'));
+root.render( );
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/group/es5canvas-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/group/es5canvas-cs1/app/index.tsx
index fd3571c34..fc1317b69 100644
--- a/ej2-react/code-snippet/diagram/group/es5canvas-cs1/app/index.tsx
+++ b/ej2-react/code-snippet/diagram/group/es5canvas-cs1/app/index.tsx
@@ -1,14 +1,12 @@
-
-
import * as React from "react";
import * as ReactDOM from "react-dom";
+import {useRef} from "react";
import {
Diagram,
DiagramComponent,
DiagramElement,
Canvas
} from "@syncfusion/ej2-react-diagrams";
-let diagramInstance:DiagramComponent;
let canvas: Canvas;
let child1: DiagramElement;
let child2: DiagramElement;
@@ -21,20 +19,25 @@ canvas.offsetX = 75;
canvas.offsetY = 75;
canvas.style.fill = '#6BA5D7';
child1 = new DiagramElement();
+child1.id = 'child1';
child1.width = 100;
child1.height = 100;
child1.margin.left = child1.margin.top = 10;
child2 = new DiagramElement();
+child2.id = 'child2';
child2.width = 100;
child2.height = 100;
child2.margin.left = 190;
+child2.margin.right = 5;
child2.margin.top = 190;
+child2.margin.bottom = 5;
canvas.children = [child1, child2];
function App() {
+ const diagramInstance: DiagramComponent = useRef(null);
return (
(diagramInstance = diagram)}
+ id="diagram"
+ ref={diagramInstance}
mode={'SVG'}
width={'1000px'}
height={'600px'}
@@ -43,8 +46,7 @@ function App() {
/>
);
}
-const root = ReactDOM.createRoot(document.getElementById('diagram'));
+const root = ReactDOM.createRoot(document.getElementById('container'));
root.render( );
-
diff --git a/ej2-react/code-snippet/diagram/group/es5canvas-cs1/index.html b/ej2-react/code-snippet/diagram/group/es5canvas-cs1/index.html
index d2f7f168b..d7a51a730 100644
--- a/ej2-react/code-snippet/diagram/group/es5canvas-cs1/index.html
+++ b/ej2-react/code-snippet/diagram/group/es5canvas-cs1/index.html
@@ -2,18 +2,17 @@
- Syncfusion React Chart-DataLabel
+ Syncfusion® React Diagram-Group
-
-
+
-
+
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/group/es5canvas-cs1/systemjs.config.js b/ej2-react/code-snippet/diagram/group/es5canvas-cs1/systemjs.config.js
index d2f0366a1..94ca2762c 100644
--- a/ej2-react/code-snippet/diagram/group/es5canvas-cs1/systemjs.config.js
+++ b/ej2-react/code-snippet/diagram/group/es5canvas-cs1/systemjs.config.js
@@ -56,4 +56,3 @@ System.config({
System.import('app');
-
diff --git a/ej2-react/code-snippet/diagram/group/es5group-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/group/es5group-cs1/app/index.jsx
deleted file mode 100644
index 08639901d..000000000
--- a/ej2-react/code-snippet/diagram/group/es5group-cs1/app/index.jsx
+++ /dev/null
@@ -1,63 +0,0 @@
-{% raw %}
-import * as React from "react";
-import * as ReactDOM from "react-dom";
-import { DiagramComponent, } from "@syncfusion/ej2-react-diagrams";
-let diagramInstance;
-let nodes = [{
- id: "rectangle1",
- offsetX: 100,
- offsetY: 100,
- width: 100,
- height: 100,
- annotations: [{
- content: 'rectangle1'
- }]
- },
- {
- id: "rectangle2",
- offsetX: 200,
- offsetY: 200,
- width: 100,
- height: 100,
- annotations: [{
- content: 'rectangle2'
- }]
- },
- {
- id: "rectangle3",
- offsetX: 400,
- offsetY: 300,
- width: 100,
- height: 100,
- style: {
- fill: 'darkCyan',
- strokeWidth: 2
- },
- annotations: [{
- content: 'rectangle2'
- }]
- },
- // Grouping node 1 and node 2 into a single group
- {
- id: 'group',
- children: ['rectangle1', 'rectangle2'],
- padding: { left: 10, right: 10, top: 10, bottom: 10 }
- },
-];
-// initialize Diagram component
-function App() {
- return ( (diagramInstance = diagram)} width={'1500px'} height={'600px'} nodes={nodes} created={() => {
- diagramInstance.selectAll();
- // Adding the third node into the existing group
- diagramInstance.group();
- }} getNodeDefaults={(node) => {
- node.height = 100;
- node.width = 100;
- node.style.fill = '#6BA5D7';
- node.style.strokeColor = 'white';
- return node;
- }}/>);
-}
-const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/group/es5group-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/group/es5group-cs1/app/index.tsx
deleted file mode 100644
index 4f4462557..000000000
--- a/ej2-react/code-snippet/diagram/group/es5group-cs1/app/index.tsx
+++ /dev/null
@@ -1,81 +0,0 @@
-{% raw %}
-
-
-import * as React from "react";
-import * as ReactDOM from "react-dom";
-import {
- Diagram,
- DiagramComponent,
- NodeModel,
-} from "@syncfusion/ej2-react-diagrams";
-let diagramInstance:DiagramComponent;
-let nodes: NodeModel[] = [{
- id: "rectangle1",
- offsetX: 100,
- offsetY: 100,
- width: 100,
- height: 100,
- annotations: [{
- content: 'rectangle1'
- }]
- },
- {
- id: "rectangle2",
- offsetX: 200,
- offsetY: 200,
- width: 100,
- height: 100,
- annotations: [{
- content: 'rectangle2'
- }]
- },
- {
- id: "rectangle3",
- offsetX: 400,
- offsetY: 300,
- width: 100,
- height: 100,
- style: {
- fill: 'darkCyan',
- strokeWidth: 2
- },
- annotations: [{
- content: 'rectangle2'
- }]
- },
- // Grouping node 1 and node 2 into a single group
- {
- id: 'group',
- children: ['rectangle1', 'rectangle2'],
- padding:{left:10,right:10,top:10,bottom:10}
- },
-];
-// initialize Diagram component
-function App() {
- return (
- (diagramInstance = diagram)}
- width={'1500px'}
- height={'600px'}
- nodes={nodes}
- created={() => {
- diagramInstance.selectAll();
- // Adding the third node into the existing group
- diagramInstance.group();
- }}
- getNodeDefaults={(node: NodeModel) => {
- node.height = 100;
- node.width = 100;
- node.style.fill = '#6BA5D7';
- node.style.strokeColor = 'white';
- return node;
- }}
- />
- );
-}
-const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-
-
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/group/es5group-cs1/index.html b/ej2-react/code-snippet/diagram/group/es5group-cs1/index.html
deleted file mode 100644
index d2f7f168b..000000000
--- a/ej2-react/code-snippet/diagram/group/es5group-cs1/index.html
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
- Syncfusion React Chart-DataLabel
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/group/es5groupadd-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/group/es5groupadd-cs1/app/index.jsx
deleted file mode 100644
index 1addb87c9..000000000
--- a/ej2-react/code-snippet/diagram/group/es5groupadd-cs1/app/index.jsx
+++ /dev/null
@@ -1,44 +0,0 @@
-{% raw %}
-import * as React from "react";
-import * as ReactDOM from "react-dom";
-import { DiagramComponent, } from "@syncfusion/ej2-react-diagrams";
-let diagramInstance;
-let nodes = [{
- id: "rectangle1",
- offsetX: 100,
- offsetY: 100,
- width: 100,
- height: 100,
- annotations: [{
- content: 'rectangle1'
- }]
- },
- {
- id: "rectangle2",
- offsetX: 200,
- offsetY: 200,
- width: 100,
- height: 100,
- annotations: [{
- content: 'rectangle2'
- }]
- }];
-let group = {
- id: 'group2',
- children: ['rectangle1', 'rectangle2']
-};
-function App() {
- return ( (diagramInstance = diagram)} width={'1500px'} height={'600px'} getNodeDefaults={(node) => {
- node.height = 100;
- node.width = 100;
- node.style.fill = '#6BA5D7';
- node.style.strokeColor = 'white';
- return node;
- }} nodes={nodes} created={() => {
- // Adds the group into the diagram
- diagramInstance.add(group);
- }}/>);
-}
-const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/group/es5groupadd-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/group/es5groupadd-cs1/app/index.tsx
deleted file mode 100644
index 8e086d609..000000000
--- a/ej2-react/code-snippet/diagram/group/es5groupadd-cs1/app/index.tsx
+++ /dev/null
@@ -1,62 +0,0 @@
-{% raw %}
-
-
-import * as React from "react";
-import * as ReactDOM from "react-dom";
-import {
- Diagram,
- DiagramComponent,
- NodeModel,
-} from "@syncfusion/ej2-react-diagrams";
-let diagramInstance:DiagramComponent;
-let nodes: NodeModel[] = [{
- id: "rectangle1",
- offsetX: 100,
- offsetY: 100,
- width: 100,
- height: 100,
- annotations: [{
- content: 'rectangle1'
- }]
-},
-{
- id: "rectangle2",
- offsetX: 200,
- offsetY: 200,
- width: 100,
- height: 100,
- annotations: [{
- content: 'rectangle2'
- }]
-}];
-let group: NodeModel = {
- id: 'group2',
- children: ['rectangle1', 'rectangle2']
-};
-function App() {
- return (
- (diagramInstance = diagram)}
- width={'1500px'}
- height={'600px'}
- getNodeDefaults={(node: NodeModel) => {
- node.height = 100;
- node.width = 100;
- node.style.fill = '#6BA5D7';
- node.style.strokeColor = 'white';
- return node;
- }}
- nodes={nodes}
- created={() => {
- // Adds the group into the diagram
- diagramInstance.add(group);
- }}
- />
- );
-}
-const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-
-
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/group/es5groupadd-cs1/index.html b/ej2-react/code-snippet/diagram/group/es5groupadd-cs1/index.html
deleted file mode 100644
index d2f7f168b..000000000
--- a/ej2-react/code-snippet/diagram/group/es5groupadd-cs1/index.html
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
- Syncfusion React Chart-DataLabel
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/group/es5groupaddatruntime-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/group/es5groupaddatruntime-cs1/app/index.jsx
deleted file mode 100644
index 0d788ef31..000000000
--- a/ej2-react/code-snippet/diagram/group/es5groupaddatruntime-cs1/app/index.jsx
+++ /dev/null
@@ -1,29 +0,0 @@
-{% raw %}
-import * as React from "react";
-import * as ReactDOM from "react-dom";
-import { DiagramComponent, } from "@syncfusion/ej2-react-diagrams";
-let diagramInstance;
-//initialize group nodes
-var node = [
- { id: "rectangle1", offsetX: 100, offsetY: 100, width: 100, height: 100, annotations: [{ content: 'node1' }] },
- { id: "rectangle2", offsetX: 200, offsetY: 200, width: 100, height: 100, annotations: [{ content: 'node2' }] },
- { id: 'group', children: ['rectangle1', 'rectangle2'] },
- { id: "rectangle3", offsetX: 400, offsetY: 400, width: 100, height: 100, annotations: [{ content: 'node1' }] },
- { id: "rectangle4", offsetX: 500, offsetY: 500, width: 100, height: 100, annotations: [{ content: 'node2' }] },
- { id: 'group', children: ['rectangle3', 'rectangle4'], padding: { left: 10, right: 10, top: 10, bottom: 10 } },
-];
-function App() {
- return ( (diagramInstance = diagram)} width={'1500px'} height={'600px'} getNodeDefaults={(node) => {
- node.height = 100;
- node.width = 100;
- node.style.fill = '#6BA5D7';
- node.style.strokeColor = 'white';
- return node;
- }} created={() => {
- //Add collection of group nodes
- diagramInstance.addElements(node);
- }}/>);
-}
-const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/group/es5groupaddatruntime-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/group/es5groupaddatruntime-cs1/app/index.tsx
deleted file mode 100644
index c89610795..000000000
--- a/ej2-react/code-snippet/diagram/group/es5groupaddatruntime-cs1/app/index.tsx
+++ /dev/null
@@ -1,43 +0,0 @@
-{% raw %}
-import * as React from "react";
-import * as ReactDOM from "react-dom";
-import {
- Diagram,
- DiagramComponent,
- NodeModel,
-} from "@syncfusion/ej2-react-diagrams";
-let diagramInstance:DiagramComponent;
-//initialize group nodes
-var node:NodeModel = [
- { id: "rectangle1", offsetX: 100, offsetY: 100, width: 100, height: 100, annotations: [{ content: 'node1' }] },
- { id: "rectangle2", offsetX: 200, offsetY: 200, width: 100, height: 100, annotations: [{ content: 'node2' }] },
- { id: 'group', children: ['rectangle1', 'rectangle2'] },
- { id: "rectangle3", offsetX: 400, offsetY: 400, width: 100, height: 100, annotations: [{ content: 'node1' }] },
- { id: "rectangle4", offsetX: 500, offsetY: 500, width: 100, height: 100, annotations: [{ content: 'node2' }] },
- { id: 'group', children: ['rectangle3', 'rectangle4'], padding: { left: 10, right: 10, top: 10, bottom: 10 } },
-];
-function App() {
- return (
- (diagramInstance = diagram)}
- width={'1500px'}
- height={'600px'}
- getNodeDefaults={(node: NodeModel) => {
- node.height = 100;
- node.width = 100;
- node.style.fill = '#6BA5D7';
- node.style.strokeColor = 'white';
- return node;
- }}
- created={() => {
- //Add collection of group nodes
- diagramInstance.addElements(node);
- }}
- />
- );
- }
- const root = ReactDOM.createRoot(document.getElementById('diagram'));
- root.render( );
-
- {% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/group/es5groupaddatruntime-cs1/index.html b/ej2-react/code-snippet/diagram/group/es5groupaddatruntime-cs1/index.html
deleted file mode 100644
index d2f7f168b..000000000
--- a/ej2-react/code-snippet/diagram/group/es5groupaddatruntime-cs1/index.html
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
- Syncfusion React Chart-DataLabel
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/group/es5groupchild-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/group/es5groupchild-cs1/app/index.jsx
deleted file mode 100644
index b0eac8317..000000000
--- a/ej2-react/code-snippet/diagram/group/es5groupchild-cs1/app/index.jsx
+++ /dev/null
@@ -1,32 +0,0 @@
-{% raw %}
-import * as React from "react";
-import * as ReactDOM from "react-dom";
-import { DiagramComponent, } from "@syncfusion/ej2-react-diagrams";
-let diagramInstance;
-
-let node = {
- id: 'node1', width: 150, height: 100, offsetX: 100, offsetY: 100, annotations: [{ content: 'Node1' }]
-};
-let node2 = {
- id: 'node2', width: 80, height: 130, offsetX: 200, offsetY: 200, annotations: [{ content: 'Node2' }]
-};
-let group = {
- id: 'group1', children: ['node1', 'node2']
-};
-let node3 = {
- id: 'node3', width: 100, height: 100, offsetX: 300, offsetY: 300, annotations: [{ content: 'Node3' }]
-};
-document.getElementById('addChild').onclick = function () {
- diagramInstance.addChildToGroup(group, 'node3');
-};
-document.getElementById('removeChild').onclick = function () {
- diagramInstance.removeChildFromGroup(group, 'node3');
-};
-function App() {
- return ( (diagramInstance = diagram)} width={'1500px'} height={'600px'}
- nodes={[node, node2, node3, group]}
- />);
-}
-const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/group/es5groupchild-cs1/app/index.tsx b/ej2-react/code-snippet/diagram/group/es5groupchild-cs1/app/index.tsx
deleted file mode 100644
index 6cd2aabf8..000000000
--- a/ej2-react/code-snippet/diagram/group/es5groupchild-cs1/app/index.tsx
+++ /dev/null
@@ -1,47 +0,0 @@
-{% raw %}
-
-
-import * as React from "react";
-import * as ReactDOM from "react-dom";
-import {
- Diagram,
- DiagramComponent,
- NodeModel,
-} from "@syncfusion/ej2-react-diagrams";
-let diagramInstance:DiagramComponent;
-let node: NodeModel = {
- id: 'node1', width: 150, height: 100, offsetX: 100, offsetY: 100, annotations: [{ content: 'Node1' }]
-};
-let node2: NodeModel = {
- id: 'node2', width: 80, height: 130, offsetX: 200, offsetY: 200, annotations: [{ content: 'Node2' }]
-};
-let group: NodeModel = {
- id: 'group1', children: ['node1', 'node2']
-};
-let node3: NodeModel = {
- id: 'node3', width: 100, height: 100, offsetX: 300, offsetY: 300, annotations: [{ content: 'Node3' }]
-};
-
-(document.getElementById('addChild') as any).onclick = function () {
- diagramInstance.addChildToGroup(group, 'node3');
-};
-(document.getElementById('removeChild') as any).onclick = function () {
- diagramInstance.removeChildFromGroup(group, 'node3');
-};
-
-function App() {
- return (
- (diagramInstance = diagram)}
- width={'1500px'}
- height={'600px'}
- nodes={[node,node2,node3,group]}
- />
- );
-}
-const root = ReactDOM.createRoot(document.getElementById('diagram'));
-root.render( );
-
-
-{% endraw %}
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/group/es5groupchild-cs1/index.html b/ej2-react/code-snippet/diagram/group/es5groupchild-cs1/index.html
deleted file mode 100644
index 4cb7ba62f..000000000
--- a/ej2-react/code-snippet/diagram/group/es5groupchild-cs1/index.html
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
- Syncfusion React Chart-DataLabel
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ej2-react/code-snippet/diagram/group/es5stack-cs1/app/index.jsx b/ej2-react/code-snippet/diagram/group/es5stack-cs1/app/index.jsx
index e161524ad..adf2e31ed 100644
--- a/ej2-react/code-snippet/diagram/group/es5stack-cs1/app/index.jsx
+++ b/ej2-react/code-snippet/diagram/group/es5stack-cs1/app/index.jsx
@@ -1,8 +1,7 @@
-{% raw %}
import * as React from "react";
import * as ReactDOM from "react-dom";
-import { DiagramComponent, StackPanel, TextElement, } from "@syncfusion/ej2-react-diagrams";
-let diagramInstance;
+import {useRef} from "react";
+import { DiagramComponent, StackPanel, TextElement } from "@syncfusion/ej2-react-diagrams";
let nodes = [{
id: 'node5',
width: 100,
@@ -39,7 +38,8 @@ let addRows = (column) => {
};
//Intialize Diagram Component
function App() {
- return ( (diagramInstance = diagram)} width={900} height={900} nodes={nodes} getNodeDefaults={(node) => {
+ const diagramInstance = useRef(null);
+ return ( {
node.height = 100;
node.width = 100;
node.style.fill = '#6BA5D7';
@@ -65,6 +65,5 @@ function App() {
return null;
}}/>);
}
-const root = ReactDOM.createRoot(document.getElementById('diagram'));
+const root = ReactDOM.createRoot(document.getElementById('container'));
root.render(