diff --git a/Jenkinsfile b/Jenkinsfile index dd47e4d1e..175d29f41 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -74,7 +74,7 @@ if(currentBuild.result != 'FAILURE') stage 'Delete Workspace' - def files = findFiles(glob: '**/cireports/spellcheck/*.*') + def files = findFiles(glob: '**/cireports/*.*') if(files.size() > 0) { diff --git a/ej2-javascript-toc.html b/ej2-javascript-toc.html index 3caa3caa8..937233b0e 100644 --- a/ej2-javascript-toc.html +++ b/ej2-javascript-toc.html @@ -174,6 +174,7 @@
HTMLLIElement
| It accepts the HTML Li element of the item to be removed. |
+| itemValue | string
\| number
\| boolean
\| object
| It accepts the string, number, boolean and object type value of the item to be removed. |
+| itemIndex | number
| It accepts the index of the item to be removed. |
+
+## Enabled
+
+If you want to disabled the overall component to set the [enabled](../api/auto-complete/#enabled) property to false.
+
+{% [Disabled AutoComplete Component](././images/autocomplete-disable.png)" %}
\ No newline at end of file
diff --git a/ej2-javascript/auto-complete/virtual-scroll.md b/ej2-javascript/auto-complete/virtual-scroll.md
index 29795f61a..7f5496196 100644
--- a/ej2-javascript/auto-complete/virtual-scroll.md
+++ b/ej2-javascript/auto-complete/virtual-scroll.md
@@ -55,7 +55,7 @@ In the following example, `text` column from complex data have been mapped to th
## Binding Remote data
-The AutoComplete supports retrieval of data from remote data services with the help of `DataManager` component. When using remote data, it initially fetches all the data from the server, triggering the `actionBegin` and `actionComplete` events, and then stores the data locally. During virtual scrolling, additional data is retrieved from the locally stored data, triggering the `actionBegin` and `actionComplete` events at that time as well.
+The AutoComplete supports the retrieval of data from remote data services with the help of the `DataManager` component, triggering the `actionBegin` and `actionComplete` events, and then updating the list data. During virtual scrolling, additional data is retrieved from the server, triggering the `actionBegin` and `actionComplete` events at that time as well.
The following sample displays the OrderId from the `Orders` Data Service.
diff --git a/ej2-javascript/chart/dynamic-data-update.md b/ej2-javascript/chart/dynamic-data-update.md
new file mode 100644
index 000000000..eb0232be4
--- /dev/null
+++ b/ej2-javascript/chart/dynamic-data-update.md
@@ -0,0 +1,147 @@
+---
+layout: post
+title: Dynamic data update in ##Platform_Name## Chart control | Syncfusion
+description: Learn here all about dynamic data update in Syncfusion ##Platform_Name## Chart control of Syncfusion Essential JS 2 and more.
+platform: ej2-javascript
+control: Dynamic Data Update
+publishingplatform: ##Platform_Name##
+documentation: ug
+domainurl: ##DomainURL##
+---
+
+# Dynamic data update in ##Platform_Name## Chart control
+
+## Adding a new data point
+
+The `addPoint` method is used to dynamically add a new data point to the chart series. This method is particularly useful when you want to update the chart with a new data point without having to refresh the entire chart. This method takes two parameters:
+
+* The first parameter is the new data point to add to your existing data source.
+* The optional second parameter specifies the animation duration for adding the new data point.
+
+{% if page.publishingplatform == "typescript" %}
+
+{% tabs %}
+{% highlight ts tabtitle="index.ts" %}
+{% include code-snippet/chart/add-point/index.ts %}
+{% endhighlight %}
+{% highlight html tabtitle="index.html" %}
+{% include code-snippet/chart/add-point/index.html %}
+{% endhighlight %}
+{% endtabs %}
+
+{% previewsample "page.domainurl/code-snippet/chart/add-point" %}
+
+{% elsif page.publishingplatform == "javascript" %}
+
+{% tabs %}
+{% highlight js tabtitle="index.js" %}
+{% include code-snippet/chart/add-point/index.js %}
+{% endhighlight %}
+{% highlight html tabtitle="index.html" %}
+{% include code-snippet/chart/add-point/index.html %}
+{% endhighlight %}
+{% endtabs %}
+
+{% previewsample "page.domainurl/code-snippet/chart/add-point" %}
+{% endif %}
+
+## Removing an existing data point
+
+The `removePoint` method is used to dynamically remove a data point from the chart series. This method is particularly useful when you want to update the chart by removing an existing data point without having to refresh the entire chart. This method takes two parameters:
+
+* The first parameter is the index of the data point that needs to be removed from the existing data source.
+* The optional second parameter specifies the animation duration for removing the data point.
+
+{% if page.publishingplatform == "typescript" %}
+
+{% tabs %}
+{% highlight ts tabtitle="index.ts" %}
+{% include code-snippet/chart/remove-point/index.ts %}
+{% endhighlight %}
+{% highlight html tabtitle="index.html" %}
+{% include code-snippet/chart/remove-point/index.html %}
+{% endhighlight %}
+{% endtabs %}
+
+{% previewsample "page.domainurl/code-snippet/chart/remove-point" %}
+
+{% elsif page.publishingplatform == "javascript" %}
+
+{% tabs %}
+{% highlight js tabtitle="index.js" %}
+{% include code-snippet/chart/remove-point/index.js %}
+{% endhighlight %}
+{% highlight html tabtitle="index.html" %}
+{% include code-snippet/chart/remove-point/index.html %}
+{% endhighlight %}
+{% endtabs %}
+
+{% previewsample "page.domainurl/code-snippet/chart/remove-point" %}
+{% endif %}
+
+## Replacing entire data points
+
+To replace the existing data source in the chart with a new data source, you can simply use the `setData` method. This method allows you to replace the existing data points in the chart series with a new set of data points, enabling you to easily update the chart with new information. This method takes two parameters:
+
+* The first parameter is the new set of data points to be updated.
+* The optional second parameter specifies the animation duration for updating the new data source.
+
+{% if page.publishingplatform == "typescript" %}
+
+{% tabs %}
+{% highlight ts tabtitle="index.ts" %}
+{% include code-snippet/chart/set-data/index.ts %}
+{% endhighlight %}
+{% highlight html tabtitle="index.html" %}
+{% include code-snippet/chart/set-data/index.html %}
+{% endhighlight %}
+{% endtabs %}
+
+{% previewsample "page.domainurl/code-snippet/chart/set-data" %}
+
+{% elsif page.publishingplatform == "javascript" %}
+
+{% tabs %}
+{% highlight js tabtitle="index.js" %}
+{% include code-snippet/chart/set-data/index.js %}
+{% endhighlight %}
+{% highlight html tabtitle="index.html" %}
+{% include code-snippet/chart/set-data/index.html %}
+{% endhighlight %}
+{% endtabs %}
+
+{% previewsample "page.domainurl/code-snippet/chart/set-data" %}
+{% endif %}
+
+## Click to add or remove a data point
+
+You can use mouse or touch events to dynamically add or remove data points from an existing data source by clicking on the appropriate position within the chart area. To add a new data point to the existing data source, click anywhere in the chart area, retrieve the x-axis and y-axis information of the clicked location from the `chartMouseClick` event arguments. Then, utilize the `addPoint` method to add a new data point to the existing data source.
+
+To remove a data point from the existing data source, simply click on the desired data point. To achieve this, first, verify whether the clicked data point obtained from `chartMouseClick` already exists in the data source. If it does, remove it by utilizing the `removePoint` method based on its index.
+
+{% if page.publishingplatform == "typescript" %}
+
+{% tabs %}
+{% highlight ts tabtitle="index.ts" %}
+{% include code-snippet/chart/click-add-point/index.ts %}
+{% endhighlight %}
+{% highlight html tabtitle="index.html" %}
+{% include code-snippet/chart/click-add-point/index.html %}
+{% endhighlight %}
+{% endtabs %}
+
+{% previewsample "page.domainurl/code-snippet/chart/click-add-point" %}
+
+{% elsif page.publishingplatform == "javascript" %}
+
+{% tabs %}
+{% highlight js tabtitle="index.js" %}
+{% include code-snippet/chart/click-add-point/index.js %}
+{% endhighlight %}
+{% highlight html tabtitle="index.html" %}
+{% include code-snippet/chart/click-add-point/index.html %}
+{% endhighlight %}
+{% endtabs %}
+
+{% previewsample "page.domainurl/code-snippet/chart/click-add-point" %}
+{% endif %}
diff --git a/ej2-javascript/chart/feature-modules.md b/ej2-javascript/chart/feature-modules.md
new file mode 100644
index 000000000..d3ea7a6de
--- /dev/null
+++ b/ej2-javascript/chart/feature-modules.md
@@ -0,0 +1,83 @@
+---
+layout: post
+title: Module in ##Platform_Name## Chart control | Syncfusion
+description: Learn here all about Module in Syncfusion ##Platform_Name## Chart control of Syncfusion Essential JS 2 and more.
+platform: ej2-javascript
+control: Module
+publishingplatform: ##Platform_Name##
+documentation: ug
+domainurl: ##DomainURL##
+---
+
+# Module in ##Platform_Name## Chart control
+
+The following feature modules should be injected to extend chart's functionality.
+
+The available chart modules are:
+
+| Module | Description |
+|------|-------------|
+| **Axis Type Feature Modules** |
+| [`Category`](https://ej2.syncfusion.com/documentation/api/chart/category)| Inject this module to use category axis type to visualize category (string type) values.|
+| [`DateTime`](https://ej2.syncfusion.com/documentation/api/chart/dateTime)| Inject this module to use date time axis type to visualize datetime values.|
+| [`Logarithmic`](https://ej2.syncfusion.com/documentation/api/chart/logarithmic)| Inject this module to use log axis type to visualize logarithmic values.|
+| [`DateTimeCategory`](https://ej2.syncfusion.com/documentation/api/chart/dateTimeCategory)| Inject this module to use date time category axis type to visualize datetime category values.|
+| **Series Type Feature Modules** |
+| [`LineSeries`](https://ej2.syncfusion.com/documentation/api/chart/lineSeries)| Inject this module to use the line type series in the chart.|
+| [`StepLineSeries`](https://ej2.syncfusion.com/documentation/api/chart/stepLineSeries)| Inject this module to use the step line type series in the chart.|
+| [`StackingLineSeries`](https://ej2.syncfusion.com/documentation/api/chart/stackingLineSeries)| Inject this module to use the stacking line type series in the chart.|
+| [`MultiColoredLineSeries`](https://ej2.syncfusion.com/documentation/api/chart/multiColoredLineSeries)| Inject this module to use the multi colored line type series in the chart.|
+| [`SplineSeries`](https://ej2.syncfusion.com/documentation/api/chart/splineSeries)| Inject this module to use the spline type series in the chart.|
+| [`AreaSeries`](https://ej2.syncfusion.com/documentation/api/chart/areaSeries)| Inject this module to use the area type series in the chart.|
+| [`RangeAreaSeries`](https://ej2.syncfusion.com/documentation/api/chart/rangeAreaSeries)| Inject this module to use the range area type series in the chart.|
+| [`RangeStepAreaSeries`](https://ej2.syncfusion.com/documentation/api/chart/rangeStepAreaSeries)| Inject this module to use the range step area type series in the chart.|
+| [`SplineRangeAreaSeries`](https://ej2.syncfusion.com/documentation/api/chart/splineRangeAreaSeries)| Inject this module to use the spline range area type series in the chart.|
+| [`StackingAreaSeries`](https://ej2.syncfusion.com/documentation/api/chart/stackingAreaSeries)| Inject this module to use the stacking area type series in the chart.|
+| [`StackingStepAreaSeries`](https://ej2.syncfusion.com/documentation/api/chart/stackingStepAreaSeries)| Inject this module to use the stacking step area type series in the chart.|
+| [`StepAreaSeries`](https://ej2.syncfusion.com/documentation/api/chart/stepAreaSeries)| Inject this module to use the step area type series in the chart.|
+| [`SplineAreaSeries`](https://ej2.syncfusion.com/documentation/api/chart/splineAreaSeries)| Inject this module to use the spline area type series in the chart.|
+| [`MultiColoredAreaSeries`](https://ej2.syncfusion.com/documentation/api/chart/multiColoredAreaSeries)| Inject this module to use the multi colored area type series in the chart.|
+| [`ColumnSeries`](https://ej2.syncfusion.com/documentation/api/chart/column)| Inject this module to use the column type series in the chart.||
+| [`RangeColumnSeries`](https://ej2.syncfusion.com/documentation/api/chart/rangeColumnSeries)| Inject this module to use the range column type series in the chart.|
+| [`StackingColumnSeries`](https://ej2.syncfusion.com/documentation/api/chart/stackingColumnSeries)| Inject this module to use the stacking column type series in the chart.|
+| [`BarSeries`](https://ej2.syncfusion.com/documentation/api/chart/barSeries)| Inject this module to use the bar type series in the chart.|
+| [`StackingBarSeries`](https://ej2.syncfusion.com/documentation/api/chart/stackingBarSeries)| Inject this module to use the stacking bar type series in the chart.|
+| [`ScatterSeries`](https://ej2.syncfusion.com/documentation/api/chart/scatterSeries)| Inject this module to use the scatter type series in the chart.|
+| [`BubbleSeries`](https://ej2.syncfusion.com/documentation/api/chart/bubbleSeries)| Inject this module to use the bubble type series in the chart.|
+| [`PolarSeries`](https://ej2.syncfusion.com/documentation/api/chart/polarSeries)| Inject this module to use the polar type series in the chart.|
+| [`RadarSeries`](https://ej2.syncfusion.com/documentation/api/chart/radarSeries)| Inject this module to use the radar type series in the chart.|
+| [`HiloSeries`](https://ej2.syncfusion.com/documentation/api/chart/hiloSeries)| Inject this module to use the hilo type series in the chart.|
+| [`HiloOpenCloseSeries`](https://ej2.syncfusion.com/documentation/api/chart/hiloOpenCloseSeries)| Inject this module to use the hilo open close type series in the chart.|
+| [`CandleSeries`](https://ej2.syncfusion.com/documentation/api/chart/candleSeries)| Inject this module to use the candle type series in the chart.|
+| [`BoxAndWhiskerSeries`](https://ej2.syncfusion.com/documentation/api/chart/boxAndWhiskerSeries)| Inject this module to use the box and whisker type series in the chart.|
+| [`WaterfallSeries`](https://ej2.syncfusion.com/documentation/api/chart/waterfallSeries)| Inject this module to use the waterfall type series in the chart.|
+| [`HistogramSeries`](https://ej2.syncfusion.com/documentation/api/chart/histogramSeries)| Inject this module to use the histogram type series in the chart.|
+| [`ParetoSeries`](https://ej2.syncfusion.com/documentation/api/chart/paretoSeries)| Inject this module to use the pareto type series in the chart.|
+| [`ErrorBar`](https://ej2.syncfusion.com/documentation/api/chart/errorBar)| Inject this module to use the error bar feature in series.|
+| **Indicator Type Feature Modules** |
+| [`AccumulationDistributionIndicator`](https://ej2.syncfusion.com/documentation/api/chart/accumulationDistributionIndicator)| Inject this module to use the accumulation distribution indicator.|
+| [`AtrIndicator`](https://ej2.syncfusion.com/documentation/api/chart/atrIndicator)| Inject this module to use the average true range (ATR) indicator.|
+| [`BollingerBands`](https://ej2.syncfusion.com/documentation/api/chart/bollingerBands)| Inject this module to use the bollinger band indicator.|
+| [`EMAIndicator`](https://ej2.syncfusion.com/documentation/api/chart/emaIndicator)| Inject this module to use the exponential moving average (EMA) indicator.|
+| [`MomentumIndicator`](https://ej2.syncfusion.com/documentation/api/chart/momentumIndicator)| Inject this module to use the momentum indicator.|
+| [`MACDIndicator`](https://ej2.syncfusion.com/documentation/api/chart/macdType)| Inject this module to use the moving average convergence divergence (MACD) indicator.|
+| [`RsiIndicator`](https://ej2.syncfusion.com/documentation/api/chart/rsiIndicator)| Inject this module to use the relative Strength index (Rsi) indicator.|
+| [`SmaIndicator`](https://ej2.syncfusion.com/documentation/api/chart/smaIndicator)| Inject this module to use the simple moving average (SMA) indicator.|
+| [`StochasticIndicator`](https://ej2.syncfusion.com/documentation/api/chart/stochasticIndicator)| Inject this module to use the stochastic indicator.|
+| [`TmaIndicator`](https://ej2.syncfusion.com/documentation/api/chart/tmaIndicator)| Inject this module to use the triangular moving average indicator.|
+| **Other Feature Modules** |
+| [`StripLine`](https://ej2.syncfusion.com/documentation/api/chart/stripLineSettings)| Inject this module to use strip line feature.|
+| [`Trendlines`](https://ej2.syncfusion.com/documentation/api/chart/trendlines)| Inject this module to use the trendline feature.|
+| [`DataLabel`](https://ej2.syncfusion.com/documentation/api/chart/dataLabel)| Inject this module to use the data label feature.|
+| [`ChartAnnotation`](https://helpej2.syncfusion.com/documentation/api/chart/chartAnnotation)| Inject this module to use the annotation feature.|
+| [`Legend`](https://ej2.syncfusion.com/documentation/api/chart/legend)| Inject this module to use the legend feature.|
+| [`Tooltip`](https://ej2.syncfusion.com/documentation/api/chart/tooltip)| Inject this module to use the tooltip feature.|
+| [`Zoom`](https://ej2.syncfusion.com/documentation/api/chart/zoom)| Inject this module to use the zooming and panning feature.|
+| [`DataEditing`](https://ej2.syncfusion.com/documentation/api/chart/dataEditing)| Inject this module to use the data editing feature.|
+| [`Crosshair`](https://ej2.syncfusion.com/documentation/api/chart/crosshair)| Inject this module to use the crosshair feature.|
+| [`Selection`](https://ej2.syncfusion.com/documentation/api/chart/selectionMode)| Inject this module to use the selection feature.|
+| [`Highlight`](https://helpej2.syncfusion.com/documentation/api/chart/highlightMode)| Inject this module to use the highlight feature.|
+| [`Export`](https://ej2.syncfusion.com/documentation/api/chart/export)| Inject this module to use the export feature.|
+| [`MultiLevelLabel`](https://helpej2.syncfusion.com/documentation/api/chart/multiLevelLabels)| Inject this module to use the multi level label feature.|
+
+These modules should be injected into the chart using the `Chart.Inject` method.
\ No newline at end of file
diff --git a/ej2-javascript/chips/accessibility.md b/ej2-javascript/chips/accessibility.md
index 3a0ff3695..e7e05b584 100644
--- a/ej2-javascript/chips/accessibility.md
+++ b/ej2-javascript/chips/accessibility.md
@@ -68,7 +68,7 @@ The Chips component's accessibility levels are ensured through an [accessibility
The accessibility compliance of the Chips component is shown in the following sample. Open the [sample](https://ej2.syncfusion.com/accessibility/chips.html) in a new window to evaluate the accessibility of the Chips component with accessibility tools.
-{% previewsample "https://ej2.syncfusion.com/accessibility/chips.html" %}
+{% previewsample "page.domainurl/code-snippet/chips/accessibility-cs1" %}
## See also
diff --git a/ej2-javascript/code-snippet/autocomplete/basic-cs11/index.js b/ej2-javascript/code-snippet/autocomplete/basic-cs11/index.js
new file mode 100644
index 000000000..b48783edd
--- /dev/null
+++ b/ej2-javascript/code-snippet/autocomplete/basic-cs11/index.js
@@ -0,0 +1,20 @@
+let statusData = [
+ { "Status": "Open", "State": false },
+ { "Status": "Waiting for Customer", "State": false },
+ { "Status": "On Hold", "State": true },
+ { "Status": "Follow-up", "State": false },
+ { "Status": "Closed", "State": true },
+ { "Status": "Solved", "State": false },
+ { "Status": "Feature Request", "State": false }
+];
+// initialize AutoComplete component
+var listObj = new ej.dropdowns.AutoComplete({
+ //set the data to dataSource property
+ dataSource: statusData,
+ // maps the appropriate column to fields property
+ fields: { value: 'Status', disabled: 'State' },
+ // set placeholder to AutoComplete input element
+ placeholder: "Select Status"
+});
+listObj.appendTo('#atcelement');
+
diff --git a/ej2-javascript/code-snippet/autocomplete/basic-cs11/index.ts b/ej2-javascript/code-snippet/autocomplete/basic-cs11/index.ts
new file mode 100644
index 000000000..142060efe
--- /dev/null
+++ b/ej2-javascript/code-snippet/autocomplete/basic-cs11/index.ts
@@ -0,0 +1,30 @@
+
+
+
+import { AutoComplete } from '@syncfusion/ej2-dropdowns';
+
+//define the array of complex data
+let statusData: { [key: string]: Object }[] = [
+ { "Status": "Open", "State": false },
+ { "Status": "Waiting for Customer", "State": false },
+ { "Status": "On Hold", "State": true },
+ { "Status": "Follow-up", "State": false },
+ { "Status": "Closed", "State": true },
+ { "Status": "Solved", "State": false },
+ { "Status": "Feature Request", "State": false }
+];
+
+//initiate the AutoComplete
+let atcObject: AutoComplete = new AutoComplete({
+ // bind the sports Data to datasource property
+ dataSource: statusData,
+ // maps the appropriate column to fields property
+ fields: { value: 'Status', disabled: 'State' },
+ //set the placeholder to AutoComplete input
+ placeholder: "Select Status"
+});
+//render the component
+atcObject.appendTo('#atcelement');
+
+
+
diff --git a/ej2-javascript/code-snippet/autocomplete/basic-cs11/js/index.html b/ej2-javascript/code-snippet/autocomplete/basic-cs11/js/index.html
new file mode 100644
index 000000000..c1bea685f
--- /dev/null
+++ b/ej2-javascript/code-snippet/autocomplete/basic-cs11/js/index.html
@@ -0,0 +1,31 @@
+
+